/* Atención en línia — estilos de marca */

:root {
  --color-navy: #1d417a;
  --color-navy-mid: #25508f;
  --color-navy-dark: #142f58;
  --color-yellow: #f5c400;
  --color-yellow-soft: #ffe566;
  --color-sky: #eef3f9;
  --color-sky-mid: #e2ebf5;
  --color-bg: #f7f9fc;
  --color-text: #243040;
  --color-text-muted: #5a6b7d;
  --color-white: #ffffff;
  --color-border: #d9e3ef;
  --color-search-border: #c5d0de;
  --font-sans: "Nunito Sans", "Segoe UI", sans-serif;
  --shadow-sm: 0 2px 8px rgba(29, 65, 122, 0.06);
  --shadow-md: 0 8px 28px rgba(29, 65, 122, 0.12);
  --radius: 14px;
  --radius-pill: 999px;
  --header-h: 36px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-white);
  padding-bottom: 0;
  overflow-x: hidden;
}

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

a {
  color: var(--color-navy-mid);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

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

a,
button {
  -webkit-tap-highlight-color: rgba(29, 65, 122, 0.12);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--color-white);
  border-bottom: 1px solid #e8edf3;
}

.header__disclaimer {
  margin: 0;
  padding: 0.3rem 1rem;
  font-size: 0.7rem;
  line-height: 1.35;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-align: center;
  color: #7d8b9c;
  background: #eef1f5;
  border-bottom: 1px solid #dde3eb;
}

.search-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1 1 220px;
  max-width: 360px;
  background: var(--color-white);
  border: 1.5px solid var(--color-search-border);
  border-radius: var(--radius-pill);
  padding: 0.35rem 0.45rem 0.35rem 1.1rem;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.search-bar:focus-within {
  border-color: var(--color-navy);
  box-shadow: 0 0 0 3px rgba(29, 65, 122, 0.1);
}

.search-bar input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--color-text);
  min-width: 0;
  padding: 0.55rem 0;
}

.search-bar input::placeholder {
  color: #8a97a8;
}

.search-bar button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--color-navy);
  cursor: pointer;
  flex-shrink: 0;
}

.search-bar button:hover {
  background: var(--color-sky);
}

.logo__name {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--color-navy);
}

/* Hero — contenido + slider de fotos */
.hero {
  margin-top: var(--header-h);
  position: relative;
  background: var(--color-white);
  padding: 0 0 2.5rem;
  animation: heroFade 0.8s var(--ease) both;
}

.hero__layout {
  display: flex;
  flex-direction: column;
}

.hero__content {
  order: 2;
  display: flex;
  flex-direction: column;
  max-width: 680px;
  margin: 0 auto;
  padding-top: 0.5rem;
  text-align: center;
  animation: riseIn 0.7s var(--ease) 0.15s both;
}

.hero__lead,
.hero__support,
.hero__card-note,
.hero__points {
  order: 1;
}

.hero__media {
  order: 1;
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  height: clamp(200px, 38vw, 360px);
  overflow: hidden;
  background: linear-gradient(135deg, #c4a574, #8a6a3e);
}

.hero__picture {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
}

.hero__photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  animation: mediaZoom 1.1s var(--ease) both;
}

.hero__wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 2;
  width: 100%;
  height: 56px;
  display: block;
  pointer-events: none;
}

.hero__brand {
  display: block;
  font-size: clamp(1.85rem, 5vw, 2.6rem);
  font-weight: 800;
  color: var(--color-navy);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-size: clamp(1.2rem, 2.8vw, 1.65rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 0.9rem;
  color: var(--color-navy);
}

.hero__lead {
  font-size: 1.05rem;
  color: var(--color-text);
  margin-bottom: 0.7rem;
  line-height: 1.65;
}

.hero__support {
  font-size: 0.98rem;
  color: var(--color-text-muted);
  margin-bottom: 1.35rem;
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.8rem 1.45rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}

.btn--primary {
  background: var(--color-navy);
  color: var(--color-white);
  min-width: 168px;
}

.btn--primary:hover {
  background: var(--color-navy-dark);
  color: var(--color-white);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(29, 65, 122, 0.22);
}

.btn--phone {
  min-width: 190px;
  gap: 0.55rem;
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
  min-height: 52px;
}

.btn--phone__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
  gap: 0.12rem;
}

.btn--phone__label {
  font-size: 1rem;
  font-weight: 800;
}

.btn--phone__hours {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  opacity: 0.88;
}

.btn--phone.is-highlighted {
  animation: phonePulse 0.75s var(--ease) 4;
  box-shadow: 0 0 0 5px rgba(245, 196, 0, 0.65), 0 10px 28px rgba(29, 65, 122, 0.35);
  outline: 3px solid var(--color-yellow);
  outline-offset: 4px;
  background: var(--color-navy-dark);
  transform: scale(1.04);
  position: relative;
  z-index: 2;
}

.is-search-hit {
  outline: 2px solid var(--color-yellow);
  outline-offset: 6px;
  border-radius: 12px;
}

.hero__card-note {
  margin: 0 auto 1.5rem;
  max-width: 560px;
  font-size: 0.68rem;
  color: var(--color-text-muted);
  line-height: 1.4;
  text-align: center;
}

.hero__points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  max-width: 520px;
  margin: 0 auto;
  text-align: left;
}

.hero__points li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-navy);
  line-height: 1.4;
}

.hero__points svg {
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: var(--color-navy);
  background: var(--color-yellow);
  border-radius: 50%;
  padding: 3px;
  width: 22px;
  height: 22px;
  box-sizing: content-box;
}

/* Phone CTA button */
.phone-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  background: var(--color-yellow);
  color: var(--color-navy);
  font-size: 1.35rem;
  font-weight: 800;
  padding: 1rem 1.5rem;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
  letter-spacing: 0.01em;
}

.phone-btn:hover {
  background: var(--color-yellow-soft);
  text-decoration: none;
  color: var(--color-navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(29, 65, 122, 0.2);
}

.phone-btn svg {
  flex-shrink: 0;
}

/* Yellow contact band */
.contact-band {
  position: relative;
  z-index: 2;
  background: var(--color-yellow);
  margin-top: 0;
  padding: 1.35rem 0 1.5rem;
}

.contact-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.contact-band__copy {
  color: var(--color-navy);
}

.contact-band__copy strong {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.15rem;
}

.contact-band__copy span {
  font-size: 0.925rem;
  font-weight: 600;
  opacity: 0.85;
}

.contact-band .phone-btn {
  width: auto;
  min-width: 260px;
  background: var(--color-navy);
  color: var(--color-white);
  font-size: 1.15rem;
  padding: 0.85rem 1.5rem;
}

.contact-band .phone-btn:hover {
  background: var(--color-navy-dark);
  color: var(--color-white);
}

/* Highlight call section */
.section--highlight {
  padding-top: 2.75rem;
  padding-bottom: 2.75rem;
  background: var(--color-sky);
}

.highlight {
  max-width: 720px;
}

.highlight__copy h2 {
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  color: var(--color-navy);
  font-weight: 800;
  margin-bottom: 0.55rem;
  letter-spacing: -0.02em;
}

.highlight__copy > p:not(.highlight__note) {
  color: var(--color-text-muted);
  margin-bottom: 0.55rem;
}

.highlight__note {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 600;
}

/* Sections */
.section {
  padding: 4.75rem 0;
}

.section--alt {
  background: linear-gradient(180deg, var(--color-bg) 0%, #eef3f9 100%);
}

.section__header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}

.section__label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-navy-mid);
  margin-bottom: 0.65rem;
}

.section__header h2 {
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  color: var(--color-navy);
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
  font-weight: 800;
  position: relative;
  display: inline-block;
}

.section__header h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  background: var(--color-yellow);
  border-radius: var(--radius-pill);
  margin: 0.7rem auto 0;
}

.section__header p {
  color: var(--color-text-muted);
  margin-top: 0.85rem;
}

/* Service blocks */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 22px;
  padding: 2rem;
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--color-navy), var(--color-yellow));
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.service-card__icon {
  width: 52px;
  height: 52px;
  background: var(--color-sky);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--color-navy);
}

.service-card h3 {
  font-size: 1.25rem;
  color: var(--color-navy);
  margin-bottom: 0.75rem;
  font-weight: 800;
}

.service-card > p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
}

.service-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem 1rem;
}

.service-list li {
  font-size: 0.875rem;
  padding-left: 1.1rem;
  position: relative;
  color: var(--color-text);
}

.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--color-yellow);
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(29, 65, 122, 0.15);
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.step {
  text-align: center;
  padding: 2rem 1.4rem;
  background: var(--color-white);
  border-radius: 22px;
  border: 1px solid var(--color-border);
  transition: transform 0.25s var(--ease);
}

.step:hover {
  transform: translateY(-3px);
}

.step__num {
  width: 48px;
  height: 48px;
  background: var(--color-navy);
  color: var(--color-yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  margin: 0 auto 1.25rem;
}

.step h3 {
  font-size: 1.15rem;
  color: var(--color-navy);
  margin-bottom: 0.5rem;
  font-weight: 800;
}

.step p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

/* Specialties */
.specialties {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.specialty-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  padding: 0.95rem 1.2rem;
  font-size: 0.925rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.specialty-item:hover {
  border-color: var(--color-navy);
  background: var(--color-sky);
}

.specialty-item svg {
  flex-shrink: 0;
  color: var(--color-navy);
  margin-top: 0.15rem;
}

/* Benefits */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.benefit {
  display: flex;
  gap: 1rem;
  padding: 1.4rem 1.35rem;
  background: var(--color-white);
  border-radius: 18px;
  border: 1px solid var(--color-border);
}

.benefit__icon {
  width: 42px;
  height: 42px;
  background: var(--color-yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-navy);
}

.benefit h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: 0.35rem;
}

.benefit p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

/* Testimonials */
.testimonials {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.testimonial {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 1.75rem;
  border-top: 4px solid var(--color-yellow);
}

.testimonial p {
  font-size: 0.95rem;
  color: var(--color-text);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.testimonial cite {
  font-style: normal;
  font-size: 0.875rem;
  color: var(--color-navy);
  font-weight: 700;
}

/* FAQ */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: 16px;
  margin-bottom: 0.75rem;
  background: var(--color-white);
  overflow: hidden;
}

.faq-item.is-match {
  border-color: var(--color-navy);
  box-shadow: 0 0 0 2px rgba(29, 65, 122, 0.12);
}

.faq-item summary {
  padding: 1.15rem 1.5rem;
  font-weight: 700;
  color: var(--color-navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.35rem;
  color: var(--color-navy);
  font-weight: 400;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-sky);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "−";
  background: var(--color-yellow);
}

.faq-item p {
  padding: 0 1.5rem 1.15rem;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

/* CTA band */
.cta-band {
  position: relative;
  background:
    radial-gradient(circle at 85% 20%, rgba(245, 196, 0, 0.25), transparent 40%),
    linear-gradient(135deg, var(--color-navy-dark), var(--color-navy-mid));
  color: var(--color-white);
  padding: 4rem 0;
  text-align: center;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 48px;
  background: var(--color-white);
  clip-path: ellipse(70% 100% at 50% 0%);
}

.cta-band .container {
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  margin-bottom: 0.75rem;
  font-weight: 800;
}

.cta-band p {
  opacity: 0.92;
  margin-bottom: 1.5rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.cta-band .phone-btn {
  max-width: 340px;
  margin: 0 auto;
  background: var(--color-yellow);
  color: var(--color-navy);
}

.cta-band .phone-btn:hover {
  background: var(--color-yellow-soft);
  color: var(--color-navy);
}

/* Footer */
.footer {
  background: var(--color-navy-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 3rem 0 1.5rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer__brand .logo__name {
  color: var(--color-white);
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  display: block;
}

.footer__brand p {
  font-size: 0.875rem;
  line-height: 1.6;
  opacity: 0.8;
}

.footer h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
  color: var(--color-yellow);
  font-weight: 800;
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: 0.5rem;
}

.footer a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.875rem;
  text-decoration: none;
}

.footer a:hover {
  color: var(--color-yellow);
  text-decoration: underline;
}

.footer__legal {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.5rem;
  font-size: 0.8125rem;
  line-height: 1.65;
  opacity: 0.7;
}

.footer__legal p + p {
  margin-top: 0.75rem;
}

.footer__copy {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.8125rem;
  opacity: 0.5;
}

/* Legal pages */
.legal-page {
  margin-top: var(--header-h);
  padding: 3rem 0 4rem;
}

.legal-page h1 {
  font-size: 2rem;
  color: var(--color-navy);
  margin-bottom: 0.5rem;
  font-weight: 800;
}

.legal-page .updated {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  margin-bottom: 2rem;
}

.legal-page h2 {
  font-size: 1.25rem;
  color: var(--color-navy);
  margin: 2rem 0 0.75rem;
  font-weight: 800;
}

.legal-page p,
.legal-page li {
  font-size: 0.9375rem;
  color: var(--color-text);
  margin-bottom: 0.75rem;
}

.legal-page ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

/* Cookie consent popup — same pattern as phone popup */
.cookie-banner {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s var(--ease), visibility 0.28s var(--ease);
}

.cookie-banner.is-open {
  align-items: flex-end;
  padding: 0 0.85rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
  opacity: 1;
  visibility: visible;
  pointer-events: none;
}

.cookie-banner.is-open .cookie-banner__card {
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.cookie-banner__card {
  position: relative;
  z-index: 1;
  width: min(100%, 440px);
  background:
    linear-gradient(180deg, var(--color-sky) 0%, var(--color-white) 42%);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  padding: 2.1rem 1.7rem 1.7rem;
  text-align: center;
  box-shadow: 0 28px 64px rgba(20, 47, 88, 0.26);
  transform: translateY(18px) scale(0.98);
  transition: transform 0.32s var(--ease);
  overflow: hidden;
}

.cookie-banner__card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-navy) 0%, var(--color-navy-mid) 55%, var(--color-yellow) 100%);
}

.cookie-banner__title {
  font-size: clamp(1.25rem, 3.5vw, 1.5rem);
  font-weight: 800;
  color: var(--color-navy-dark);
  margin-bottom: 0.75rem;
  line-height: 1.28;
}

.cookie-banner__text {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--color-text-muted);
  margin-bottom: 1.35rem;
}

.cookie-banner__text a {
  color: var(--color-navy-mid);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.cookie-banner button {
  padding: 0.85rem 0.9rem;
  border: none;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  font-family: var(--font-sans);
  min-height: 48px;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.cookie-banner .btn-accept {
  background: var(--color-navy);
  color: var(--color-white);
}

.cookie-banner .btn-accept:hover {
  background: var(--color-navy-dark);
}

.cookie-banner .btn-decline {
  background: var(--color-white);
  color: var(--color-navy);
  border: 1px solid var(--color-border);
}

.cookie-banner .btn-decline:hover {
  background: var(--color-sky);
  border-color: #c5d0de;
}

body.has-cookie-banner .mobile-cta {
  display: none !important;
}

/* Both open: phone centered (larger), cookies at the bottom */
body.has-cookie-banner.phone-popup-open .cookie-banner {
  align-items: flex-end;
  padding: 0 0.85rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
}

body.has-cookie-banner.phone-popup-open .cookie-banner__card {
  width: min(100%, 480px);
  padding: 1.15rem 1.2rem 1.05rem;
  border-radius: 18px;
}

body.has-cookie-banner.phone-popup-open .cookie-banner__title {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

body.has-cookie-banner.phone-popup-open .cookie-banner__text {
  font-size: 0.8rem;
  margin-bottom: 0.75rem;
}

body.has-cookie-banner.phone-popup-open .cookie-banner button {
  min-height: 44px;
  padding: 0.65rem 0.8rem;
  font-size: 0.9rem;
}

body.has-cookie-banner.phone-popup-open .phone-popup {
  align-items: center;
  padding: 1rem 1rem 28vh;
}

body.has-cookie-banner.phone-popup-open .phone-popup__dialog {
  width: min(100%, 560px);
  padding: 2.6rem 2rem 2.1rem;
}

body.has-cookie-banner.phone-popup-open .phone-popup__title {
  font-size: clamp(1.55rem, 4.5vw, 1.95rem);
  max-width: 14ch;
  margin-bottom: 1.15rem;
}

body.has-cookie-banner.phone-popup-open .phone-popup__hours {
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
  padding: 0.55rem 1rem;
}

body.has-cookie-banner.phone-popup-open .phone-popup__cta {
  font-size: 1.28rem;
  min-height: 64px;
  max-width: 380px;
}

body.has-cookie-banner.phone-popup-open .phone-popup__number {
  font-size: 1.15rem;
}

/* Mobile sticky CTA */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 998;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--color-border);
  padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -6px 20px rgba(29, 65, 122, 0.1);
}

.mobile-cta .phone-btn {
  font-size: 1.125rem;
  padding: 0.95rem 1rem;
  min-height: 52px;
  background: var(--color-yellow);
  color: var(--color-navy);
  box-shadow: 0 4px 14px rgba(29, 65, 122, 0.18);
}

.mobile-cta .phone-btn:hover,
.mobile-cta .phone-btn:active {
  background: var(--color-yellow-soft);
  color: var(--color-navy);
  transform: none;
}

body.phone-popup-open .mobile-cta {
  display: none !important;
}

/* Kept in the DOM so an old stuck layer cannot cover the page */
.site-overlay {
  display: none !important;
  pointer-events: none !important;
}

/* Phone conversion popup */
.phone-popup {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  padding-bottom: 12vh;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s var(--ease), visibility 0.28s var(--ease);
}

.phone-popup.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.phone-popup.is-open::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 47, 88, 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.phone-popup.is-open .phone-popup__dialog {
  pointer-events: auto;
}

.phone-popup__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(180deg, var(--color-sky) 0%, var(--color-white) 42%);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  padding: 2.65rem 2rem 2.1rem;
  text-align: center;
  box-shadow: 0 28px 64px rgba(20, 47, 88, 0.26);
  transform: translateY(18px) scale(0.98);
  transition: transform 0.32s var(--ease);
  overflow: hidden;
}

.phone-popup__dialog::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-navy) 0%, var(--color-navy-mid) 55%, var(--color-yellow) 100%);
}

.phone-popup.is-open .phone-popup__dialog {
  transform: translateY(0) scale(1);
}

.phone-popup__close {
  position: absolute;
  top: 0.7rem;
  right: 0.75rem;
  width: auto;
  height: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 0;
  background: transparent;
  color: #a8b2c0;
  cursor: pointer;
  padding: 0.25rem;
  opacity: 1;
  transition: color 0.2s var(--ease);
}

.phone-popup__close:hover {
  color: #7f8a99;
  background: transparent;
}

body.phone-popup-open {
  overflow: hidden;
}

.phone-popup__title {
  font-size: clamp(1.55rem, 4.5vw, 1.95rem);
  line-height: 1.28;
  color: var(--color-navy-dark);
  font-weight: 800;
  margin-bottom: 1.15rem;
  max-width: 14ch;
}

.phone-popup__lead {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.phone-popup__hours {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 1.35rem;
  padding: 0.45rem 0.85rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.3;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
}

.phone-popup__hours svg {
  flex-shrink: 0;
  color: var(--color-navy-mid);
}

.phone-popup__cta {
  margin-bottom: 0.75rem;
  font-size: 1.28rem;
  min-height: 64px;
  width: 100%;
  max-width: 380px;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(245, 196, 0, 0.35);
}

.phone-popup__number {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-navy);
  letter-spacing: 0.04em;
  text-decoration: none;
}

.phone-popup__number:hover {
  color: var(--color-navy-dark);
  text-decoration: none;
}

.phone-popup__dismiss {
  border: none;
  background: transparent;
  color: var(--color-text-muted);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 0.35rem 0.5rem;
}

.phone-popup__dismiss:hover {
  color: var(--color-navy);
}

@keyframes heroFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes mediaZoom {
  from {
    transform: scale(1.04);
    opacity: 0.85;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes phonePulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.04);
  }
}

/* Responsive */
@media (max-width: 992px) {
  .services-grid,
  .benefits-grid,
  .testimonials {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

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

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

  .contact-band__inner,
  .highlight {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .contact-band .phone-btn {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 768px) {
  :root {
    --mobile-cta-h: 76px;
  }

  .container {
    padding: 0 1.1rem;
  }

  body {
    font-size: 1rem;
    padding-bottom: calc(var(--mobile-cta-h) + env(safe-area-inset-bottom, 0px));
  }

  .header {
    padding-left: env(safe-area-inset-left, 0px);
    padding-right: env(safe-area-inset-right, 0px);
  }

  .header__disclaimer {
    font-size: 0.68rem;
    line-height: 1.4;
    padding: 0.4rem 0.9rem;
  }

  .search-bar {
    max-width: none;
    width: 100%;
    flex: 1 1 100%;
    padding: 0.25rem 0.35rem 0.25rem 1rem;
  }

  .search-bar input {
    font-size: 0.9rem;
    padding: 0.5rem 0;
  }

  .search-bar button {
    width: 40px;
    height: 40px;
  }

  .hero__media {
    height: clamp(150px, 40vw, 210px);
  }

  .hero__wave {
    height: 42px;
  }

  .hero__photo {
    object-position: center 50%;
  }

  .hero {
    padding-bottom: 2rem;
  }

  .hero__brand {
    font-size: clamp(1.7rem, 8vw, 2.2rem);
  }

  .hero h1 {
    font-size: clamp(1.12rem, 4.6vw, 1.35rem);
  }

  .hero__lead {
    font-size: 0.98rem;
  }

  .hero__support {
    font-size: 0.94rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn--primary {
    width: 100%;
    min-width: 0;
  }

  .btn--phone.is-highlighted {
    outline-offset: 2px;
  }

  .hero__card-note {
    font-size: 0.7rem;
    line-height: 1.3;
    text-align: left;
    transform: scale(0.92);
    transform-origin: left top;
    width: 108.7%;
  }

  .hero__points {
    gap: 0.65rem;
  }

  .hero__points li {
    font-size: 0.9rem;
  }

  .phone-btn {
    font-size: 1.2rem;
    padding: 1rem 1.25rem;
    min-height: 52px;
  }

  .contact-band {
    padding: 1.15rem 0 1.25rem;
  }

  .contact-band__copy strong {
    font-size: 1.05rem;
  }

  .contact-band .phone-btn {
    font-size: 1.1rem;
  }

  .section {
    padding: 3.25rem 0;
  }

  .section--highlight {
    padding: 2.25rem 0;
  }

  .section__header {
    margin-bottom: 2rem;
    text-align: left;
  }

  .section__header h2 {
    display: block;
  }

  .section__header h2::after {
    margin-left: 0;
    margin-right: auto;
  }

  .service-card {
    padding: 1.5rem 1.25rem;
    border-radius: 18px;
  }

  .service-card:hover {
    transform: none;
  }

  .service-list {
    grid-template-columns: 1fr;
  }

  .step {
    text-align: left;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 1rem;
    row-gap: 0.35rem;
    padding: 1.25rem;
    align-items: start;
  }

  .step:hover {
    transform: none;
  }

  .step__num {
    grid-row: 1 / span 2;
    margin: 0;
    width: 42px;
    height: 42px;
    font-size: 1.05rem;
  }

  .step h3 {
    margin-bottom: 0;
    align-self: end;
  }

  .step p {
    grid-column: 2;
  }

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

  .specialty-item {
    border-radius: 14px;
    padding: 0.95rem 1rem;
    min-height: 48px;
  }

  .specialty-item:hover {
    background: var(--color-white);
    border-color: var(--color-border);
  }

  .benefit {
    padding: 1.15rem 1rem;
  }

  .testimonial {
    padding: 1.35rem 1.15rem;
  }

  .faq-item summary {
    padding: 1.05rem 1.1rem;
    font-size: 0.98rem;
    align-items: flex-start;
  }

  .faq-item p {
    padding: 0 1.1rem 1.05rem;
  }

  .cta-band {
    padding: 3.25rem 0 3.5rem;
  }

  .cta-band::before {
    height: 28px;
  }

  .cta-band .phone-btn {
    max-width: none;
    width: 100%;
  }

  .footer {
    padding: 2.5rem 0 calc(1.5rem + env(safe-area-inset-bottom, 0px));
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    margin-bottom: 1.75rem;
  }

  .mobile-cta {
    display: block;
  }

  .legal-page {
    padding: 2rem 0 3rem;
  }

  .legal-page h1 {
    font-size: 1.55rem;
  }

  .cookie-banner {
    padding: 0.85rem;
  }

  .cookie-banner__card {
    width: 100%;
    padding: 1.9rem 1.35rem 1.5rem;
    border-radius: 20px;
  }

  .cookie-banner__actions {
    grid-template-columns: 1fr 1fr;
  }

  .cookie-banner__actions button {
    min-height: 48px;
  }
}

@media (max-width: 480px) {
  .header__disclaimer {
    font-size: 0.62rem;
    padding: 0.35rem 0.7rem;
  }

  .container {
    padding: 0 1rem;
  }

  .hero__media {
    height: 170px;
  }

  .phone-btn {
    font-size: 1.1rem;
    letter-spacing: 0;
  }

  .phone-popup {
    padding: 0.85rem;
    padding-bottom: 10vh;
    align-items: center;
  }

  .phone-popup__dialog {
    width: 100%;
    padding: 2.15rem 1.35rem 1.65rem;
    border-radius: 20px;
  }

  .phone-popup__cta {
    font-size: 1.12rem;
    letter-spacing: -0.01em;
    min-height: 56px;
  }

  .section {
    padding: 2.75rem 0;
  }

  .section__header h2 {
    font-size: 1.4rem;
  }

  .service-card__icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }
}

@media (min-width: 993px) {
  .hero {
    padding: 2.75rem 0 3.25rem;
  }

  .hero__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 3rem;
    align-items: center;
  }

  .hero__content {
    order: 0;
    max-width: none;
    margin: 0;
    padding-top: 0;
    text-align: left;
  }

  .hero__media {
    order: 0;
    width: 100%;
    margin-left: 0;
    height: min(520px, 62vh);
    border-radius: 28px;
    box-shadow: 0 18px 40px rgba(29, 65, 122, 0.14);
  }

  .hero__wave {
    display: none;
  }

  .hero__photo {
    object-position: center 45%;
  }

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

  .hero__card-note {
    text-align: left;
    margin-left: 0;
  }

  .hero__points {
    margin: 0;
  }
}

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

  html {
    scroll-behavior: auto;
  }
}
