/* FIFAFLEX — generated (balbuena-solid_brand-grid4-rows) */

:root {
  --teal: #3f77c1;
  --teal-dark: #33619e;
  --teal-deep: #24456f;
  --lavender: #fcf9ea;
  --lavender-light: #ebf1f8;
  --lavender-soft: #fcf9ea;
  --accent-blue: #3f77c1;
  --accent-yellow: #e86db0;
  --accent-pink: #eed558;
  --accent-green: #b5ef70;
  --white: #ffffff;
  --cream: #faf9fc;
  --text: #2a3340;
  --text-muted: #6b7280;
  --border: #e5e0ec;
  --font: 'Mukta', sans-serif;
  --header-h: 72px;
  --topbar-h: 38px;
  --max-w: 1140px;
  --gutter: 1.5rem;
  --ease: 0.3s ease;
  --radius: 12px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--topbar-h) + 16px);
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  padding-top: calc(var(--header-h) + var(--topbar-h));
}

img { display: block; max-width: 100%; height: auto; }

.hero__bg,
.cta__bg {
  max-width: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__bg {
  object-position: 68% center;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-pink);
  margin-bottom: 0.75rem;
}

.tag--light { color: var(--accent-yellow); }

.section-head { margin-bottom: 2.5rem; }
.section-head--center { text-align: center; }

.section-head h2,
.about__copy h2,
.products h2,
.services h2,
.process h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--teal-deep);
  line-height: 1.2;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--ease), box-shadow var(--ease), background-color var(--ease), border-color var(--ease), color var(--ease);
}

.btn--primary {
  background: var(--accent-pink);
  color: var(--white);
  border-color: var(--accent-pink);
}

.btn--primary:hover {
  background: #c3ae48;
  border-color: #c3ae48;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(214,65,122,0.3);
}

.btn--white {
  background: var(--white);
  color: var(--teal-deep);
  border-color: var(--white);
}

.btn--white:hover {
  background: var(--lavender-light);
  transform: translateY(-2px);
}

.btn--outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}

.btn--outline-light:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
}

.btn--lg { padding: 14px 32px; font-size: 0.95rem; }
.btn--full { width: 100%; }

/* ── Top bar ── */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  background: var(--teal-deep);
  color: rgba(255,255,255,0.85);
  font-size: 0.78rem;
  height: var(--topbar-h);
  display: flex;
  align-items: center;
}

.top-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
}

.top-bar__info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

.top-bar__info a,
.top-bar__info span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color var(--ease);
}

.top-bar__info a:hover { color: var(--accent-yellow); }

.top-bar__info svg {
  width: 13px;
  height: 13px;
  stroke-width: 2;
  flex-shrink: 0;
}

.top-bar__hours { opacity: 0.7; white-space: nowrap; }

/* ── Header · clásico ── */
.header {
  position: fixed;
  top: var(--topbar-h);
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--ease);
}

.header.scrolled { box-shadow: 0 4px 24px rgba(61,168,163,0.1); }

.header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  height: 100%;
  gap: 1rem;
}

.header__brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header__logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.header__cta { flex-shrink: 0; }

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.nav__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--ease);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
  transition: width var(--ease);
}

.nav__link:hover,
.nav__link.active {
  color: var(--teal);
}

.nav__link.active::after,
.nav__link:hover::after { width: 100%; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
  transition: var(--ease);
}

.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero · panel sobre imagen ── */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(460px, 68vh, 600px);
}

.hero__background {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(42, 51, 64, 0.18);
}

.hero__overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(38, 117, 114, 0.55);
  clip-path: polygon(0 0, 52% 0, 38% 100%, 0 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  min-height: clamp(460px, 68vh, 600px);
  display: flex;
  align-items: center;
  padding: 3.5rem 0;
}

.hero__panel {
  position: relative;
  max-width: 520px;
  padding: 2.5rem 2.75rem;
  background: var(--teal-deep);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: 0 20px 48px rgba(38, 117, 114, 0.4);
}

.hero__panel h1 {
  font-size: clamp(2rem, 4.5vw, 2.85rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 1.25rem;
}

.hero__panel p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ── Nosotros · imagen + texto ── */
.about {
  padding: 5rem 0;
  background: var(--lavender-light);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about__copy p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.about__copy strong { color: var(--teal-deep); }

.about__photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(61, 168, 163, 0.12);
}

/* ── Productos · tabs ── */
.products {
  padding: 5rem 0;
  background: var(--lavender-light);
}

.tabs__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.tabs__btn {
  padding: 10px 22px;
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  transition: border-color var(--ease), color var(--ease), background-color var(--ease);
}

.tabs__btn:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.tabs__btn.active {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
}

.tabs__panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  animation: fadeIn 0.35s ease;
}

.tabs__panel.active { display: grid; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.tabs__panel img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: calc(var(--radius) - 4px);
}

.tabs__copy h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--teal-deep);
  margin-bottom: 0.6rem;
}

.tabs__copy p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.tabs__copy ul li {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 0.35rem 0 0.35rem 1.25rem;
  position: relative;
}

.tabs__copy ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-pink);
}

/* ── Servicios · alternado ── */
.services {
  padding: 5rem 0;
  background: var(--white);
}

.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 3rem;
}

.service-row:last-child { margin-bottom: 0; }

.service-row--reverse { direction: rtl; }
.service-row--reverse > * { direction: ltr; }

.service-row img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 8px 28px rgba(61,168,163,0.1);
}

.service-row h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--teal-deep);
  margin-bottom: 0.6rem;
}

.service-row p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Proceso · tarjetas ── */
.process {
  padding: 5rem 0;
  background: var(--cream);
}

.process__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.process-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform var(--ease), box-shadow var(--ease);
}

.process-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(61,168,163,0.12);
}

.process-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  margin-bottom: 1rem;
  color: var(--white);
}

.process-card__icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.75;
}

.process-card__icon--blue { background: var(--accent-blue); }
.process-card__icon--pink { background: var(--accent-pink); }
.process-card__icon--green { background: var(--accent-green); }

.process-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--teal-deep);
  margin-bottom: 0.45rem;
}

.process-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ── CTA · imagen ── */
.cta {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
}

.cta__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta__overlay {
  position: absolute;
  inset: 0;
  background: rgba(38,117,114,0.78);
}

.cta__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 3.5rem 0;
}

.cta__content h2 {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.5rem;
}

/* ── Contacto · banner + form ── */
.contact__banner {
  background: var(--teal);
  color: var(--white);
  padding: 2.5rem 0;
  text-align: center;
}

.contact__banner h2 {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.contact__banner p {
  font-size: 0.95rem;
  opacity: 0.85;
}

.contact {
  background: var(--lavender-light);
}

.contact__wrap {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2.5rem;
  align-items: start;
  padding: 2.5rem 0 5rem;
}

.contact__form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  border: 1px solid var(--border);
  box-shadow: 0 12px 40px rgba(61,168,163,0.1);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group { margin-bottom: 1rem; }

.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  font-family: var(--font);
  font-size: 0.9rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--lavender-light);
  color: var(--text);
  transition: border-color var(--ease), background var(--ease);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal);
  background: var(--white);
}

.form-group textarea { resize: vertical; min-height: 90px; }

.form-notice {
  margin-top: 1rem;
  padding: 12px;
  border-radius: 8px;
  font-size: 0.875rem;
  text-align: center;
}

.form-notice.success {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.contact__list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.contact__list li:last-child { border-bottom: none; }

.contact__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: var(--lavender-light);
  border-radius: 10px;
  color: var(--teal);
}

.contact__icon svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.75;
}

.contact__list strong {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-pink);
  margin-bottom: 4px;
}

.contact__list span,
.contact__list a {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.contact__list a:hover { color: var(--teal); }

/* ── Footer · CTA integrado ── */
.footer__cta {
  background: var(--teal-deep);
  color: var(--white);
  padding: 2.5rem 0;
}

.footer__cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer__cta-inner > div {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer__logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.15));
}

.footer__cta-inner p {
  font-size: 0.95rem;
  opacity: 0.9;
}

.footer__bottom {
  background: var(--teal-deep);
  color: rgba(255,255,255,0.6);
  padding: 1.25rem 0;
}

.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.78rem;
}

.footer__bottom nav {
  display: flex;
  gap: 1.25rem;
}

.footer__bottom a {
  transition: color var(--ease);
}

.footer__bottom a:hover { color: var(--accent-yellow); }

/* ── Reveal ── */
.reveal {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }

  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .nav { gap: 0.85rem; }
  .nav__link { font-size: 0.82rem; }
}

@media (max-width: 900px) {
  .hero__overlay::before {
    clip-path: none;
    background: rgba(38, 117, 114, 0.45);
  }

  .hero__content {
    min-height: auto;
    align-items: flex-end;
    padding: 2.5rem 0 3rem;
  }

  .hero__panel {
    max-width: none;
    width: 100%;
    border-radius: var(--radius);
    padding: 2rem 1.75rem 2.25rem 1.5rem;
  }

  .about__grid { grid-template-columns: 1fr; }
  .about__photo { order: -1; }

  .tabs__panel { grid-template-columns: 1fr; }
  .service-row,
  .service-row--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .process__grid { grid-template-columns: 1fr; }
  .contact__wrap { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .top-bar__hours { display: none; }
  .top-bar__info span:last-of-type { display: none; }

  .header__cta { display: none; }
  .menu-toggle { display: flex; }

  .nav {
    position: fixed;
    top: calc(var(--header-h) + var(--topbar-h));
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    padding: 1rem var(--gutter);
    box-shadow: 0 8px 24px rgba(61,168,163,0.12);
    transform: translateY(-110%);
    opacity: 0;
    transition: transform var(--ease), opacity var(--ease);
    pointer-events: none;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav__link {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
  }

  .nav__link::after { display: none; }

  .about__copy { padding: 0; }

  .header__inner {
    grid-template-columns: 1fr auto;
  }
  .form-row { grid-template-columns: 1fr; }
  .footer__cta-inner { flex-direction: column; text-align: center; }
  .footer__cta-inner > div { flex-direction: column; }
  .footer__bottom-inner { flex-direction: column; text-align: center; }
  .tabs__nav { gap: 0.35rem; }
  .tabs__btn { padding: 8px 16px; font-size: 0.8rem; }
}

@media (min-width: 769px) {
  .header__cta { display: inline-flex; }
}


.hero--solid.hero--bg { position: relative; min-height: clamp(420px, 56vh, 520px); display: flex; align-items: center; padding: clamp(4rem, 9vw, 5.5rem) 0; overflow: hidden; background: transparent !important; }
.hero--solid.hero--bg .hero__background { position: absolute; inset: 0; z-index: 0; }
.hero--solid.hero--bg .hero__bg { width: 100%; height: 100%; object-fit: cover; }
.hero--solid.hero--bg .hero__content,
.hero--solid.hero--bg .hero__text { position: relative; z-index: 1; max-width: 640px; color: var(--white); }
.hero--solid.hero--bg .hero__content h1,
.hero--solid.hero--bg .hero__text h1 { color: var(--white); font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 700; margin-bottom: 1rem; line-height: 1.12; }
.hero--solid.hero--bg .hero__content p,
.hero--solid.hero--bg .hero__text p { color: rgba(255,255,255,0.9); font-size: 1.05rem; line-height: 1.65; margin-bottom: 1.75rem; max-width: 520px; }
.hero--solid.hero--bg .hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero--solid.hero--bg .tag { color: rgba(255,255,255,0.82); }
.hero--solid.hero--bg .btn--outline-light { border-color: rgba(255,255,255,0.55); color: var(--white); }
.hero--solid.hero--bg .btn--outline-light:hover { background: rgba(255,255,255,0.12); }


.about--prose-only .about__grid { display: block; max-width: 680px; margin: 0 auto; text-align: center; }
.about--prose-only .about__copy { text-align: center; }
.about--prose-only .about__checklist { text-align: left; max-width: 520px; margin: 1.5rem auto 0; }


.products__grid4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.products__grid4 article,
.products__grid4 .product-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg, var(--radius)); overflow: hidden; }
.products__grid4 img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.products__grid4 .product-card__body { padding: 1.25rem; }
.products__grid4 .product-card--lead,
.products__grid4 .product-card--wide { grid-column: span 2; }
@media (max-width: 768px) { .products__grid4 { grid-template-columns: 1fr; } .products__grid4 .product-card--lead, .products__grid4 .product-card--wide { grid-column: span 1; } }


.testimonials--single { padding: 4rem 0; background: var(--sand, var(--cream, var(--lavender-light))); }
.testimonial--featured { max-width: 720px; margin: 0 auto; text-align: center; border: none; background: transparent; padding: 0; }
.testimonial--featured p { font-size: clamp(1.2rem, 2.2vw, 1.55rem); line-height: 1.55; font-weight: 500; margin-bottom: 1.5rem; }
.testimonial--featured footer strong { display: block; font-size: 1rem; }
.testimonial--featured footer span { font-size: 0.85rem; color: var(--text-muted); }

/* Brand design — logo palette */
.hero:not(.hero--bg):not(.hero--centered) { background: linear-gradient(160deg, #ebf1f8 0%, var(--white) 62%); }
.section--sand { background: #ebf1f8; }
.tag { color: #eed558; font-weight: 700; }
.btn--primary { background: #eed558; border-color: #eed558; }
.btn--primary:hover { background: #c3ae48; border-color: #c3ae48; }
.header__cta.btn--primary { background: #eed558; border-color: #eed558; }

.top-bar { background: #22416a; }
.top-bar__info a:hover { color: #e86db0; }
.hero__panel { background: linear-gradient(135deg, #22416a 0%, #24456f 100%); }
.hero__panel h1 { color: var(--white); }
.hero__panel p { color: rgba(255,255,255,0.88); }
.about__copy strong { color: #22416a; }
.tab-btn.is-active { background: #3f77c1; border-color: #3f77c1; color: var(--white); }
.tab-btn:hover { border-color: #3f77c1; color: #3f77c1; }
.process-card__icon--pink { background: #eed558; }
.process-card__icon--yellow { background: #e86db0; }
.process-card__icon--green { background: #b5ef70; }
.process-card__icon--blue { background: #3f77c1; }
.cta--band { background: #3f77c1; }
.contact__banner { background: #22416a; }
.footer { background: #22416a; }

.contact--centered { padding: 4rem 0; background: var(--sand, var(--cream)); }
.contact--centered .contact__wrap { display: block; max-width: 540px; margin: 0 auto; text-align: center; }
.contact--centered .contact__panel-inner { max-width: 540px; margin: 0 auto; text-align: center; }
.contact--centered .contact__form { text-align: left; }
.contact--centered .contact__list { text-align: left; }

/* Hero photo scrim — black overlay for text contrast (WCAG) */
.hero .hero__background .hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.55) !important;
}
.hero--solid.hero--bg .hero__background .hero__overlay {
  background: linear-gradient(
    105deg,
    rgba(0, 0, 0, 0.68) 0%,
    rgba(0, 0, 0, 0.52) 50%,
    rgba(0, 0, 0, 0.42) 100%
  ) !important;
}
.hero .hero__overlay::before {
  display: none !important;
}

.top-bar__inner--split { justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.contact__icon--green { background: var(--green); }
.testimonial__meta > div span { display: block; font-size: 0.8rem; color: var(--text-muted); margin-top: 0.1rem; }
.service-row p,
.services__grid .service-card__body p,
.service-border p,
.service-stack p { line-height: 1.65; max-width: 36rem; }

/* Hero audit refresh */
.hero--solid.hero--bg {
  min-height: min(680px, calc(100svh - var(--header-h) - var(--topbar-h)));
  padding: clamp(3rem, 7vw, 5rem) 0;
  align-items: center;
}

.hero--solid.hero--bg .hero__bg {
  object-position: center;
}

.hero--solid.hero--bg .hero__background .hero__overlay {
  background:
    linear-gradient(90deg, rgba(8, 22, 42, 0.78) 0%, rgba(8, 22, 42, 0.58) 46%, rgba(8, 22, 42, 0.2) 100%),
    rgba(0, 0, 0, 0.18) !important;
}

.hero--solid.hero--bg .hero__content,
.hero--solid.hero--bg .hero__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  max-width: var(--max-w);
  min-height: auto;
  padding: 0 var(--gutter);
}

.hero--solid.hero--bg .tag {
  color: var(--accent-yellow);
  margin-bottom: 0.95rem;
}

.hero--solid.hero--bg .hero__content h1,
.hero--solid.hero--bg .hero__text h1 {
  max-width: 12ch;
  font-size: clamp(2.65rem, 5.2vw, 4.7rem);
  line-height: 0.98;
  letter-spacing: 0;
  margin-bottom: 1.15rem;
  text-wrap: balance;
}

.hero--solid.hero--bg .hero__content p,
.hero--solid.hero--bg .hero__text p {
  max-width: 34rem;
  font-size: clamp(1.05rem, 1.45vw, 1.25rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.75rem;
  text-wrap: pretty;
}

.hero--solid.hero--bg .hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.8rem;
}

.hero--solid.hero--bg .hero__actions .btn {
  min-width: 168px;
  min-height: 48px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.16);
}

.hero--solid.hero--bg .btn--white {
  color: var(--navy, #22416a);
}

.hero--solid.hero--bg .btn--outline-light {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.62);
}

@media (max-width: 768px) {
  .hero--solid.hero--bg {
    min-height: auto;
    padding: clamp(3rem, 13vw, 4.75rem) 0;
  }

  .hero--solid.hero--bg .hero__background .hero__overlay {
    background: linear-gradient(180deg, rgba(8, 22, 42, 0.72) 0%, rgba(8, 22, 42, 0.68) 100%) !important;
  }

  .hero--solid.hero--bg .hero__content h1,
  .hero--solid.hero--bg .hero__text h1 {
    max-width: 11ch;
    font-size: clamp(2.2rem, 11vw, 3.25rem);
  }

  .hero--solid.hero--bg .hero__actions,
  .hero--solid.hero--bg .hero__actions .btn {
    width: 100%;
  }
}

/* CTA audit refresh */
.cta--primary {
  min-height: auto;
  display: block;
  background:
    radial-gradient(circle at 82% 18%, rgba(238, 213, 88, 0.28), transparent 32%),
    linear-gradient(135deg, #203c61 0%, #2f5e99 100%);
  padding: clamp(3rem, 6vw, 4.25rem) 0;
  color: var(--white);
}

.cta--primary::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.45), transparent 72%);
}

.cta--primary .cta__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1.5rem, 5vw, 4rem);
}

.cta--primary .cta__copy {
  max-width: 680px;
}

.cta--primary .cta__eyebrow {
  display: inline-flex;
  margin-bottom: 0.75rem;
  color: var(--accent-yellow);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cta--primary h2 {
  max-width: 13ch;
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1;
  letter-spacing: 0;
  margin-bottom: 1rem;
  text-wrap: balance;
}

.cta--primary p {
  max-width: 38rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1rem;
  line-height: 1.65;
  text-wrap: pretty;
}

.cta--primary .cta__notes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.35rem;
}

.cta--primary .cta__notes span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.82rem;
  font-weight: 600;
}

.cta--primary .btn {
  min-width: 180px;
  min-height: 52px;
  color: #203c61;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .cta--primary {
    padding: 2.5rem 0;
  }

  .cta--primary .cta__inner {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

  .cta--primary h2 {
    max-width: 12ch;
    font-size: clamp(1.85rem, 8vw, 2.55rem);
    margin-bottom: 0.85rem;
  }

  .cta--primary p {
    line-height: 1.55;
  }

  .cta--primary .cta__notes {
    gap: 0.5rem;
    margin-top: 1rem;
  }

  .cta--primary .cta__notes span {
    min-height: 32px;
    padding: 0.4rem 0.7rem;
  }

  .cta--primary .btn {
    width: 100%;
  }
}

/* Emil design engineering refresh */
:root {
  --motion-out: cubic-bezier(0.23, 1, 0.32, 1);
  --motion-snap: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ink: #1f2b3a;
  --navy: #22416a;
  --paper: #fbfcff;
  --wash: #eef4fb;
  --line: rgba(34, 65, 106, 0.14);
  --shadow-soft: 0 18px 50px rgba(26, 45, 75, 0.12);
}

body {
  background: var(--paper);
}

.btn,
.nav__link,
.menu-toggle span,
.product-card,
.service-row img,
.form-group input,
.form-group select,
.form-group textarea {
  transition-duration: 180ms;
  transition-timing-function: var(--motion-out);
}

.btn {
  min-height: 46px;
  transition-property: transform, box-shadow, background-color, border-color, color;
  will-change: transform;
}

.btn:active {
  transform: scale(0.97);
}

.nav__link {
  transition-property: color;
}

.nav__link::after,
.menu-toggle span {
  transition-property: width, transform, opacity, background-color;
}

.header {
  border-bottom-color: rgba(34, 65, 106, 0.1);
  transition: box-shadow 180ms var(--motion-out), border-color 180ms var(--motion-out), background-color 180ms var(--motion-out);
}

.header.scrolled {
  box-shadow: 0 12px 34px rgba(26, 45, 75, 0.1);
}

.top-bar {
  background: #1f3d66;
}

.hero--solid.hero--bg {
  min-height: min(710px, calc(100svh - var(--header-h) - var(--topbar-h)));
  padding: clamp(4rem, 8vw, 6rem) 0;
}

.hero--solid.hero--bg .hero__bg {
  object-position: 58% center;
  filter: saturate(0.96) contrast(1.04);
}

.hero--solid.hero--bg .hero__background .hero__overlay {
  background:
    linear-gradient(90deg, rgba(8, 23, 42, 0.86) 0%, rgba(8, 23, 42, 0.7) 39%, rgba(8, 23, 42, 0.22) 75%),
    linear-gradient(180deg, rgba(8, 23, 42, 0.15), rgba(8, 23, 42, 0.38)) !important;
}

.hero--solid.hero--bg .hero__content,
.hero--solid.hero--bg .hero__text {
  max-width: var(--max-w);
  gap: 0;
}

.hero--solid.hero--bg .tag {
  color: #eed558;
  margin-bottom: 1rem;
}

.hero--solid.hero--bg .hero__content h1,
.hero--solid.hero--bg .hero__text h1 {
  max-width: 10.7ch;
  font-size: clamp(3rem, 6vw, 5.55rem);
  line-height: 0.94;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.hero--solid.hero--bg .hero__content p,
.hero--solid.hero--bg .hero__text p {
  max-width: 32rem;
  font-size: clamp(1.05rem, 1.35vw, 1.22rem);
  line-height: 1.58;
  margin-bottom: 1.55rem;
}

.hero__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  width: min(100%, 620px);
  margin-top: 1.35rem;
}

.hero__metrics span {
  display: grid;
  gap: 0.08rem;
  min-height: 74px;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(10px);
}

.hero__metrics strong {
  color: var(--white);
  font-size: 0.95rem;
  line-height: 1.2;
}

.hero__metrics small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  line-height: 1.25;
}

.about,
.products,
.contact--centered {
  background:
    linear-gradient(180deg, var(--paper) 0%, var(--wash) 100%);
}

.about {
  padding: clamp(4rem, 7vw, 6rem) 0;
}

.about--prose-only .about__grid {
  max-width: 860px;
}

.about--prose-only .about__copy {
  text-align: left;
}

.about__copy h2,
.section-head h2,
.products h2,
.services h2 {
  color: var(--ink);
  letter-spacing: 0;
}

.about__copy p {
  max-width: 48rem;
  font-size: 1.02rem;
}

.about__proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.about__proof-grid span {
  display: flex;
  align-items: center;
  min-height: 54px;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--navy);
  font-weight: 700;
  line-height: 1.18;
  box-shadow: 0 10px 28px rgba(26, 45, 75, 0.06);
}

.products {
  padding: clamp(4rem, 7vw, 6rem) 0;
}

.products__grid4 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.product-card {
  position: relative;
  border: 1px solid var(--line) !important;
  border-radius: 8px !important;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(26, 45, 75, 0.08);
  transition-property: transform, box-shadow, border-color;
}

.products__grid4 .product-card--wide {
  grid-column: span 2;
}

.products__grid4 .product-card--wide img {
  aspect-ratio: 21 / 8;
}

.products__grid4 img {
  aspect-ratio: 16 / 10;
  outline: 1px solid rgba(0, 0, 0, 0.08);
  outline-offset: -1px;
}

.product-card__body {
  padding: 1.2rem !important;
}

.product-card__body h3 {
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.18;
  margin-bottom: 0.45rem;
}

.product-card__body p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.services {
  padding: clamp(4rem, 7vw, 6rem) 0;
  background: var(--white);
}

.service-row {
  gap: clamp(1.6rem, 4vw, 3.5rem);
  padding: clamp(1.4rem, 3vw, 2rem) 0;
  margin-bottom: 0;
  border-top: 1px solid var(--line);
}

.service-row:last-child {
  border-bottom: 1px solid var(--line);
}

.service-row img {
  border-radius: 8px;
  box-shadow: none;
  outline: 1px solid rgba(0, 0, 0, 0.08);
  outline-offset: -1px;
  transition-property: transform, box-shadow;
}

.service-row h3 {
  color: var(--ink);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.08;
  margin-bottom: 0.75rem;
}

.service-row p {
  max-width: 39rem;
  font-size: 0.96rem;
}

.testimonials--single {
  background:
    radial-gradient(circle at 50% 0%, rgba(63, 119, 193, 0.12), transparent 34%),
    #f8fafd;
  padding: clamp(4rem, 7vw, 5.75rem) 0;
}

.testimonial--featured {
  max-width: 820px;
  padding: clamp(1.7rem, 4vw, 2.6rem);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
}

.testimonial--featured p {
  color: var(--ink);
  line-height: 1.35;
}

.cta--primary {
  background: #244f82;
}

.cta--primary::before {
  display: none;
}

.contact--centered {
  padding: clamp(4rem, 7vw, 5.75rem) 0;
}

.contact--centered .contact__wrap {
  max-width: 680px;
}

.contact__intro {
  color: var(--text-muted);
}

.contact--centered .contact__form {
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.form-group input,
.form-group select,
.form-group textarea {
  border-color: rgba(34, 65, 106, 0.16);
  background: #f6f9fd;
  transition-property: border-color, background-color, box-shadow;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(63, 119, 193, 0.72);
  box-shadow: 0 0 0 4px rgba(63, 119, 193, 0.12);
}

.footer {
  background: #1f3d66;
  color: rgba(255, 255, 255, 0.86);
  padding: 2rem 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem 1.5rem;
}

.footer__logo {
  width: 48px;
  height: 48px;
}

.footer__tagline {
  color: var(--white);
  font-weight: 700;
  line-height: 1.35;
}

.footer__nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
}

.footer__nav a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 180ms var(--motion-out);
}

.footer__legal {
  grid-column: 2 / -1;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.82rem;
}

@media (hover: hover) and (pointer: fine) {
  .footer__nav a:hover {
    color: var(--white);
  }
}

@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover {
    background: #d4bf4b;
    border-color: #d4bf4b;
    color: #172337;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(34, 65, 106, 0.18);
  }

  .btn--white:hover {
    background: #f3f7fb;
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.14);
  }

  .btn--outline-light:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.88);
    transform: translateY(-2px);
  }

  .product-card:hover {
    transform: translateY(-3px);
    border-color: rgba(63, 119, 193, 0.3) !important;
    box-shadow: 0 18px 42px rgba(26, 45, 75, 0.14);
  }

  .service-row:hover img {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(26, 45, 75, 0.12);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    transform: translateY(12px);
    transition: opacity 240ms var(--motion-out), transform 240ms var(--motion-out);
  }
}

@media (max-width: 900px) {
  .products__grid4 .product-card--wide img {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 768px) {
  .nav {
    transition-property: transform, opacity;
    transition-duration: 200ms;
    transition-timing-function: var(--motion-out);
  }

  .hero--solid.hero--bg {
    padding: clamp(3rem, 14vw, 4.8rem) 0;
  }

  .hero--solid.hero--bg .hero__background .hero__overlay {
    background: linear-gradient(180deg, rgba(8, 23, 42, 0.82) 0%, rgba(8, 23, 42, 0.72) 100%) !important;
  }

  .hero--solid.hero--bg .hero__content h1,
  .hero--solid.hero--bg .hero__text h1 {
    max-width: 10.5ch;
    font-size: clamp(2.35rem, 12vw, 3.7rem);
  }

  .products__grid4 {
    grid-template-columns: 1fr;
  }

  .products__grid4 .product-card--wide {
    grid-column: span 1;
  }

  .products__grid4 .product-card--wide img,
  .products__grid4 img {
    aspect-ratio: 4 / 3;
  }

  .about--prose-only .about__copy {
    text-align: left;
  }

  .testimonial--featured {
    padding: 1.35rem;
  }

  .contact__form {
    padding: 1.3rem;
  }

  .footer {
    padding: 1.75rem 0;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 0.85rem;
  }

  .footer__nav {
    justify-content: flex-start;
  }

  .footer__legal {
    grid-column: auto;
  }
}
