:root {
  --bg: #f3f5f6;
  --bg-soft: #ffffff;
  --text: #17212b;
  --muted: #66727d;
  --line: rgba(38, 59, 74, 0.14);
  --dark: #151b23;
  --steel: #263b4a;
  --steel-2: #39596b;
  --blue: #61c4ed;
  --blue-soft: rgba(97, 196, 237, 0.14);
  --sand: #dce3e7;
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.12);
  --radius: 28px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 4%, rgba(97, 196, 237, 0.09), transparent 25rem),
    var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--dark);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(243, 245, 246, 0.88);
  backdrop-filter: blur(18px);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.topbar.is-scrolled {
  background: rgba(243, 245, 246, 0.96);
  box-shadow: 0 10px 32px rgba(21, 27, 35, 0.08);
}

.nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 11px;
  font-weight: 900;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.logo-frame {
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 14px;
  background: #202b35;
  box-shadow: 0 8px 22px rgba(21, 27, 35, 0.14);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.brand:hover .logo-frame {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(21, 27, 35, 0.2);
}

.brand small {
  display: block;
  margin-top: -1px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.menu {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
}

.menu a {
  position: relative;
  padding: 8px 0;
  opacity: 0.78;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.menu a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--blue);
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.menu a:hover,
.menu a.active {
  color: var(--steel);
  opacity: 1;
}

.menu a:hover::after,
.menu a.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.menu-cta {
  display: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--dark);
  color: var(--white);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.btn-primary:hover {
  background: var(--steel);
}

.btn-outline {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.52);
}

.mobile-toggle {
  position: relative;
  width: 48px;
  height: 48px;
  display: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.56);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.mobile-toggle span {
  position: absolute;
  width: 19px;
  height: 2px;
  border-radius: 999px;
  background: var(--dark);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-toggle span:first-child {
  transform: translateY(-6px);
}

.mobile-toggle span:last-child {
  transform: translateY(6px);
}

.mobile-toggle.is-open {
  border-color: var(--dark);
  background: var(--dark);
}

.mobile-toggle.is-open span {
  background: var(--white);
}

.mobile-toggle.is-open span:first-child {
  transform: rotate(45deg);
}

.mobile-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.is-open span:last-child {
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  padding: 84px 0 62px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 12%, rgba(97, 196, 237, 0.16), transparent 33%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 48px;
  align-items: center;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--steel);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow {
  padding: 9px 14px;
  border: 1px solid rgba(97, 196, 237, 0.26);
  border-radius: 999px;
  background: rgba(97, 196, 237, 0.1);
}

.section-kicker::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: var(--blue);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 5px rgba(97, 196, 237, 0.14);
}

h1,
h2 {
  text-transform: uppercase;
}

h1 {
  max-width: 860px;
  margin-top: 24px;
  font-size: clamp(44px, 6.7vw, 84px);
  line-height: 0.92;
  letter-spacing: -0.08em;
}

h1::after {
  content: "";
  width: 92px;
  height: 4px;
  display: block;
  margin-top: 22px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), rgba(97, 196, 237, 0.16));
}

h2 {
  font-size: clamp(34px, 5vw, 62px);
  line-height: 0.96;
  letter-spacing: -0.07em;
}

.hero-copy {
  max-width: 690px;
  margin-top: 24px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 38px;
}

.meta-card {
  display: flex;
  min-height: 112px;
  flex-direction: column;
  justify-content: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.45);
  box-shadow: 0 12px 32px rgba(21, 27, 35, 0.04);
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.meta-card:hover {
  border-color: rgba(97, 196, 237, 0.4);
  background: rgba(255, 255, 255, 0.68);
  transform: translateY(-5px);
}

.meta-card strong {
  display: block;
  font-size: 24px;
  letter-spacing: -0.05em;
  line-height: 1;
}

.meta-card span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-panel {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 36px;
  background:
    radial-gradient(circle at 70% 24%, rgba(97, 196, 237, 0.92), transparent 12%),
    radial-gradient(circle at 18% 82%, rgba(97, 196, 237, 0.28), transparent 21%),
    linear-gradient(145deg, #263b4a, #151b23 72%);
  box-shadow: var(--shadow);
}

.hero-panel-photo {
  background:
    linear-gradient(180deg, rgba(21, 27, 35, 0.08), rgba(21, 27, 35, 0.64)),
    url("hero-aplicacion-cerrada-ia.jpg") 62% center / cover;
}

.hero-panel::before,
.hero-panel::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transform: rotate(18deg);
}

.hero-panel::before {
  width: 330px;
  height: 330px;
  top: 62px;
  right: -72px;
  border-radius: 44px;
}

.hero-panel::after {
  width: 210px;
  height: 210px;
  bottom: 42px;
  left: -78px;
  border-radius: 50%;
}

.panel-copy {
  position: absolute;
  right: 30px;
  bottom: 30px;
  left: 30px;
  z-index: 1;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  backdrop-filter: blur(12px);
}

.panel-copy span {
  display: block;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.panel-copy p {
  max-width: 410px;
  margin-top: 10px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.04;
}

.panel-copy .image-note {
  display: block;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

section {
  padding: 72px 0;
}

.section-head {
  max-width: 900px;
  margin-bottom: 34px;
  margin-inline: auto;
  text-align: center;
}

.section-head h2,
.page-hero h1,
.faq-intro h2 {
  margin-top: 12px;
}

.section-head p,
.faq-intro p,
.page-lead {
  max-width: 690px;
  color: var(--muted);
  font-size: 18px;
}

.section-head p {
  margin: 16px auto 0;
}

.portal-grid,
.content-grid,
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.portal-card,
.info-card,
.application-card,
.benefit-card {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.52);
  box-shadow: 0 14px 36px rgba(21, 27, 35, 0.035);
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.portal-card:hover,
.info-card:hover,
.application-card:hover,
.benefit-card:hover {
  border-color: rgba(97, 196, 237, 0.4);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 24px 64px rgba(21, 27, 35, 0.1);
  transform: translateY(-7px);
}

.portal-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
}

.card-number,
.card-kicker {
  color: var(--steel);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.portal-card h3,
.info-card h3,
.application-card h3,
.benefit-card h3 {
  margin-top: 22px;
  font-size: 25px;
  letter-spacing: -0.06em;
  line-height: 1.02;
  text-transform: uppercase;
}

.portal-card h3 {
  margin-top: 0;
}

.info-card,
.application-card,
.benefit-card {
  text-align: center;
}

.portal-card p,
.info-card p,
.application-card p,
.benefit-card p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 15px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  color: var(--steel);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card-link::after {
  content: "\2192";
  color: var(--blue);
  font-size: 18px;
  transition: transform 0.2s ease;
}

.portal-card:hover .card-link::after {
  transform: translateX(4px);
}

.secondary-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.secondary-links a {
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  color: var(--steel);
  font-size: 12px;
  font-weight: 800;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.secondary-links a:hover {
  border-color: rgba(97, 196, 237, 0.56);
  background: var(--bg-soft);
}

.trust-strip {
  display: grid;
  grid-template-columns: 0.9fr repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.trust-strip > div {
  min-height: 174px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
  background: var(--dark);
  color: var(--white);
  text-align: center;
}

.trust-strip h2 {
  font-size: clamp(28px, 4vw, 46px);
}

.trust-strip strong {
  display: block;
  color: var(--blue);
  font-size: 20px;
  letter-spacing: -0.04em;
}

.trust-strip p {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
}

.page-hero {
  padding: 76px 0 40px;
  text-align: center;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.page-hero .breadcrumbs {
  justify-content: center;
}

.breadcrumbs span {
  color: var(--blue);
}

.page-hero h1 {
  max-width: 920px;
  margin-inline: auto;
  font-size: clamp(46px, 7vw, 92px);
}

.page-hero h1::after {
  margin-inline: auto;
}

.page-lead {
  margin-top: 22px;
  margin-inline: auto;
  font-size: clamp(17px, 2vw, 21px);
}

.services-hero h1 {
  max-width: 820px;
  font-size: clamp(44px, 6.2vw, 82px);
}

.services-hero .hero-buttons {
  justify-content: center;
  margin-top: 28px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  margin-top: 28px;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--steel);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-proof span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}

.services-list-section {
  padding-top: 54px;
  padding-bottom: 46px;
}

.services-audience-section {
  padding-top: 46px;
}

.services-trust-section {
  padding-top: 18px;
}

.detail-grid {
  display: grid;
  gap: 18px;
}

.service-detail {
  display: grid;
  grid-template-columns: 86px 1fr 0.9fr;
  gap: 24px;
  align-items: center;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.52);
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.service-detail:hover {
  border-color: rgba(97, 196, 237, 0.4);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 22px 60px rgba(21, 27, 35, 0.08);
  transform: translateY(-5px);
}

.service-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--dark);
  color: var(--blue);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.service-detail h3 {
  font-size: 27px;
  letter-spacing: -0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.service-detail p {
  color: var(--muted);
  font-size: 15px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  color: var(--steel);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-link::after {
  content: "\2192";
  color: var(--blue);
  font-size: 17px;
  transition: transform 0.2s ease;
}

.service-detail:hover .service-link::after {
  transform: translateX(4px);
}

.services-page .page-lead,
.services-page .service-detail p,
.services-page .section-head p,
.services-page .info-card p {
  color: #596874;
}

.services-audience-section .info-card {
  box-shadow: 0 12px 28px rgba(21, 27, 35, 0.03);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tag {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(97, 196, 237, 0.12);
  color: var(--steel);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.step-card {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  padding: 30px 32px 34px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 22px;
  background: linear-gradient(145deg, var(--dark), #1b2630);
  box-shadow: 0 18px 42px rgba(21, 27, 35, 0.1);
  color: var(--white);
}

.step-card::after {
  content: "";
  position: absolute;
  width: 74px;
  height: 3px;
  bottom: 0;
  left: 32px;
  border-radius: 999px 999px 0 0;
  background: var(--blue);
}

.step-card b {
  display: inline-flex;
  padding: 6px 10px;
  border: 1px solid rgba(97, 196, 237, 0.22);
  border-radius: 999px;
  background: rgba(97, 196, 237, 0.1);
  color: var(--blue);
  font-size: 11px;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.step-card h3 {
  margin-top: 30px;
  font-size: 24px;
  letter-spacing: -0.05em;
}

.step-card p {
  max-width: 520px;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
}

.application-card,
.benefit-card {
  min-height: 224px;
}

.application-card::before,
.benefit-card::before {
  content: "";
  position: absolute;
  width: 110px;
  height: 110px;
  right: -42px;
  bottom: -46px;
  border-radius: 50%;
  background: var(--blue-soft);
}

.visual-section {
  padding: 12px 0 30px;
}

.visual-feature {
  position: relative;
  height: clamp(300px, 42vw, 470px);
  overflow: hidden;
  border: 1px solid rgba(38, 59, 74, 0.12);
  border-radius: 34px;
  background: var(--sand);
  box-shadow: 0 24px 72px rgba(21, 27, 35, 0.12);
}

.visual-feature img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.visual-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(21, 27, 35, 0.68));
  pointer-events: none;
}

.visual-caption {
  position: absolute;
  right: 26px;
  bottom: 24px;
  left: 26px;
  z-index: 1;
  color: var(--white);
}

.visual-caption span {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.visual-caption strong {
  display: block;
  max-width: 690px;
  margin-top: 8px;
  font-size: clamp(21px, 3vw, 34px);
  letter-spacing: -0.05em;
  line-height: 1;
}

.cta-box {
  position: relative;
  overflow: hidden;
  padding: 54px;
  border: 1px solid rgba(97, 196, 237, 0.2);
  border-radius: 36px;
  background: var(--dark);
  color: var(--white);
  box-shadow: 0 30px 86px rgba(21, 27, 35, 0.16);
  text-align: center;
}

.cta-box::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  right: -90px;
  bottom: -190px;
  border-radius: 50%;
  background: rgba(97, 196, 237, 0.18);
}

.cta-box h2,
.cta-box p,
.cta-box .hero-buttons {
  position: relative;
  z-index: 1;
}

.cta-box h2 {
  max-width: 780px;
  margin-inline: auto;
}

.cta-box p {
  max-width: 690px;
  margin-top: 18px;
  margin-inline: auto;
  color: rgba(255, 255, 255, 0.68);
  font-size: 18px;
}

.cta-box .hero-buttons {
  justify-content: center;
}

.cta-box .btn-primary {
  background: var(--bg);
  color: var(--dark);
}

.cta-box .btn-outline {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 46px;
  align-items: start;
}

.faq-intro p {
  margin-top: 18px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.54);
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.faq-item.is-open {
  border-color: rgba(97, 196, 237, 0.42);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 44px rgba(21, 27, 35, 0.06);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 16px;
  font-weight: 800;
  text-align: left;
}

.faq-question::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--blue);
  font-size: 25px;
  font-weight: 500;
  line-height: 1;
  transition: transform 0.3s ease;
}

.faq-item.is-open .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer > div {
  overflow: hidden;
}

.faq-answer p {
  padding: 0 22px 20px;
  color: var(--muted);
  font-size: 15px;
}

.contact-box {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 34px;
  padding: 46px;
  border: 1px solid var(--line);
  border-radius: 36px;
  background: var(--bg-soft);
  box-shadow: 0 18px 60px rgba(21, 27, 35, 0.06);
}

.contact-copy h2 {
  margin-top: 12px;
}

.contact-copy > p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 18px;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.contact-item {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.contact-item strong {
  color: var(--text);
}

.quote-form {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--dark);
  color: var(--white);
  box-shadow: var(--shadow);
}

.quote-form h3 {
  margin-bottom: 18px;
  font-size: 26px;
  letter-spacing: -0.05em;
  line-height: 1.05;
  text-transform: uppercase;
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.field label {
  color: rgba(255, 255, 255, 0.64);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  outline: none;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(97, 196, 237, 0.86);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 4px rgba(97, 196, 237, 0.14);
}

.field input.is-invalid,
.field select.is-invalid {
  border-color: rgba(255, 142, 142, 0.9);
}

.field select option {
  color: var(--text);
}

.field textarea {
  min-height: 104px;
  resize: vertical;
}

.field-error {
  display: none;
  color: #ffb5b5;
  font-size: 12px;
}

.field-error.is-visible {
  display: block;
}

.form-note,
.form-status {
  margin-top: 12px;
  font-size: 12px;
}

.form-note {
  color: rgba(255, 255, 255, 0.52);
}

.form-status {
  min-height: 18px;
  color: #ffb5b5;
}

.quote-submit {
  width: 100%;
  margin-top: 4px;
  background: var(--bg);
  color: var(--dark);
  box-shadow: none;
}

.quote-submit:hover {
  background: var(--white);
}

footer {
  margin-top: 72px;
  padding: 32px 0;
  background: var(--dark);
  color: rgba(255, 255, 255, 0.66);
}

.footer-inner {
  display: grid;
  align-items: center;
  justify-items: center;
  gap: 10px;
  font-size: 13px;
  text-align: center;
}

.footer-inner strong {
  color: var(--white);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 800;
}

.footer-links a:hover {
  color: var(--blue);
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  font-size: 26px;
  font-weight: 900;
  box-shadow: 0 18px 50px rgba(37, 211, 102, 0.38);
  transition: transform 0.2s ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.04);
}

.whatsapp-float img {
  width: 32px;
  height: 32px;
}

.reveal {
  opacity: 0;
  filter: blur(3px);
  transform: translateY(30px);
  transition: opacity 0.7s ease, filter 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.from-left {
  transform: translateX(-30px);
}

.reveal.from-right {
  transform: translateX(30px);
}

.reveal.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translate(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    filter: none;
    transform: none;
  }
}

@media (max-width: 1080px) {
  .menu {
    gap: 15px;
    font-size: 12px;
  }

  .nav-actions .btn-outline {
    display: none;
  }
}

@media (max-width: 920px) {
  .menu,
  .nav-actions {
    display: none;
  }

  .mobile-toggle {
    display: inline-grid;
    place-items: center;
  }

  .menu {
    position: absolute;
    top: 86px;
    right: 20px;
    left: 20px;
    display: grid;
    gap: 4px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--bg-soft);
    box-shadow: var(--shadow);
    font-size: 14px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
  }

  .menu.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
  }

  .menu a {
    padding: 10px 0;
  }

  .menu-cta {
    display: inline-flex;
    justify-content: center;
    margin-top: 6px;
    padding: 13px 16px !important;
    border-radius: 999px;
    background: var(--dark);
    color: var(--white) !important;
    text-align: center;
  }

  .menu-cta::after {
    display: none;
  }

  .hero-grid,
  .section-head,
  .faq-grid,
  .contact-box {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    min-height: 420px;
  }

  .portal-grid,
  .content-grid,
  .audience-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-detail {
    grid-template-columns: 72px 1fr;
  }

  .service-summary {
    grid-column: 2;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(1180px, calc(100% - 28px));
  }

  .nav {
    min-height: 72px;
  }

  .brand {
    gap: 9px;
    font-size: 14px;
  }

  .logo-frame {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }

  .menu {
    top: 76px;
    right: 14px;
    left: 14px;
  }

  .hero {
    padding-top: 44px;
  }

  .eyebrow {
    max-width: 100%;
    flex-wrap: wrap;
    line-height: 1.35;
  }

  h1,
  .page-hero h1,
  .services-hero h1 {
    font-size: clamp(38px, 12vw, 54px);
    letter-spacing: -0.07em;
    line-height: 0.96;
  }

  h2 {
    font-size: clamp(30px, 10vw, 44px);
  }

  .hero-meta,
  .portal-grid,
  .content-grid,
  .audience-grid,
  .steps-grid,
  .trust-strip {
    grid-template-columns: 1fr;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .hero-panel {
    min-height: 360px;
  }

  .panel-copy {
    right: 20px;
    bottom: 20px;
    left: 20px;
    padding: 20px;
  }

  .visual-feature {
    border-radius: 26px;
  }

  .panel-copy p {
    font-size: 21px;
  }

  section {
    padding: 52px 0;
  }

  .page-hero {
    padding: 44px 0 18px;
  }

  .portal-card,
  .info-card,
  .application-card,
  .benefit-card {
    min-height: auto;
    padding: 22px;
  }

  .trust-strip > div {
    min-height: auto;
    padding: 22px;
  }

  .services-list-section {
    padding-top: 42px;
    padding-bottom: 34px;
  }

  .services-audience-section {
    padding-top: 34px;
  }

  .step-card {
    min-height: auto;
    padding: 24px 22px 28px;
    border-radius: 18px;
  }

  .step-card::after {
    left: 22px;
  }

  .step-card h3 {
    margin-top: 24px;
    font-size: 22px;
  }

  .service-detail {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-summary {
    grid-column: auto;
  }

  .cta-box,
  .contact-box {
    padding: 26px;
    border-radius: 28px;
  }

  .contact-item {
    align-items: flex-start;
    flex-direction: column;
  }

  footer {
    margin-top: 56px;
  }
}
