/* ============ Tokens ============ */
:root {
  --black:      #0E0C0A;
  --charcoal:   #1B1714;
  --ivory:      #F6F1E7;
  --ivory-dim:  #EDE5D6;
  --gold:       #C6A15B;
  --gold-light: #E9D9AF;
  --bronze:     #8B5A2B;
  --rose:       #D8B9A3;
  --ink:        #241F1A;

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 450;
  margin: 0 0 0.4em;
  color: var(--ink);
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; }

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9em 1.9em;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn--gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 60%, var(--bronze));
  color: var(--black);
}
.btn--gold:hover { transform: translateY(-2px); }
.btn--line {
  border-color: var(--ink);
  color: var(--ink);
}
.btn--line:hover { background: var(--ink); color: var(--ivory); }
.btn--ghost {
  border-color: var(--gold);
  color: var(--ivory);
  font-size: 0.85rem;
  padding: 0.7em 1.5em;
}
.btn--ghost:hover { background: var(--gold); color: var(--black); }

/* ============ Nav ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem clamp(1.25rem, 4vw, 3.5rem);
  background: linear-gradient(to bottom, rgba(14,12,10,0.85), rgba(14,12,10,0));
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--serif);
  font-size: 1.3rem;
  letter-spacing: 0.06em;
  color: var(--ivory);
}
.nav__mark { width: 34px; height: 34px; object-fit: contain; }
.nav__links {
  display: flex;
  gap: 2.1rem;
}
.nav__links a {
  color: var(--ivory-dim);
  font-size: 0.92rem;
}
.nav__links a:hover { color: var(--gold-light); }
.nav__burger {
  display: none;
  background: none;
  border: none;
  width: 30px;
  height: 22px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  padding: 0;
}
.nav__burger span { display: block; height: 2px; background: var(--ivory); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--black);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  transform: translateY(-100%);
  transition: transform 0.35s ease;
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a {
  color: var(--ivory);
  font-family: var(--serif);
  font-size: 1.6rem;
}

/* ============ Hero ============ */
.hero {
  position: relative;
  background: radial-gradient(120% 90% at 80% 10%, #241d15 0%, var(--black) 60%);
  color: var(--ivory);
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  padding: 7rem clamp(1.25rem, 4vw, 3.5rem) 5rem;
  overflow: hidden;
}
.hero__content { max-width: 620px; position: relative; z-index: 2; }
.hero__eyebrow {
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  color: var(--gold-light);
  margin-bottom: 1.4rem;
}
.hero__title {
  font-size: clamp(2.6rem, 5.2vw, 4.6rem);
  line-height: 1.04;
  color: var(--ivory);
  margin-bottom: 0.6em;
}
.hero__sub {
  font-size: 1.1rem;
  color: var(--ivory-dim);
  max-width: 480px;
  margin-bottom: 2.2rem;
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__forms {
  margin-top: 1.6rem;
  font-size: 0.85rem;
  color: var(--ivory-dim);
}
.hero__forms a {
  color: var(--gold-light);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 1px;
}
.hero__forms a:hover { color: var(--ivory); }
.hero__statue {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: 100%;
}
.hero__statue-img {
  width: min(70%, 420px);
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.55));
}
.curve-divider {
  position: absolute;
  bottom: -1px; left: 0;
  width: 100%;
  height: 80px;
}
.curve-divider path { fill: var(--ivory); }

/* ============ Philosophy ============ */
.philosophy {
  background: var(--ivory);
  padding: 6rem clamp(1.25rem, 4vw, 3.5rem);
  max-width: var(--container);
  margin: 0 auto;
}
.doctor {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: center;
  margin-bottom: 3.5rem;
}
.doctor__eyebrow {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--bronze);
  margin-bottom: 0.8rem;
}
.doctor__cv-note {
  font-size: 0.85rem;
  color: #a99a86;
  font-style: italic;
}
.credentials {
  margin-top: 2rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--rose);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.8rem;
}
.credentials__col h3 {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 0.7rem;
}
.credentials__col ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.credentials__col li {
  font-size: 0.86rem;
  color: #4b453d;
  line-height: 1.45;
  padding-left: 0.9rem;
  position: relative;
}
.credentials__col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
}

/* Carousel */
.doctor__carousel {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 6px;
  overflow: hidden;
  background: var(--charcoal);
}
.doctor__track {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease;
}
.doctor__slide {
  min-width: 100%;
  height: 100%;
}
.doctor__slide img { width: 100%; height: 100%; object-fit: cover; }
.doctor__slide--placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: linear-gradient(160deg, #241d15, var(--charcoal) 70%);
  color: var(--ivory-dim);
  font-size: 0.85rem;
  text-align: center;
  padding: 2rem;
}
.doctor__placeholder-mark { width: 70px; height: 70px; opacity: 0.55; }
.doctor__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(14,12,10,0.55);
  color: var(--ivory);
  border: 1px solid rgba(198,161,91,0.4);
  width: 38px; height: 38px;
  border-radius: 50%;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}
.doctor__nav--prev { left: 0.9rem; }
.doctor__nav--next { right: 0.9rem; }
.doctor__nav:hover { background: var(--gold); color: var(--black); }
.doctor__dots {
  position: absolute;
  bottom: 1rem;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}
.doctor__dots button {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(246,241,231,0.35);
  cursor: pointer;
  padding: 0;
}
.doctor__dots button.active { background: var(--gold); }
.philosophy__text h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  max-width: 460px;
}
.philosophy__text p {
  color: #4b453d;
  max-width: 460px;
  font-size: 1.02rem;
}
.philosophy__stats {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  border-left: 1px solid var(--rose);
  padding-left: 2.2rem;
}
.stat__num {
  display: block;
  font-family: var(--serif);
  font-size: 2.4rem;
  color: var(--bronze);
}
.stat__label {
  font-size: 0.9rem;
  color: #6b6156;
}
.philosophy__ig {
  display: inline-block;
  margin-top: 1.4rem;
  font-size: 0.88rem;
  color: var(--bronze);
  border-bottom: 1px solid var(--rose);
  padding-bottom: 2px;
}
.philosophy__ig:hover { color: var(--ink); border-color: var(--bronze); }

/* ============ Section heads ============ */
.section-head {
  max-width: 560px;
  margin: 0 auto 3rem;
  text-align: center;
}
.section-head h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.section-head p { color: #6b6156; }
.section-head--light p { color: var(--ivory-dim); }
.section-head--light h2 { color: var(--ivory); }

/* ============ Services ============ */
.services {
  background: var(--ivory);
  padding: 2rem clamp(1.25rem, 4vw, 3.5rem) 7rem;
  max-width: var(--container);
  margin: 0 auto;
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.service-card {
  background: var(--charcoal);
  color: var(--ivory);
  padding: 2.2rem 1.8rem;
  border-radius: 4px;
  border-top: 2px solid var(--gold);
}
.service-card h3 {
  font-size: 1.15rem;
  color: var(--gold-light);
  margin-bottom: 0.5em;
}
.service-card p {
  color: var(--ivory-dim);
  font-size: 0.94rem;
  margin: 0;
}

/* ============ Process ============ */
.process {
  background: var(--black);
  color: var(--ivory);
  padding: 6rem clamp(1.25rem, 4vw, 3.5rem);
}
.process__list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: var(--container);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(198,161,91,0.25);
}
.process__item {
  background: var(--black);
  padding: 2.4rem 1.8rem;
}
.process__num {
  font-family: var(--serif);
  color: var(--gold);
  font-size: 1.3rem;
  display: block;
  margin-bottom: 1rem;
}
.process__item h3 { color: var(--ivory); font-size: 1.05rem; }
.process__item p { color: var(--ivory-dim); font-size: 0.9rem; margin: 0; }

/* ============ Team / Coordinadoras ============ */
.team {
  background: var(--ivory-dim);
  padding: 6rem clamp(1.25rem, 4vw, 3.5rem);
  max-width: var(--container);
  margin: 0 auto;
  border-radius: 4px;
}
.team__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.team-card {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  background: var(--ivory);
  border: 1px solid rgba(139,90,43,0.18);
  border-radius: 4px;
  padding: 1.6rem 1.5rem;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.team-card:hover { border-color: var(--bronze); transform: translateY(-2px); }
.team-card--accent { background: var(--rose); border-color: var(--bronze); }
.team-card__region {
  font-size: 0.78rem;
  color: var(--bronze);
}
.team-card h3 {
  font-size: 1.05rem;
  margin: 0;
}
.team-card__link {
  font-size: 0.82rem;
  color: #6b6156;
  margin-top: 0.3rem;
}
.team-card:hover .team-card__link { color: var(--bronze); }

/* ============ Testimonials ============ */
.testimonials {
  background: var(--ivory);
  padding: 6rem clamp(1.25rem, 4vw, 3.5rem);
  max-width: var(--container);
  margin: 0 auto;
}
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}
.quote {
  margin: 0;
  padding: 2rem 1.8rem;
  background: var(--rose);
  border-radius: 4px;
}
.quote p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--ink);
}
.quote cite {
  font-style: normal;
  font-size: 0.82rem;
  color: #6b4a30;
}

/* ============ Contact ============ */
.contact {
  position: relative;
  background: var(--black);
  color: var(--ivory);
  padding: 3rem clamp(1.25rem, 4vw, 3.5rem) 6rem;
}
.curve-divider--top path { fill: var(--ivory); }
.contact__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  padding-top: 4rem;
}
.contact__info h2 { color: var(--ivory); font-size: clamp(1.8rem, 3vw, 2.3rem); }
.contact__info p { color: var(--ivory-dim); max-width: 420px; }
.contact__list {
  list-style: none;
  margin: 2rem 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact__list li {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid rgba(198,161,91,0.25);
  padding-bottom: 0.8rem;
}
.contact__list span {
  font-size: 0.78rem;
  color: var(--gold-light);
  margin-bottom: 0.25rem;
}
.contact__list a:hover { color: var(--gold-light); }
.contact__social { display: flex; gap: 1.5rem; }
.contact__social a {
  color: var(--gold-light);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  font-size: 0.9rem;
}

.contact__form {
  background: var(--charcoal);
  padding: 2.2rem;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.contact__form label {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--ivory-dim);
}
.contact__form input,
.contact__form select,
.contact__form textarea {
  background: var(--black);
  border: 1px solid rgba(198,161,91,0.3);
  border-radius: 4px;
  padding: 0.75em 0.9em;
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 0.95rem;
}
.contact__form input:focus,
.contact__form select:focus,
.contact__form textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}
.contact__form button { margin-top: 0.4rem; }
.contact__note {
  font-size: 0.78rem;
  color: #a99a86;
  margin: 0;
}

/* ============ Footer ============ */
.footer {
  background: var(--black);
  color: var(--ivory-dim);
  text-align: center;
  padding: 3rem 1.5rem 2.5rem;
}
.footer__mark { width: 42px; margin: 0 auto 1rem; opacity: 0.85; }
.footer p { margin: 0.2em 0; font-size: 0.85rem; }
.footer__tagline { font-family: var(--serif); font-style: italic; color: var(--gold-light); font-size: 1rem; }
.footer__copy { font-size: 0.75rem; color: #6b6156; margin-top: 1rem; }

/* ============ Responsive ============ */
@media (max-width: 980px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .mobile-menu { display: flex; }

  .hero {
    grid-template-columns: 1fr;
    text-align: left;
    padding-top: 8rem;
  }
  .hero__statue { order: -1; height: auto; margin-bottom: 2rem; }
  .hero__statue-img { width: 220px; margin: 0 auto; }

  .doctor { grid-template-columns: 1fr; }
  .doctor__carousel { max-width: 340px; margin: 0 auto; }
  .credentials { grid-template-columns: 1fr; }
  .philosophy__stats { border-left: none; border-top: 1px solid var(--rose); padding-left: 0; padding-top: 1.8rem; flex-direction: row; flex-wrap: wrap; }

  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .process__list { grid-template-columns: repeat(2, 1fr); }
  .testimonials__grid { grid-template-columns: 1fr; }
  .team__grid { grid-template-columns: repeat(2, 1fr); }
  .contact__inner { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 560px) {
  .services__grid { grid-template-columns: 1fr; }
  .process__list { grid-template-columns: 1fr; }
  .team__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
