:root {
  color-scheme: light;
  --ink: #19342e;
  --muted: #64746a;
  --paper: #f7f5ed;
  --white: #fffefa;
  --green: #355d45;
  --gold: #c69b55;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.15;
}

.site-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: 1240px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
}

.brand {
  color: var(--green);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.brand span {
  color: var(--gold);
}

.site-header nav,
.footer-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-header nav a,
.footer-links a {
  text-decoration: none;
}

.site-header nav a:hover,
.footer-links a:hover {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.language-toggle {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--green);
  border-radius: 999px;
  padding: 0;
  color: var(--green);
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.language-toggle span {
  font-size: 1.15rem;
  line-height: 1;
}

.language-toggle:hover {
  color: var(--white);
  background: var(--green);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid #d5dacd;
  border-radius: 50%;
  padding: 0;
  color: var(--ink);
  background: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  width: 19px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
  max-width: 1240px;
  min-height: 570px;
  margin: 0 auto;
  padding: 4rem 2rem 6rem;
}

.hero-visual,
.about-visual {
  min-width: 0;
  margin: 0;
}

.hero h1 {
  max-width: 13ch;
  margin-bottom: 1.25rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 5vw, 5.2rem);
  font-weight: 400;
  letter-spacing: -0.045em;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.1rem;
}

.eyebrow {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-photo {
  width: 100%;
  height: 480px;
  border-radius: 48% 48% 8px 8px;
  object-fit: cover;
}

.photo-credit {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.65rem;
  margin-top: 0.65rem;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.45;
}

.photo-credit a {
  text-underline-offset: 0.18em;
}

.button {
  display: inline-block;
  margin-top: 1rem;
  border: 1px solid var(--green);
  border-radius: 999px;
  padding: 0.9rem 1.4rem;
  color: var(--white);
  background: var(--green);
  text-decoration: none;
  transition: background-color 180ms ease, transform 180ms ease;
}

.button:hover {
  background: var(--ink);
  transform: translateY(-2px);
}

.whatsapp-float {
  position: fixed;
  z-index: 10;
  right: max(1.25rem, env(safe-area-inset-right));
  bottom: max(1.25rem, env(safe-area-inset-bottom));
  display: grid;
  width: 60px;
  height: 60px;
  place-items: center;
  border: 2px solid var(--white);
  border-radius: 50%;
  color: var(--white);
  background: #168c55;
  box-shadow: 0 8px 24px rgb(25 52 46 / 24%);
  transition: transform 180ms ease, background-color 180ms ease;
}

.whatsapp-float:hover {
  background: #0e7042;
  transform: translateY(-3px);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

main > section:not(.hero),
.contact-main > section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

#services {
  background: var(--white);
}

#services h2,
#apropos h2,
.contact-main h1,
.contact-main h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 400;
  letter-spacing: -0.035em;
}

.section-intro {
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.service-card {
  min-height: 250px;
  border: 1px solid #e8e5da;
  border-radius: 8px;
  padding: 1.5rem;
  background: var(--paper);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  box-shadow: 0 16px 36px rgb(25 52 46 / 8%);
  transform: translateY(-4px);
}

.service-number {
  display: inline-block;
  margin-bottom: 2rem;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.service-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.service-card p,
#apropos p {
  color: var(--muted);
}

.notice {
  border-left: 3px solid var(--gold);
  padding: 1rem 1.25rem;
  color: var(--ink);
  background: #eeece2;
}

#apropos {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.8fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}

.about-photo {
  width: 100%;
  min-height: 320px;
  max-height: 430px;
  border-radius: 8px;
  object-fit: cover;
}

.contact-main {
  min-height: 65vh;
  padding-bottom: 4rem;
}

.contact-intro {
  text-align: center;
}

.contact-intro h1 {
  margin-bottom: 0.75rem;
}

.contact-intro > p:last-child {
  color: var(--muted);
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  max-width: 860px !important;
}

.contact-details > h2,
.contact-form,
.contact-details > .notice {
  grid-column: 1 / -1;
}

.contact-details > h2 {
  font-size: 2rem;
}

.contact-method {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  border: 1px solid #e8e5da;
  border-radius: 8px;
  padding: 1.5rem;
  background: var(--white);
  text-decoration: none;
}

.contact-method span,
.form-note {
  color: var(--muted);
}

.contact-method strong {
  color: var(--green);
  overflow-wrap: anywhere;
}

.contact-form {
  display: grid;
  gap: 0.75rem;
  border-radius: 8px;
  padding: clamp(1.25rem, 4vw, 2.5rem);
  background: var(--white);
}

.contact-form h2 {
  margin-bottom: 0.5rem;
  font-size: 2rem;
}

.contact-form label {
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #aeb8ad;
  border-radius: 4px;
  padding: 0.8rem;
  color: var(--ink);
  background: var(--paper);
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .button {
  justify-self: start;
  cursor: pointer;
}

.form-note {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.services-hero {
  padding-bottom: 2rem !important;
}

.services-hero h1 {
  max-width: 16ch;
  margin-bottom: 1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.7rem, 6vw, 4.7rem);
  font-weight: 400;
  letter-spacing: -0.045em;
}

.services-hero > p:last-child {
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.1rem;
}

.services-main > .health-guidance {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.1rem 1.4rem;
}

.service-topics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.service-topic-card {
  border: 1px solid #e8e5da;
  border-radius: 10px;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--white);
}

.service-topic-card > h2 {
  margin-bottom: 1.5rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 400;
}

.service-topic-list {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-topic-list li + li {
  border-top: 1px solid #e8e5da;
  padding-top: 1rem;
}

.service-topic-list h3 {
  margin-bottom: 0.35rem;
  color: var(--green);
  font-size: 1.05rem;
}

.service-topic-list p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.services-contact-cta {
  max-width: 1180px;
  margin: 0 auto 4rem;
  border-radius: 12px;
  padding: clamp(2rem, 5vw, 4rem);
  text-align: center;
  background: #eeece2;
}

.services-contact-cta h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
}

.services-contact-cta p {
  color: var(--muted);
}

.services-cta {
  margin-top: 2rem;
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.service-card:nth-child(2) {
  transition-delay: 80ms;
}

.service-card:nth-child(3) {
  transition-delay: 160ms;
}

.service-card:nth-child(4) {
  transition-delay: 240ms;
}

.contact-method {
  transition: transform 180ms ease, border-color 180ms ease;
}

.contact-method:hover {
  border-color: var(--green);
  transform: translateY(-2px);
}

@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;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 900px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    gap: 2rem;
  }

  .hero-photo {
    height: 390px;
  }
}

@media (max-width: 640px) {
  .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    padding: 1rem 1.25rem;
  }

  .site-header nav {
    display: none;
    grid-row: 2;
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    width: 100%;
    border: 1px solid #e8e5da;
    border-radius: 12px;
    padding: 0.5rem;
    background: var(--white);
  }

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

  .site-header nav a {
    border-radius: 8px;
    padding: 0.7rem 0.8rem;
    font-size: 0.9rem;
  }

  .site-header nav a:hover {
    background: var(--paper);
    text-decoration: none;
  }

  .menu-toggle {
    display: flex;
    grid-row: 1;
    grid-column: 3;
  }

  .brand {
    grid-row: 1;
    grid-column: 1;
  }

  .language-toggle {
    grid-row: 1;
    grid-column: 2;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 3rem 1.25rem 4rem;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 12vw, 4rem);
  }

  .hero-photo {
    height: 320px;
  }

  main > section:not(.hero),
  .contact-main > section {
    padding: 3.5rem 1.25rem;
  }

  .service-grid,
  .contact-details,
  .service-topics {
    grid-template-columns: 1fr;
  }

  .services-main > .health-guidance {
    width: calc(100% - 2.5rem);
  }

  .services-contact-cta {
    width: calc(100% - 2.5rem);
    margin-bottom: 3rem;
  }

  #apropos {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 0;
  }

  .service-number {
    margin-bottom: 1.25rem;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 16px;
  }

  .contact-form .button {
    width: 100%;
  }
}

.site-footer {
  margin-top: 2rem;
  padding: 3.5rem max(1.25rem, calc((100% - 1180px) / 2)) 1.5rem;
  color: var(--white);
  background:
    radial-gradient(ellipse at 92% 10%, rgb(198 155 85 / 12%), transparent 34%),
    var(--green);
}

.footer-content {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 0.8fr));
  gap: clamp(2rem, 6vw, 5rem);
  max-width: 1180px;
  margin: 0 auto;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgb(255 255 255 / 24%);
}

.footer-branding {
  max-width: 25rem;
}

.footer-brand {
  display: inline-block;
  margin-bottom: 0.8rem;
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.045em;
  text-decoration: none;
}

.footer-branding p,
.footer-bottom p {
  margin-bottom: 0;
  color: #e0e9df;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
}

.footer-column h2 {
  margin-bottom: 0.55rem;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 400;
}

.footer-column a {
  color: #e0e9df;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.footer-column a:hover {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.footer-column .footer-whatsapp {
  color: #f0c77f;
  font-weight: 700;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1180px;
  margin: 1.25rem auto 0;
  font-size: 0.85rem;
}

@media (max-width: 760px) {
  .footer-content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.25rem 1.5rem;
  }

  .footer-branding {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .footer-content {
    grid-template-columns: 1fr;
  }

  .footer-branding {
    grid-column: auto;
  }
}
