:root {
  --red: #c00012;
  --red-deep: #9a0010;
  --red-soft: #f8e8ea;
  --green: #0e412d;
  --green-mid: #165a3f;
  --green-soft: #e8f0ec;
  --cream: #f7f5f2;
  --ink: #1a2420;
  --muted: #5a6b63;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(14, 65, 45, 0.12);
  --radius: 1.25rem;
  --header-h: 4.5rem;
  --font: "Outfit", system-ui, sans-serif;
  --script: "Caveat", cursive;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 1000;
  background: var(--red);
  color: var(--white);
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
}

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

.container {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
}

.eyebrow-light {
  color: #ffb4bc;
}

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.75rem);
  font-weight: 750;
  color: var(--green);
}

h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--green);
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

em {
  font-family: var(--script);
  font-style: normal;
  font-weight: 700;
  color: var(--red);
  font-size: 1.25em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  font-weight: 650;
  font-size: 0.95rem;
  transition: transform 0.35s var(--ease), background 0.25s ease, color 0.25s ease, box-shadow 0.35s var(--ease);
}

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

.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 12px 30px rgba(192, 0, 18, 0.28);
}

.btn-primary:hover {
  background: var(--red-deep);
}

.btn-ghost {
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(6px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn-sm {
  min-height: 2.5rem;
  padding: 0.55rem 1.1rem;
  font-size: 0.88rem;
}

.btn-lg {
  min-height: 3.4rem;
  padding: 0.9rem 1.6rem;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}

.site-header.is-scrolled {
  background: rgba(247, 245, 242, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px rgba(14, 65, 45, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1120px, calc(100% - 2.5rem));
}

.brand img {
  width: clamp(210px, 36vw, 300px);
  height: auto;
  padding: 4px 0;
  filter:
    drop-shadow(0 0 2px rgba(255, 255, 255, 1))
    drop-shadow(0 0 8px rgba(255, 255, 255, 1))
    drop-shadow(0 0 18px rgba(255, 255, 255, 0.95))
    drop-shadow(0 0 36px rgba(255, 255, 255, 0.7))
    drop-shadow(0 0 56px rgba(255, 255, 255, 0.45));
  transition: filter 0.35s ease;
}

.site-header.is-scrolled .brand img {
  filter:
    drop-shadow(0 0 2px rgba(255, 255, 255, 1))
    drop-shadow(0 0 10px rgba(255, 255, 255, 0.95))
    drop-shadow(0 0 22px rgba(255, 255, 255, 0.7))
    drop-shadow(0 1px 4px rgba(14, 65, 45, 0.1));
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav a:not(.btn) {
  font-size: 0.92rem;
  font-weight: 550;
  color: var(--white);
  transition: color 0.2s ease;
}

.site-header.is-scrolled .nav a:not(.btn) {
  color: var(--green);
}

.nav a:not(.btn):hover {
  color: var(--red);
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  position: relative;
  z-index: 120;
}

.nav-toggle span {
  display: block;
  width: 1.35rem;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
  transition: 0.3s ease;
}

.site-header.is-scrolled .nav-toggle span,
.site-header.nav-open .nav-toggle span {
  background: var(--green);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 3rem) 0 0;
  color: var(--white);
  overflow: hidden;
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: hero-zoom 18s var(--ease) infinite alternate;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(14, 65, 45, 0.88) 0%, rgba(14, 65, 45, 0.55) 42%, rgba(192, 0, 18, 0.45) 100%),
    linear-gradient(to top, rgba(10, 30, 22, 0.75) 0%, transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: 6.5rem;
  max-width: 40rem;
  animation: rise 1s var(--ease) both;
}

.hero-kicker {
  margin: 0 0 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.hero-brand {
  margin: 0;
  font-size: clamp(2.8rem, 8vw, 5.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.95;
  color: var(--white);
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.25);
}

.hero-sub {
  margin: 0.85rem 0 1.25rem;
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffc9ce;
}

.hero-lead {
  margin: 0 0 2rem;
  max-width: 28rem;
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  color: rgba(255, 255, 255, 0.92);
}

.hero-lead em {
  color: #fff;
  font-size: 1.35em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 3;
  line-height: 0;
}

.hero-wave svg {
  width: 100%;
  height: clamp(70px, 10vw, 120px);
  display: block;
}

/* Sections */
.section {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
  position: relative;
}

.section-head {
  max-width: 38rem;
  margin-bottom: 3rem;
}

.about {
  background: var(--cream);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.about-copy h2 {
  margin-bottom: 1.25rem;
}

.about-highlights {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.about-highlights li {
  display: grid;
  gap: 0.2rem;
  padding-left: 1.1rem;
  border-left: 3px solid var(--red);
}

.about-highlights strong {
  color: var(--green);
  font-size: 1.05rem;
}

.about-highlights span {
  color: var(--muted);
  font-size: 0.95rem;
}

.about-visual {
  position: relative;
}

.about-photo {
  margin: 0;
  border-radius: calc(var(--radius) + 0.5rem);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pulse-badge {
  position: absolute;
  right: -0.5rem;
  bottom: 1.5rem;
  width: 4.5rem;
  height: 4.5rem;
  display: grid;
  place-items: center;
  background: var(--white);
  border-radius: 50%;
  box-shadow: var(--shadow);
}

.pulse-heart {
  transform-origin: center;
  animation: heartbeat 1.4s ease-in-out infinite;
}

/* Services */
.services {
  background: linear-gradient(165deg, var(--green) 0%, #0a3223 55%, #123f2d 100%);
  color: var(--white);
  padding-top: clamp(5rem, 9vw, 7rem);
  overflow: hidden;
}

.section-wave-top {
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  line-height: 0;
}

.section-wave-top svg {
  width: 100%;
  height: 70px;
  display: block;
}

.services .section-head p,
.services .section-head h2 {
  color: var(--white);
}

.services .section-head p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
}

.services-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem 2rem;
}

.service {
  padding: 0.5rem 0 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.service-icon {
  width: 3rem;
  height: 3rem;
  margin: 1.25rem 0 1rem;
  color: #ffb4bc;
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service h3 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.service p {
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
  font-size: 0.98rem;
}

/* Care */
.care {
  background: var(--cream);
}

.care-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.care-visual {
  border-radius: calc(var(--radius) + 0.5rem);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
}

.care-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.care-steps {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.care-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}

.care-steps span {
  font-size: 1.1rem;
  font-weight: 750;
  color: var(--red);
  line-height: 1.4;
}

.care-steps strong {
  display: block;
  color: var(--green);
  margin-bottom: 0.2rem;
}

.care-steps p {
  margin: 0;
  font-size: 0.95rem;
}

/* CTA band */
.cta-band {
  position: relative;
  background:
    radial-gradient(circle at 15% 20%, rgba(192, 0, 18, 0.18), transparent 40%),
    linear-gradient(120deg, var(--red-soft), #fff 45%, var(--green-soft));
  padding: clamp(3.5rem, 7vw, 5rem) 0 4rem;
  overflow: hidden;
}

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-band h2 {
  max-width: 22ch;
  margin-bottom: 0.5rem;
}

.cta-band p {
  margin: 0;
}

.cta-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  line-height: 0;
}

.cta-wave svg {
  width: 100%;
  height: 50px;
  display: block;
}

/* Contact */
.contact {
  background: var(--cream);
  padding-bottom: 2rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: stretch;
}

.contact-details {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.contact-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(14, 65, 45, 0.12);
  transition: transform 0.3s var(--ease);
}

a.contact-item:hover {
  transform: translateX(4px);
}

.contact-icon {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--red);
  color: var(--white);
  flex-shrink: 0;
}

.contact-item strong {
  display: block;
  color: var(--green);
  margin-bottom: 0.2rem;
}

.contact-item p {
  margin: 0;
  font-size: 0.98rem;
}

.contact-slogan {
  margin-top: 0.5rem;
  font-size: 1.15rem;
  color: var(--green);
}

.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 360px;
  box-shadow: var(--shadow);
  background: var(--green-soft);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
  filter: grayscale(0.15) contrast(1.05);
}

/* Footer */
.site-footer {
  background: var(--green);
  color: rgba(255, 255, 255, 0.88);
  position: relative;
  padding-top: 0;
}

.footer-wave {
  line-height: 0;
  margin-bottom: -1px;
}

.footer-wave svg {
  width: 100%;
  height: clamp(60px, 8vw, 90px);
  display: block;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 2rem;
  padding: 1rem 0 2.5rem;
}

.footer-brand p,
.footer-grid p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.footer-logo {
  width: min(260px, 85%);
  height: auto;
  margin-bottom: 1rem;
  padding: 0.75rem 0.9rem;
  background: var(--white);
  border-radius: 0.85rem;
}

.footer-grid h3 {
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.footer-grid a:hover {
  color: #ffb4bc;
}

.footer-slogan em {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1rem 0 1.4rem;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

/* WhatsApp float */
.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  color: var(--white);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s var(--ease);
}

.whatsapp-float:hover {
  transform: scale(1.08);
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--delay, 0s);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes heartbeat {
  0%,
  100% {
    transform: scale(1);
  }
  15% {
    transform: scale(1.12);
  }
  30% {
    transform: scale(1);
  }
  45% {
    transform: scale(1.08);
  }
}

@keyframes hero-zoom {
  from {
    transform: scale(1.04);
  }
  to {
    transform: scale(1.1);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Responsive */
@media (max-width: 960px) {
  .about-grid,
  .care-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .about-visual {
    order: -1;
    max-width: 28rem;
  }

  .pulse-badge {
    right: 0.5rem;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    inset: 0 0 auto auto;
    width: min(20rem, 86vw);
    height: 100dvh;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    padding: 5.5rem 1.5rem 2rem;
    gap: 1.25rem;
    transform: translateX(105%);
    transition: transform 0.4s var(--ease);
    box-shadow: -20px 0 50px rgba(14, 65, 45, 0.15);
  }

  .site-header.nav-open .nav {
    transform: none;
  }

  .nav a:not(.btn) {
    color: var(--green) !important;
    font-size: 1.1rem;
  }

  .site-header.nav-open .nav-toggle span:nth-child(2) {
    transform: translateY(7px) rotate(45deg);
  }

  .site-header.nav-open .nav-toggle span:nth-child(3) {
    opacity: 0;
  }

  .site-header.nav-open .nav-toggle span:nth-child(4) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero-content {
    padding-bottom: 5rem;
  }

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

  .cta-band-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand img {
    width: 200px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
