/* Armonía Animal — responsive styles */
:root {
  --sage: #52683d;
  --sage-dark: #344629;
  --cream: #f8f5ed;
  --paper: #fffdf8;
  --paper: #edf5e6;
  --text: #273021;
  --muted: #66705d;
  --line: #dfe4d4;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: "Montserrat", system-ui, sans-serif;
  line-height: 1.7;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.imperial-script-regular {
  font-family: "Imperial Script", cursive;
  font-weight: 400;
  font-style: normal;
}

/* El span actúa como el contenedor relativo */
.span-logo {
  position: relative; /* Necesario para que el hijo absoluto se refiera a él */
  display: inline-block; /* Recomendado para spans que contienen elementos posicionados */
  vertical-align: top; /* Opcional, para alinear verticalmente */
  /*padding: 10px; /* Espacio interno */
}

/* El objeto hijo se posiciona absolutamente dentro del span */
.titulo-logo {
  display: block;
  font-weight: bold;
  font-size: 3em;
}

/* El objeto hijo se posiciona absolutamente dentro del span */
.slogan-logo {
  position: absolute;
  font-size: 1em;
  bottom: 10px;       /* Distancia desde la parte superior del span */
  left: 50%;      /* Distancia desde la izquierda del span */
  transform: translateX(-50%);
}


.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  /*justify-content: space-between;*/
  justify-content: center;
  gap: 2rem;
  max-width: var(--max);
  max-width: 100%;
  margin: auto;
  padding: 14px 24px;
  background: rgba(255,253,248,.8);
  backdrop-filter: blur(12px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--sage-dark);
}
.brand-mark { font-size: 2rem; }
.brand strong {
  display: block;
  font: 600 2rem/1 "Cormorant Garamond", serif;
}
.brand em {
  display: block;
  margin-top: 4px;
  font-style: normal;
  font-size: .72rem;
  letter-spacing: .28em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: .86rem;
}
.nav a { text-decoration: none; }
.nav a:not(.nav-cta):hover { color: var(--sage); }
.nav-cta, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .8rem 1.15rem;
  border-radius: 999px;
  color: white !important;
  background: var(--sage);
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(52,70,41,.12);
}
.menu-toggle { display: none; border: 0; background: none; font-size: 1.5rem; }

.inicio-logo {
  /*display: grid;
  grid-template-columns: .92fr 1.08fr;
  min-height: 480px;
  max-width: 1440px;*/
  margin: auto;
  /*background: var(--cream);*/
}
.hero {
  display: grid;
  grid-template-columns: 40% 60%;
  min-height: 680px;
  max-width: 1440px;
  margin: auto;
  padding: 90px 24px;
  background: var(--cream);
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 70px clamp(28px, 6vw, 90px);
}
.eyebrow, .section-kicker {
  margin: 0 0 1rem;
  color: var(--sage);
  font-size: .75rem;
  letter-spacing: .2em;
  font-weight: 600;
}
h1, h2, .footer-title {
  font-family: "Cormorant Garamond", Georgia, serif;
}
h1 {
  margin: 0;
  color: var(--sage-dark);
  font-size: clamp(3rem, 4vw, 4rem);
  line-height: .9;
}
h1 span {
  display: block;
  margin-top: 1rem;
  font-style: italic;
  font-weight: 500;
  font-size: .66em;
}
.lead {
  max-width: 530px;
  margin: 2rem 0;
  color: var(--muted);
  font-size: 1.03rem;
}
.button { align-self: flex-start; }
.hero-image {
  min-height: 680px;
  overflow: hidden;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
  border-radius: 100px 100px 50px 100px;
}

.section {
  max-width: var(--max);
  margin: auto;
  padding: 90px 24px;
}
.about {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  align-items: center;
  gap: clamp(40px, 7vw, 90px);
}
.about-photo img {
  width: min(100%, 450px);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 40% 40% 40% 10%;
}
h2 {
  color: var(--sage-dark);
  font-size: clamp(2.4rem, 4vw, 3.7rem);
  line-height: 1;
  margin: .25rem 0 1.4rem;
}
.about-copy p { max-width: 680px; }
.promise {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 70px 24px;
  text-align: center;
  background: #eef1e5;
}
.promise-icon {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border: 1px solid var(--sage);
  border-radius: 50%;
  color: var(--sage);
  font-size: 2rem;
}
.promise p {
  max-width: 760px;
  margin: 0;
  font: 500 clamp(1.7rem, 3vw, 2.5rem)/1.15 "Cormorant Garamond", serif;
  color: var(--sage-dark);
}

.therapy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
  padding: 75px 24px;
}
.therapy-card {
  padding: 40px;
  text-align: center;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 28px;
}
.card-icon {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  margin: 0 auto 20px;
  border: 1px solid #aab79b;
  border-radius: 50%;
  color: var(--sage);
  font-size: 1.8rem;
}
.therapy-card h2 { margin-bottom: .8rem; font-size: 2.4rem; }
.therapy-card p { margin: 0; color: var(--muted); }

.footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  padding: 55px max(24px, calc((100vw - var(--max)) / 2));
  color: #f8f6ed;
  background: var(--sage-dark);
}
.footer-title {
  margin: 0 0 .3rem;
  font-size: 2rem;
}
.footer p { margin-top: .25rem; }
.contact {
  display: flex;
  flex-direction: column;
  gap: .45rem;
}
.contact a { color: white; text-decoration: none; }
.contact a:hover { text-decoration: underline; }
.copyright {
  grid-column: 1 / -1;
  margin: 1rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.2);
  font-size: .78rem;
  opacity: .8;
}

@media (max-width: 820px) {
  .site-header { padding: 12px 18px; }
  .menu-toggle { display: block; color: var(--sage-dark); }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    background: var(--paper);
    border-top: 1px solid var(--line);
    box-shadow: 0 14px 25px rgba(0,0,0,.08);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: .45rem 0; }
  .nav-cta { text-align: center; }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-copy { padding: 58px 24px 35px; }
  .hero-image { min-height: 430px; }
  .hero-image img { object-position: 67% center; width: min(88vw, 390px); }

  .about {
    grid-template-columns: 1fr;
    padding-top: 65px;
  }
  .about-photo { display: flex; justify-content: center; }
  .about-photo img { width: min(88vw, 390px); }

  .promise { flex-direction: column; }
  .therapy-grid { grid-template-columns: 1fr; padding-top: 50px; }
  .footer { grid-template-columns: 1fr; }
  .copyright { grid-column: auto; }
}

@media (max-width: 480px) {
  .brand strong { font-size: 1.55rem; }
  .brand em { font-size: .58rem; }
  h1 { font-size: 3rem; }
  /*.hero-image { min-height: 430px; margin: 50px;}*/
  .therapy-card { padding: 30px 22px; }
}
