:root {
  --ink: #2a3a8a;
  --ink-mid: #2d5a3d;
  --ink-pale: #b04742;
  --ink-ghost: #8b7060;
  --ink-faint: #f5f0e8;
  --paper: #faf7f2;
  --paper-alt: #f4efe6;
  --cream: #fdfbf7;
  --text: #1a1818;
  --text-mid: #2e2c26;
  --annot: #b04742;
  /* Sketch shadow — replaces glass glow */
  --sketch-shadow: 3px 3px 0 rgba(42,58,138,.10);
  /* Side spacing — applied as inner padding so section backgrounds still
     extend edge-to-edge and no visible cut appears on the sides. */
  --side-pad: clamp(24px, 7vw, 140px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background-color: #fdf9f4;
  color: var(--text);
  font-family: system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
  font-weight: 400;
  font-size: 19px;
  line-height: 1.75;
  overflow-x: hidden;
  position: relative;
  -webkit-text-size-adjust: 100%;
}

section { isolation: isolate; position: relative; overflow: hidden; padding: 120px var(--side-pad); background: transparent; }
section.alt { background: #00000003; }
section:after { content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 100px; pointer-events: none; z-index: 2; }
section:not(.alt):after { background: linear-gradient(to bottom, #fdf9f400, #f4efe666); }
section.alt:after { background: linear-gradient(to bottom, #f4efe600, #fdf9f466); }
section.hero:after { height: 160px; background: linear-gradient(to bottom, #fdf9f400, #f4efe68c); }
section:before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 70px; pointer-events: none; z-index: 2; }
section:not(.alt):before { background: linear-gradient(to top, #fdf9f400, #f4efe633); }
section.alt:before { background: linear-gradient(to top, #f4efe600, #fdf9f433); }
section.hero:before { display: none; }
section > *:not(.plx-layer) { position: relative; z-index: 1; }

footer { position: relative; z-index: 5; background: var(--ink); padding: 56px var(--side-pad); display: flex; justify-content: space-between; align-items: center; }

nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200; padding: 16px var(--side-pad);
  display: flex; justify-content: space-between; align-items: center;
  background: var(--ink); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.nav-logo { font-family: 'Permanent Marker', cursive; font-size: 21px; color: white; text-transform: uppercase; letter-spacing: .03em; }
.nav-toggle { display: none; }
.nav-menu { list-style: none; display: flex; gap: 36px; }
nav a { font-family: 'Barlow', sans-serif; font-size: 14px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: white; text-decoration: none; opacity: .85; transition: opacity .2s; }
nav a:hover { opacity: 1; }

/* Hamburger Menu Styles */
.nav-toggle {
  position: relative;
  width: 32px;
  height: 26px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin: 0;
}

.nav-toggle span {
  position: absolute;
  display: block;
  width: 100%;
  height: 3px;
  background-color: white;
  border-radius: 2px;
  transition: all 0.3s ease;
  left: 0;
}

.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 11px; opacity: 1; }
.nav-toggle span:nth-child(3) { top: 22px; }

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 11px;
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 11px;
}

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr;
  padding: 86px var(--side-pad) 22px;
  background-color: #fbf6ec;
}
.hero > .hero-paper {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.7;
  mix-blend-mode: multiply;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='280' height='280'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.4' numOctaves='3' stitchTiles='stitch' seed='4'/><feColorMatrix values='0 0 0 0 0.42 0 0 0 0 0.36 0 0 0 0 0.28 0.4 0 0 0 -0.32'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='420' height='420'><filter id='b'><feTurbulence type='fractalNoise' baseFrequency='0.04' numOctaves='3' stitchTiles='stitch' seed='17'/><feColorMatrix values='0 0 0 0 0.4 0 0 0 0 0.34 0 0 0 0 0.25 0.2 0 0 0 -0.1'/></filter><rect width='100%' height='100%' filter='url(%23b)'/></svg>"),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='1200' height='1200'><filter id='t'><feTurbulence type='fractalNoise' baseFrequency='0.003' numOctaves='2' stitchTiles='stitch' seed='29'/><feColorMatrix values='0 0 0 0 0.32 0 0 0 0 0.27 0 0 0 0 0.2 0.18 0 0 0 -0.09'/></filter><rect width='100%' height='100%' filter='url(%23t)'/></svg>");
  background-repeat: repeat, repeat, repeat;
  background-size: 280px 280px, 420px 420px, 1200px 1200px;
}
.hero > .hero-napkin {
  position: absolute;
  top: 86px; right: 22px; bottom: 22px; left: 22px;
  pointer-events: none;
  z-index: 0;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 12'><path d='M4 3.6 L62 3.6 A2 2 0 0 1 62 7.6 L4 7.6 A2 2 0 0 1 4 3.6 Z' fill='none' stroke='%232a3a8a' stroke-width='0.9' opacity='0.85'/><path d='M67 5.6 L72 1.8 L77 5.6 L72 9.4 Z' fill='none' stroke='%232a3a8a' stroke-width='0.8' opacity='0.85'/><path d='M69 5.6 L75 5.6 M72 3.2 L72 8' fill='none' stroke='%232a3a8a' stroke-width='0.6' opacity='0.7'/><circle cx='72' cy='5.6' r='0.7' fill='none' stroke='%232a3a8a' stroke-width='0.5' opacity='0.7'/></svg>"),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 12'><path d='M4 3.6 L62 3.6 A2 2 0 0 1 62 7.6 L4 7.6 A2 2 0 0 1 4 3.6 Z' fill='none' stroke='%232a3a8a' stroke-width='0.9' opacity='0.85'/><path d='M67 5.6 L72 1.8 L77 5.6 L72 9.4 Z' fill='none' stroke='%232a3a8a' stroke-width='0.8' opacity='0.85'/><path d='M69 5.6 L75 5.6 M72 3.2 L72 8' fill='none' stroke='%232a3a8a' stroke-width='0.6' opacity='0.7'/><circle cx='72' cy='5.6' r='0.7' fill='none' stroke='%232a3a8a' stroke-width='0.5' opacity='0.7'/></svg>"),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 80'><path d='M3.6 4 L3.6 62 A2 2 0 0 0 7.6 62 L7.6 4 A2 2 0 0 0 3.6 4 Z' fill='none' stroke='%232a3a8a' stroke-width='0.9' opacity='0.85'/><path d='M5.6 67 L9.4 72 L5.6 77 L1.8 72 Z' fill='none' stroke='%232a3a8a' stroke-width='0.8' opacity='0.85'/><path d='M5.6 69 L5.6 75 M3.2 72 L8 72' fill='none' stroke='%232a3a8a' stroke-width='0.6' opacity='0.7'/><circle cx='5.6' cy='72' r='0.7' fill='none' stroke='%232a3a8a' stroke-width='0.5' opacity='0.7'/></svg>"),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 80'><path d='M3.6 4 L3.6 62 A2 2 0 0 0 7.6 62 L7.6 4 A2 2 0 0 0 3.6 4 Z' fill='none' stroke='%232a3a8a' stroke-width='0.9' opacity='0.85'/><path d='M5.6 67 L9.4 72 L5.6 77 L1.8 72 Z' fill='none' stroke='%232a3a8a' stroke-width='0.8' opacity='0.85'/><path d='M5.6 69 L5.6 75 M3.2 72 L8 72' fill='none' stroke='%232a3a8a' stroke-width='0.6' opacity='0.7'/><circle cx='5.6' cy='72' r='0.7' fill='none' stroke='%232a3a8a' stroke-width='0.5' opacity='0.7'/></svg>");
  background-position: top center, bottom center, left center, right center;
  background-repeat: repeat-x, repeat-x, repeat-y, repeat-y;
  background-size: 80px 12px, 80px 12px, 12px 80px, 12px 80px;
}
.hero-l { display: grid; grid-template-rows: auto 1fr auto 1fr; justify-items: center; text-align: center; padding: 0; }
.hero-top, .hero-bottom { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.hero-eyebrow { font-family: 'Rock Salt', cursive; font-size: 16px; font-weight: 300; letter-spacing: .06em; color: var(--text-mid); margin: 28px 0 0; align-self: start; animation: fadeUp .8s ease both; }
.hero-names { font-family: 'Permanent Marker', cursive; font-size: clamp(52px, 6.5vw, 88px); line-height: .9; color: var(--ink); text-transform: uppercase; animation: fadeUp .8s .1s ease both; }
.hero-amp { font-size: .7em; margin: 0 4px; display: inline-block; color: var(--ink); }
.hero-rule { display: block; width: 68px; height: 7px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 10'%3E%3Cpath d='M1,5 C4,1.5 15,0.5 30,1.5 C45,2.5 56,1 59,4.5 C56,8 45,8.5 30,7 C15,5.5 4,8.5 1,5Z' fill='%23c85a54' opacity='.88'/%3E%3C/svg%3E") center/100% 100% no-repeat; margin: 18px 0 8px; animation: growLine 1s .28s ease both; }
.hero-date-row { display: flex; align-items: flex-end; gap: 10px; animation: fadeUp .8s .22s ease both; justify-content: center; }
.hero-day { font-weight: 300; font-size: 96px; color: var(--ink); line-height: 1; }
.hero-date-stacked { display: flex; flex-direction: column; gap: 2px; }
.hero-month { font-weight: 500; font-size: 28px; color: var(--ink); letter-spacing: .08em; text-transform: uppercase; }
.hero-year { font-weight: 300; font-size: 22px; color: var(--ink-pale); }
.hero-date-embroidered { font-family: 'Rock Salt', cursive; font-size: 34px; color: var(--ink); font-weight: 300; margin: 8px 0 0; letter-spacing: 0.08em; animation: fadeUp .8s .22s ease both; }
.hero-place { margin-top: 88px; font-family: 'Rock Salt', cursive; font-size: 19px; color: var(--annot); animation: fadeUp .8s .34s ease both; }
.hero-fold {
  position: relative;
  align-self: center;
  width: 1px;
  height: 16px;
  margin: 0;
  pointer-events: none;
  animation: fadeUp .8s .4s ease both;
}
.hero-fold::before {
  content: "";
  position: absolute;
  top: 0;
  height: 100%;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 16' preserveAspectRatio='none'><defs><linearGradient id='gT' x1='0' x2='0' y1='0' y2='1'><stop offset='0' stop-color='black' stop-opacity='0'/><stop offset='1' stop-color='black' stop-opacity='0.035'/></linearGradient><linearGradient id='gB' x1='0' x2='0' y1='0' y2='1'><stop offset='0' stop-color='black' stop-opacity='0.02'/><stop offset='1' stop-color='black' stop-opacity='0'/></linearGradient></defs><rect x='0' y='2.5' width='1600' height='5.5' fill='url(%23gT)'/><rect x='0' y='8.7' width='1600' height='4.5' fill='url(%23gB)'/><line x1='0' y1='8.5' x2='1600' y2='8.5' stroke='white' stroke-opacity='0.18' stroke-width='0.4'/><path d='M0 7.96 C55 7.74 120 8.12 185 7.83 C240 7.66 305 8.07 365 7.94 C425 8.11 495 7.7 555 8.02 C620 7.78 685 8.14 745 7.86 C810 7.96 880 7.72 945 8.08 C1010 7.84 1075 8.1 1140 7.88 C1205 8.06 1270 7.74 1335 7.99 C1400 8.13 1470 7.82 1535 7.94 C1575 8.04 1600 7.9 1600 7.95' stroke='black' stroke-opacity='0.12' stroke-width='0.55' fill='none' stroke-linecap='round'/><path d='M0 8.62 C90 8.44 180 8.66 280 8.5 C370 8.6 470 8.42 565 8.55 C660 8.65 760 8.42 855 8.55 C950 8.62 1050 8.4 1145 8.58 C1240 8.5 1340 8.45 1440 8.6 C1520 8.5 1600 8.48 1600 8.52' stroke='black' stroke-opacity='0.04' stroke-width='0.35' fill='none'/></svg>");
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.hero-sub { margin-top: 14px; max-width: 360px; font-size: 19px; font-weight: 300; line-height: 1.85; color: var(--text-mid); animation: fadeUp .8s .44s ease both; }
.hero-cta { margin-top: 44px; display: inline-block; border: 2px solid var(--ink); border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px; padding: 16px 40px; font-weight: 600; font-size: 15px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); text-decoration: none; transform: rotate(-0.4deg); transition: background .3s, color .3s; animation: fadeUp .8s .54s ease both; }
.hero-cta:hover { background: var(--ink); color: var(--paper); }
.hero-r { display: none; }
.hero-svg { width: 100%; max-width: 470px; }

.plx-layer { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.plx-layer svg { position: absolute; width: 100%; height: 140%; top: -20%; will-change: transform; }

.s-tag { font-family: 'Barlow', sans-serif; font-weight: 600; font-size: 14px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-pale); margin-bottom: 10px; }
.s-title { font-family: 'Permanent Marker', cursive; font-size: clamp(28px, 3.6vw, 46px); color: var(--ink); line-height: 1.05; text-transform: uppercase; }
.s-rule { display: block; width: 44px; height: 7px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 10'%3E%3Cpath d='M1,5 C4,1.5 15,0.5 30,1.5 C45,2.5 56,1 59,4.5 C56,8 45,8.5 30,7 C15,5.5 4,8.5 1,5Z' fill='%23c85a54' opacity='.88'/%3E%3C/svg%3E") center/100% 100% no-repeat; margin: 18px 0 32px; }

.annot { position: absolute; font-family: 'Permanent Marker', cursive; font-size: 15px; color: var(--annot); line-height: 1.3; pointer-events: none; z-index: 3; animation: fadeUp 1.2s ease .8s both; }
.annot svg { display: block; overflow: visible; }
.annot-arrow { fill: none; stroke: var(--annot); stroke-width: 1.4; stroke-linecap: round; marker-end: url(#arrowhead); }

.finca-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.regalo-grid { display: grid; grid-template-columns: 1fr; gap: 80px; align-items: center; }
.finca-text p:not(.s-tag), .regalo-text p:not(.s-tag) { font-size: 19px; font-weight: 400; line-height: 1.85; color: var(--text-mid); margin-bottom: 16px; }

#comoLlegar.finca-bg {
  background-image: url('../assets/images/mapa-finca.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  position: relative;
  height: auto;
  padding-top: 40px;
  scroll-margin-top: 56px;
}

#comoLlegar.finca-bg > *:not(.plx-layer) {
  position: relative;
  z-index: 1;
}

#comoLlegar.finca-bg:before { display: none; }

#comoLlegar.finca-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  height: auto;
  background: rgba(253, 249, 244, 0.93);
  pointer-events: none;
  z-index: 0;
}

#comoLlegar.finca-bg .finca-grid {
  grid-template-columns: 1fr;
  position: relative;
  z-index: 1;
}

#finca {}

#finca .finca-grid {
  display: block;
  width: 100%;
}

#finca .finca-text {
  width: 100%;
  max-width: none;
}

.timeline { margin: 40px auto 0; max-width: 600px; position: relative; padding: 12px 0 12px 8px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 28px;
  bottom: 28px;
  width: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 100' preserveAspectRatio='none'%3E%3Cpath d='M6,0 C9.5,8 2,18 8.5,30 C12,42 2.5,54 7.5,66 C10,74 3,84 7.5,92 C10,97 3.5,100 6,100' stroke='%232d5a3d' stroke-width='2' stroke-linecap='round' fill='none' opacity='.45'/%3E%3C/svg%3E") center/100% 100% no-repeat;
  z-index: 0;
  animation: drawLineDown 1.4s ease forwards;
  animation-play-state: paused;
}
.finca-text.vis .timeline::before {
  animation-play-state: running;
}
.tl {
  display: grid;
  grid-template-columns: 32px 1fr;
  align-items: center;
  gap: 22px;
  padding: 14px 0;
  position: relative;
  z-index: 1;
}
.tl-marker {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: none;
  background: var(--paper);
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 5px var(--paper);
}
.tl-marker::after {
  display: none;
}
.tl-dot-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  display: block;
}
.tl-dot-path {
  stroke-dasharray: 70;
  stroke-dashoffset: 70;
  animation: drawDot 0.85s ease forwards;
  animation-play-state: paused;
}
.tl-dot-fill {
  opacity: 0;
  animation: fadeInDot 0.4s ease forwards;
  animation-play-state: paused;
}
.finca-text.vis .tl-dot-path,
.finca-text.vis .tl-dot-fill {
  animation-play-state: running;
}
.tl:nth-child(1) .tl-dot-path { animation-delay: 0.15s; }
.tl:nth-child(2) .tl-dot-path { animation-delay: 0.45s; }
.tl:nth-child(3) .tl-dot-path { animation-delay: 0.75s; }
.tl:nth-child(4) .tl-dot-path { animation-delay: 1.05s; }
.tl:nth-child(5) .tl-dot-path { animation-delay: 1.35s; }
.tl:nth-child(1) .tl-dot-fill { animation-delay: 0.85s; }
.tl:nth-child(2) .tl-dot-fill { animation-delay: 1.15s; }
.tl:nth-child(3) .tl-dot-fill { animation-delay: 1.45s; }
.tl:nth-child(4) .tl-dot-fill { animation-delay: 1.75s; }
.tl:nth-child(5) .tl-dot-fill { animation-delay: 2.05s; }
.tl-content { display: flex; flex-direction: row; align-items: baseline; gap: 18px; flex-wrap: wrap; }
.tl-t {
  font-family: 'Shadows Into Light', cursive;
  font-size: 28px;
  line-height: 1;
  color: var(--text);
  letter-spacing: .02em;
}
.tl-name {
  font-family: 'Permanent Marker', cursive;
  font-size: 30px;
  line-height: 1.05;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: .02em;
  margin: 0;
}

.addr-card { background: var(--paper); border: 1.5px solid rgba(42,58,138,.18); border-radius: 28px 4px 22px 8px / 6px 24px 4px 28px; padding: 30px 30px 24px; position: relative; box-shadow: 3px 3px 0 rgba(42,58,138,.10); }
.addr-lbl { font-family: 'Barlow', sans-serif; font-weight: 600; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-pale); margin-bottom: 12px; }
.addr-name { font-family: 'Permanent Marker', cursive; font-size: 26px; color: var(--ink); margin-bottom: 6px; text-transform: uppercase; }
.addr-sub { font-size: 18px; font-weight: 400; color: var(--text-mid); margin-bottom: 22px; line-height: 1.7; }
.addr-link { font-size: 15px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); text-decoration: none; border-bottom: 1.5px solid var(--ink); padding-bottom: 3px; transition: opacity .2s; display: inline-block; padding-top: 4px; }
.addr-link:hover { opacity: .55; }

.hotels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 6px; }
/* Flip cards */
.alojamiento-card { perspective: 1000px; cursor: pointer; height: 300px; }
.card-inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform 0.6s cubic-bezier(0.4,0.2,0.2,1); }
.alojamiento-card.flipped .card-inner { transform: rotateY(180deg); }
.card-front, .card-back { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border: 1.5px solid rgba(42,58,138,.14); border-radius: 28px 4px 22px 8px / 6px 24px 4px 28px; padding: 24px 22px; background: var(--paper); display: flex; flex-direction: column; }
.card-front::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .4s; }
.alojamiento-card:not(.flipped):hover .card-front::before { transform: scaleX(1); }
.card-back { transform: rotateY(180deg); background: var(--ink); border-color: var(--ink); overflow-y: auto; }
.etiqueta { font-family: 'Barlow', sans-serif; font-weight: 600; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-pale); margin-bottom: 8px; }
.card-hotel-name { font-family: 'Permanent Marker', cursive; font-size: 22px; color: var(--ink); margin-bottom: 6px; text-transform: uppercase; }
.direccion { font-size: 16px; font-weight: 400; color: var(--text-mid); line-height: 1.5; }
.btn-flip { margin-top: auto; align-self: flex-start; font-family: 'Barlow', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); border: 1.5px solid rgba(42,58,138,.4); border-radius: 255px 8px 200px 8px / 8px 200px 8px 255px; padding: 8px 18px; transition: all .25s; user-select: none; }
.alojamiento-card:not(.flipped):hover .btn-flip { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-flip--back { color: rgba(245,240,232,.75); border-color: rgba(245,240,232,.3); }
.card-back ul { list-style: none; flex: 1; display: flex; flex-direction: column; gap: 7px; margin-bottom: 12px; }
.card-back li { font-size: 15px; font-weight: 400; color: rgba(245,240,232,.95); line-height: 1.6; word-break: break-word; }
.card-back li strong { font-weight: 700; color: #f5f0e8; }
.card-back li em { font-style: italic; opacity: .85; }
.card-back a { color: rgba(245,240,232,.95); text-decoration: underline; text-underline-offset: 2px; font-weight: 500; }
.card-back a:hover { opacity: .75; }
.hotels-note { margin-top: 26px; font-size: 18px; font-weight: 400; font-style: italic; color: var(--text-mid); }

.form-wrap { max-width: 720px; margin: 0 auto; text-align: center; }
#confirmacion .s-tag { color: #f5f0e8; }
#confirmacion .s-title { color: #f5f0e8; }
#confirmacion .s-rule { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 10'%3E%3Cpath d='M1,5 C4,1.5 15,0.5 30,1.5 C45,2.5 56,1 59,4.5 C56,8 45,8.5 30,7 C15,5.5 4,8.5 1,5Z' fill='%23f5f0e8' opacity='.88'/%3E%3C/svg%3E") center/100% 100% no-repeat; margin: 18px auto 32px; }
.form-intro { font-size: 19px; font-weight: 400; color: var(--text-mid); margin-bottom: 40px; line-height: 1.8; }
#confirmacion .form-intro { color: #f5f0e8; }
.gform-wrap { border: 1.5px solid rgba(245,240,232,.4); border-radius: 28px 4px 22px 8px / 6px 24px 4px 28px; background: rgba(255,255,255,.08); padding: 4px; position: relative; }
#confirmacion .hero-cta { border: 1.5px solid #f5f0e8; color: #f5f0e8; }
#confirmacion .hero-cta:hover { background: #f5f0e8; color: var(--ink); }
#confirmacion p { color: #f5f0e8; }
#confirmacion:before { display: none; }
#confirmacion:after { display: none; }

.iban-box { margin-top: 32px; border: 1.5px solid rgba(42,58,138,.18); border-radius: 28px 4px 22px 8px / 6px 24px 4px 28px; padding: 26px 30px; background: var(--paper); position: relative; box-shadow: 3px 3px 0 rgba(42,58,138,.10); }
.iban-lbl { font-family: 'Barlow', sans-serif; font-weight: 600; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-pale); margin-bottom: 9px; }
.iban-nombre { font-family: 'Permanent Marker', cursive; font-size: 23px; color: var(--ink); margin-bottom: 5px; text-transform: uppercase; }
.iban-num { font-weight: 500; font-size: 26px; color: var(--text); letter-spacing: .07em; }

.copy-btn { margin-top: 14px; background: none; border: 1.5px solid rgba(42,58,138,.4); border-radius: 255px 8px 200px 8px / 8px 200px 8px 255px; padding: 11px 24px; font-family: 'Barlow', sans-serif; font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); cursor: pointer; transform: rotate(0.3deg); transition: all .25s; }
.copy-btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.ft-name { font-family: 'Permanent Marker', cursive; font-size: 30px; color: var(--paper); opacity: .92; text-transform: uppercase; letter-spacing: .02em; }
.ft-info { text-align: right; font-weight: 400; font-size: 17px; color: var(--paper); opacity: .75; line-height: 1.7; letter-spacing: .04em; }

.countdown { display: flex; gap: 24px; margin-top: 0; animation: fadeUp .8s .48s ease both; }
.cd-block { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.cd-num { font-family: 'Permanent Marker', cursive; font-size: 46px; color: var(--ink); line-height: 1; }
.cd-lbl { font-weight: 500; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-pale); }
.cd-sep { font-family: 'Permanent Marker', cursive; font-size: 38px; color: var(--ink-ghost); align-self: center; padding-bottom: 10px; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s ease, transform .8s ease; }
.reveal.vis { opacity: 1; transform: none; }

@keyframes fadeUp { 0% { opacity: 0; transform: translateY(16px); } 100% { opacity: 1; transform: none; } }
@keyframes growLine { 0% { width: 0; opacity: 0; } 100% { width: 68px; opacity: 1; } }
@keyframes drawIn { 0% { stroke-dashoffset: 2400; opacity: 0; } 100% { stroke-dashoffset: 0; opacity: 1; } }
@keyframes drawLineDown { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0); } }
@keyframes drawLineRight { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }
@keyframes drawDot { from { stroke-dashoffset: 70; } to { stroke-dashoffset: 0; } }
@keyframes fadeInDot { from { opacity: 0; } to { opacity: 0.8; } }

.sk { stroke-dasharray: 2400; animation: drawIn 4s ease forwards; }
.sk.d1 { animation-delay: .2s; }
.sk.d2 { animation-delay: .6s; }
.sk.d3 { animation-delay: 1s; }
.sk.d4 { animation-delay: 1.4s; }
.sk.d5 { animation-delay: 1.8s; }
.sk.d6 { animation-delay: 2.2s; }

@media (min-width: 901px) {
  /* Horizontal timeline for desktop/landscape */
  .timeline {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    max-width: none;
    padding: 0;
    margin: 50px 0 0;
  }

  .timeline::before {
    top: 50%;
    bottom: auto;
    left: 0;
    right: 0;
    width: auto;
    height: 12px;
    transform: translateY(-50%);
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 12' preserveAspectRatio='none'%3E%3Cpath d='M0,6 C8,9.5 18,2 30,8.5 C42,12 54,2.5 66,7.5 C74,10 84,3 92,7.5 C96,10 99,3.5 100,6' stroke='%232d5a3d' stroke-width='2' stroke-linecap='round' fill='none' opacity='.45'/%3E%3C/svg%3E") center/100% 100% no-repeat;
    animation-name: drawLineRight;
  }

  .tl {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px 8px;
    gap: 14px;
    grid-template-columns: none;
  }

  .tl-marker {
    order: 2;
    flex-shrink: 0;
  }

  .tl-content {
    display: contents;
  }

  .tl-t {
    order: 1;
    font-size: 26px;
  }

  .tl-name {
    order: 3;
    font-size: 26px;
  }
}

@media (max-width: 900px) {
  nav { padding: 12px 20px; }
  .nav-menu { gap: 16px; }
  .hero { grid-template-columns: 1fr; }
  .hero-r { display: none; }
  .hero-l { padding: 70px 24px 60px; }
  section { padding: 80px 24px; }
  #comoLlegar.finca-bg { padding-top: 24px; }
  .finca-grid { grid-template-columns: 1fr; gap: 44px; }
  .hotels { grid-template-columns: 1fr; }
  footer { flex-direction: column; gap: 16px; text-align: center; }
  .ft-info { text-align: center; }
  .annot { display: none; }
  .sketch-frame { transform: none; }
}

.buses-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.bus-card { background: var(--paper); border: 1.5px solid rgba(42,58,138,.18); border-radius: 28px 4px 22px 8px / 6px 24px 4px 28px; padding: 28px 28px 24px; position: relative; overflow: hidden; box-shadow: 3px 3px 0 rgba(42,58,138,.10); }
.bus-section { margin-bottom: 24px; }
.bus-section:last-child { margin-bottom: 0; }
.bus-lbl { font-family: 'Barlow', sans-serif; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-pale); font-weight: 600; margin-bottom: 10px; }
.bus-row { font-size: 18px; color: var(--text); line-height: 1.8; font-weight: 400; margin: 3px 0; }
.bus-time { font-weight: 600; color: var(--ink); }
.bus-disclaimer { background: var(--paper); border: 1.5px solid rgba(42,58,138,.18); border-radius: 28px 4px 22px 8px / 6px 24px 4px 28px; padding: 36px 40px; box-shadow: 3px 3px 0 rgba(42,58,138,.10); text-align: center; }
.bus-disclaimer-text { font-size: 19px; font-weight: 400; color: var(--text-mid); line-height: 1.75; }

@media (max-width: 640px) {
  .buses-grid { grid-template-columns: 1fr; gap: 28px; }
  .bus-card { padding: 28px 24px 24px; }
  .bus-section { margin-bottom: 22px; }

  nav {
    padding: 12px 16px;
  }
  .nav-logo { font-size: 17px; }
  .nav-toggle { display: block; }
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ink);
    flex-direction: column !important;
    gap: 0 !important;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border-bottom: 1px solid rgba(255,255,255,.1);
  }
  .nav-menu.active {
    max-height: 600px;
  }
  .nav-menu li {
    border-top: 1px solid rgba(255,255,255,.08);
  }
  .nav-menu li:last-child {
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  nav a {
    font-size: 16px;
    letter-spacing: .12em;
    display: block;
    padding: 18px 20px;
    opacity: .95;
  }
  .hero-names { font-size: clamp(44px, 8vw, 64px); }
  .hero-eyebrow { font-size: 16px; margin: 22px 0 0; }
  .hero-date-embroidered { font-size: 26px; margin: 6px 0 0; }
  .hero-place { font-size: 18px; margin-top: 56px; }
  .hero-sub { max-width: 100%; font-size: 18px; }
  .countdown { flex-wrap: wrap; gap: 14px; margin-top: 0; }
  .hero-fold { height: 14px; }
  .cd-num { font-size: 34px; }
  .cd-sep { font-size: 28px; padding-bottom: 6px; }
  .cd-lbl { font-size: 12px; }
  .hero-rule { margin: 12px 0 6px; }
  .hero-cta { margin-top: 32px; padding: 14px 32px; font-size: 15px; }
  section { padding: 64px 16px; }
  #comoLlegar.finca-bg { padding-top: 16px; }
  .s-title { font-size: clamp(28px, 5vw, 36px); }
  .s-tag { font-size: 14px; }
  .finca-grid { gap: 32px; }
  footer { padding: 40px 16px; }
  .ft-name { font-size: 24px; }
  .ft-info { font-size: 15px; }
  .timeline { margin-top: 28px; max-width: 520px; }
  .timeline::before { left: 17px; top: 24px; bottom: 24px; }
  .tl { padding: 14px 0; gap: 18px; grid-template-columns: 28px 1fr; }
  .tl-marker { width: 20px; height: 20px; }
  .tl-content { gap: 14px; }
  .tl-t { font-size: 24px; }
  .tl-name { font-size: 26px; }
  .addr-card { padding: 22px 22px 18px; }
  .addr-name { font-size: 22px; }
  .addr-sub { font-size: 18px; }
  .addr-link { font-size: 15px; }
  .card-hotel-name { font-size: 19px; }
  .direccion { font-size: 16px; }
  .alojamiento-card { height: 340px; }
  .hotels { gap: 16px; }
  .form-wrap { max-width: 100%; }
  .form-intro { font-size: 18px; margin-bottom: 28px; }
  .gform-wrap { padding: 2px; }
  .bus-disclaimer { padding: 28px 24px; }
  .bus-disclaimer-text { font-size: 18px; }
  .finca-text p:not(.s-tag), .regalo-text p:not(.s-tag) { font-size: 18px; }
}

@media (max-width: 480px) {
  nav { padding: 10px 14px; }
  .nav-logo { font-size: 16px; letter-spacing: .02em; }
  .nav-menu { gap: 8px; }
  nav a { font-size: 16px; letter-spacing: .12em; padding: 18px 18px; }
  .hero { min-height: 100vh; padding: 72px 14px 24px; }
  .sketch-placeholder { min-height: 140px; font-size: 16px; }
  .sketch-frame { padding: 6px; }
  .hero-names { font-size: clamp(38px, 11vw, 52px); line-height: 1; }
  .hero-eyebrow { font-size: 15px; margin: 18px 0 0; }
  .hero-rule { width: 50px; margin: 10px 0 4px; }
  .hero-date-embroidered { font-size: 22px; margin: 4px 0 0; }
  .hero-place { font-size: 16px; margin-top: 44px; }
  .hero-sub { max-width: 100%; font-size: 17px; line-height: 1.7; }
  .countdown { gap: 10px; margin-top: 0; }
  .hero-fold { height: 12px; }
  .cd-block { gap: 2px; }
  .cd-num { font-size: 30px; }
  .cd-sep { font-size: 22px; padding-bottom: 4px; }
  .cd-lbl { font-size: 11px; }
  .hero-cta { margin-top: 24px; padding: 13px 26px; font-size: 14px; }
  section { padding: 56px 14px; }
  #comoLlegar.finca-bg { padding-top: 12px; }
  .s-tag { font-size: 13px; letter-spacing: .18em; }
  .s-title { font-size: clamp(26px, 7vw, 32px); margin-bottom: 8px; }
  .s-rule { width: 36px; height: 6px; margin: 12px 0 20px; }
  .finca-grid { gap: 24px; }
  .finca-text p:not(.s-tag), .regalo-text p:not(.s-tag) { font-size: 18px; margin-bottom: 14px; line-height: 1.7; }
  footer { padding: 30px 16px; }
  .ft-name { font-size: 20px; }
  .ft-info { font-size: 14px; line-height: 1.6; }
  .timeline { margin-top: 20px; max-width: 100%; padding-left: 4px; }
  .timeline::before { left: 13px; top: 20px; bottom: 20px; }
  .tl { padding: 12px 0; gap: 14px; grid-template-columns: 24px 1fr; }
  .tl-marker { width: 18px; height: 18px; }
  .tl-marker::after { inset: 3px; }
  .tl-content { gap: 12px; }
  .tl-t { font-size: 22px; }
  .tl-name { font-size: 22px; }
  .addr-card { padding: 20px 18px 16px; }
  .addr-lbl { font-size: 12px; margin-bottom: 8px; }
  .addr-name { font-size: 19px; margin-bottom: 4px; }
  .addr-sub { font-size: 17px; margin-bottom: 16px; line-height: 1.65; }
  .addr-link { font-size: 14px; }
  .alojamiento-card { height: 380px; }
  .etiqueta { font-size: 12px; margin-bottom: 8px; }
  .card-hotel-name { font-size: 18px; margin-bottom: 8px; }
  .direccion { font-size: 15px; }
  .card-back li { font-size: 14px; line-height: 1.6; }
  .btn-flip { font-size: 12px; padding: 8px 16px; }
  .hotels-note { font-size: 17px; margin-top: 16px; }
  .form-wrap { max-width: 100%; }
  .form-intro { font-size: 17px; margin-bottom: 20px; }
  #confirmacion .form-intro { font-size: 17px; }
  .iban-box { padding: 20px 20px; }
  .iban-lbl { font-size: 12px; margin-bottom: 6px; }
  .iban-nombre { font-size: 19px; margin-bottom: 4px; }
  .iban-num { font-size: 22px; word-break: break-all; }
  .copy-btn { margin-top: 12px; padding: 11px 20px; font-size: 13px; }
  .bus-disclaimer { padding: 24px 20px; }
  .bus-disclaimer-text { font-size: 17px; }
  .bus-lbl { font-size: 13px; }
}

/* ── Sketch-frame: wraps real images in a hand-drawn border ── */
.sketch-frame {
  display: block;
  padding: 8px;
  border: 2px solid var(--ink);
  border-radius: 12px 16px 10px 18px / 10px 12px 16px 11px;
  background: var(--paper);
  box-shadow: 3px 3px 0 rgba(42,58,138,.10);
  max-width: 100%;
  transform: rotate(-0.6deg);
}
.sketch-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px 12px 7px 14px / 7px 10px 12px 8px;
}

/* ── Sketch-placeholder: dashed box for future/missing images ── */
.sketch-placeholder {
  border: 2px dashed rgba(42,58,138,.22);
  border-radius: 28px 4px 22px 8px / 6px 24px 4px 28px;
  background: var(--ink-faint);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 220px;
  color: var(--ink-ghost);
  font-family: system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
  font-size: 18px;
  letter-spacing: .06em;
}
