/* Desenreda Tu Viaje — sistema «Estudio» (ver brand/BRAND.md) */
:root {
  --paper: #F7F1E8;
  --paper-deep: #F1E8DA;
  --card: #FFFFFF;
  --ink: #3A3129;
  --ink-soft: #57493A;
  --muted: #837767;
  --apricot: #E28F4F;
  --apricot-deep: #C96F2E;
  --blush: #F3D8CB;
  --butter: #F6E3B4;
  --sage: #D6DFC8;
  --frame-wood: #C9A87C;
  --footer: #2E2620;
  --shadow-card: 0 14px 34px -22px rgba(58, 49, 41, .35);
  --shadow-photo: 0 24px 48px -26px rgba(58, 49, 41, .4);
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Avenir Next", Avenir, Futura, "Century Gothic", "Segoe UI", system-ui, sans-serif;
  font-size: 1.02rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
section { padding: 78px 0 0; scroll-margin-top: 90px; }

.label {
  font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--apricot-deep);
}
.serif-it { font-family: Georgia, "Iowan Old Style", "Times New Roman", serif; font-style: italic; font-weight: 400; }
h2 {
  font-size: clamp(1.65rem, 3.4vw, 2.25rem);
  font-weight: 700; letter-spacing: -.012em; line-height: 1.22;
  margin: 12px 0 8px; text-wrap: balance;
}
.lead { color: var(--muted); max-width: 56ch; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 30;
  background: rgba(247, 241, 232, .92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(58, 49, 41, .08);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 14px 24px; max-width: 1040px; margin: 0 auto;
}
.brand { font-weight: 700; font-size: 1rem; letter-spacing: .01em; text-decoration: none; color: var(--ink); }
.brand .serif-it { color: var(--apricot-deep); }
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a {
  font-size: .88rem; font-weight: 600; color: var(--ink-soft); text-decoration: none;
}
.nav-links a:hover { color: var(--apricot-deep); }
.nav-links a:focus-visible { outline: 2px solid var(--apricot-deep); outline-offset: 4px; }
.nav-links a[aria-current="page"] { color: var(--apricot-deep); }
.nav-cta {
  font-size: .86rem; font-weight: 600; color: var(--apricot-deep) !important;
  border: 1.5px solid var(--apricot); border-radius: 999px; padding: 8px 18px;
}
.nav-cta:hover { background: var(--apricot); color: #fff !important; }
@media (max-width: 760px) { .nav-links a:not(.nav-cta):not(.nav-keep) { display: none; } }

/* ---------- botones ---------- */
.cta-row { display: flex; gap: 14px; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 30px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--apricot); color: #fff; font-weight: 600; font-size: 1rem;
  text-decoration: none; padding: 14px 28px; border-radius: 14px;
  box-shadow: 0 16px 34px -16px rgba(201, 111, 46, .65);
  transition: background .15s ease, transform .15s ease;
}
.btn:hover { background: var(--apricot-deep); transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--apricot-deep); font-weight: 600; font-size: 1rem;
  text-decoration: none; padding: 12.5px 26px; border-radius: 14px;
  border: 1.5px solid var(--apricot);
  transition: background .15s ease, color .15s ease;
}
.btn-ghost:hover { background: var(--apricot); color: #fff; }
.btn-ghost:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.btn svg, .btn-ghost svg { width: 19px; height: 19px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.hero-note { display: block; margin-top: 14px; color: var(--muted); font-size: .92rem; }

/* ---------- hero ---------- */
.hero { padding: 76px 0 0; text-align: center; }
h1 {
  font-size: clamp(2.4rem, 6vw, 4.05rem);
  line-height: 1.08; font-weight: 700; letter-spacing: -.016em;
  max-width: 19ch; margin: 20px auto 0; text-wrap: balance;
}
h1 em { font-family: Georgia, "Iowan Old Style", serif; font-style: italic; font-weight: 400; color: var(--apricot-deep); }
.hero-sub { margin: 22px auto 0; max-width: 52ch; color: var(--muted); font-size: 1.08rem; }

.trio { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 18px; align-items: end; padding: 58px 0 0; }
.ph { position: relative; overflow: hidden; display: grid; place-items: end center; }
.trio .ph { border-radius: 170px 170px 14px 14px; box-shadow: var(--shadow-photo); }
.trio .ph:nth-child(1) { aspect-ratio: 3/3.7; }
.trio .ph:nth-child(2) { aspect-ratio: 3/3.9; }
.trio .ph:nth-child(3) { aspect-ratio: 3/3.5; }
.bgph { background-size: cover; background-repeat: no-repeat; background-position: center; }
.img-dayane { background-image: url("../img/dayane-mickey.jpg"); }
.im-pandora { background-image: url("../img/pandora-animal-kingdom.jpg"); }
.im-epcot-ball { background-image: url("../img/spaceship-earth-epcot.jpg"); background-position: center 55%; }
.im-dayane-epcot { background-image: url("../img/dayane-epcot.jpg"); background-position: center 30%; }
.trio .img-dayane { background-position: center 30%; }

.trust { text-align: center; padding: 40px 0 0; }
.trust p {
  font-size: .78rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted);
}
.trust p b { color: var(--ink-soft); font-weight: 700; }
.trust .dot { color: var(--apricot); padding: 0 10px; }

/* ---------- destinos ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin-top: 34px; }
.card {
  background: var(--card); border-radius: 18px; padding: 26px 24px;
  box-shadow: var(--shadow-card);
}
.icon-chip {
  width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 16px;
}
.icon-chip svg { width: 26px; height: 26px; stroke: var(--ink-soft); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.chip-blush { background: var(--blush); }
.chip-butter { background: var(--butter); }
.chip-sage { background: var(--sage); }
.card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; }
.card p { color: var(--muted); font-size: .95rem; }
.card-feat {
  grid-column: 1 / -1;
  background: var(--card); border-radius: 18px; box-shadow: var(--shadow-card);
  display: grid; grid-template-columns: 6px 1fr; overflow: hidden;
}
.card-feat .bar { background: linear-gradient(180deg, var(--apricot), var(--apricot-deep)); }
.card-feat .inner { padding: 28px 26px; display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; }
.card-feat h3 { font-size: 1.35rem; font-weight: 700; margin-bottom: 6px; }
.card-feat p { color: var(--muted); max-width: 62ch; }
.tag {
  display: inline-block; margin-top: 12px;
  font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--apricot-deep); background: var(--blush);
  padding: 5px 12px; border-radius: 999px;
}
@media (max-width: 640px) { .card-feat .inner { grid-template-columns: 1fr; } }

/* ---------- proceso ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(235px, 1fr)); gap: 16px; margin-top: 34px; counter-reset: p; }
.step {
  background: var(--card); border-radius: 18px; padding: 26px 24px;
  box-shadow: var(--shadow-card); position: relative;
}
.step::before {
  counter-increment: p; content: counter(p);
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px;
  background: var(--butter); color: var(--ink); font-weight: 700; font-size: 1.05rem;
}
.step h3 { margin: 16px 0 6px; font-size: 1.1rem; font-weight: 700; }
.step p { color: var(--muted); font-size: .95rem; }

/* ---------- galería ---------- */
.gal-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.gal-nav { display: flex; gap: 10px; }
.gal-nav button {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1.5px solid var(--apricot); background: none; color: var(--apricot-deep);
  cursor: pointer; display: grid; place-items: center;
  transition: background .15s ease, color .15s ease;
}
.gal-nav button:hover { background: var(--apricot); color: #fff; }
.gal-nav button:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.gal-nav svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.gal-track {
  display: flex; gap: 20px; overflow-x: auto;
  scroll-snap-type: x mandatory; padding: 26px 6px 30px;
  scrollbar-width: none;
}
.gal-track::-webkit-scrollbar { display: none; }
.pol {
  flex: 0 0 236px; scroll-snap-align: center;
  background: #fff; padding: 10px 10px 12px; border-radius: 3px;
  box-shadow: 0 16px 34px -18px rgba(58, 49, 41, .45);
  transform: rotate(-1.6deg);
}
.pol:nth-child(2n) { transform: rotate(1.4deg); }
.pol:nth-child(3n) { transform: rotate(-.7deg); }
.pol img { display: block; width: 100%; aspect-ratio: 3/3.5; object-fit: cover; }
.pol figcaption {
  font-family: Georgia, "Iowan Old Style", serif; font-style: italic;
  font-size: .88rem; color: var(--ink-soft); text-align: center; padding-top: 10px;
}

/* ---------- youtube ---------- */
.yt {
  background: var(--card); border-radius: 22px; box-shadow: var(--shadow-card);
  display: grid; grid-template-columns: 1.05fr .95fr; overflow: hidden; margin-top: 34px;
}
.yt-text { padding: 40px 38px; display: grid; align-content: center; justify-items: start; gap: 4px; }
.yt-text h2 { margin-top: 10px; }
.yt-text p { color: var(--muted); max-width: 44ch; margin-bottom: 14px; }
.yt-thumb { position: relative; min-height: 300px; display: block; }
.yt-thumb .bgph { position: absolute; inset: 0; }
.yt-thumb .play {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: linear-gradient(0deg, rgba(46, 38, 32, .35), rgba(46, 38, 32, .05));
  transition: background .15s ease;
}
.yt-thumb:hover .play { background: linear-gradient(0deg, rgba(46, 38, 32, .5), rgba(46, 38, 32, .1)); }
.yt-thumb .play span {
  width: 74px; height: 74px; border-radius: 50%;
  background: rgba(247, 241, 232, .95); display: grid; place-items: center;
  box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .55);
}
.yt-thumb .play svg { width: 26px; height: 26px; fill: var(--apricot-deep); margin-left: 4px; }
@media (max-width: 760px) { .yt { grid-template-columns: 1fr; } .yt-thumb { min-height: 230px; } }

/* ---------- conóceme ---------- */
.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: 52px; align-items: center; margin-top: 10px; }
.about .ph {
  aspect-ratio: 3/3.8; border-radius: 999px 999px 16px 16px;
  box-shadow: var(--shadow-photo);
}
.about .img-dayane { background-position: center 22%; }
.about-text p { margin: 0 0 16px; max-width: 56ch; }
.about-text p.dim { color: var(--muted); }
.pull {
  margin-top: 26px; padding: 22px 26px;
  background: var(--paper-deep); border-left: 4px solid var(--apricot); border-radius: 0 14px 14px 0;
}
.pull p { font-family: Georgia, "Iowan Old Style", serif; font-style: italic; font-size: 1.18rem; line-height: 1.5; color: var(--ink-soft); margin: 0; }
.pull footer { margin-top: 10px; font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; gap: 30px; } .about .ph { max-width: 320px; margin: 0 auto; } }
.stats { display: flex; flex-wrap: wrap; gap: 30px; margin: 24px 0 4px; }
.stat { display: flex; flex-direction: column; }
.stat b { font-size: 1.7rem; font-weight: 700; color: var(--apricot-deep); line-height: 1.05; letter-spacing: -.015em; }
.stat span { font-size: .82rem; color: var(--muted); max-width: 17ch; margin-top: 3px; }

/* ---------- testimonios ---------- */
.bubbles { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; margin-top: 34px; }
.bubble {
  position: relative;
  background: var(--card); border-radius: 18px 18px 18px 4px;
  padding: 24px 22px 20px; box-shadow: var(--shadow-card);
}
.bubble .ej {
  position: absolute; top: 14px; right: 14px;
  font-size: .6rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-soft); background: var(--butter);
  padding: 4px 10px; border-radius: 999px;
}
.bubble p.msg { font-size: .98rem; line-height: 1.6; color: var(--ink-soft); margin: 0 0 18px; padding-right: 64px; }
.bubble .who { display: flex; align-items: center; gap: 12px; }
.bubble .ava {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; flex: none;
}
.bubble .ava svg { width: 20px; height: 20px; stroke: var(--ink-soft); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.bubble .who span { font-size: .82rem; font-weight: 600; color: var(--muted); }
.bubbles-note { text-align: center; color: var(--muted); font-size: .85rem; margin-top: 20px; }
.bubbles-note .serif-it { color: var(--ink-soft); }

/* ---------- diplomas ---------- */
.walltext { text-align: center; }
.walltext .lead { margin: 0 auto; }
.wall { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; align-items: flex-start; margin-top: 40px; }
.frame {
  width: 218px; background: var(--card); padding: 10px;
  border: 6px solid var(--frame-wood); border-radius: 4px;
  box-shadow: 0 18px 36px -20px rgba(58, 49, 41, .5);
  transform: rotate(-1.1deg);
  transition: transform .2s ease;
}
.frame:nth-child(2) { transform: rotate(.9deg); border-color: #B98F62; }
.frame:nth-child(3) { transform: rotate(-.5deg); border-color: #D4B588; }
.frame:nth-child(4) { transform: rotate(.7deg); border-color: #BE9968; }
.frame:hover { transform: rotate(0deg); }
.frame img { display: block; width: 100%; aspect-ratio: 4/5; object-fit: cover; border: 1px solid #E7DCC9; }
.frame .fl {
  display: block; text-align: center;
  font-size: .6rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--apricot-deep); padding: 10px 4px 4px;
}

/* ---------- FAQ ---------- */
.page-head { text-align: center; padding: 72px 0 0; }
.page-head .lead { margin: 0 auto; }
.faq-list { max-width: 760px; margin: 40px auto 0; display: grid; gap: 14px; }
details {
  background: var(--card); border-radius: 16px; box-shadow: var(--shadow-card);
  padding: 0; overflow: hidden;
}
summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-weight: 700; font-size: 1.04rem;
  padding: 20px 24px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; flex: none;
  width: 30px; height: 30px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--butter); color: var(--ink);
  font-weight: 600; font-size: 1.2rem; line-height: 1;
  transition: transform .2s ease;
}
details[open] summary::after { transform: rotate(45deg); }
summary:focus-visible { outline: 3px solid var(--apricot); outline-offset: -3px; border-radius: 16px; }
details .ans { padding: 0 24px 22px; color: var(--muted); max-width: 62ch; }
details .ans b { color: var(--ink-soft); }
.faq-cta { text-align: center; padding: 56px 0 96px; }
.faq-cta p { color: var(--muted); }

/* ---------- blog ---------- */
.posts { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; margin-top: 40px; }
.post {
  background: var(--card); border-radius: 18px; overflow: hidden;
  box-shadow: var(--shadow-card); display: flex; flex-direction: column;
}
.post img.cover { aspect-ratio: 16/10; object-fit: cover; width: 100%; display: block; }
.post .body { padding: 20px 22px 22px; display: grid; gap: 8px; align-content: start; }
.post .cat {
  font-size: .66rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--apricot-deep);
}
.post h3 { font-size: 1.08rem; font-weight: 700; line-height: 1.35; }
.post p { color: var(--muted); font-size: .92rem; }
.post .soon {
  justify-self: start; margin-top: 6px;
  font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-soft); background: var(--butter); padding: 5px 12px; border-radius: 999px;
}
.blog-cta { padding: 56px 0 96px; }
.blog-yt {
  background: var(--paper-deep); border-radius: 18px; padding: 30px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap;
}
.blog-yt p { max-width: 46ch; }
.blog-yt .serif-it { color: var(--ink-soft); }

/* ---------- blog: tarjetas enlazadas ---------- */
.post { position: relative; transition: transform .15s ease, box-shadow .15s ease; }
.post:hover { transform: translateY(-3px); box-shadow: var(--shadow-photo); }
.post h2 { font-size: 1.08rem; font-weight: 700; line-height: 1.35; margin: 0; letter-spacing: 0; }
.post h2 a { color: var(--ink); text-decoration: none; }
.post h2 a::after { content: ""; position: absolute; inset: 0; }
.post h2 a:focus-visible { outline: 3px solid var(--apricot); outline-offset: 3px; border-radius: 6px; }
.post .read { justify-self: start; margin-top: 6px; font-size: .8rem; font-weight: 700; letter-spacing: .04em; color: var(--apricot-deep); }
.post:hover .read { text-decoration: underline; }

/* ---------- artículo ---------- */
.article { max-width: 720px; padding: 44px 24px 0; }
.article .label { display: block; }
.article h1 { font-size: clamp(1.9rem, 4.4vw, 2.8rem); line-height: 1.14; max-width: none; margin: 12px 0 0; text-align: left; }
.art-meta { color: var(--muted); font-size: .9rem; margin: 14px 0 22px; }
.art-meta a { color: var(--apricot-deep); text-decoration: none; font-weight: 600; }
.art-meta .dot { color: var(--apricot); padding: 0 9px; }
.art-cover { width: 100%; aspect-ratio: 3/2; object-fit: cover; object-position: center 28%; border-radius: 18px; box-shadow: var(--shadow-photo); margin-bottom: 6px; }
.article h2 { font-size: clamp(1.35rem, 3vw, 1.75rem); margin: 34px 0 8px; }
.article p { margin: 0 0 16px; color: var(--ink-soft); }
.article ul, .article ol { margin: 0 0 18px; padding-left: 22px; color: var(--ink-soft); }
.article li { margin: 7px 0; }
.article a { color: var(--apricot-deep); }
.article strong { color: var(--ink); }
.article .tip { background: var(--card); border-left: 4px solid var(--apricot); border-radius: 0 14px 14px 0; padding: 16px 22px; margin: 22px 0; box-shadow: var(--shadow-card); }
.article .tip p { margin: 0; font-family: Georgia, "Iowan Old Style", serif; font-style: italic; font-size: 1.08rem; color: var(--ink-soft); }
.art-cta { background: var(--paper-deep); border-radius: 18px; padding: 30px 30px 34px; margin: 42px 0 0; text-align: center; }
.art-cta p { color: var(--ink-soft); max-width: 46ch; margin: 0 auto; }
.art-cta .cta-row { margin-top: 20px; }
.art-foot-nav { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 40px 0 0; padding: 22px 0 0; border-top: 1px solid rgba(58, 49, 41, .12); }
.art-foot-nav a { color: var(--apricot-deep); text-decoration: none; font-weight: 600; font-size: .92rem; }
.art-foot-nav a:hover { text-decoration: underline; }

/* ---------- CTA final + footer ---------- */
.fin { text-align: center; padding: 92px 0 96px; }
.fin h2 { font-size: clamp(1.9rem, 4.4vw, 2.9rem); max-width: 22ch; margin: 14px auto 0; }
.fin h2 em { font-family: Georgia, "Iowan Old Style", serif; font-style: italic; font-weight: 400; color: var(--apricot-deep); }
.fin .sub { color: var(--muted); margin-top: 12px; }
footer.page-foot {
  background: var(--footer); color: #D9CDBC;
  padding: 34px 0; font-size: .88rem;
}
footer.page-foot .inner {
  max-width: 1040px; margin: 0 auto; padding: 0 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
}
footer.page-foot a { color: #F6E3B4; text-decoration: none; font-weight: 600; }
footer.page-foot a:hover { text-decoration: underline; }
footer.page-foot .fine { font-size: .76rem; opacity: .7; }

/* ---------- WhatsApp flotante ---------- */
.fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--apricot); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 16px 34px -12px rgba(201, 111, 46, .8);
  transition: background .15s ease, transform .15s ease;
}
.fab:hover { background: var(--apricot-deep); transform: translateY(-2px); }
.fab:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.fab svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .rise { opacity: 0; transform: translateY(14px); animation: rise .7s ease forwards; }
  .rise.d1 { animation-delay: .08s; } .rise.d2 { animation-delay: .16s; }
  .rise.d3 { animation-delay: .24s; } .rise.d4 { animation-delay: .34s; }
  @keyframes rise { to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .btn-ghost, .frame, .fab, summary::after { transition: none; }
}
