:root {
  --factor-electric: #0511f2;
  --factor-royal: #08298c;
  --factor-navy: #072359;
  --factor-cyan: #145e8c;
  --factor-ink: #0d0d0d;
  --brand-logo-height: 124px;
  --header-anchor-offset: calc(var(--brand-logo-height) + 3rem);
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: var(--header-anchor-offset);
}

body {
  overflow-x: hidden;
  color: #0f172a;
}

::selection {
  background: rgba(5, 17, 242, 0.16);
  color: var(--factor-navy);
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  border-radius: 999px;
  background: var(--factor-ink);
  color: #fff;
  padding: 0.75rem 1rem;
  transition: top 180ms ease;
}

.skip-link:focus {
  top: 1rem;
}

.brand-logo,
.footer-logo {
  display: block;
  object-fit: contain;
}

.brand-logo {
  width: auto;
  height: var(--brand-logo-height);
  flex: 0 0 auto;
}

.footer-logo {
  width: 4.8rem;
  height: 3.55rem;
}

.brand-copy {
  display: grid;
  gap: 0.1rem;
  line-height: 1;
}

.brand-title {
  display: block;
  color: var(--factor-navy);
  font-family: Montserrat, system-ui, sans-serif;
  font-size: clamp(1.35rem, 2.8vw, 1.9rem);
  font-weight: 700;
  letter-spacing: 0;
}

.brand-subtitle {
  display: block;
  color: var(--factor-cyan);
  font-size: clamp(0.72rem, 1.5vw, 0.95rem);
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
}

.site-menu {
  display: none;
}

.site-menu a {
  color: #263247;
  font-size: 0.94rem;
  font-weight: 700;
  transition: color 180ms ease, transform 180ms ease;
}

.site-menu a:hover {
  color: var(--factor-electric);
}

.site-menu.open {
  position: absolute;
  inset: 100% 1rem auto 1rem;
  display: grid;
  gap: 1rem;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.98);
  padding: 1.25rem;
  box-shadow: 0 24px 60px rgba(7, 35, 89, 0.16);
}

@media (min-width: 1024px) {
  .site-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--factor-electric), var(--factor-cyan));
  color: white !important;
  padding: 0.9rem 1.25rem;
  box-shadow: 0 16px 36px rgba(5, 17, 242, 0.22);
}

.btn-secondary {
  border: 1px solid rgba(8, 41, 140, 0.22);
  background: rgba(255, 255, 255, 0.88);
  color: #072359;
  padding: 0.9rem 1.25rem;
  backdrop-filter: blur(14px);
}

.theme-dark .btn-secondary,
.hero-section .btn-secondary,
.enterprise-section .btn-secondary,
.branch-section .btn-secondary,
footer .btn-secondary {
  border-color: rgba(255, 255, 255, 0.54);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.btn-large {
  min-height: 3.35rem;
  padding-inline: 1.35rem;
}

.btn-primary:hover,
.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 42px rgba(5, 17, 242, 0.24);
}

.nav-cta {
  padding: 0.78rem 1.1rem !important;
}

.hero-section {
  position: relative;
  min-height: 100vh;
  isolation: isolate;
}

.hero-section > .mx-auto {
  position: relative;
  z-index: 2;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: linear-gradient(135deg, #e5e7eb, #f8fafc);
}

.hero-overlay {
  z-index: 1;
  background:
    linear-gradient(rgba(0, 25, 80, 0.6), rgba(0, 25, 80, 0.6)),
    linear-gradient(90deg, rgba(7, 35, 89, 0.82), rgba(8, 41, 140, 0.58) 50%, rgba(13, 13, 13, 0.32));
}

.hero-section h1,
.hero-section .eyebrow,
.hero-section p {
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.hero-section h1 {
  font-size: 3.5rem;
  line-height: 1.1;
}

.hero-section p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.85);
}

.theme-light {
  color: #0f172a;
}

.theme-light .section-title,
.theme-light h1,
.theme-light h2,
.theme-light h3,
.theme-light h4,
.theme-light .eyebrow,
.theme-light .footer-title {
  color: #0f172a;
  text-shadow: none;
}

.theme-light p,
.theme-light li,
.theme-light span:not(.service-icon):not(.benefit-icon):not(.logo-mark),
.theme-light .faq-panel,
.theme-light .footer-text {
  color: #475569;
  text-shadow: none;
}

.theme-light .eyebrow,
.theme-light .site-menu a,
.theme-light label span {
  color: #334155;
}

.theme-dark {
  color: #ffffff;
}

.theme-dark .section-title,
.theme-dark h1,
.theme-dark h2,
.theme-dark h3,
.theme-dark h4,
.theme-dark .eyebrow {
  color: #ffffff;
}

.theme-dark p,
.theme-dark li,
.theme-dark .footer-text {
  color: rgba(255, 255, 255, 0.85);
}

.theme-dark .section-title,
.theme-dark h1,
.theme-dark h2,
.theme-dark h3,
.theme-dark p,
.theme-dark .eyebrow {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.theme-light .text-white,
.theme-light [class*="text-white/"] {
  color: #0f172a !important;
  text-shadow: none !important;
}

.theme-light p.text-white,
.theme-light p[class*="text-white/"] {
  color: #475569 !important;
}

.theme-light .service-tag {
  color: var(--accent, var(--factor-royal));
}

.theme-light .value-pill,
.theme-light .contact-line,
.theme-light .contact-line span {
  color: var(--factor-navy);
}

.theme-light .social-link,
.theme-light .btn-primary {
  color: #ffffff !important;
}

.hero-section.theme-dark .text-white,
.hero-section.theme-dark [class*="text-white/"],
.enterprise-section.theme-dark .text-white,
.enterprise-section.theme-dark [class*="text-white/"],
.branch-section.theme-dark .text-white,
.branch-section.theme-dark [class*="text-white/"] {
  color: #ffffff !important;
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-panel {
  display: none;
}

@media (min-width: 1024px) {
  .hero-panel {
    display: block;
  }
}

.glass-card {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 2rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.08));
  padding: 1.5rem;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(24px);
}

.hero-metric {
  display: grid;
  grid-template-columns: 5rem 1fr;
  align-items: center;
  gap: 1rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.12);
  padding: 1rem;
  color: white;
}

.hero-metric span {
  font-family: Montserrat, sans-serif;
  font-size: 2rem;
  font-weight: 900;
}

.hero-metric p {
  color: rgba(255, 255, 255, 0.85);
}

.section-pad {
  padding-block: clamp(4.5rem, 8vw, 7.5rem);
}

.section-title {
  margin-top: 0.75rem;
  max-width: 920px;
  font-family: Montserrat, sans-serif;
  font-size: clamp(2.25rem, 4vw, 4rem);
  font-weight: 900;
  line-height: 1.05;
}

.info-card,
.service-card,
.benefit-card,
.contact-form,
.faq-item {
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 60px rgba(7, 35, 89, 0.08);
}

.info-card {
  padding: 1.4rem;
}

.info-card h3,
.service-card h3,
.benefit-card h3 {
  margin-top: 0.9rem;
  font-family: Montserrat, sans-serif;
  font-weight: 900;
  color: var(--factor-navy);
}

.info-card p,
.service-card p,
.benefit-card p {
  margin-top: 0.55rem;
  color: #64748b;
  line-height: 1.7;
}

.value-pill {
  border: 1px solid rgba(5, 17, 242, 0.12);
  border-radius: 999px;
  background: white;
  color: var(--factor-navy);
  padding: 0.7rem 1rem;
  font-size: 0.92rem;
  font-weight: 800;
  box-shadow: 0 8px 25px rgba(7, 35, 89, 0.05);
}

.filter-pill {
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 0.82rem 1rem;
  font-size: 0.9rem;
  font-weight: 800;
  color: #334155;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.filter-pill.active,
.filter-pill:hover {
  border-color: var(--factor-electric);
  background: var(--factor-electric);
  color: white;
}

.service-card {
  display: flex;
  min-height: 18rem;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
  background: rgba(255, 255, 255, 0.96);
}

.service-card:hover {
  border-color: rgba(5, 17, 242, 0.32);
  transform: translateY(-5px);
  box-shadow: 0 24px 70px rgba(7, 35, 89, 0.14);
}

.service-icon,
.benefit-icon {
  display: inline-grid;
  width: 3.1rem;
  height: 3.1rem;
  place-items: center;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(5, 17, 242, 0.1), rgba(20, 94, 140, 0.16));
  color: var(--factor-electric);
}

.service-icon {
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent, #0511f2) 13%, white), rgba(20, 94, 140, 0.12));
  color: var(--accent, var(--factor-electric));
}

.service-image {
  position: relative;
  height: 11.5rem;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(226, 232, 240, 0.98), rgba(248, 250, 252, 0.92)),
    radial-gradient(circle at 80% 15%, rgba(20, 94, 140, 0.18), transparent 35%);
  border-radius: 1.25rem 1.25rem 0 0;
}

.service-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1.25rem 1.25rem 0 0;
  transition: transform 420ms ease;
}

.service-image video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1.25rem 1.25rem 0 0;
  transition: transform 420ms ease;
}

.service-image.has-video img {
  display: none;
}

.service-card:hover .service-image img,
.service-card:hover .service-image video {
  transform: scale(1.04);
}

.service-image::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(7, 35, 89, 0) 45%, rgba(7, 35, 89, 0.56));
}

.service-image.is-fallback::before {
  position: absolute;
  inset: 1.25rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 1rem;
  color: #64748b;
  content: "Imagen no disponible";
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-media.is-fallback,
.image-frame.is-fallback {
  background:
    linear-gradient(rgba(0, 20, 80, 0.55), rgba(0, 20, 80, 0.55)),
    linear-gradient(135deg, #1e293b, #334155);
}

.hero-media.is-fallback img,
.image-frame.is-fallback img,
.service-image.is-fallback img,
.service-image.is-fallback video {
  display: none;
}

.service-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.35rem;
}

.service-tag {
  align-self: flex-start;
  border-radius: 999px;
  background: #eff6ff;
  color: var(--accent, var(--factor-royal));
  padding: 0.45rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.text-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--accent, var(--factor-electric));
  font-weight: 900;
}

.benefit-card {
  padding: 1.25rem;
}

.services-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(248, 250, 252, 0.97), rgba(255, 255, 255, 0.99)),
    url("https://images.pexels.com/photos/2280549/pexels-photo-2280549.jpeg?auto=compress&cs=tinysrgb&w=1800");
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
}

.benefits-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.94)),
    url("https://images.pexels.com/photos/3825527/pexels-photo-3825527.jpeg?auto=compress&cs=tinysrgb&w=1800");
  background-position: center;
  background-size: cover;
}

.lab-photo-tile {
  height: 17rem;
  width: 100%;
  border: 1px solid rgba(226, 232, 240, 0.86);
  border-radius: 1.6rem;
  object-fit: cover;
  background: linear-gradient(135deg, #e5e7eb, #f8fafc);
  box-shadow: 0 20px 55px rgba(7, 35, 89, 0.12);
}

.enterprise-section {
  position: relative;
  overflow: hidden;
  background: #f8fafc;
  isolation: isolate;
}

.enterprise-bg,
.enterprise-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.enterprise-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.enterprise-overlay {
  z-index: -1;
  background: linear-gradient(rgba(0, 25, 80, 0.65), rgba(0, 25, 80, 0.65));
}

.enterprise-content {
  position: relative;
  z-index: 1;
}

.enterprise-section .eyebrow,
.enterprise-section h2,
.enterprise-section p,
.enterprise-section strong,
.enterprise-section span {
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.enterprise-section p,
.enterprise-section span {
  color: rgba(255, 255, 255, 0.85);
}

.enterprise-section.is-fallback {
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
}

.enterprise-section.is-fallback .enterprise-bg,
.enterprise-section.is-fallback .enterprise-overlay {
  display: none;
}

.enterprise-section.is-fallback .eyebrow,
.enterprise-section.is-fallback h2,
.enterprise-section.is-fallback p,
.enterprise-section.is-fallback strong,
.enterprise-section.is-fallback span {
  color: #0f172a;
  text-shadow: none;
}

.enterprise-section.is-fallback p,
.enterprise-section.is-fallback span {
  color: #475569;
}

.branch-section {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  background: #f8fafc;
  isolation: isolate;
}

.branch-bg,
.branch-overlay {
  position: absolute;
  inset: 0;
}

.branch-bg {
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.branch-overlay {
  z-index: -1;
  background:
    linear-gradient(rgba(0, 25, 80, 0.65), rgba(0, 25, 80, 0.65)),
    linear-gradient(90deg, rgba(7, 35, 89, 0.24), rgba(20, 94, 140, 0.14));
}

.branch-content {
  position: relative;
  z-index: 1;
}

.branch-section .eyebrow,
.branch-section h2,
.branch-section h3,
.branch-section p,
.branch-section strong,
.branch-section span,
.branch-section a {
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.branch-section p,
.branch-section span,
.branch-section a {
  color: rgba(255, 255, 255, 0.85);
}

.branch-section .eyebrow {
  color: #bfdbfe;
}

.branch-info-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 1rem;
  backdrop-filter: blur(14px);
}

.branch-info-card h3 {
  font-family: Montserrat, sans-serif;
  font-weight: 900;
}

.branch-info-card p,
.branch-info-card a {
  display: inline-block;
  margin-top: 0.3rem;
  line-height: 1.65;
}

.branch-info-card a:hover {
  color: #ffffff;
}

.branch-icon {
  display: inline-grid;
  width: 3rem;
  height: 3rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  backdrop-filter: blur(12px);
}

.branch-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  border-radius: 1.15rem;
  background: #ffffff;
  color: #072359 !important;
  padding: 1rem 1.5rem;
  font-weight: 900;
  text-shadow: none !important;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.24);
  transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.branch-cta svg {
  color: #072359;
}

.branch-cta:hover {
  background: #dbeafe;
  transform: translateY(-2px);
  box-shadow: 0 26px 65px rgba(0, 0, 0, 0.28);
}

.branch-glass-card {
  width: 100%;
  max-width: 28rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 2rem;
  background: rgba(255, 255, 255, 0.1);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(22px);
}

.branch-glass-card h3 {
  font-family: Montserrat, sans-serif;
  font-size: 1.55rem;
  font-weight: 900;
}

.branch-glass-card p {
  margin-top: 1rem;
  line-height: 1.75;
}

.branch-stat {
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 1.25rem;
}

.branch-stat strong {
  display: block;
  font-family: Montserrat, sans-serif;
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 900;
  line-height: 1;
}

.branch-stat span {
  display: block;
  margin-top: 0.7rem;
  font-size: 0.9rem;
}

.branch-section.is-fallback {
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
}

.branch-section.is-fallback .branch-bg,
.branch-section.is-fallback .branch-overlay {
  display: none;
}

.branch-section.is-fallback .eyebrow,
.branch-section.is-fallback h2,
.branch-section.is-fallback h3,
.branch-section.is-fallback p,
.branch-section.is-fallback strong,
.branch-section.is-fallback span,
.branch-section.is-fallback a {
  color: #0f172a;
  text-shadow: none;
}

.branch-section.is-fallback p,
.branch-section.is-fallback span,
.branch-section.is-fallback a {
  color: #475569;
}

.branch-section.is-fallback .branch-info-card,
.branch-section.is-fallback .branch-glass-card,
.branch-section.is-fallback .branch-stat {
  border-color: rgba(148, 163, 184, 0.3);
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 18px 60px rgba(7, 35, 89, 0.08);
}

.branch-section.is-fallback .branch-icon {
  background: #e0f2fe;
  color: #072359;
}

.branch-section.is-fallback .branch-cta {
  background: linear-gradient(135deg, var(--factor-electric), var(--factor-cyan));
  color: #ffffff !important;
}

.legal-hero {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  isolation: isolate;
}

.legal-hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(rgba(0, 25, 80, 0.66), rgba(0, 25, 80, 0.66)),
    url("https://images.pexels.com/photos/3735709/pexels-photo-3735709.jpeg?auto=compress&cs=tinysrgb&w=1800");
  background-position: center;
  background-size: cover;
}

.legal-hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: radial-gradient(circle at 78% 18%, rgba(20, 94, 140, 0.5), transparent 34%);
}

.legal-hero .eyebrow,
.legal-hero h1,
.legal-hero p {
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.legal-hero p {
  color: rgba(255, 255, 255, 0.85);
}

.legal-layout {
  background:
    linear-gradient(180deg, rgba(248, 250, 252, 0.98), rgba(255, 255, 255, 1)),
    radial-gradient(circle at 20% 0%, rgba(5, 17, 242, 0.08), transparent 28%);
}

.legal-content {
  color: #0f172a;
}

.legal-content article {
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.94);
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: 0 18px 60px rgba(7, 35, 89, 0.08);
}

.legal-content h2 {
  font-family: Montserrat, sans-serif;
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 900;
  color: #072359;
}

.legal-content h3 {
  margin-top: 1.25rem;
  font-family: Montserrat, sans-serif;
  font-size: 1.05rem;
  font-weight: 900;
  color: #0f172a;
}

.legal-content p,
.legal-content li,
.legal-content address {
  color: #475569;
  line-height: 1.8;
}

.legal-content strong {
  color: #0f172a;
}

.legal-list {
  margin-top: 1.1rem;
  display: grid;
  gap: 0.85rem;
  list-style-position: outside;
  padding-left: 1.25rem;
}

.legal-list li::marker {
  color: var(--factor-electric);
  font-weight: 900;
}

.legal-callout {
  border: 1px solid rgba(5, 17, 242, 0.16);
  border-radius: 1.5rem;
  background: linear-gradient(135deg, rgba(5, 17, 242, 0.08), rgba(20, 94, 140, 0.1));
  padding: clamp(1.25rem, 3vw, 2rem);
}

.document-card {
  border: 1px solid rgba(5, 17, 242, 0.14);
  border-radius: 1.5rem;
  background:
    linear-gradient(135deg, rgba(5, 17, 242, 0.08), rgba(20, 94, 140, 0.1)),
    #ffffff;
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: 0 18px 60px rgba(7, 35, 89, 0.08);
}

.document-grid {
  margin-top: 1.25rem;
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .document-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .document-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.document-field {
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.82);
  padding: 1rem;
}

.document-field span {
  display: block;
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.document-field strong {
  display: block;
  margin-top: 0.4rem;
  color: #0f172a;
  font-family: Montserrat, sans-serif;
  font-size: 1.05rem;
  font-weight: 900;
}

.legal-meta {
  border-top: 1px solid #e2e8f0;
  color: #64748b;
  font-size: 0.92rem;
}

.stat-card {
  min-height: 9rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.12);
  padding: 1.2rem;
  color: white;
  backdrop-filter: blur(16px);
}

.stat-card strong {
  display: block;
  font-family: Montserrat, sans-serif;
  font-size: 1.25rem;
}

.stat-card span {
  margin-top: 0.55rem;
  display: block;
  color: rgba(255, 255, 255, 0.85);
}

.faq-item button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem;
  text-align: left;
  font-weight: 900;
  color: var(--factor-navy);
}

.faq-panel {
  display: none;
  padding: 0 1.25rem 1.25rem;
  color: #64748b;
  line-height: 1.75;
}

.faq-item.open .faq-panel {
  display: block;
}

.faq-item.open svg {
  transform: rotate(45deg);
}

.contact-line {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-radius: 1.1rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  padding: 1rem;
  color: var(--factor-navy);
  font-weight: 800;
  box-shadow: 0 12px 35px rgba(7, 35, 89, 0.06);
}

.contact-line svg {
  width: 1.25rem;
  color: var(--factor-electric);
}

.contact-form {
  padding: clamp(1.25rem, 3vw, 2rem);
}

.contact-form label {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1.15rem;
}

.contact-form span {
  color: var(--factor-navy);
  font-size: 0.9rem;
  font-weight: 900;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  background: #f8fafc;
  padding: 1rem;
  outline: none;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--factor-electric);
  background: white;
  box-shadow: 0 0 0 4px rgba(5, 17, 242, 0.1);
}

.contact-form small {
  min-height: 1rem;
  color: #dc2626;
  font-size: 0.78rem;
  font-weight: 700;
}

.form-status {
  margin-top: 1rem;
  border-radius: 1rem;
  padding: 0.9rem 1rem;
  font-weight: 800;
}

.form-status:empty {
  display: none;
}

.form-status.success {
  background: #ecfdf5;
  color: #047857;
}

.footer-title {
  font-family: Montserrat, sans-serif;
  font-weight: 900;
}

.footer-text {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.64);
  line-height: 1.7;
}

.social-link {
  display: inline-grid;
  width: 2.65rem;
  height: 2.65rem;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  transition: background 180ms ease, transform 180ms ease;
}

.social-link:hover {
  background: var(--factor-electric);
  transform: translateY(-2px);
}

.whatsapp-float {
  position: fixed;
  right: 1.15rem;
  bottom: 1.15rem;
  z-index: 60;
  display: inline-grid;
  width: 3.75rem;
  height: 3.75rem;
  place-items: center;
  border-radius: 999px;
  background: #25d366;
  color: white;
  box-shadow: 0 18px 45px rgba(37, 211, 102, 0.38);
  transition: transform 180ms ease;
}

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

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease var(--delay, 0ms), transform 600ms ease var(--delay, 0ms);
}

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

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

@media (max-width: 640px) {
  :root {
    --brand-logo-height: 98px;
    --header-anchor-offset: calc(var(--brand-logo-height) + 3rem);
  }

  .brand-logo {
    height: var(--brand-logo-height);
  }

  .brand-title {
    font-size: 1.15rem;
  }

  .brand-subtitle {
    font-size: 0.68rem;
    letter-spacing: 0.22em;
  }

  .hero-section h1 {
    font-size: 2.6rem;
    line-height: 1.1;
  }

  .section-title {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .contact-line {
    align-items: flex-start;
  }

  .contact-line span {
    overflow-wrap: anywhere;
  }
}
