:root {
  --blue: #005f9f;
  --blue-dark: #073f6f;
  --yellow: #ffd735;
  --red: #c93632;
  --ink: #1d252d;
  --muted: #5d6873;
  --line: #dbe3ea;
  --soft: #f3f6f8;
  --paper: #ffffff;
  --dark: #151a1f;
  --shadow: 0 18px 45px rgba(21, 26, 31, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 12px;
  top: 12px;
  z-index: 100;
  transform: translateY(-160%);
  background: var(--yellow);
  color: var(--dark);
  padding: 8px 12px;
  border-radius: 6px;
}

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

.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;
}

.wrap {
  width: calc(100% - 40px);
  max-width: 1120px;
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(219, 227, 234, 0.9);
  backdrop-filter: blur(12px);
}

.header-inner {
  width: calc(100% - 32px);
  max-width: 1180px;
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 124px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.site-nav a {
  text-decoration: none;
  font-weight: 800;
  color: var(--ink);
  padding: 10px 12px;
  border-radius: 6px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--blue);
  background: var(--soft);
}

.header-call {
  flex: 0 0 auto;
  text-decoration: none;
  font-weight: 900;
  color: var(--blue);
  border: 2px solid var(--blue);
  border-radius: 6px;
  padding: 9px 14px;
}

.header-call:hover,
.header-call:focus-visible {
  color: #fff;
  background: var(--blue);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  padding: 10px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
}

.hero,
.page-hero {
  position: relative;
  min-height: 82vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}

.hero img,
.page-hero img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(6, 18, 30, 0.88), rgba(6, 18, 30, 0.42) 60%, rgba(6, 18, 30, 0.18)),
    linear-gradient(0deg, rgba(6, 18, 30, 0.74), rgba(6, 18, 30, 0.02) 44%);
}

.hero-content,
.page-hero-content {
  padding: 92px 0 138px;
}

.eyebrow,
.mini-kicker {
  margin: 0 0 12px;
  color: var(--yellow);
  font-size: 0.83rem;
  line-height: 1.2;
  font-weight: 900;
  text-transform: uppercase;
}

.breadcrumb {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.breadcrumb a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
}

h1,
.hero h1,
.page-hero h1 {
  max-width: 880px;
  margin: 0;
  font-size: 4rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
  text-shadow: 0 6px 22px rgba(0, 0, 0, 0.35);
}

.hero-lead,
.page-hero-content > p:not(.breadcrumb) {
  max-width: 760px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 18px;
  border: 2px solid transparent;
  border-radius: 6px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.button-primary {
  background: var(--yellow);
  color: var(--dark);
  border-color: var(--yellow);
}

.button-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.72);
}

.button-dark {
  color: #fff;
  background: var(--dark);
  border-color: var(--dark);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.hero-strip {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: calc(100% - 40px);
  max-width: 1120px;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  background: #fff;
  color: var(--ink);
  border-radius: 8px 8px 0 0;
  box-shadow: var(--shadow);
}

.hero-strip div {
  padding: 22px;
  border-right: 1px solid var(--line);
}

.hero-strip div:last-child {
  border-right: 0;
}

.hero-strip strong {
  display: block;
  color: var(--blue);
  font-size: 1rem;
}

.hero-strip span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.35;
}

.intro-band {
  background: var(--dark);
  color: #fff;
  padding: 74px 0 62px;
}

.intro-grid,
.cards-grid,
.reviews-grid,
.local-grid,
.footer-grid {
  display: grid;
  gap: 18px;
}

.intro-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.intro-grid article {
  border-top: 3px solid var(--yellow);
  padding-top: 18px;
}

.intro-grid h2 {
  margin: 0;
  font-size: 1.3rem;
  line-height: 1.2;
}

.intro-grid p {
  color: rgba(255, 255, 255, 0.78);
}

.section,
.content-page {
  padding: 86px 0;
}

.surface {
  background: var(--soft);
}

.split-grid,
.contact-grid,
.cta-grid,
.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 52px;
  align-items: center;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 38px;
}

.section-heading .eyebrow,
.section-copy .eyebrow,
.contact-info .eyebrow,
.cta-band .eyebrow {
  color: var(--red);
}

.section-heading h2,
.section-copy h2,
.contact-info h2,
.cta-band h2,
.content-main h2 {
  margin: 0;
  color: var(--ink);
  font-size: 2.28rem;
  line-height: 1.1;
}

.section-heading p,
.section-copy p,
.contact-info p,
.content-main p,
.cta-band p {
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  margin-top: 22px;
  color: var(--blue);
  font-weight: 900;
  text-decoration: none;
  border-bottom: 2px solid var(--yellow);
}

.photo-stack {
  position: relative;
  min-height: 500px;
}

.photo-stack img,
.page-photo,
.service-layout > img {
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.photo-main {
  width: 78%;
  height: 420px;
}

.photo-small {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 48%;
  height: 250px;
  border: 8px solid #fff;
}

.service-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(0, 1.14fr);
  gap: 32px;
}

.service-layout > img {
  width: 100%;
  height: 100%;
  min-height: 430px;
}

.cards-grid {
  grid-template-columns: repeat(3, 1fr);
}

.local-grid {
  grid-template-columns: repeat(5, 1fr);
}

.card,
.review-card,
.content-aside,
.contact-form,
.brand-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

.card h3,
.review-card h3,
.brand-panel h3,
.contact-form h3,
.site-footer h2 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.25;
}

.card p,
.review-card p {
  margin: 10px 0 0;
  color: var(--muted);
}

.card a,
.brand-panel a,
.content-main a {
  color: var(--blue);
  font-weight: 900;
}

.reviews {
  background: var(--dark);
  color: #fff;
}

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

.reviews-heading h2 {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-size: 2.25rem;
  line-height: 1.1;
}

.reviews-grid {
  grid-template-columns: repeat(3, 1fr);
}

.reviews-note {
  max-width: 720px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
}

.reviews-note a {
  color: var(--yellow);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.review-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.review-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 2px solid var(--yellow);
  border-radius: 50%;
  color: var(--yellow);
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1;
}

.review-card p {
  color: rgba(255, 255, 255, 0.84);
}

.review-card h3 {
  margin-top: 18px;
  color: var(--yellow);
}

.feature-list,
.two-column-list {
  margin: 24px 0 0;
}

.feature-list {
  display: grid;
  gap: 12px;
  padding: 0;
  list-style: none;
}

.feature-list li {
  border-left: 4px solid var(--blue);
  background: var(--soft);
  border-radius: 0 8px 8px 0;
  padding: 14px 16px;
  color: var(--muted);
}

.two-column-list {
  columns: 2;
  column-gap: 34px;
  padding-left: 20px;
}

.two-column-list li {
  break-inside: avoid;
  margin-bottom: 9px;
}

.content-grid {
  align-items: start;
}

.content-aside {
  position: sticky;
  top: 104px;
  background: var(--soft);
}

.content-aside .button {
  width: 100%;
  margin-top: 10px;
}

.page-photo {
  width: 100%;
  max-height: 460px;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.brand-grid img {
  width: 100%;
  height: 76px;
  padding: 14px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.hours-list {
  display: grid;
  gap: 8px;
  margin: 20px 0 0;
}

.hours-list div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.contact-phone-card {
  margin: 22px 0 24px;
  padding: 22px;
  border-radius: 10px;
  background: var(--yellow);
  color: var(--dark);
  box-shadow: var(--shadow);
}

.contact-phone-card span {
  display: block;
  margin-bottom: 6px;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-phone-card a {
  display: inline-block;
  color: var(--dark);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
}

.contact-phone-card p {
  margin: 10px 0 0;
  color: rgba(0, 27, 49, 0.76);
  font-weight: 700;
}

.contact-actions,
.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.contact-actions a,
.social-row a {
  text-decoration: none;
  font-weight: 900;
  border-radius: 6px;
}

.contact-actions a {
  background: var(--soft);
  color: var(--blue);
  padding: 9px 13px;
}

.contact-actions-secondary a {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
}

.social-row a {
  color: var(--muted);
  border-bottom: 2px solid var(--line);
}

.contact-form {
  box-shadow: var(--shadow);
}

.form-intro {
  margin-top: 10px;
  color: var(--muted);
}

.field-note {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.contact-form label {
  display: grid;
  gap: 6px;
  margin-top: 16px;
  color: var(--ink);
  font-weight: 800;
}

.contact-form .field-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 11px 12px;
  color: var(--ink);
  background: #fff;
}

.privacy-check {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  line-height: 1.45;
}

.privacy-check input {
  width: auto;
  margin-top: 4px;
}

.contact-form button {
  width: 100%;
  margin-top: 18px;
}

.form-status {
  min-height: 24px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.map-wrap {
  margin-top: 42px;
}

.map-wrap iframe {
  width: 100%;
  height: 360px;
  border: 0;
  border-radius: 8px;
}

.map-note {
  max-width: 860px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.cta-band {
  background: var(--yellow);
  color: var(--dark);
}

.cta-band .eyebrow {
  color: var(--blue-dark);
}

.cta-band h2,
.cta-band p {
  color: var(--dark);
}

.cta-grid {
  grid-template-columns: minmax(0, 1fr) auto;
}

.legal-content {
  max-width: 900px;
}

.legal-content h2 {
  margin-top: 36px;
  color: var(--blue);
}

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

.faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 16px 18px;
}

.faq-item summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 900;
}

.faq-item p {
  margin-bottom: 0;
}

.site-footer {
  background: var(--dark);
  color: #fff;
  padding: 56px 0 28px;
}

.footer-grid {
  grid-template-columns: 1.15fr 1fr 1fr;
}

.site-footer img {
  width: 105px;
  background: #fff;
  border-radius: 8px;
  padding: 8px;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.76);
}

.site-footer a {
  display: block;
  text-decoration: none;
  margin-top: 8px;
}

.footer-contact-links {
  display: grid;
  gap: 8px;
  margin: 0;
}

.site-footer .footer-contact-links a {
  margin-top: 0;
}

.footer-bottom {
  width: calc(100% - 40px);
  max-width: 1120px;
  margin: 34px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.9rem;
}

.footer-bottom a {
  display: inline;
  margin-top: 0;
  font-weight: 800;
}

.mobile-sticky-cta {
  display: none;
}

.mobile-sticky-cta a {
  text-decoration: none;
}

@media (max-width: 980px) {
  .header-inner {
    min-height: 70px;
    gap: 10px;
  }

  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  .site-nav {
    position: absolute;
    top: 70px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .header-call {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 7px 10px;
    font-size: 0;
    line-height: 1;
    margin-left: 0;
  }

  .header-call::before {
    content: "Llamar";
    font-size: 0.88rem;
    line-height: 1;
  }

  h1,
  .hero h1,
  .page-hero h1 {
    font-size: 3.1rem;
  }

  .hero-content,
  .page-hero-content {
    padding-bottom: 104px;
  }

  .hero-strip,
  .intro-grid,
  .split-grid,
  .service-layout,
  .cards-grid,
  .reviews-heading,
  .reviews-grid,
  .local-grid,
  .contact-grid,
  .cta-grid,
  .content-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-strip {
    position: relative;
    left: auto;
    bottom: auto;
    z-index: 2;
    width: calc(100% - 28px);
    max-width: 620px;
    margin: -54px auto 0;
    transform: none;
  }

  .hero-strip div {
    padding: 16px 18px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-strip div:last-child {
    border-bottom: 0;
  }

  .photo-stack {
    min-height: 430px;
  }

  .photo-main {
    width: 84%;
    height: 340px;
  }

  .photo-small {
    width: 52%;
    height: 220px;
  }

  .content-aside {
    position: static;
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: calc(74px + env(safe-area-inset-bottom));
  }

  .mobile-sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 80;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid var(--line);
    box-shadow: 0 -14px 34px rgba(21, 26, 31, 0.16);
    backdrop-filter: blur(12px);
  }

  .mobile-sticky-cta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border-radius: 6px;
    font-weight: 900;
  }

  .mobile-sticky-call {
    color: var(--blue);
    border: 2px solid var(--blue);
    background: #fff;
  }

  .mobile-sticky-appointment {
    color: var(--dark);
    border: 2px solid var(--yellow);
    background: var(--yellow);
  }

  .wrap {
    width: calc(100% - 28px);
  }

  .brand img {
    width: 104px;
  }

  .header-call {
    padding-inline: 9px;
  }

  .header-call::before {
    font-size: 0.82rem;
  }

  .hero,
  .page-hero {
    min-height: 88vh;
  }

  h1,
  .hero h1,
  .page-hero h1 {
    font-size: 2.45rem;
  }

  .hero-content,
  .page-hero-content {
    padding-top: 74px;
    padding-bottom: 104px;
  }

  .section,
  .content-page {
    padding: 62px 0;
  }

  .section-heading h2,
  .section-copy h2,
  .contact-info h2,
  .cta-band h2,
  .content-main h2,
  .reviews-heading h2 {
    font-size: 1.85rem;
  }

  .two-column-list {
    columns: 1;
  }

  .photo-stack {
    min-height: 0;
  }

  .photo-main,
  .photo-small {
    position: static;
    width: 100%;
    height: auto;
  }

  .photo-small {
    margin-top: 14px;
    border: 0;
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
  }

  .contact-phone-card {
    padding: 18px;
  }

  .button {
    width: 100%;
  }
}
