/* ===== Amor y Magia · Wedding Planner ===== */
:root {
  --cream: #faf6f0;
  --cream-2: #f2ebe0;
  --ink: #3f3a34;
  --ink-soft: #6f665c;
  --blush: #e6c9b8;
  --terracotta: #c19a45;        /* dorado del logo (acento principal) */
  --terracotta-dark: #a67f2e;   /* dorado oscuro (hover) */
  --sage: #a89a6f;
  --gold: #c9a24b;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(58, 51, 48, 0.12);
  --radius: 16px;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Montserrat', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

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

.container { width: min(1140px, 90%); margin-inline: auto; }

/* ===== Tipografía ===== */
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; }
h2 { font-size: clamp(2rem, 4vw, 3rem); color: var(--ink); }
h3 { font-size: 1.5rem; }
em { font-style: italic; color: var(--terracotta); }

.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--terracotta);
  margin-bottom: 0.8rem;
}

/* ===== Botones ===== */
.btn {
  display: inline-block;
  padding: 0.95rem 2.1rem;
  border-radius: 100px;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.3s ease;
}
.btn--primary { background: var(--terracotta); color: #fff; }
.btn--primary:hover { background: var(--terracotta-dark); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--ghost { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.8); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--block { width: 100%; text-align: center; }

/* ===== Navbar ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
  padding: 1.4rem 0;
}
.nav.scrolled { background: rgba(250, 246, 241, 0.95); backdrop-filter: blur(10px); box-shadow: 0 4px 20px rgba(0,0,0,0.05); padding: 0.8rem 0; }
.nav__inner { width: min(1140px, 90%); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; }
.nav__brand { display: flex; align-items: center; gap: 0.7rem; }
.nav__logo { height: 52px; width: 52px; border-radius: 50%; object-fit: cover; box-shadow: 0 2px 10px rgba(0,0,0,0.12); }
.nav__brand-text { font-family: var(--serif); font-size: 1.4rem; font-weight: 500; color: #fff; letter-spacing: 0.02em; }
.nav.scrolled .nav__brand-text { color: var(--ink); }
.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__links a { font-size: 0.82rem; letter-spacing: 0.08em; color: #fff; font-weight: 400; transition: color 0.2s; }
.nav.scrolled .nav__links a { color: var(--ink); }
.nav__links a:hover { color: var(--terracotta); }
.nav__cta { border: 1px solid currentColor; padding: 0.5rem 1.3rem; border-radius: 100px; }
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav__toggle span { width: 26px; height: 2px; background: #fff; transition: 0.3s; }
.nav.scrolled .nav__toggle span { background: var(--ink); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  color: #fff;
  background:
    linear-gradient(rgba(45,38,34,0.5), rgba(38,31,27,0.66)),
    url('../assets/hero.jpg') center/cover no-repeat,
    linear-gradient(135deg, #6b5a4a, #4a4038);
  padding: 6rem 1.5rem 4rem;
}
.hero__content { max-width: 760px; position: relative; z-index: 2; }
.hero__eyebrow { text-transform: uppercase; letter-spacing: 0.4em; font-size: 0.8rem; margin-bottom: 1.5rem; font-weight: 400; }
.hero__title { font-size: clamp(2.8rem, 7vw, 5.2rem); font-weight: 500; margin-bottom: 1.5rem; text-shadow: 0 2px 24px rgba(0,0,0,0.35); }
.hero__title em { color: #f0d9a8; }
.hero__slogan { font-family: var(--serif); font-style: italic; font-size: clamp(1.35rem, 3vw, 1.9rem); color: #f3ddc4; margin-bottom: 1.4rem; text-shadow: 0 1px 12px rgba(0,0,0,0.3); }
.hero__subtitle { font-size: clamp(1rem, 2vw, 1.25rem); font-weight: 300; max-width: 560px; margin: 0 auto 2.5rem; color: rgba(255,255,255,0.92); text-shadow: 0 1px 10px rgba(0,0,0,0.3); }
.hero__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero__scroll { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); font-size: 1.5rem; color: #fff; z-index: 2; animation: bounce 2s infinite; }
@keyframes bounce { 0%,100%{transform:translate(-50%,0);} 50%{transform:translate(-50%,10px);} }

/* ===== Secciones ===== */
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 3.5rem; }
.section__head .eyebrow { display: block; }
.section__lead { color: var(--ink-soft); margin-top: 1rem; }

/* ===== Sobre nosotras ===== */
.sobre { background: var(--white); }
.sobre__grid { max-width: 720px; margin: 0 auto; text-align: center; }
.sobre__stats { justify-content: center; }
.sobre__img { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/5; background: linear-gradient(135deg, var(--cream-2), #ecdfce); }
.sobre__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2; }
.img-fallback { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; text-align: center; padding: 1.5rem; color: var(--terracotta); }
.img-fallback svg { width: 56px; height: 56px; opacity: 0.65; }
.img-fallback span { font-size: 0.85rem; color: var(--ink-soft); line-height: 1.6; }
.img-fallback code { font-size: 0.78rem; color: var(--terracotta); background: rgba(193,154,69,0.12); padding: 0.15rem 0.5rem; border-radius: 6px; }
.sobre__text p { color: var(--ink-soft); margin-bottom: 1.2rem; }
.sobre__text h2 { margin-bottom: 1.5rem; }
.sobre__stats { list-style: none; display: flex; gap: 2rem; margin-top: 2rem; }
.sobre__stats li { display: flex; flex-direction: column; }
.sobre__stats strong { font-family: var(--serif); font-size: 2.2rem; color: var(--terracotta); }
.sobre__stats span { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-soft); }

/* ===== Servicios ===== */
.servicios { background: var(--cream); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.card {
  background: var(--white); border-radius: var(--radius); padding: 2.5rem 2rem;
  box-shadow: 0 8px 30px rgba(58,51,48,0.06); transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid rgba(192,132,87,0.08);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card__icon { color: var(--terracotta); margin-bottom: 1.1rem; }
.card__icon svg { width: 42px; height: 42px; }
.card h3 { margin-bottom: 0.7rem; }
.card p { color: var(--ink-soft); font-size: 0.95rem; }

/* ===== Proceso ===== */
.proceso { background: var(--white); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; max-width: 960px; margin: 0 auto; }
.value { text-align: center; }
.value__icon { color: var(--terracotta); display: flex; justify-content: center; margin-bottom: 1.1rem; }
.value__icon svg { width: 48px; height: 48px; }
.value h3 { margin-bottom: 0.7rem; font-size: 1.35rem; }
.value p { color: var(--ink-soft); font-size: 0.95rem; }

/* ===== Testimonios ===== */
.testimonios { background: var(--cream-2); }
.testis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; max-width: 900px; margin: 0 auto; align-items: start; }
.testi {
  background: var(--white); border-radius: var(--radius); padding: 2.2rem;
  box-shadow: 0 8px 30px rgba(58,51,48,0.06); display: flex; flex-direction: column; gap: 1rem;
}
.testi__stars { color: var(--gold); letter-spacing: 0.15em; font-size: 1.05rem; }
.testi blockquote { font-family: var(--serif); font-size: 1.28rem; font-style: italic; line-height: 1.5; color: var(--ink); }
.testi figcaption { font-size: 0.92rem; letter-spacing: 0.04em; color: var(--terracotta); font-weight: 500; }

/* ===== FAQ ===== */
.faq { background: var(--cream); }
.faq__list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
.faq__item { background: var(--white); border-radius: 14px; border: 1px solid rgba(192,132,87,0.1); box-shadow: 0 6px 22px rgba(58,51,48,0.05); overflow: hidden; }
.faq__item summary { cursor: pointer; list-style: none; padding: 1.3rem 1.6rem; font-family: var(--serif); font-size: 1.25rem; color: var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 1rem; transition: color 0.2s; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: '+'; font-family: var(--sans); font-size: 1.5rem; color: var(--terracotta); font-weight: 300; transition: transform 0.3s; flex-shrink: 0; }
.faq__item[open] summary { color: var(--terracotta); }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__answer { padding: 0 1.6rem 1.4rem; }
.faq__answer p { color: var(--ink-soft); font-size: 0.97rem; }

/* ===== Contacto ===== */
.contacto { background: var(--white); }
.contacto__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 4rem; align-items: start; }
.contacto__intro h2 { margin-bottom: 1.2rem; }
.contacto__intro p { color: var(--ink-soft); margin-bottom: 2rem; }
.contacto__data { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.contacto__data li { display: flex; align-items: center; gap: 0.85rem; color: var(--ink-soft); }
.contacto__ico { color: var(--terracotta); display: inline-flex; flex-shrink: 0; }
.contacto__ico svg { width: 22px; height: 22px; }
.contacto__data a:hover { color: var(--terracotta); }
.contacto__wa { color: var(--sage); font-weight: 500; margin-left: 0.15rem; }

/* ===== Formulario ===== */
.form { background: var(--cream); padding: 2.5rem; border-radius: var(--radius); box-shadow: var(--shadow); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form__field { margin-bottom: 1.2rem; display: flex; flex-direction: column; gap: 0.4rem; }
.form__field label { font-size: 0.8rem; font-weight: 500; letter-spacing: 0.04em; color: var(--ink); }
.form input, .form select, .form textarea {
  font-family: var(--sans); font-size: 0.95rem; padding: 0.85rem 1rem;
  border: 1px solid rgba(58,51,48,0.15); border-radius: 10px; background: #fff; color: var(--ink);
  transition: border 0.2s, box-shadow 0.2s; width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--terracotta); box-shadow: 0 0 0 3px rgba(192,132,87,0.12);
}
.form textarea { resize: vertical; }
.form__check { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 1.5rem; cursor: pointer; }
.form__check input { width: auto; margin-top: 3px; }
.form__check a { color: var(--terracotta); text-decoration: underline; }
.form__hp { position: absolute; left: -9999px; }
.form__note { margin-top: 1rem; padding: 0.9rem 1rem; border-radius: 10px; font-size: 0.9rem; }
.form__note.ok { background: #e7f0e3; color: #4a6b3a; }
.form__note.err { background: #f6e0dd; color: #a5493c; }

/* ===== Footer ===== */
.footer { background: var(--ink); color: #e9e2db; padding: 3rem 0; text-align: center; }
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 0.8rem; }
.footer__brand { display: flex; align-items: center; gap: 0.7rem; }
.footer__brand img { height: 48px; width: 48px; border-radius: 50%; object-fit: cover; }
.footer__brand p { font-family: var(--serif); font-size: 1.3rem; }
.footer__brand em { color: var(--blush); }
.footer__slogan { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--blush); }
.footer__copy { font-size: 0.82rem; opacity: 0.75; }
.footer__copy a { color: var(--blush); }
.footer__made { font-size: 0.76rem; color: rgba(233,226,219,0.7); letter-spacing: 0.05em; margin-top: 0.3rem; }
.footer__made span { color: var(--blush); font-weight: 500; }

/* ===== Reveal animación ===== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .sobre__grid, .contacto__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .cards, .testis { grid-template-columns: repeat(2, 1fr); }
  .values { grid-template-columns: 1fr; gap: 2rem; max-width: 460px; }
}
@media (max-width: 640px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream); flex-direction: column; gap: 0; padding: 1rem 0;
    box-shadow: var(--shadow); transform: translateY(-10px); opacity: 0; pointer-events: none; transition: 0.3s;
  }
  .nav__links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav__links a { color: var(--ink); padding: 0.9rem 2rem; width: 100%; }
  .cards, .testis { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .form { padding: 1.6rem; }
  .sobre__stats { flex-wrap: wrap; gap: 1.5rem; }
}
