/* ===== Bitintercom SRL – Logo: portocaliu / alb / negru ===== */
:root {
  --orange: #e85d04;
  --orange-dark: #d44d02;
  --orange-light: #f97316;
  --black: #0d0d0d;
  --black-soft: #1a1a1a;
  --gray: #2d2d2d;
  --gray-mid: #6b6b6b;
  --gray-light: #a3a3a3;
  --white: #fafafa;
  --white-pure: #ffffff;
  --font-sans: "Outfit", "DM Sans", system-ui, sans-serif;
  --font-display: "Outfit", system-ui, sans-serif;
  --container-max: 1140px;
  --container-pad: clamp(1rem, 4vw, 2rem);
  --radius: 8px;
  --radius-lg: 12px;
  --transition: 0.2s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--black);
  background: var(--white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--orange);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover {
  color: var(--orange-dark);
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

/* ----- Header ----- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--white-pure);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 70px;
}

.logo {
  display: flex;
  align-items: center;
}
.logo-img {
  height: 42px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

.nav {
  display: flex;
  gap: 2rem;
}
.nav a {
  color: var(--gray);
  font-weight: 500;
  font-size: 0.95rem;
}
.nav a:hover {
  color: var(--orange);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.35rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}
.btn-header {
  background: var(--orange);
  color: var(--white-pure);
  border: 2px solid var(--orange);
}
.btn-header:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  color: var(--white-pure);
}
.btn-primary {
  background: var(--orange);
  color: var(--white-pure);
  border: 2px solid var(--orange);
}
.btn-primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  color: var(--white-pure);
}
.btn-outline {
  background: transparent;
  color: var(--black);
  border: 2px solid rgba(0, 0, 0, 0.25);
}
.btn-outline:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--black);
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}

/* ----- Hero ----- */
.hero {
  position: relative;
  padding: calc(70px + 4rem) 0 4rem;
  background: var(--white-pure);
  color: var(--black);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(rgba(232, 93, 4, 0.045) 1px, transparent 1px),
    linear-gradient(135deg, #ffffff 0%, #f8fafc 60%, rgba(232, 93, 4, 0.06) 100%);
  background-size: 28px 28px, 100% 100%;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 3rem 4rem;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  background: rgba(232, 93, 4, 0.2);
  border: 1px solid rgba(232, 93, 4, 0.4);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--orange-light);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--gray-mid);
  margin: 0 0 1.25rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
  margin-top: 1.75rem;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.87rem;
  color: var(--gray-mid);
}

.hero-trust-item svg {
  color: var(--orange);
  flex-shrink: 0;
}

/* ----- Hero visual card ----- */
.hero-visual-card {
  background: var(--white-pure);
  border: 1px solid rgba(232, 93, 4, 0.28);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
}

.hero-visual-card::before {
  content: "";
  position: absolute;
  top: -70px;
  right: -70px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(232, 93, 4, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero-visual-label {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--orange-light);
  margin: 0 0 1.25rem;
}

.hero-visual-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.hero-visual-list li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--black);
  font-weight: 500;
  font-size: 0.95rem;
}

.hero-visual-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  background: rgba(232, 93, 4, 0.14);
  border: 1px solid rgba(232, 93, 4, 0.3);
  border-radius: 9px;
  color: var(--orange-light);
}

.hero-visual-divider {
  height: 1px;
  background: rgba(0, 0, 0, 0.08);
  margin: 1.5rem 0 1.25rem;
}

.hero-visual-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.hero-visual-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--orange-light);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.hero-visual-stat span {
  font-size: 0.8rem;
  color: var(--gray-mid);
  line-height: 1.3;
}

/* ----- Sections ----- */
.section {
  padding: 4rem 0;
}

.section-light {
  background: var(--white-pure);
  color: var(--black);
}

.section-dark {
  background: #f5f7fa;
  color: var(--black);
}
.section-dark .section-title,
.section-dark .section-lead {
  color: var(--black);
}
.section-dark .section-lead {
  color: var(--gray-mid);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--gray-mid);
  margin: 0 0 2rem;
}
.section-dark .section-lead {
  margin-bottom: 2.5rem;
}

/* ----- Photo strip ----- */
.photo-strip {
  background: var(--white-pure);
  line-height: 0;
}

.photo-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 260px;
}

.photo-strip-item {
  position: relative;
  overflow: hidden;
}

.photo-strip-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.78) saturate(0.85);
  transition: filter 0.45s ease, transform 0.45s ease;
  display: block;
}

.photo-strip-item:hover img {
  filter: brightness(0.92) saturate(1);
  transform: scale(1.06);
}

.photo-strip-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem 1rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, transparent 100%);
  line-height: 1.4;
}

.photo-strip-overlay span {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

@media (max-width: 680px) {
  .photo-strip-inner {
    grid-template-columns: repeat(2, 1fr);
    height: 300px;
  }
}

/* ----- About ----- */
.about-text {
  margin-bottom: 2.5rem;
}
.about-text p {
  margin: 0 0 1rem;
  color: var(--gray-mid);
  line-height: 1.65;
}
.about-text p:last-child {
  margin-bottom: 0;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.stat-item {
  text-align: left;
  padding: 1.5rem 0;
  border-top: 3px solid var(--orange);
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 0.35rem;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--gray-mid);
}

/* ----- Security (6 cards) ----- */
.security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  align-items: start;
  position: relative;
  overflow: visible;
}

.security-card {
  background: var(--black-soft);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  position: relative;
  z-index: 1;
}
.security-card-expandable {
  z-index: 0;
}
.security-card-expandable-first {
  z-index: 1;
}
.security-card-expandable.is-open {
  z-index: 2;
}
.security-card:hover {
  border-color: rgba(232, 93, 4, 0.5);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.security-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.6rem;
  color: var(--white);
}

.security-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--gray-light);
  line-height: 1.55;
}

/* Card extensibil – în flux (împinge cele 3 de jos) și se extinde sub cele 2 alăturate */
.security-card-expandable {
  padding: 0;
  overflow: hidden;
}
.security-card-expandable.is-open {
  overflow: visible;
  border-color: transparent;
  background: transparent;
}
/* Când e deschis, doar „capul” păstrează conturul cardului (chenar neschimbat) */
.security-card-expandable .security-card-head {
  padding: 1.75rem;
  cursor: pointer;
  transition: background 0.2s ease;
  border-radius: var(--radius-lg);
}
.security-card-expandable.is-open .security-card-head {
  background: var(--black-soft);
  border: 1px solid rgba(232, 93, 4, 0.5);
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03);
}
.security-card-expandable .security-card-head:hover {
  background: rgba(255, 255, 255, 0.03);
}
.security-card-expandable .security-card-head p {
  padding-right: 2rem;
}
.security-card-toggle {
  position: absolute;
  top: 1.75rem;
  right: 1.75rem;
  width: 0.75rem;
  height: 0.75rem;
  border-right: 2px solid var(--gray-light);
  border-bottom: 2px solid var(--gray-light);
  transform: rotate(45deg);
  transition: transform 0.25s ease;
}
.security-card-expandable.is-open .security-card-toggle {
  transform: rotate(-135deg);
}
.security-card-detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  visibility: hidden;
  padding: 0;
  border: none;
}
.security-card-expandable.is-open .security-card-detail {
  visibility: visible;
  max-height: 1200px;
  width: calc(300% + 3rem);
  margin-right: calc(-200% - 3rem);
  position: relative;
  z-index: 0;
  box-sizing: border-box;
  background: var(--black-soft);
  border: 1px solid rgba(232, 93, 4, 0.5);
  border-radius: var(--radius-lg);
}
/* Cardul din mijloc: descrierea se extinde sub stânga și sub dreapta (întreg rândul) */
.security-card-expandable-middle.is-open .security-card-detail {
  width: calc(300% + 3rem);
  margin-left: calc(-100% - 1.5rem);
  margin-right: calc(-100% - 1.5rem);
}
/* Cardul 3 (ultimul din rând): descrierea se extinde sub cardurile din stânga */
.security-card-expandable-last.is-open .security-card-detail {
  width: calc(300% + 3rem);
  margin-left: calc(-200% - 3rem);
  margin-right: 0;
}
.security-card-expandable.is-open .security-card-detail {
  padding: 1.5rem 1.75rem 1.75rem;
}
/* Pe mobil: chenar pe toată lățimea, fără extindere sub celelalte */
@media (max-width: 900px) {
  .security-card-expandable.is-open .security-card-detail,
  .security-card-expandable-middle.is-open .security-card-detail,
  .security-card-expandable-last.is-open .security-card-detail {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
}
.security-card-detail p,
.security-card-detail h4,
.security-card-detail ul {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  color: var(--gray-light);
  line-height: 1.55;
}
.security-card-detail h4 {
  margin-top: 1.1rem;
  margin-bottom: 0.4rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
}
.security-card-detail ul {
  padding-left: 1.25rem;
}
.security-card-detail li {
  margin-bottom: 0.25rem;
}
.security-detail-intro {
  font-weight: 500;
  color: var(--white) !important;
}
.security-detail-beneficiu {
  margin-top: 0.5rem;
  margin-bottom: 0 !important;
}
.security-card-detail > *:first-child {
  margin-top: 0;
}
.security-detail-top {
  margin-bottom: 1.25rem;
}
.security-detail-top p:last-child {
  margin-bottom: 0;
}
.security-detail-body {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem 2rem;
  margin-bottom: 1.25rem;
  align-items: start;
}
.security-detail-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 2rem;
  min-width: 0;
}
.security-detail-col {
  min-width: 0;
}
.security-detail-photo {
  width: 220px;
  flex-shrink: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--gray);
}
.security-detail-photo img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}
.security-detail-col h4 {
  margin-top: 0;
}
.security-detail-col h4:not(:first-child) {
  margin-top: 1.1rem;
}
@media (max-width: 700px) {
  .security-detail-body {
    grid-template-columns: 1fr;
  }
  .security-detail-photo {
    width: 100%;
    max-width: 280px;
    justify-self: start;
  }
  .security-detail-cols {
    grid-template-columns: 1fr;
  }
}
.security-card-expandable .security-card-head {
  position: relative;
}

/* ----- Services ----- */
.service-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.service-category {
  background: var(--white-pure);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.service-category:hover {
  border-color: rgba(232, 93, 4, 0.55);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.10);
  transform: translateY(-2px);
}

.service-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 0.75rem;
  color: var(--orange-light);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  background: rgba(232, 93, 4, 0.14);
  border: 1px solid rgba(232, 93, 4, 0.28);
  border-radius: 7px;
  color: var(--orange-light);
}

.service-category h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.25;
  margin: 0 0 0.75rem;
  color: var(--black);
}

.service-category p {
  margin: 0 0 1rem;
  color: var(--gray-mid);
  font-size: 0.95rem;
}

.service-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.service-list li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--gray-mid);
  font-size: 0.92rem;
  line-height: 1.45;
}
.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
}

/* ----- Process ----- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.process-card {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.process-card:hover {
  border-color: rgba(232, 93, 4, 0.45);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
}

.process-step-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.process-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  background: rgba(232, 93, 4, 0.1);
  border: 1px solid rgba(232, 93, 4, 0.22);
  border-radius: 11px;
  color: var(--orange);
}

.process-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  background: rgba(232, 93, 4, 0.1);
  color: var(--orange);
  font-weight: 700;
  font-size: 0.85rem;
}

.process-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--black);
}

.process-card p {
  margin: 0;
  color: var(--gray-mid);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* ----- Audience ----- */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.audience-item {
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  background: linear-gradient(135deg, var(--white-pure), rgba(232, 93, 4, 0.07));
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  color: var(--black);
  font-weight: 600;
  line-height: 1.35;
  font-size: 0.95rem;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.audience-item:hover {
  border-color: rgba(232, 93, 4, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.07);
}

.audience-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(232, 93, 4, 0.14);
  border: 1px solid rgba(232, 93, 4, 0.25);
  border-radius: 9px;
  color: var(--orange-light);
}

/* ----- IT (8 items + paragraph) ----- */
.it-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.it-item {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--black);
  transition: border-color var(--transition), background var(--transition);
}
.it-item:hover {
  border-color: var(--orange);
  background: rgba(232, 93, 4, 0.06);
}

.it-para {
  max-width: 720px;
  margin: 0;
  color: var(--gray-mid);
  line-height: 1.65;
  font-size: 1rem;
}

/* ----- Partners ----- */
.partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.partner-item {
  padding: 0.9rem 1.5rem;
  background: var(--black-soft);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--gray-light);
  transition: border-color var(--transition), color var(--transition);
}
.partner-item:hover {
  border-color: var(--orange);
  color: var(--orange-light);
}

/* ----- Zones ----- */
.zones-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.zone-card {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.zone-card:hover {
  border-color: var(--orange);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.zone-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
  color: var(--black);
}

.zone-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--gray-mid);
}

.zones-note {
  max-width: 640px;
  margin: 0;
  font-size: 0.95rem;
  color: var(--gray-mid);
  line-height: 1.6;
}

/* ----- Contact ----- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.contact-card {
  background: var(--white-pure);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.contact-card:hover {
  border-color: rgba(232, 93, 4, 0.5);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.07);
}

.contact-card h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: var(--gray-mid);
}

.contact-card a {
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--black);
  display: inline-block;
  margin-bottom: 0.5rem;
}
.contact-card a:hover {
  color: var(--orange-light);
}

.contact-desc {
  margin: 0;
  font-size: 0.9rem;
  color: var(--gray-mid);
}

.contact-note {
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
  color: var(--gray-mid);
  max-width: 560px;
}

.contact-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ----- Footer (fundal alb – logo cu fundal alb fără chenar) ----- */
.footer {
  background: var(--white-pure);
  color: var(--gray-mid);
  padding: 3rem 0 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.footer-block h4 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--orange);
}

.footer-brand {
  margin: 0 0 0.5rem;
}
.footer-brand img {
  display: block;
}
.footer-logo {
  height: 40px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}

.footer-tagline {
  font-size: 0.9rem;
  margin: 0 0 1rem;
  line-height: 1.5;
  max-width: 320px;
  color: var(--gray-mid);
}

.footer-contact {
  margin: 0 0 0.35rem;
  font-size: 0.9rem;
  color: var(--gray-mid);
}
.footer-contact a {
  color: var(--black);
}
.footer-contact a:hover {
  color: var(--orange);
}

.footer-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1.5rem;
}
.footer-nav a {
  color: var(--gray-mid);
  font-size: 0.95rem;
}
.footer-nav a:hover {
  color: var(--orange);
}

.footer-partners {
  margin: 0;
  font-size: 0.9rem;
  color: var(--gray-mid);
  max-width: 240px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0;
}

.footer-copy {
  margin: 0;
  font-size: 0.85rem;
  color: var(--gray-mid);
}

/* ----- Contact layout & form ----- */
.contact-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 2rem 3rem;
  align-items: start;
}

.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(232, 93, 4, 0.14);
  border: 1px solid rgba(232, 93, 4, 0.3);
  border-radius: 11px;
  color: var(--orange-light);
  margin-bottom: 0.75rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray);
}

.form-required {
  color: var(--orange-light);
}

.form-group input,
.form-group textarea {
  background: var(--white-pure);
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: var(--radius);
  padding: 0.65rem 0.9rem;
  color: var(--black);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-light);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(232, 93, 4, 0.7);
  box-shadow: 0 0 0 3px rgba(232, 93, 4, 0.12);
}

.form-captcha-group { margin-top: 0.25rem; }

.captcha-label {
  display: block;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 0.45rem;
}

.captcha-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.captcha-row input[type="number"] {
  padding: 0.55rem 0.75rem;
  border: 1.5px solid rgba(0,0,0,0.18);
  border-radius: var(--radius);
  background: var(--white-pure);
  color: var(--black);
  font-size: 1rem;
}

.captcha-row input[type="number"]:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(232,93,4,0.12);
}

#captchaRefresh {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1.5px solid rgba(0,0,0,0.15);
  border-radius: var(--radius);
  background: transparent;
  color: var(--gray-mid);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  flex-shrink: 0;
}

#captchaRefresh:hover { color: var(--orange); border-color: var(--orange); }

.form-status {
  font-size: 0.9rem;
  padding: 0;
  border-radius: var(--radius);
  min-height: 0;
  transition: all 0.2s ease;
}

.form-status-success {
  padding: 0.75rem 1rem;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.28);
  color: #4ade80;
}

.form-status-error {
  padding: 0.75rem 1rem;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.28);
  color: #f87171;
}

.form-submit {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.form-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

/* ----- Header smart scroll ----- */
.header {
  transition: box-shadow 0.3s ease, min-height 0.3s ease;
}
.header-scrolled {
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.1);
}
.header-scrolled .header-inner {
  min-height: 58px;
}

.nav a.nav-active {
  color: var(--orange);
}

/* ----- Scroll animations ----- */
.animate {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate.is-visible {
  opacity: 1;
  transform: none;
}

/* ----- Responsive ----- */
@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero-visual {
    display: none;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .service-groups,
  .process-grid,
  .audience-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav,
  .btn-header {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .header.nav-open .nav {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--white-pure);
    padding: 1.5rem;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  }
  .header.nav-open .nav a {
    color: var(--black);
  }
  .header.nav-open .btn-header {
    display: inline-flex;
    margin-top: 0.5rem;
  }
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .form-submit {
    width: 100%;
    justify-content: center;
  }
  .section {
    padding: 3rem 0;
  }
  .hero {
    padding: calc(70px + 2.5rem) 0 2.5rem;
  }
  .security-grid {
    grid-template-columns: 1fr;
  }
  .contact-cta {
    flex-direction: column;
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .contact-cta .btn {
    width: 100%;
    justify-content: center;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
