﻿:root {
  --blue: #3c78d9;
  --blue-corp: #535cde;
  --blue-mid: #2595d4;
  --teal: #4db2c3;
  --violet: #947bc5;
  --pale-blue: #d7e1f4;
  --bg: #f4fafd;
  --text: #173a4a;
  --white: #ffffff;
  --muted: #5e7380;
  --line: rgba(23, 58, 74, 0.12);
  --shadow: 0 18px 40px rgba(23, 58, 74, 0.1);
  --gradient: linear-gradient(135deg, #4db2c3 0%, #3c78d9 55%, #535cde 100%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  width: 100%;
  min-height: 82px;
  padding: 10px clamp(16px, 3vw, 36px);
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(20px) saturate(135%);
  transition:
    background 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    min-height 220ms ease,
    padding 220ms ease,
    transform 220ms ease;
}

.site-header.is-scrolled {
  min-height: 72px;
  padding-top: 6px;
  padding-bottom: 6px;
  background: rgba(255, 255, 255, 0.22);
  border-bottom-color: rgba(255, 255, 255, 0.04);
  box-shadow: 0 10px 28px rgba(23, 58, 74, 0.03);
  backdrop-filter: blur(28px) saturate(165%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-logo {
  width: 76px;
  height: 76px;
  object-fit: contain;
  flex-shrink: 0;
  transition:
    width 220ms ease,
    height 220ms ease,
    transform 220ms ease;
}

.site-header.is-scrolled .brand-logo {
  width: 64px;
  height: 64px;
  transform: scale(0.98);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  min-width: 0;
}

.brand-name {
  font-size: 1.14rem;
  font-weight: 700;
  color: #173a4a;
  letter-spacing: -0.01em;
}

.brand-claim {
  margin-top: 5px;
  font-size: 0.7rem;
  font-weight: 600;
  color: #5a7482;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.92rem;
  font-weight: 500;
}

.site-nav-mobile-head,
.site-nav-mobile-cta {
  display: none;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 2px;
  border-radius: 0;
  color: rgba(23, 58, 74, 0.72);
  letter-spacing: 0.005em;
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--blue);
  transform: translateY(-1px);
}

.site-nav a[aria-current="page"] {
  color: var(--blue);
  font-weight: 600;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(135deg, #4db2c3 0%, #3c78d9 100%);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 220ms ease;
}

.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.social-icon {
  display: block;
  width: 100%;
  height: 100%;
}

.instagram-icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.header-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  min-width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(23, 58, 74, 0.7);
  box-shadow: none;
  transition:
    transform 180ms ease,
    color 180ms ease,
    opacity 180ms ease;
}

.header-social-link .social-icon {
  width: 26px;
  height: 26px;
}

.instagram-icon-header {
  stroke-width: 1.95;
}

.header-social-link:hover,
.header-social-link:focus-visible {
  transform: translateY(-1px);
  color: var(--blue);
  opacity: 1;
}

.header-whatsapp-link {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  min-width: 44px;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #4df08f 0%, #25d366 52%, #16b855 100%);
  box-shadow:
    0 10px 24px rgba(37, 211, 102, 0.24),
    0 0 0 4px rgba(37, 211, 102, 0.08);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.header-whatsapp-link:hover,
.header-whatsapp-link:focus-visible {
  transform: translateY(-1px) scale(1.03);
  box-shadow:
    0 14px 28px rgba(37, 211, 102, 0.28),
    0 0 0 6px rgba(37, 211, 102, 0.1);
}

.header-whatsapp-icon {
  width: 23px;
  height: 23px;
}

.site-header.is-scrolled .header-actions {
  gap: 14px;
}

.site-header.is-scrolled .header-social-link {
  color: rgba(23, 58, 74, 0.72);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 13px 22px;
  border-radius: 14px;
  color: var(--white);
  background: var(--gradient);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.015em;
  box-shadow: 0 14px 28px rgba(60, 120, 217, 0.18);
  line-height: 1;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    padding 220ms ease,
    min-height 220ms ease;
}

.site-header.is-scrolled .header-cta {
  min-height: 42px;
  padding: 11px 18px;
  box-shadow: 0 10px 22px rgba(60, 120, 217, 0.14);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
}

.section {
  padding: clamp(60px, 7vw, 96px) clamp(20px, 5vw, 72px);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(380px, 0.96fr);
  gap: clamp(42px, 6vw, 96px);
  align-items: start;
  min-height: calc(84vh - 78px);
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 18%, rgba(77, 178, 195, 0.14), transparent 26%),
    radial-gradient(circle at 18% 10%, rgba(83, 92, 222, 0.09), transparent 24%),
    linear-gradient(180deg, #f6fbff 0%, #ffffff 62%);
  padding-top: clamp(28px, 3.2vw, 44px);
  padding-bottom: clamp(52px, 5vw, 74px);
}

.hero-content {
  padding-top: 8px;
}

.hero-visual {
  display: grid;
  align-content: start;
  gap: 20px;
}

.hero-image-frame {
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 252, 255, 0.9));
  box-shadow: 0 28px 60px rgba(23, 58, 74, 0.12);
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 28px;
  object-fit: contain;
  object-position: center;
}

.hero-photo-shell {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 252, 255, 0.88));
  box-shadow: 0 28px 60px rgba(23, 58, 74, 0.12);
}

.hero-photo-shell::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(180deg, rgba(23, 58, 74, 0), rgba(23, 58, 74, 0.34));
  pointer-events: none;
}

.hero-photo-main {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center center;
}

.hero-photo-caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  z-index: 1;
  display: grid;
  gap: 3px;
  color: var(--white);
}

.hero-photo-caption span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  opacity: 0.8;
}

.hero-photo-caption strong {
  font-size: 1rem;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -12% 0 auto;
  width: 58%;
  height: 52%;
  background: linear-gradient(135deg, rgba(77, 178, 195, 0.1), rgba(148, 123, 197, 0.05));
  border-radius: 120px 0 0 0;
  transform: skewY(-4deg);
}

.hero-content,
.hero-visual,
.hero-card,
.highlight-content,
.contact-copy,
.contact-form {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 3px;
  border-radius: 999px;
  background: var(--gradient);
}

.eyebrow.light {
  color: var(--white);
}

.eyebrow.light::before {
  background: rgba(255, 255, 255, 0.88);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 900px;
  margin-bottom: 22px;
  font-size: clamp(42px, 5vw, 52px);
  line-height: 1.08;
  font-weight: 700;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(1.8rem, 3.1vw, 3rem);
  line-height: 1.14;
  font-weight: 700;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
  line-height: 1.25;
  font-weight: 700;
}

.hero-subtitle {
  max-width: 700px;
  margin-bottom: 18px;
  color: #5a7180;
  font-size: clamp(1.04rem, 1.5vw, 1.16rem);
  line-height: 1.72;
}

.hero-emotional {
  max-width: 640px;
  margin-bottom: 24px;
  padding: 14px 18px;
  border: 1px solid rgba(60, 120, 217, 0.1);
  border-left: 3px solid rgba(60, 120, 217, 0.28);
  border-radius: 0 16px 16px 0;
  background: rgba(255, 255, 255, 0.66);
  color: #264a5d;
  font-size: clamp(17px, 1.5vw, 18px);
  font-weight: 500;
  line-height: 1.6;
  box-shadow: 0 12px 30px rgba(23, 58, 74, 0.04);
}

.location-line {
  max-width: 760px;
  color: #376173;
  font-size: 0.95rem;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 30px;
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin: 0 0 24px;
  color: #173a4a;
  letter-spacing: -0.045em;
}

.hero-title-top {
  max-width: 640px;
  font-size: clamp(34px, 3.5vw, 44px);
  font-weight: 600;
  line-height: 1.05;
}

.hero-title-main {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 2px 0 6px;
}

.hero-title-small {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 14px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(77, 178, 195, 0.1);
  color: #4e6f97;
  font-size: clamp(12px, 1.05vw, 14px);
  font-weight: 700;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.hero-title-small span {
  letter-spacing: 0.03em;
}

.hero-title-percent {
  font-size: clamp(88px, 9.6vw, 132px);
  font-weight: 800;
  line-height: 0.84;
  letter-spacing: -0.05em;
  padding-right: 0.08em;
  background: linear-gradient(135deg, #4db2c3 0%, #3c78d9 55%, #535cde 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-title-bottom {
  max-width: 720px;
  font-size: clamp(24px, 2.6vw, 33px);
  font-weight: 500;
  line-height: 1.22;
  color: #173a4a;
}

.hero-trustbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-trustbar span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(60, 120, 217, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: #355669;
  font-size: 0.84rem;
  font-weight: 600;
  box-shadow: 0 14px 30px rgba(23, 58, 74, 0.04);
}

.hero-trustbar strong {
  margin-right: 8px;
  color: #3c78d9;
  font-size: 0.92rem;
  font-weight: 800;
}

.authority-line {
  margin-top: 20px;
  max-width: 740px;
  color: #567181;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.6;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

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

.btn-primary {
  color: var(--white);
  background: var(--gradient);
  box-shadow: 0 18px 34px rgba(60, 120, 217, 0.18);
}

.btn-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(60, 120, 217, 0.16);
  box-shadow: 0 12px 26px rgba(23, 58, 74, 0.04);
}

.btn-light {
  color: var(--blue);
  background: var(--white);
  box-shadow: 0 12px 26px rgba(23, 58, 74, 0.18);
}

.hero-card {
  margin: 0;
  padding: clamp(28px, 4vw, 40px);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(248, 252, 255, 0.94));
  box-shadow: 0 26px 56px rgba(23, 58, 74, 0.1);
}

.hero-card-badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-bottom: 18px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(77, 178, 195, 0.1);
  color: #3c78d9;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-card-header {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.hero-card-header img {
  width: 98px;
  height: 98px;
  border-radius: 24px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.88);
  padding: 12px;
  box-shadow: 0 12px 28px rgba(23, 58, 74, 0.05);
}

.hero-card-header strong,
.hero-card-header span {
  display: block;
}

.hero-card-header strong {
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

.hero-card-header span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.hero-card-meta {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(244, 250, 253, 0.96);
}

.hero-card-meta-stacked {
  display: grid;
  gap: 4px;
}

.hero-card-facts {
  display: grid;
  gap: 12px;
  margin: 18px 0 8px;
}

.hero-card-fact {
  padding: 14px 16px;
  border: 1px solid rgba(60, 120, 217, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.66);
}

.hero-card-fact-label {
  display: block;
  margin-bottom: 4px;
  color: #5d7785;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-card-fact strong {
  display: block;
  color: #173a4a;
  font-size: 0.94rem;
  line-height: 1.45;
}

.hero-check-list {
  margin-top: 20px;
}

.hero-card-meta span,
.hero-card-meta strong {
  display: block;
}

.hero-card-meta span {
  color: #5c7481;
  font-size: 0.82rem;
  font-weight: 600;
}

.hero-card-meta strong {
  color: #173a4a;
  font-size: 0.94rem;
  font-weight: 700;
  text-align: right;
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 24px 0 18px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 34px;
  color: #21475b;
  font-weight: 600;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gradient);
}

.check-list li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 9px;
  width: 6px;
  height: 3px;
  border-left: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  transform: rotate(-45deg);
}

.mini-panel {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(215, 225, 244, 0.26);
}

.mini-panel span {
  color: var(--muted);
}

.hero-card-note {
  margin-bottom: 16px;
  color: #59717f !important;
  font-size: 0.95rem;
  line-height: 1.65;
}

.hero-proof-strip {
  padding-top: 0;
  padding-bottom: clamp(24px, 2.6vw, 34px);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.hero-proof-strip-inner {
  padding: 14px clamp(16px, 3vw, 22px);
  border: 1px solid rgba(215, 225, 244, 0.84);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 12px 26px rgba(23, 58, 74, 0.04);
}

.hero-proof-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.hero-proof-pill {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(60, 120, 217, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #355669;
  font-size: 0.84rem;
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(23, 58, 74, 0.035);
}

.hero-proof-pill-stars {
  gap: 10px;
  padding-right: 16px;
}

.hero-proof-pill-stars strong {
  color: #3c78d9;
  font-size: 0.96rem;
  letter-spacing: 0.04em;
}

.hero-proof-pill-code {
  color: #2f5e90;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.section-heading {
  max-width: 780px;
  margin: 0 auto 32px;
  text-align: center;
}

.section-heading.wide {
  max-width: 900px;
}

.section-heading p,
.team-intro p,
.contact-copy p,
.highlight-content p,
.feature-card p,
.service-card p,
.process-step p,
.review-card p,
.team-card p {
  color: var(--muted);
}

.trust-section,
.process-section,
.contact-section {
  background: var(--bg);
}

.feature-grid,
.service-grid,
.process-grid,
.review-grid,
.team-grid {
  display: grid;
  gap: 20px;
}

.feature-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card,
.service-card,
.process-step,
.review-card,
.team-card,
.contact-form {
  border: 1px solid rgba(215, 225, 244, 0.9);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(23, 58, 74, 0.06);
}

.feature-card,
.service-card,
.process-step,
.review-card,
.team-card {
  padding: 24px;
}

.feature-card,
.service-card,
.process-step {
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
  transform-origin: center;
}

.feature-card:hover,
.feature-card:focus-within,
.service-card:hover,
.service-card:focus-within,
.process-step:hover,
.process-step:focus-within {
  transform: translateY(-6px) scale(1.015);
  border-color: rgba(60, 120, 217, 0.18);
  box-shadow: 0 24px 44px rgba(23, 58, 74, 0.1);
}

.icon-mark,
.process-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 8px;
  color: var(--white);
  background: var(--gradient);
  font-size: 0.8rem;
  font-weight: 700;
}

.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 22px;
}

.service-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 24px 24px 22px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 252, 255, 0.96));
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, rgba(77, 178, 195, 0.88), rgba(60, 120, 217, 0.9), rgba(83, 92, 222, 0.8));
}

.service-card h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 3px;
  margin-bottom: 12px;
}

.service-title-small {
  display: inline-block;
  font-size: 0.62em;
  font-weight: 600;
  letter-spacing: 0;
  color: rgba(23, 58, 74, 0.72);
  vertical-align: middle;
  margin: 0 2px;
}

.service-title-percent {
  font-size: 1.22em;
  font-weight: 900;
  color: #173a4a;
}

.service-label {
  display: inline-flex;
  align-items: center;
  margin-bottom: 14px;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(226, 234, 246, 0.86);
  color: #4f6b7a;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.service-card-featured {
  grid-column: span 2;
  padding: 28px 28px 24px;
  border-color: rgba(60, 120, 217, 0.18);
  background:
    radial-gradient(circle at 88% 18%, rgba(77, 178, 195, 0.14), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(244, 250, 253, 0.98));
  box-shadow: 0 24px 48px rgba(60, 120, 217, 0.12);
}

.service-card-insurance {
  grid-column: 2 / 3;
}

.service-card-soft {
  background: linear-gradient(180deg, rgba(251, 253, 255, 0.98), rgba(245, 249, 253, 0.95));
}

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

.service-card-note {
  margin-top: auto;
  padding-top: 16px;
  color: #57707f;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.55;
}

.center-action {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.center-action.compact {
  margin-top: 26px;
}

.highlight-section {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(23, 58, 74, 0.18), rgba(23, 58, 74, 0.02)),
    var(--gradient);
}

.highlight-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(280px, 0.98fr);
  gap: clamp(30px, 4vw, 56px);
  align-items: center;
}

.highlight-content {
  max-width: 980px;
}

.highlight-photo-card {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 26px;
  box-shadow: 0 22px 46px rgba(23, 58, 74, 0.18);
}

.highlight-photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.1)),
    linear-gradient(180deg, rgba(23, 58, 74, 0), rgba(23, 58, 74, 0.08));
  pointer-events: none;
}

.highlight-photo-card img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center 68%;
}

.highlight-content p {
  max-width: 820px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.04rem;
}

.highlight-title {
  margin-bottom: 14px;
}

.highlight-small {
  font-size: clamp(16px, 1.55vw, 20px);
  font-weight: 700;
  opacity: 0.9;
  vertical-align: middle;
}

.highlight-percent {
  font-size: clamp(44px, 5.4vw, 72px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.highlight-emotional {
  margin: 0;
  padding-left: 12px;
  border-left: 2px solid rgba(255, 255, 255, 0.65);
  color: rgba(255, 255, 255, 0.92) !important;
  font-size: 1rem !important;
  font-weight: 500;
  max-width: 760px;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 30px;
}

.pill-list span {
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
  font-weight: 600;
}

.process-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 24px;
  align-items: center;
  margin-bottom: 28px;
}

.process-showcase-copy {
  padding: 26px 28px;
  border: 1px solid rgba(60, 120, 217, 0.12);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 252, 255, 0.92));
  box-shadow: 0 18px 38px rgba(23, 58, 74, 0.06);
}

.process-showcase-copy h3 {
  margin-bottom: 12px;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  letter-spacing: -0.02em;
}

.process-showcase-copy p {
  margin-bottom: 0;
  color: var(--muted);
}

.process-showcase-tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 14px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(226, 234, 246, 0.82);
  color: #4b6676;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.process-showcase-photo {
  margin: 0;
  border-radius: 24px;
  padding: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 252, 255, 0.94));
  border: 1px solid rgba(60, 120, 217, 0.1);
  box-shadow: 0 18px 38px rgba(23, 58, 74, 0.08);
}

.img-como-trabajamos {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center;
  border-radius: 18px;
  display: block;
}

.reviews-section {
  background: linear-gradient(180deg, #ffffff 0%, #f4fafd 100%);
}

.reviews-section-early {
  padding-top: clamp(46px, 5vw, 68px);
}

.reviews-intro {
  max-width: 720px;
  margin: 10px auto 0;
  color: #294b5f !important;
  font-weight: 500;
}

.reviews-carousel {
  position: relative;
  display: grid;
  gap: 22px;
  padding: 0 clamp(48px, 5vw, 78px);
}

.review-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
}

.review-card[hidden] {
  display: none;
}

.stars {
  margin-bottom: 16px;
  color: var(--blue-mid);
  font-size: 1rem;
  letter-spacing: 0;
}

.review-name {
  margin-bottom: 10px;
  font-size: 1rem;
  font-weight: 700;
  color: #173a4a;
}

.review-date {
  display: block;
  margin-bottom: 10px;
  color: #5d7785;
  font-size: 0.82rem;
  font-weight: 700;
}

.review-card p {
  margin-bottom: 14px;
  font-weight: 500;
}

.review-card {
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
  transform-origin: center;
}

.review-card:hover,
.review-card:focus-within {
  transform: translateY(-4px) scale(1.018);
  border-color: rgba(60, 120, 217, 0.18);
  box-shadow: 0 22px 42px rgba(23, 58, 74, 0.1);
}

.review-source {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(215, 225, 244, 0.38);
  color: #446272;
  font-size: 0.78rem;
  font-weight: 700;
}

.review-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-top: -26px;
  border: 1px solid rgba(60, 120, 217, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 30px rgba(23, 58, 74, 0.12);
  color: var(--blue);
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.review-arrow:hover,
.review-arrow:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(23, 58, 74, 0.16);
}

.review-arrow-left {
  left: 0;
}

.review-arrow-right {
  right: 0;
}

.review-arrow span {
  font-size: 2rem;
  line-height: 1;
}

.reviews-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  text-align: center;
}

.reviews-cta {
  max-width: 760px;
  margin: 34px auto 0;
  padding: 28px 30px;
  border: 1px solid rgba(60, 120, 217, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 34px rgba(23, 58, 74, 0.07);
  text-align: center;
}

.reviews-cta h3 {
  margin-bottom: 10px;
  font-size: clamp(1.18rem, 2vw, 1.52rem);
}

.reviews-cta p {
  margin-bottom: 0;
  color: var(--muted);
}

.reviews-cta-note {
  margin-top: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #294b5f !important;
}

.reviews-cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

.review-arrow[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: 0 10px 20px rgba(23, 58, 74, 0.08);
}

.review-arrow[disabled]:hover,
.review-arrow[disabled]:focus-visible {
  transform: none;
  box-shadow: 0 10px 20px rgba(23, 58, 74, 0.08);
}

.team-section {
  background: var(--white);
}

.legal-section {
  background: linear-gradient(180deg, #ffffff 0%, #f4fafd 100%);
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.legal-card {
  padding: 24px;
  border: 1px solid rgba(215, 225, 244, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 28px rgba(23, 58, 74, 0.06);
}

.legal-card p {
  color: var(--muted);
}

.legal-card-tag {
  display: inline-flex;
  align-items: center;
  margin-bottom: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(215, 225, 244, 0.46);
  color: #446272;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.team-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  margin-bottom: 34px;
}

.team-intro div {
  max-width: 850px;
}

.team-intro strong {
  display: inline-flex;
  align-items: center;
  min-height: 58px;
  padding: 0 20px;
  border-radius: 8px;
  color: var(--white);
  background: var(--gradient);
  white-space: nowrap;
}

.team-intro-rich {
  grid-template-columns: 1fr;
  align-items: start;
  gap: 0;
}

.team-intro-copy {
  max-width: 620px;
}

.team-intro-note {
  margin-top: 16px;
  color: #294b5f !important;
  font-size: 0.98rem;
  font-weight: 600;
}

.team-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.team-grid-compact .team-card {
  min-height: 100%;
}

.team-card-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  height: auto;
  margin-bottom: 18px;
  border-radius: 18px;
  object-fit: cover;
  object-position: center center;
  box-shadow: 0 16px 34px rgba(23, 58, 74, 0.12);
}

.team-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  height: auto;
  max-height: 420px;
  margin-bottom: 18px;
  border-radius: 18px;
  object-fit: cover;
  object-position: center 18%;
  box-shadow: 0 16px 34px rgba(23, 58, 74, 0.12);
}

.team-card {
  padding: 26px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 252, 255, 0.96));
  box-shadow: 0 18px 38px rgba(23, 58, 74, 0.07);
}

.team-card h3 {
  margin-bottom: 10px;
  font-size: 1.48rem;
  letter-spacing: -0.025em;
}

.team-role {
  display: inline-flex !important;
  width: fit-content;
  min-height: 32px;
  margin-bottom: 14px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(226, 234, 246, 0.82);
  color: #4b6676 !important;
  font-size: 0.72rem;
  font-weight: 700 !important;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.team-card span {
  display: block;
  color: var(--blue);
  font-weight: 600;
}

.team-card p {
  margin-bottom: 12px;
  font-size: 1rem;
  line-height: 1.65;
}

.team-card-note {
  display: block;
  margin-top: 14px;
  color: #607887;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.6;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 28px;
  align-items: start;
}

.contact-copy,
.contact-form-accordion {
  min-width: 0;
}

.contact-copy {
  max-width: 100%;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin: 24px 0;
  max-width: 100%;
}

.contact-list a {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(60, 120, 217, 0.16);
  border-radius: 8px;
  background: var(--white);
  font-weight: 700;
}

.contact-link-card strong {
  font-size: 1.02rem;
}

.contact-link-card:hover,
.contact-link-card:focus-visible {
  border-color: rgba(60, 120, 217, 0.3);
  box-shadow: 0 12px 26px rgba(23, 58, 74, 0.08);
}

.contact-list span {
  color: var(--muted);
  font-weight: 600;
}

.contact-lead {
  max-width: 620px;
  margin-bottom: 12px;
  color: #294b5f !important;
  font-size: 1.06rem;
  font-weight: 600;
}

.contact-note {
  margin-top: 16px;
  margin-bottom: 0;
  color: #496574;
  font-size: 0.88rem;
  font-weight: 600;
}

.contact-form-accordion {
  display: grid;
  gap: 18px;
  align-self: stretch;
  padding: 24px;
  border: 1px solid rgba(215, 225, 244, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 28px rgba(23, 58, 74, 0.06);
}

.contact-form-summary h3 {
  margin-bottom: 10px;
}

.contact-form-summary p {
  margin-bottom: 0;
  color: var(--muted);
}

.contact-form-summary-tag {
  display: inline-flex;
  align-items: center;
  margin-bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(215, 225, 244, 0.46);
  color: #446272;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.contact-form-shell {
  display: grid;
  gap: 18px;
  align-self: stretch;
  padding: 24px;
  border: 1px solid rgba(215, 225, 244, 0.9);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 34px rgba(23, 58, 74, 0.06);
}

.contact-form-visible {
  border: 1px solid rgba(215, 225, 244, 0.88);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 252, 255, 0.95));
  box-shadow: none;
}

.contact-form-modal[hidden] {
  display: none;
}

.contact-form-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 62px;
  padding: 0 22px;
  border: 1px solid rgba(60, 120, 217, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(23, 58, 74, 0.06);
}

.contact-form-toggle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(60, 120, 217, 0.1);
  color: var(--blue);
  font-size: 1.4rem;
  line-height: 1;
}

.contact-form-accordion.is-open .contact-form-toggle-icon {
  font-size: 1.2rem;
}

body.modal-open {
  overflow: hidden;
}

.contact-form-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
}

.contact-form-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(23, 58, 74, 0.38);
  backdrop-filter: blur(8px);
}

.contact-form-dialog {
  position: relative;
  z-index: 1;
  width: min(920px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 28px 64px rgba(23, 58, 74, 0.18);
}

.contact-form-dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.contact-form-dialog-header h3 {
  margin-bottom: 0;
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
}

.contact-form-dialog-eyebrow {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.contact-form-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(60, 120, 217, 0.18);
  border-radius: 50%;
  background: rgba(60, 120, 217, 0.08);
  color: var(--text);
  font: inherit;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: clamp(22px, 3vw, 34px);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 600;
}

.contact-form .full {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(23, 58, 74, 0.18);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--text);
  background: #fbfdff;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(77, 178, 195, 0.22);
  border-color: var(--teal);
}

.checkbox {
  display: flex !important;
  grid-template-columns: auto 1fr;
  align-items: center;
}

.checkbox input {
  width: 18px;
  height: 18px;
}

.checkbox a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.site-footer {
  padding: 32px clamp(20px, 5vw, 72px) 18px;
  color: rgba(255, 255, 255, 0.86);
  background:
    radial-gradient(circle at 18% 0%, rgba(77, 178, 195, 0.08), transparent 28%),
    linear-gradient(180deg, #173a4a 0%, #183f51 100%);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.05fr 0.65fr 1fr;
  gap: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand {
  display: block;
  margin-bottom: 12px;
  color: var(--white);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.site-footer h2 {
  margin-bottom: 14px;
  color: var(--white);
  font-size: 1.06rem;
}

.site-footer a,
.site-footer p {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  line-height: 1.6;
}

.footer-brand-note {
  max-width: 290px;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.68) !important;
}

.footer-contact-panel {
  display: grid;
  gap: 12px;
}

.footer-contact-list {
  display: grid;
  gap: 10px;
}

.footer-contact-item {
  display: inline-flex !important;
  align-items: center;
  gap: 12px;
  margin-bottom: 0 !important;
  color: rgba(255, 255, 255, 0.92) !important;
  font-size: 0.94rem !important;
  font-weight: 600;
}

.footer-contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #4db2c3;
  flex-shrink: 0;
}

.footer-contact-icon .social-icon {
  width: 15px;
  height: 15px;
}

.footer-social-link {
  display: inline-flex !important;
  align-items: center;
  gap: 12px;
  width: fit-content;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  transition:
    color 180ms ease,
    transform 180ms ease,
    opacity 180ms ease;
}

.footer-social-link span {
  font-weight: 700;
  letter-spacing: 0.01em;
}

.footer-contact-cta {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 42px;
  margin-top: 6px;
  padding: 0 20px;
  border-radius: 12px;
  color: #173a4a !important;
  background: linear-gradient(135deg, rgba(77, 178, 195, 0.96) 0%, rgba(60, 120, 217, 0.96) 100%);
  font-size: 0.92rem !important;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  box-shadow: 0 14px 26px rgba(60, 120, 217, 0.16);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.footer-contact-cta:hover,
.footer-contact-cta:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 18px 30px rgba(60, 120, 217, 0.24);
}

.legal-page {
  min-height: 100vh;
  background: linear-gradient(180deg, #f6fbff 0%, #ffffff 72%);
}

.legal-page-main {
  padding: 54px clamp(20px, 5vw, 72px) 68px;
}

.legal-page-card {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid rgba(215, 225, 244, 0.92);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 42px rgba(23, 58, 74, 0.08);
}

.legal-page-card h1 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.legal-page-card h2 {
  margin-top: 28px;
  margin-bottom: 10px;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
}

.legal-page-card p,
.legal-page-card li {
  color: #58707f;
  font-size: 1rem;
  line-height: 1.75;
}

.legal-page-note {
  padding: 14px 16px;
  border: 1px solid rgba(60, 120, 217, 0.12);
  border-radius: 14px;
  background: rgba(246, 251, 255, 0.9);
  color: #264a5d !important;
  font-weight: 600;
}

.footer-social-link:hover,
.footer-social-link:focus-visible {
  transform: translateY(-1px);
  opacity: 0.92;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  padding-top: 16px;
  font-size: 0.86rem;
}

.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.whatsapp-float {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 60;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: var(--white);
  background: radial-gradient(circle at 30% 30%, #4df08f 0%, #25d366 52%, #16b855 100%);
  border: 2px solid rgba(255, 255, 255, 0.92);
  box-shadow:
    0 16px 30px rgba(37, 211, 102, 0.34),
    0 0 0 8px rgba(37, 211, 102, 0.08);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  transform: translateY(-2px) scale(1.03);
  box-shadow:
    0 20px 34px rgba(37, 211, 102, 0.38),
    0 0 0 10px rgba(37, 211, 102, 0.1);
}

.whatsapp-float-icon {
  width: 30px;
  height: 30px;
}

.whatsapp-bubble {
  fill: var(--white);
}

.whatsapp-phone {
  fill: #25d366;
}

.scroll-top-button {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(60, 120, 217, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--blue);
  box-shadow:
    0 16px 30px rgba(23, 58, 74, 0.12),
    0 0 0 8px rgba(60, 120, 217, 0.06);
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    opacity 180ms ease,
    border-color 180ms ease;
}

.scroll-top-button.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.scroll-top-button:hover,
.scroll-top-button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(60, 120, 217, 0.24);
  box-shadow:
    0 20px 34px rgba(23, 58, 74, 0.15),
    0 0 0 10px rgba(60, 120, 217, 0.08);
}

.scroll-top-button span {
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1;
}

@media (max-width: 1120px) {
  .site-header {
    gap: 14px;
  }

  .site-nav {
    gap: 16px;
    font-size: 0.84rem;
  }

  .header-cta {
    min-height: 46px;
    padding: 12px 16px;
    font-size: 14px;
  }

  .header-actions {
    gap: 10px;
  }

  .brand {
    gap: 10px;
  }

  .brand-logo {
    width: 70px;
    height: 70px;
  }

  .brand-name {
    font-size: 1.02rem;
  }

  .brand-claim {
    margin-top: 3px;
    font-size: 0.62rem;
    letter-spacing: 0.06em;
  }

  .review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-grid.four,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .highlight-layout,
  .process-showcase,
  .hero-card {
    margin-left: 18px;
    margin-right: 18px;
  }
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: auto 1fr auto auto;
    grid-template-rows: 1fr;
    min-height: 82px;
    padding: 8px 16px;
    gap: 10px;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .brand-logo {
    width: 62px;
    height: 62px;
  }

  .brand-claim {
    display: none;
  }

  .nav-toggle {
    display: block;
    grid-column: 4;
    grid-row: 1;
    align-self: center;
    justify-self: end;
  }

  .site-nav,
  .header-cta {
    display: none;
  }

  .header-actions {
    grid-column: 3;
    grid-row: 1;
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    align-self: center;
    justify-self: end;
    margin: 0;
  }

  .header-whatsapp-link {
    display: none;
  }

  .site-header.is-open .site-nav {
    position: fixed;
    top: 88px;
    right: 16px;
    left: auto;
    width: min(292px, calc(100vw - 24px));
    display: grid;
    gap: 10px;
    padding: 16px;
    border: 1px solid rgba(60, 120, 217, 0.14);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.8);
    box-shadow:
      0 24px 46px rgba(23, 58, 74, 0.16),
      0 0 0 1px rgba(255, 255, 255, 0.45) inset;
    backdrop-filter: blur(20px) saturate(150%);
  }

  .site-header.is-open .site-nav .site-nav-mobile-head {
    display: grid;
    gap: 4px;
    padding: 4px 4px 10px;
    border-bottom: 1px solid rgba(60, 120, 217, 0.12);
  }

  .site-nav-mobile-eyebrow {
    color: var(--blue);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .site-header.is-open .site-nav .site-nav-mobile-head strong {
    color: #173a4a;
    font-size: 1.02rem;
    line-height: 1.1;
  }

  .site-header.is-open .site-nav .site-nav-mobile-head p {
    margin: 0;
    color: #5f7886;
    font-size: 0.82rem;
    line-height: 1.45;
  }

  .site-header.is-open .site-nav .site-nav-link {
    min-height: 50px;
    padding: 0 14px;
    border: 1px solid rgba(60, 120, 217, 0.1);
    border-radius: 14px;
    background: rgba(248, 251, 255, 0.76);
    color: rgba(23, 58, 74, 0.82);
    font-weight: 600;
    transition:
      transform 180ms ease,
      color 180ms ease,
      background 180ms ease,
      border-color 180ms ease,
      box-shadow 180ms ease;
  }

  .site-header.is-open .site-nav .site-nav-link::after {
    display: none;
  }

  .site-header.is-open .site-nav .site-nav-link:hover,
  .site-header.is-open .site-nav .site-nav-link:focus-visible {
    transform: translateX(2px);
    color: var(--blue);
    background: rgba(232, 242, 255, 0.96);
    border-color: rgba(60, 120, 217, 0.18);
    box-shadow: 0 10px 24px rgba(60, 120, 217, 0.08);
  }

  .site-header.is-open .site-nav .site-nav-link[aria-current="page"] {
    color: var(--blue);
    background: rgba(227, 239, 255, 0.98);
    border-color: rgba(60, 120, 217, 0.22);
    box-shadow: inset 3px 0 0 var(--blue);
  }

  .site-header.is-open .site-nav .site-nav-mobile-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    margin-top: 4px;
    padding: 0 16px;
    border-radius: 14px;
    background: var(--gradient);
    color: var(--white);
    font-weight: 700;
    box-shadow: 0 16px 30px rgba(60, 120, 217, 0.16);
    transition:
      transform 180ms ease,
      box-shadow 180ms ease,
      opacity 180ms ease;
  }

  .site-header.is-open .site-nav .site-nav-mobile-cta:hover,
  .site-header.is-open .site-nav .site-nav-mobile-cta:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 18px 32px rgba(60, 120, 217, 0.22);
  }

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

  .highlight-layout {
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
  }

  .highlight-content {
    max-width: none;
  }

  .highlight-photo-card {
    max-width: 680px;
    width: 100%;
    justify-self: center;
  }

  .process-showcase {
    grid-template-columns: 1fr;
    gap: 22px;
    align-items: start;
  }

  .process-showcase-copy,
  .process-showcase-photo {
    max-width: 680px;
    width: 100%;
    justify-self: center;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    gap: 18px;
  }

  .hero-card {
    margin: 0;
  }

  .service-grid,
  .legal-grid,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-card-insurance {
    grid-column: auto;
  }

  .service-card-wide {
    grid-column: auto;
  }

  .service-card-featured {
    grid-column: auto;
  }

  .team-intro,
  .footer-bottom {
    grid-template-columns: 1fr;
    display: grid;
  }

  .team-intro strong {
    justify-self: start;
    white-space: normal;
  }

}

@media (max-width: 540px) {
  .site-header {
    min-height: 76px;
    padding: 8px 12px;
    gap: 8px;
  }

  .brand-logo {
    width: 56px;
    height: 56px;
  }

  .brand-text {
    display: none;
  }

  .header-actions {
    margin: 0;
  }

  .header-social-link {
    width: 30px;
    min-width: 30px;
    height: 30px;
  }

  .header-social-link .social-icon {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 420px) {
  .header-social-link {
    display: none;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 58px 18px;
  }

  .hero {
    padding-top: 16px;
    min-height: auto;
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  h1 {
    font-size: clamp(34px, 9vw, 38px);
    line-height: 1.1;
  }

  .hero-title {
    gap: 5px;
  }

  .hero-title-top {
    font-size: 38px;
  }

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

  .hero-title-main {
    gap: 7px;
    align-items: flex-start;
  }

  .hero-title-small {
    font-size: 12px;
    padding: 4px 8px;
    margin-top: 8px;
  }

  .hero-title-percent {
    font-size: 84px;
  }

  .hero-title-bottom {
    font-size: 28px;
    line-height: 1.12;
  }

  .hero-emotional {
    font-size: 16px;
    margin-bottom: 16px;
  }

  .hero-trustbar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .hero-trustbar span {
    justify-content: center;
    text-align: center;
    min-height: 42px;
    padding: 8px 12px;
  }

  .highlight-small {
    font-size: 14px;
  }

  .highlight-percent {
    font-size: clamp(40px, 9vw, 58px);
  }

  .highlight-layout {
    margin-left: 0;
    margin-right: 0;
    gap: 20px;
  }

  .highlight-title {
    font-size: clamp(36px, 10.5vw, 50px);
    line-height: 0.98;
    letter-spacing: -0.045em;
    text-wrap: balance;
  }

  .highlight-content p {
    font-size: 0.98rem;
  }

  .highlight-emotional {
    padding-left: 10px;
    font-size: 0.95rem !important;
  }

  .pill-list {
    gap: 10px;
    margin: 24px 0 26px;
  }

  .pill-list span {
    width: 100%;
    text-align: center;
  }

  .highlight-photo-card {
    border-radius: 22px;
  }

  .highlight-photo-card img {
    min-height: 320px;
    max-height: 420px;
    object-position: center 55%;
  }

  .highlight-content .btn-light {
    width: 100%;
  }

  .feature-grid.four,
  .process-grid,
  .team-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .contact-form .full {
    grid-column: auto;
  }

  .hero-proof-bar {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-photo-caption {
    left: 18px;
    right: 18px;
    bottom: 18px;
  }

  .hero-photo-caption strong {
    font-size: 0.95rem;
  }

  .highlight-photo-card img {
    min-height: 320px;
  }

  .process-showcase-copy {
    padding: 22px 20px;
  }

  .process-showcase {
    gap: 18px;
    margin-bottom: 24px;
  }

  .process-showcase-copy h3 {
    font-size: clamp(1.75rem, 7.2vw, 2.2rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
    text-wrap: balance;
  }

  .process-showcase-copy p {
    font-size: 0.98rem;
  }

  .process-showcase-tag {
    min-height: 32px;
    margin-bottom: 12px;
    padding: 0 11px;
    font-size: 0.7rem;
  }

  .process-showcase-photo {
    padding: 10px;
    border-radius: 22px;
  }

  .img-como-trabajamos {
    min-height: 250px;
    max-height: 340px;
    object-fit: cover;
    object-position: center;
    border-radius: 16px;
  }

  .contact-form-shell {
    padding: 20px 18px;
  }

  .contact-list a {
    display: grid;
    gap: 4px;
  }

  .contact-form-toggle {
    min-height: 58px;
    padding: 0 18px;
  }

  .contact-form-accordion {
    padding: 20px 18px;
  }

  .contact-form-modal {
    padding: 16px;
  }

  .contact-form-dialog {
    width: min(100vw - 20px, 920px);
    max-height: calc(100vh - 24px);
    padding: 18px;
  }

  .hero-card-header {
    align-items: flex-start;
  }

  .reviews-controls {
    display: none;
  }

  .reviews-cta {
    padding: 24px 18px;
  }

  .reviews-cta-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .reviews-carousel {
    padding: 0 0 66px;
  }

  .review-arrow {
    top: auto;
    bottom: 0;
    margin-top: 0;
    width: 48px;
    height: 48px;
  }

  .review-arrow-left {
    left: calc(50% - 58px);
  }

  .review-arrow-right {
    right: calc(50% - 58px);
  }

  .hero-card-header img {
    width: 110px;
    height: 110px;
  }

  .team-photo {
    max-height: 340px;
  }

  .mini-panel {
    display: grid;
  }

  .whatsapp-float {
    left: 16px;
    bottom: 16px;
    width: 54px;
    height: 54px;
  }

  .scroll-top-button {
    right: 16px;
    bottom: 16px;
    width: 54px;
    height: 54px;
  }
}

