@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Poppins:wght@600;700&display=swap');

:root {
  --teal: #0f6b5c;
  --teal-dark: #0b4f45;
  --sage: #8fbfa0;
  --amber: #f2a65a;
  --charcoal: #1f2937;
  --slate: #6b7280;
  --off-white: #f7faf9;
  --line: #d9e6e1;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--charcoal); background: #fff; font-family: 'Inter', sans-serif; line-height: 1.6; }
h1, h2, h3, h4, h5, h6 { margin: 0; color: var(--charcoal); font-family: 'Poppins', sans-serif; line-height: 1.2; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }

.skip-link { position: fixed; left: 1rem; top: .75rem; z-index: 100; transform: translateY(-160%); border-radius: 999px; background: var(--charcoal); color: #fff; padding: .65rem 1rem; transition: transform .2s ease; }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid rgba(15,107,92,.1); background: rgba(255,255,255,.96); backdrop-filter: blur(12px); }
.nav-shell { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .72rem; font-family: 'Poppins', sans-serif; font-weight: 700; letter-spacing: -.02em; }
.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; background: var(--teal); color: #fff; box-shadow: 0 10px 18px rgba(15,107,92,.18); }
.brand-copy { display: grid; line-height: 1.05; }
.brand-copy span:last-child { color: var(--teal); font-size: .76rem; font-family: 'Inter', sans-serif; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 1.45rem; font-size: .94rem; color: #53616b; }
.nav-links a { position: relative; padding: .45rem 0; }
.nav-links a::after { position: absolute; right: 0; bottom: 0; left: 0; height: 2px; border-radius: 99px; background: var(--teal); content: ''; transform: scaleX(0); transform-origin: center; transition: transform .2s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--teal); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.menu-toggle { display: none; border: 0; background: transparent; color: var(--teal-dark); padding: .5rem; }
.mobile-menu { display: none; border-top: 1px solid var(--line); background: #fff; }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; border-bottom: 1px solid #edf3f0; padding: .9rem 1.25rem; font-weight: 600; }

.container-wide { width: min(1180px, calc(100% - 2.25rem)); margin-inline: auto; }
.section { padding: 5.25rem 0; }
.section-sm { padding: 3.25rem 0; }
.section-muted { background: var(--off-white); }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; color: var(--teal); font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow::before { width: 30px; height: 2px; background: var(--amber); content: ''; }
.section-heading { max-width: 680px; }
.section-heading h2 { margin-top: .75rem; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.035em; }
.section-heading p { margin-top: 1rem; color: var(--slate); font-size: 1.05rem; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.section-heading.centered .eyebrow { justify-content: center; }
.section-heading.centered .eyebrow::before { display: none; }

.hero { position: relative; min-height: min(760px, 84vh); overflow: hidden; background: var(--teal-dark); color: #fff; }
.hero-slide { position: absolute; inset: 0; display: grid; align-items: center; opacity: 0; visibility: hidden; transition: opacity .55s ease, visibility .55s ease; }
.hero-slide.active { opacity: 1; visibility: visible; }
.hero-slide::before { position: absolute; inset: 0; background-position: center; background-size: cover; content: ''; }
.hero-slide::after { position: absolute; inset: 0; background: rgba(4, 29, 25, .54); content: ''; }
.hero-slide.slide-one::before, .hero-slide.slide-three::before { background-image: url('../images/hero-caregiver.png'); }
.hero-slide.slide-two::before { background-image: url('../images/care-hands.png'); background-position: center 40%; }
.hero-slide.slide-four::before { background-image: url('../images/hero-caregiver.png'); background-position: 76% center; }
.hero-content { position: relative; z-index: 2; width: min(1180px, calc(100% - 2.25rem)); margin-inline: auto; padding: 7rem 0 8.5rem; }
.hero-kicker { display: inline-flex; align-items: center; gap: .65rem; color: #d6ede4; font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.hero-kicker::before { width: 34px; height: 2px; background: var(--amber); content: ''; }
.hero h1 { max-width: 720px; margin-top: 1.2rem; color: #fff; font-size: clamp(2.3rem, 5.3vw, 4.8rem); letter-spacing: -.055em; }
.hero p { max-width: 610px; margin-top: 1.25rem; color: #e7f3ef; font-size: clamp(1rem, 1.5vw, 1.18rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; border: 1px solid transparent; border-radius: 999px; padding: .76rem 1.18rem; font-weight: 700; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--amber); color: #38200c; box-shadow: 0 10px 18px rgba(242,166,90,.18); }
.btn-primary:hover { background: #f4b574; }
.btn-light { border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.12); color: #fff; }
.btn-light:hover { background: rgba(255,255,255,.2); }
.btn-outline { border-color: var(--teal); background: #fff; color: var(--teal); }
.btn-outline:hover { background: #eef7f3; }
.hero-controls { position: absolute; right: max(1.125rem, calc((100vw - 1180px) / 2)); bottom: 5.75rem; z-index: 5; display: flex; gap: .65rem; }
.carousel-arrow { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; background: rgba(255,255,255,.13); color: #fff; }
.carousel-arrow:hover { background: rgba(255,255,255,.25); }
.hero-dots { position: absolute; bottom: 1.85rem; left: 50%; z-index: 5; display: flex; gap: .55rem; transform: translateX(-50%); }
.hero-dot { width: 9px; height: 9px; border: 0; border-radius: 50%; background: rgba(255,255,255,.45); padding: 0; }
.hero-dot.active { width: 28px; border-radius: 99px; background: var(--amber); }

.intro-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 4.5rem; }
.intro-copy p { max-width: 610px; margin-top: 1.25rem; color: var(--slate); font-size: 1.06rem; }
.intro-copy .btn { margin-top: 1.5rem; }
.image-frame { position: relative; overflow: hidden; border-radius: 28px; box-shadow: 0 20px 40px rgba(31,41,55,.12); }
.image-frame img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.image-frame .image-note { position: absolute; right: 1rem; bottom: 1rem; max-width: 200px; border-radius: 18px; background: #fff; padding: .85rem 1rem; box-shadow: 0 12px 24px rgba(31,41,55,.15); font-size: .85rem; font-weight: 700; }
.image-note span { display: block; margin-top: .2rem; color: var(--slate); font-size: .75rem; font-weight: 500; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.service-card, .value-card, .team-card, .testimonial-card, .contact-card { border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 12px 28px rgba(31,41,55,.05); }
.service-card { padding: 1.4rem; transition: transform .2s ease, box-shadow .2s ease; }
.service-card:hover, .team-card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(31,41,55,.1); }
.icon-box { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: #e9f4ef; color: var(--teal); }
.service-card h3 { margin-top: 1.15rem; font-size: 1.12rem; }
.service-card p, .value-card p, .team-card p, .testimonial-card p { margin-top: .55rem; color: var(--slate); font-size: .94rem; }
.text-link { display: inline-flex; align-items: center; gap: .35rem; margin-top: 1rem; color: var(--teal); font-weight: 700; }

.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.value-card { border: 0; background: transparent; box-shadow: none; padding: .35rem; }
.value-card h3 { margin-top: 1rem; font-size: 1.05rem; }

.stats { background: var(--teal); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.stat { border-left: 1px solid rgba(255,255,255,.22); padding-left: 1.25rem; }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat strong { display: block; color: #fff; font-family: 'Poppins', sans-serif; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.05em; }
.stat span { color: #d2eae2; font-size: .92rem; }

.testimonial-wrap { position: relative; }
.testimonial-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.testimonial-card { position: relative; padding: 1.5rem; }
.quote-mark { color: var(--amber); font-family: Georgia, serif; font-size: 3rem; line-height: .65; }
.stars { display: flex; gap: .15rem; color: var(--amber); font-size: .95rem; }
.testimonial-card .stars { margin-top: 1rem; }
.testimonial-card p { min-height: 105px; color: #4b5563; font-size: 1rem; }
.person { display: flex; align-items: center; gap: .7rem; margin-top: 1.15rem; padding-top: 1rem; border-top: 1px solid #edf3f0; }
.avatar { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--sage); color: var(--teal-dark); font-weight: 800; }
.person strong { display: block; font-size: .91rem; }
.person span { display: block; color: var(--slate); font-size: .78rem; }

.cta-band { background: var(--amber); }
.cta-band h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.04em; }
.cta-band p { max-width: 610px; margin: .8rem auto 0; color: #553216; }
.cta-band .btn { margin-top: 1.4rem; background: var(--teal-dark); color: #fff; }
.cta-band .btn:hover { background: var(--teal); }

.page-hero { background: var(--teal); padding: 4.2rem 0; color: #fff; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 4rem); letter-spacing: -.05em; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .65rem; color: #d6ede4; font-size: .9rem; }
.breadcrumb span { color: #fff; }

.split-feature { display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: 4rem; }
.split-feature.reverse { grid-template-columns: 1.08fr .92fr; }
.feature-copy h2 { margin-top: .75rem; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.04em; }
.feature-copy p { margin-top: 1rem; color: var(--slate); }
.check-list { display: grid; gap: .7rem; margin-top: 1.35rem; padding: 0; list-style: none; }
.check-list li { display: flex; gap: .6rem; align-items: flex-start; color: #4b5563; }
.check-list svg { flex: 0 0 auto; margin-top: .25rem; color: var(--teal); }
.timeline { display: grid; gap: 1rem; margin-top: 2rem; }
.timeline-item { display: grid; grid-template-columns: 84px 1fr; gap: 1.25rem; align-items: start; }
.timeline-year { border-radius: 14px; background: #e9f4ef; color: var(--teal); padding: .55rem; text-align: center; font-weight: 800; }
.timeline-item h3 { font-size: 1.08rem; }
.timeline-item p { margin-top: .25rem; color: var(--slate); }

.expanded-services { display: grid; gap: 1rem; }
.expanded-service { display: grid; grid-template-columns: .8fr 1.2fr; align-items: stretch; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: 0 12px 28px rgba(31,41,55,.05); }
.expanded-service:nth-child(even) { grid-template-columns: 1.2fr .8fr; }
.expanded-service:nth-child(even) .expanded-service-media { order: 2; }
.expanded-service-media { min-height: 270px; background: var(--teal-dark); }
.expanded-service-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.expanded-service-copy { align-self: center; padding: 2rem; }
.expanded-service-copy h2 { font-size: 1.55rem; }
.expanded-service-copy p { margin-top: .8rem; color: var(--slate); }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.team-card { overflow: hidden; }
.team-card img { display: block; width: 100%; aspect-ratio: 1/1; object-fit: cover; object-position: center; }
.team-card-copy { padding: 1.15rem; }
.team-card-copy h3 { font-size: 1.12rem; }
.role { color: var(--teal); font-size: .83rem; font-weight: 700; }

.faq { display: grid; gap: .8rem; max-width: 820px; margin: 2rem auto 0; }
.faq-item { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.faq-question { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; border: 0; background: #fff; padding: 1.15rem 1.25rem; color: var(--charcoal); text-align: left; font-weight: 700; }
.faq-question svg { flex: 0 0 auto; color: var(--teal); transition: transform .2s ease; }
.faq-answer { max-height: 0; overflow: hidden; color: var(--slate); transition: max-height .25s ease; }
.faq-answer p { padding: 0 1.25rem 1.15rem; }
.faq-item.open .faq-answer { max-height: 180px; }
.faq-item.open .faq-question svg { transform: rotate(180deg); }

.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 1rem; }
.contact-stack { display: grid; gap: 1rem; }
.contact-card { padding: 1.35rem; }
.contact-card h3 { font-size: 1.05rem; }
.contact-card p { margin-top: .55rem; color: var(--slate); }
.contact-detail { display: flex; gap: .8rem; align-items: flex-start; margin-top: 1rem; }
.contact-detail .icon-box { width: 40px; height: 40px; flex: 0 0 auto; }
.contact-detail strong { display: block; font-size: .9rem; }
.contact-detail a, .contact-detail span { color: var(--slate); font-size: .88rem; }
.form-card { border: 1px solid var(--line); border-radius: 22px; background: #fff; padding: clamp(1.25rem, 3vw, 2rem); box-shadow: 0 12px 28px rgba(31,41,55,.05); }
.form-card h2 { font-size: 1.65rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 1.25rem; }
.field { display: grid; gap: .35rem; }
.field.full { grid-column: 1 / -1; }
.field label { color: #4b5563; font-size: .86rem; font-weight: 700; }
.field input, .field textarea, .field select { width: 100%; border: 1px solid #cbdad4; border-radius: 12px; background: #fbfdfc; padding: .82rem .9rem; color: var(--charcoal); }
.field textarea { min-height: 145px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--teal); outline: 3px solid rgba(15,107,92,.14); }
.form-card .btn { margin-top: 1.1rem; }
.form-status { margin-top: .8rem; color: var(--teal); font-size: .88rem; }
.map-card { overflow: hidden; min-height: 290px; border: 1px solid var(--line); border-radius: 22px; background: #dcece6; }
.map-card iframe { display: block; width: 100%; height: 100%; min-height: 290px; border: 0; filter: saturate(.75); }

.site-footer { background: #123c35; color: #d9ede6; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr .95fr 1.2fr; gap: 2.25rem; }
.footer-brand .brand { color: #fff; }
.footer-brand .brand-mark { background: var(--amber); color: var(--teal-dark); }
.footer-brand p { max-width: 270px; margin-top: 1rem; color: #b7d6cb; font-size: .9rem; }
.footer-title { margin-bottom: .9rem; color: #fff; font-family: 'Poppins', sans-serif; font-size: .95rem; }
.footer-links { display: grid; gap: .55rem; }
.footer-links a { color: #b7d6cb; font-size: .88rem; }
.footer-links a:hover { color: #fff; }
.socials { display: flex; gap: .55rem; margin-top: 1.15rem; }
.socials a { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; color: #fff; }
.socials a:hover { background: rgba(255,255,255,.12); }
.newsletter { display: flex; margin-top: .8rem; }
.newsletter input { min-width: 0; flex: 1; border: 0; border-radius: 10px 0 0 10px; padding: .72rem .8rem; }
.newsletter button { border: 0; border-radius: 0 10px 10px 0; background: var(--amber); color: #38200c; padding: 0 .9rem; font-weight: 800; }
.footer-bottom { margin-top: 3rem; border-top: 1px solid rgba(255,255,255,.13); padding-top: 1.2rem; color: #9ec3b5; font-size: .8rem; }

.whatsapp { position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 30; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 12px 24px rgba(17, 67, 43, .22); }
.whatsapp:hover { transform: translateY(-3px); }
.muted-note { color: var(--slate); font-size: .86rem; }

@media (max-width: 1024px) {
  .nav-links, .nav-shell > .btn { display: none; }
  .menu-toggle { display: inline-flex; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid, .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .section { padding: 4rem 0; }
  .hero { min-height: 650px; }
  .hero-content { padding: 6rem 0 7.5rem; }
  .hero-controls { bottom: 5.5rem; }
  .intro-grid, .split-feature, .split-feature.reverse, .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .split-feature.reverse .feature-media, .expanded-service:nth-child(even) .expanded-service-media { order: 0; }
  .card-grid, .team-grid, .testimonial-track { grid-template-columns: 1fr; }
  .values-grid, .stats-grid { gap: 1rem; }
  .expanded-service, .expanded-service:nth-child(even) { grid-template-columns: 1fr; }
  .expanded-service:nth-child(even) .expanded-service-media { order: 0; }
  .expanded-service-media { min-height: 230px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem 1.25rem; }
}

@media (max-width: 520px) {
  .container-wide, .hero-content { width: min(100% - 1.5rem, 1180px); }
  .brand-copy span:first-child { font-size: .88rem; }
  .brand-mark { width: 36px; height: 36px; }
  .hero h1 { font-size: 2.3rem; }
  .hero p { font-size: 1rem; }
  .hero-actions .btn { width: 100%; }
  .values-grid, .stats-grid, .footer-grid, .form-grid { grid-template-columns: 1fr; }
  .stat, .stat:nth-child(3) { border-left: 0; border-top: 1px solid rgba(255,255,255,.22); padding: 1rem 0 0; }
  .stat:first-child { border-top: 0; padding-top: 0; }
  .field.full { grid-column: auto; }
  .timeline-item { grid-template-columns: 68px 1fr; gap: .8rem; }
}
