@font-face {
  font-family: "Coat Editorial";
  src: url("/assets/fonts/latin-modern-roman-17.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --ink: #171717;
  --black: #111111;
  --display-font: "Coat Editorial", Georgia, serif;
  --muted: #484848;
  --accent: #D32027;
  --accent-dark: #a3161b;
  --paper: #ffffff;
  --soft-gray: #f5f5f5;
  --line: #dedede;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 1rem; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.65 system-ui, sans-serif; }
img, video { display: block; max-width: 100%; }
h1, h2, h3, p, dl, dd { margin: 0; }
h1, h2, h3 { line-height: 1.13; }
h1, h2 { font-family: var(--display-font); font-weight: 400; letter-spacing: -0.025em; }
h1 { font-size: clamp(2.4rem, 6vw, 5rem); text-wrap: balance; }
h2 { font-size: clamp(1.85rem, 3.4vw, 3rem); }
h3 { font-size: 1.22rem; }
a { color: var(--accent); text-underline-offset: 0.2em; }
button, textarea, input, select { font: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }

.wrap { width: min(100% - 2.5rem, 73rem); margin-inline: auto; }
.narrow { max-width: 60rem; }
.skip { position: absolute; z-index: 5; left: 1rem; top: 1rem; padding: 0.5rem 1rem; background: white; transform: translateY(-180%); }
.skip:focus { transform: none; }
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.service-banner { background: var(--black); color: var(--paper); font-size: .88rem; }
.service-banner-inner { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; column-gap: 1rem; }
.service-banner a { color: inherit; display: inline-flex; flex-wrap: wrap; column-gap: .3em; align-items: center; min-height: 44px; padding-block: .35rem; }
.service-banner a:focus-visible { outline-color: var(--paper); }
.menu-toggle { min-height: 44px; padding: .45rem .85rem; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: .25rem; font-weight: 700; }
#primary-navigation[hidden], .menu-toggle[hidden] { display: none; }
.site-bar, .brand, nav, .actions { display: flex; align-items: center; }
.site-bar { justify-content: space-between; gap: 1.3rem; padding-block: 0.8rem; }
.brand { gap: 0.65rem; color: var(--ink); text-decoration: none; font: 400 1.36rem/1.05 var(--display-font); }
.brand-logo {
  display: block;
  position: relative;
  flex: none;
  width: 5.1rem;
  aspect-ratio: 320 / 328;
  overflow: hidden;
  border-radius: .25rem;
  background: #fff;
}
.brand-logo img {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 156.25%;
  max-width: none;
  height: auto;
  transform: translate(-50%, -50%);
}
.brand small { display: block; margin-top: 0.12rem; font: 600 0.71rem/1.3 system-ui, sans-serif; }
nav { justify-content: flex-end; gap: clamp(0.35rem, 1.9vw, 1.5rem); flex-wrap: wrap; }
nav a { color: var(--ink); display: inline-flex; align-items: center; min-height: 44px; padding: 0.48rem 0; font-size: 0.92rem; font-weight: 650; text-decoration: none; white-space: nowrap; }
nav a[aria-current], nav a:hover { color: var(--accent); text-decoration: underline; }
.button, nav .button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: 0.65rem 1.15rem; background: var(--accent); color: #fff; border: 1px solid var(--accent); border-radius: 0.25rem; font-weight: 700; line-height: 1.35; text-decoration: none; cursor: pointer; }
.button:hover, nav .button:hover { background: var(--accent-dark); color: #fff; text-decoration: none; }
.button-small { min-height: 44px; }
.button-outline { background: var(--paper); border-color: var(--ink); color: var(--ink); }
.button-outline:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.text-link { display: inline-block; font-weight: 700; }
.page-intro { background: var(--soft-gray); border-bottom: 1px solid var(--line); }
.page-intro-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); gap: clamp(1.55rem, 4.5vw, 4rem); align-items: center; }
.page-intro-copy { border-inline-start: 3px solid var(--accent); padding-inline-start: clamp(.95rem, 2vw, 1.6rem); }
.page-intro-media { overflow: hidden; border-radius: .35rem; }
.page-intro-media img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.hero { padding-block: clamp(2.5rem, 5vw, 5rem); background: var(--black); color: var(--paper); border-bottom: 5px solid var(--accent); }
.hero h1 { max-width: 13ch; font-size: clamp(3rem, 6.7vw, 6.4rem); line-height: .98; text-wrap: initial; }
.hero h1 span { display: block; }
.hero .hero-content > p:not(.eyebrow) { color: #f4eeee; max-width: 46ch; }
.hero .eyebrow { color: #ffbdc0; }
.hero a:focus-visible { outline-color: white; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.07fr) minmax(0, .93fr); gap: clamp(1.65rem, 5vw, 4.6rem); align-items: center; }
.eyebrow { margin-bottom: .9rem; color: var(--accent-dark); font-weight: 650; letter-spacing: .035em; font-size: .87rem; }
.hero-content > p:not(.eyebrow), .page-intro p { max-width: 54ch; margin-top: 1.05rem; color: var(--muted); font-size: clamp(1rem, 2vw, 1.18rem); }
.actions { gap: .85rem 1rem; flex-wrap: wrap; margin-top: 1.4rem; }
.hero-services { display: flex; flex-wrap: wrap; gap: .3rem 1rem; list-style: none; padding: 0; margin: 1.15rem 0 0; }
.hero-services a { display: inline-flex; align-items: center; min-height: 44px; color: var(--paper); font-weight: 650; text-decoration-color: #ff858a; }
.hero-media { position: relative; overflow: hidden; border-radius: .4rem; background: #2c2828; }
.hero-media img { width: 100%; height: auto; aspect-ratio: 4 / 4.35; object-fit: cover; object-position: 50% 43%; }
.hero-media::after { content: ''; position: absolute; inset: auto 0 0; height: 5px; background: var(--accent); transform-origin: left; }
.inquiry-banner { border-bottom: 1px solid var(--line); background: var(--soft-gray); }
.inquiry-banner-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .88fr); align-items: center; gap: 1.3rem 2.5rem; padding-block: clamp(1.4rem, 4vw, 2.75rem); }
.inquiry-banner h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
.inquiry-banner p, .home-questions .text-link { margin-top: .55rem; }
.zip-form { display: flex; flex-wrap: wrap; align-items: end; gap: .7rem; margin: 0; }
.zip-field { flex: 1 1 9rem; }
.zip-field label { font-size: .88rem; }
.home-questions { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 1rem 3.5rem; }
.home-questions .faq p { margin-top: .55rem; color: var(--muted); }
.action-links { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: center; }
.page-intro { padding-block: clamp(2.6rem, 7vw, 5.25rem); }
.section { padding-block: clamp(2.5rem, 6vw, 4.75rem); }
.section-heading > p, .split p, .action p { margin-top: 0.65rem; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.55rem; }
.card { display: flex; flex-direction: column; overflow: hidden; border-radius: 0.38rem; background: #fff; border: 1px solid var(--line); }
.card > img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.card-content { display: flex; flex-direction: column; gap: 0.8rem; flex: 1; padding: clamp(1.15rem, 2.3vw, 1.8rem); }
.card h3 { font: 400 clamp(1.55rem, 2.25vw, 2rem)/1.1 var(--display-font); }
.card p, .prose p, .steps p { color: var(--muted); }
.card a { margin-top: auto; }
.soft { background: var(--soft-gray); }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: clamp(1.6rem, 5vw, 4rem); }
.feature-image { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 0.65rem; }
.split .text-link { margin-top: 1rem; }
.action { display: flex; gap: 1rem 2rem; flex-wrap: wrap; justify-content: space-between; align-items: center; margin-block: 2.5rem; padding: clamp(1.3rem, 4vw, 2.5rem); border: 1px solid var(--line); border-radius: 0.75rem; background: var(--soft-gray); }
.prose { max-width: 60rem; }
.prose section + section { margin-top: 1.7rem; padding-top: 1.7rem; border-top: 1px solid var(--line); }
.prose p, .steps p { margin-top: 0.65rem; max-width: 69ch; }
.prose h2, .steps h2 { font-size: clamp(1.65rem, 2.7vw, 2.23rem); }
.steps { margin: 0; max-width: 55rem; padding-left: 1.5rem; }
.steps li { padding: 0 0 1.4rem 0.65rem; }
.steps li::marker { color: var(--accent); font-size: 1.2rem; font-weight: 700; }
.faq details { border-bottom: 1px solid var(--line); padding: 0.75rem 0 1rem; }
.faq summary { font-weight: 700; padding: 0.3rem 0; cursor: pointer; }

.contact-grid { display: grid; grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.contact-details { min-width: 0; }
.contact-details dt { margin-top: 1.3rem; font-weight: 700; }
.contact-details dd { overflow-wrap: anywhere; }
.contact-whatsapp { margin-top: 1.35rem; }
.form-panel { padding: clamp(1rem, 3.5vw, 2.15rem); background: white; border: 1px solid var(--line); border-radius: 0.65rem; min-width: 0; }
form { margin-top: 0.9rem; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; margin-bottom: 0.9rem; }
form label { display: block; min-width: 0; font-weight: 650; }
form label span, .form-note { color: var(--muted); font-weight: 400; }
.form-note { font-size: 0.9rem; margin-block: 0.5rem 0.85rem; }
input, select, textarea { display: block; width: 100%; min-height: 46px; padding: 0.55rem 0.65rem; margin-top: 0.32rem; color: var(--ink); background: #ffffff; border: 1px solid #868686; border-radius: 0.32rem; }
textarea { resize: vertical; }
.field-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.notice { margin-top: 1rem; padding: 0.8rem 1rem; border-radius: 0.35rem; }
.notice ul { margin: 0.4rem 0 0; padding-left: 1.3rem; }
.error { background: #fff1f1; color: var(--accent-dark); }
.success { background: #f2f2f2; color: var(--ink); }
.site-footer { background: var(--black); color: #ffffff; padding-block: 2rem 1rem; }
.site-footer a { color: #ffffff; }
.site-footer a:focus-visible { outline-color: #ffffff; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .85fr) minmax(0, .7fr) minmax(0, 1.2fr); gap: 1.6rem 2rem; }
.footer-home { display: flex; align-items: center; gap: .65rem; line-height: 1.2; text-decoration: none; margin-bottom: .7rem; }
.footer-home .brand-logo { width: 5.3rem; }
.footer-brand p { color: #dedede; }
.footer-column { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 0; }
.footer-heading { font-size: 1.06rem; margin-bottom: .3rem; }
.footer-column a { display: inline-flex; align-items: center; min-height: 44px; padding: .3rem 0; white-space: normal; overflow-wrap: anywhere; }
.footer-column a[aria-current] { text-decoration: underline; }
.copyright { border-top: 1px solid #525252; margin-top: 1.4rem; padding-top: 0.8rem; font-size: 0.85rem; }

nav.service-nav { justify-content: flex-start; gap: 0.2rem 1.45rem; padding-block: 1rem; border-bottom: 1px solid var(--line); }
.service-nav a { color: var(--accent-dark); }
.service-list { padding-block: clamp(0.75rem, 4vw, 2rem); }
.service-detail { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: clamp(1.35rem, 5vw, 4.5rem); padding-block: clamp(2rem, 5.75vw, 4.8rem); }
.service-detail + .service-detail { border-top: 1px solid var(--line); }
.service-detail > img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 0.38rem; }
.service-detail:nth-child(even) > img { grid-column: 2; grid-row: 1; }
.service-detail:nth-child(even) > .service-copy { grid-column: 1; grid-row: 1; }
.service-copy p { margin-top: 0.7rem; color: var(--muted); }
.service-copy ul { margin: 1.1rem 0; padding-left: 1.25rem; }
.service-copy li + li { margin-top: 0.35rem; }
.service-copy li::marker { color: var(--accent); }

@media (max-width: 52rem) {
  .site-bar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .55rem 1rem; }
  #primary-navigation { grid-column: 1 / -1; padding-bottom: .3rem; }
  .inquiry-banner-inner, .home-questions { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  nav { justify-content: flex-start; gap: 0.2rem 0.85rem; }
  nav a { padding-block: 0.58rem; }
  .hero-grid, .page-intro-grid, .split, .contact-grid, .service-detail { grid-template-columns: 1fr; }
  .hero-media img { aspect-ratio: 5 / 4; }
  .service-detail:nth-child(even) > img, .service-detail:nth-child(even) > .service-copy { grid-column: auto; grid-row: auto; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 35rem) {
  .wrap { width: calc(100% - 2rem); }
  .cards, .form-row { grid-template-columns: 1fr; }
  .brand .brand-logo { width: 4.15rem; }
  .service-banner a { flex-basis: 100%; }
  .service-banner a + a { border-top: 1px solid #555; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-media img { aspect-ratio: 4 / 4.3; }
}

@media (prefers-reduced-motion: no-preference) {
  [data-enter], [data-reveal].has-entered { animation: care-enter 420ms ease-out both; }
  .hero-media[data-enter] { animation-delay: 80ms; }
  .page-intro-media[data-enter] { animation-delay: 65ms; }
  .hero-media::after { animation: care-accent 650ms ease-out both; }
  .care-chat-panel:not([hidden]) { animation: care-enter 210ms ease-out both; }
  .care-chat-launcher { transition: transform 180ms ease, box-shadow 180ms ease; }
  .care-chat-launcher:hover { transform: translateY(-2px); box-shadow: 0 .55rem 1.4rem #0004; }
  .card > img, .service-detail > img { transition: filter 190ms ease; }
  .card:hover > img, .service-detail:hover > img { filter: contrast(1.04); }
  @keyframes care-accent {
    from { transform: scaleX(.15); }
    to { transform: scaleX(1); }
  }
  .button, .button-outline { transition: background-color 160ms ease, border-color 160ms ease; }
  @keyframes care-enter {
    from { opacity: .78; transform: translateY(.45rem); }
    to { opacity: 1; transform: translateY(0); }
  }
}


.care-chat {
  position: fixed;
  z-index: 10;
  inset-inline-end: max(1rem, env(safe-area-inset-right));
  inset-block-end: max(1rem, env(safe-area-inset-bottom));
  max-width: calc(100vw - 2rem);
  display: grid;
  justify-items: end;
  gap: .65rem;
}
.care-chat-panel[hidden] { display: none; }
.care-chat-panel {
  width: min(20rem, 100%);
  max-height: calc(100dvh - 5.75rem);
  overflow: auto;
  padding: 1rem;
  border: 1px solid var(--line);
  border-top: 4px solid #075e43;
  border-radius: .55rem;
  background: white;
  box-shadow: 0 .55rem 1.6rem #0003;
}
.care-chat-heading { display: flex; align-items: center; justify-content: space-between; gap: .35rem; }
.care-chat-heading h2 { font: 750 1.15rem/1.25 system-ui, sans-serif; }
.care-chat-panel p { margin: .35rem 0 .8rem; color: var(--muted); }
.care-chat-close { flex: none; width: 44px; height: 44px; background: white; border: 0; border-radius: .3rem; color: var(--ink); font-size: 1.55rem; cursor: pointer; }
.care-chat-launcher, .care-chat-whatsapp { display: inline-flex; align-items: center; gap: .5rem; min-height: 48px; padding: .4rem .85rem .4rem .55rem; background: #e5f5eb; color: #064b36; border: 1px solid #075e43; font-weight: 750; text-decoration: none; }
.care-chat-launcher { border-radius: 2rem; box-shadow: 0 .35rem 1rem #0003; }
.care-chat-whatsapp { border-radius: .3rem; }
.care-chat-launcher:hover, .care-chat-whatsapp:hover { background: #d3efdd; }
.care-chat-call { display: flex; min-height: 44px; align-items: center; width: fit-content; margin-top: .3rem; }
.site-footer { padding-bottom: calc(4.6rem + env(safe-area-inset-bottom)); }
.care-chat-launcher span { line-height: 1.1; }
.care-chat-launcher small { display: block; margin-top: .12rem; font-size: .69em; font-weight: 650; }
html { scroll-padding-bottom: 5rem; }
.hero .button-outline:hover { border-color: var(--paper); }

@font-face {
  font-family: "Coat Editorial Bold";
  src: url("/assets/fonts/latin-modern-roman-12-bold.otf") format("opentype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
h1, h2, .card h3 {
  font-family: "Coat Editorial Bold", Georgia, serif;
  font-weight: 700;
}
body { font-family: Arial, "Helvetica Neue", sans-serif; }
.hero h1 span { color: var(--accent); }
.page-intro h1 span, .heading-accent { color: var(--accent); }
.whatsapp-link { display: inline-flex; align-items: center; gap: .5rem; }
.whatsapp-link img { flex: none; }
.hero-whatsapp { color: var(--paper); min-height: 44px; font-weight: 700; }
.hero-whatsapp img, .site-footer .whatsapp-link img { background: white; border-radius: 50%; }
.planning .card-content { background: var(--soft-gray); }
