@font-face {
  font-family: 'La Belle Aurore';
  src: url('fonts/LaBelleAurore-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Urbanist';
  src: url('fonts/Urbanist-VariableFont_wght.ttf') format('truetype-variations');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bordo: #500208;
  --oliva: #8A7A31;
  --azul: #9DBDD5;
  --malva: #985463;
  --salvia: #D6D2A1;
  --crema: #E9E8DD;
  --tinta: #200F02;

  --display: 'La Belle Aurore', cursive;
  --sans: 'Urbanist', sans-serif;

  --max: 1180px;
  --pad: 6vw;
}

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

body {
  margin: 0;
  overflow-x: hidden;
  padding-top: 63px;
  background: var(--crema);
  color: var(--tinta);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 { font-family: var(--display); font-weight: 400; margin: 0; letter-spacing: 0.01em; }

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

.tag {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  font-weight: 600;
  color: var(--bordo);
  border-bottom: 1px solid var(--bordo);
  padding-bottom: 4px;
  margin-bottom: 1.4rem;
}
.tag--light { color: var(--crema); border-bottom-color: var(--salvia); }

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem var(--pad);
  background: rgba(233, 232, 221, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(32,15,2,0.08);
}
.nav__logo { height: 30px; width: auto; transition: filter .35s ease, opacity .35s ease; }
.nav.is-scrolling .nav__logo { filter: blur(3px); opacity: 0.5; }
.nav__toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 110;
}
.nav__toggle span { width: 24px; height: 2px; background: var(--tinta); transition: transform .25s ease, opacity .25s ease; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: 0.92rem;
}
.nav__links a { white-space: nowrap; }
.nav__links a:not(.nav__cta):hover { color: var(--bordo); }
.nav__cta {
  border: 1px solid var(--bordo);
  padding: 0.5rem 1.1rem;
  color: var(--bordo);
}
.nav__cta:hover { background: var(--bordo); color: var(--crema); }

@media (max-width: 860px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed;
    inset: 0 0 0 30%;
    background: var(--bordo);
    color: var(--crema);
    flex-direction: column;
    justify-content: center;
    gap: 1.6rem;
    font-size: 1.25rem;
    transform: translateX(110%);
    transition: transform .35s ease;
  }
  .nav__links.is-open { transform: translateX(0); }
  .nav__links a { color: var(--crema); }
  .nav__cta { border-color: var(--crema); color: var(--crema); }
  .nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- HERO ---------- */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto;
}
.hero__media { height: 62vh; overflow: hidden; position: relative; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.hero__media--logo { height: 46vh; background: var(--salvia); display: flex; align-items: center; justify-content: center; padding: 3rem; }
.hero__media--logo .hero__logo-mark { width: 62%; max-width: 320px; height: auto; object-fit: contain; }
.hero__content { padding: 2.6rem var(--pad) 3.5rem; }
.hero__eyebrow { font-size: 0.78rem; letter-spacing: 0.14em; color: var(--oliva); font-weight: 600; margin: 0 0 1rem; }
.hero__title { font-size: clamp(2.6rem, 9vw, 4.6rem); color: var(--bordo); line-height: 1.05; }
.hero__lead { max-width: 42ch; margin: 1.4rem 0 2rem; font-size: 1.05rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.btn { padding: 0.85rem 1.6rem; font-size: 0.92rem; font-weight: 600; border: 1px solid var(--bordo); display: inline-block; }
.btn--solid { background: var(--bordo); color: var(--crema); }
.btn--solid:hover { background: var(--tinta); border-color: var(--tinta); }
.btn--line { color: var(--bordo); }
.btn--line:hover { background: var(--bordo); color: var(--crema); }

@media (min-width: 860px) {
  .hero { grid-template-columns: 1fr 1fr; grid-template-rows: auto; min-height: 88vh; align-items: stretch; }
  .hero__media { height: auto; order: 2; }
  .hero__content { order: 1; display: flex; flex-direction: column; justify-content: center; padding: 4rem 4vw; }
}

/* ---------- SOBRE MI ---------- */
.about {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--crema);
}
.about__img { aspect-ratio: 4/5; overflow: hidden; }
.about__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.about__text { padding: 3rem var(--pad) 4rem; }
.about__text h2 { font-size: clamp(2.2rem, 6vw, 3rem); color: var(--bordo); }
.about__role { font-weight: 600; color: var(--oliva); margin: 0.6rem 0 1.6rem; font-size: 0.95rem; letter-spacing: 0.03em; }
.about__text p:not(.about__role) { max-width: 56ch; margin: 0 0 1.1rem; }

@media (min-width: 860px) {
  .about { grid-template-columns: 0.85fr 1fr; align-items: center; }
  .about__img { aspect-ratio: auto; height: 100%; }
  .about__text { padding: 4rem 5vw; }
}

/* ---------- SECTION HEAD ---------- */
.section-head { padding: 4.5rem var(--pad) 2rem; max-width: var(--max); margin: 0 auto; }
.section-head h2 { font-size: clamp(2rem, 5.5vw, 3rem); color: var(--bordo); }
.section-head--dark h2 { color: var(--crema); }

/* ---------- SERVICIOS ---------- */
.services { background: var(--crema); padding-bottom: 2rem; }
.service-list { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad) 3rem; }
.service {
  border-top: 1px solid rgba(80,2,8,0.18);
  padding: 0.4rem 0;
}
.service-list .service:last-child { border-bottom: 1px solid rgba(80,2,8,0.18); }
.service__summary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.2rem;
  align-items: start;
  padding: 1.3rem 0;
  cursor: pointer;
  list-style: none;
}
.service__summary::-webkit-details-marker { display: none; }
.service__summary::after {
  content: '+';
  font-family: var(--display);
  font-size: 1.6rem;
  color: var(--bordo);
  justify-self: end;
  padding-top: 0.1rem;
}
.service[open] .service__summary::after { content: '–'; }
.service__num { font-family: var(--display); font-size: 1.6rem; color: var(--salvia); -webkit-text-stroke: 1px var(--bordo); padding-top: 0.15rem; }
.service__summary-text h3 { font-family: var(--sans); font-weight: 700; font-size: 1.2rem; margin: 0 0 0.35rem; color: var(--tinta); }
.service__intro { margin: 0; max-width: 52ch; color: #5a4b3c; font-size: 0.95rem; }
.service__detail { padding: 0 0 1.8rem; max-width: 62ch; }
.service__detail > p { margin: 0 0 1rem; color: #3a2a1c; }
.service__list { margin: 0 0 1.2rem; padding-left: 1.1rem; }
.service__list li { margin-bottom: 0.6rem; color: #3a2a1c; }
.service__price {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: 1.2rem;
  padding: 0.9rem 1.1rem;
  background: var(--salvia);
}
.service__amount { font-family: var(--display); font-size: 1.5rem; color: var(--bordo); }
.service__amount small { font-family: var(--sans); font-size: 0.75rem; font-weight: 600; }
.service__pay { font-size: 0.78rem; color: #5a5136; font-weight: 600; }

.services__ctaband {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad) 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.services__ctaband p { margin: 0; font-family: var(--display); font-size: 1.3rem; color: var(--bordo); }
.btn--small { padding: 0.6rem 1.2rem; font-size: 0.85rem; }

/* ---------- PICKER (interactive booking) ---------- */
.picker { margin-top: 0.5rem; }
.picker__chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.4rem; }
.chip {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--bordo);
  background: transparent;
  color: var(--bordo);
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .15s ease;
}
.chip:hover { transform: translateY(-2px); }
.chip.is-active { background: var(--bordo); color: var(--crema); }
.picker__preview {
  font-family: var(--display);
  font-size: 1.2rem;
  color: var(--bordo);
  min-height: 2.6em;
  max-width: 50ch;
  margin: 0 0 1.6rem;
  transition: opacity .2s ease;
}

/* ---------- FLOATING CTA ---------- */
.float-cta {
  position: fixed;
  bottom: 1.4rem;
  right: 1.4rem;
  background: var(--bordo);
  color: var(--crema);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(32,15,2,0.28);
  z-index: 90;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease, background .2s ease;
}
.float-cta.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.float-cta:hover { background: var(--tinta); }

@media (max-width: 640px) {
  .service__summary { grid-template-columns: auto 1fr auto; }
  .service__num { font-size: 1.3rem; }
}

/* ---------- METODOLOGIA ---------- */
.method { background: var(--bordo); color: var(--crema); padding-bottom: 4rem; }
.method__steps {
  list-style: none;
  margin: 0 auto;
  padding: 0 var(--pad);
  max-width: var(--max);
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.4rem;
}
.method__steps li { border-top: 1px solid rgba(233,232,221,0.28); padding-top: 1.4rem; }
.method__step-num { font-family: var(--display); font-size: 2.4rem; color: var(--salvia); display: block; margin-bottom: 0.4rem; }
.method__steps h3 { font-family: var(--sans); font-weight: 700; font-size: 1.15rem; margin-bottom: 0.5rem; }
.method__steps p { margin: 0; max-width: 40ch; color: rgba(233,232,221,0.85); }

@media (min-width: 700px) {
  .method__steps { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- PORTFOLIO ---------- */
.portfolio { padding-bottom: 2rem; }
.portfolio__grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad) 4rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
}
.portfolio__item { overflow: hidden; aspect-ratio: 3/4; }
.portfolio__item--tall { aspect-ratio: 3/5; }
.portfolio__item img, .portfolio__item video { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.portfolio__item:hover img, .portfolio__item:hover video { transform: scale(1.04); }

@media (min-width: 700px) {
  .portfolio__grid { grid-template-columns: repeat(3, 1fr); grid-auto-flow: dense; }
  .portfolio__item:nth-child(1) { grid-row: span 2; }
  .portfolio__item:nth-child(4) { grid-row: span 2; }
}

/* ---------- BOOKING ---------- */
.booking { background: var(--salvia); }
.booking__inner { max-width: 760px; margin: 0 auto; padding: 4.5rem var(--pad); text-align: left; }
.booking__inner .tag { color: var(--bordo); border-bottom-color: var(--bordo); }
.booking__inner h2 { color: var(--bordo); font-size: clamp(2rem, 5.5vw, 3rem); margin-bottom: 1rem; }
.booking__inner > p:not(.booking__note) { max-width: 52ch; margin-bottom: 2rem; }
.booking__note { margin-top: 1.6rem; font-size: 0.85rem; color: #5a5136; }

/* ---------- TESTIMONIOS ---------- */
.testimonials__list {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad) 4.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
.testimonials blockquote { margin: 0; border-left: 2px solid var(--bordo); padding-left: 1.3rem; }
.testimonials p { font-family: var(--display); font-size: 1.5rem; color: var(--bordo); margin: 0 0 0.8rem; line-height: 1.3; }
.testimonials cite { font-style: normal; font-size: 0.82rem; color: var(--oliva); font-weight: 600; }

@media (min-width: 860px) {
  .testimonials__list { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- FAQ ---------- */
.faq { background: var(--tinta); color: var(--crema); }
.faq .section-head h2 { color: var(--crema); }
.faq__list { max-width: 760px; margin: 0 auto; padding: 0 var(--pad) 4.5rem; }
.faq__item { border-top: 1px solid rgba(233,232,221,0.25); padding: 1.2rem 0; }
.faq__list .faq__item:last-child { border-bottom: 1px solid rgba(233,232,221,0.25); }
.faq__item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.02rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: '+'; font-family: var(--display); font-size: 1.4rem; color: var(--salvia); margin-left: 1rem; }
.faq__item[open] summary::after { content: '–'; }
.faq__item p { margin: 0.9rem 0 0; max-width: 60ch; color: rgba(233,232,221,0.82); }

/* ---------- FOOTER ---------- */
.footer {
  position: relative;
  text-align: center;
  padding: 5rem var(--pad) 3rem;
  background: var(--tinta) url('img/footer-texture.jpeg') center/cover no-repeat;
  color: var(--crema);
  isolation: isolate;
}
.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(32,15,2,0.55);
  z-index: -1;
}
.footer__logo { height: 76px; width: auto; margin: 0 auto 1.4rem; filter: drop-shadow(0 2px 10px rgba(0,0,0,0.35)); }
.footer__tagline { font-family: var(--display); font-size: 1.4rem; color: var(--crema); margin: 0 0 1.8rem; }
.footer__links { display: flex; justify-content: center; gap: 1.6rem; font-size: 0.88rem; font-weight: 600; margin-bottom: 2.2rem; color: var(--crema); }
.footer__links a:hover { color: var(--salvia); }
.footer__copy { font-size: 0.75rem; color: rgba(233,232,221,0.7); margin: 0; }

/* subtle grain for editorial texture */
.noise-overlay {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  opacity: 0.025;
  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'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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