/* ============================================================
   MY SHADOW IN MADRID — STYLES v1.0
   Editorial travel-magazine aesthetic. Bilingual EN/ES.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,400&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  /* Palette: editorial earth + ink + sun accent */
  --paper:    #F4EFE6;   /* cream paper */
  --paper-2:  #EBE3D5;   /* darker cream */
  --ink:      #1A1A1A;   /* near-black */
  --ink-soft: #3A3733;   /* warm dark */
  --rust:     #B5471F;   /* terracotta accent */
  --rust-dim: #8E3818;
  --olive:    #5C5840;   /* muted olive */
  --line:     rgba(26, 26, 26, 0.12);
  --line-soft:rgba(26, 26, 26, 0.06);

  /* Typography */
  --serif: 'Fraunces', 'Cormorant Garamond', Georgia, serif;
  --sans:  'DM Sans', system-ui, -apple-system, sans-serif;

  /* Spacing scale */
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4rem, 10vw, 9rem);

  /* Motion */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video, picture { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

::selection { background: var(--rust); color: var(--paper); }

/* ============================================================
   GRAIN OVERLAY — subtle paper texture across whole site
   ============================================================ */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.1 0 0 0 0 0.1 0 0 0 0 0.05 0 0 0 0.4 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.45;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 100;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.serif { font-family: var(--serif); }
.sans  { font-family: var(--sans); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--ink);
}

h1 {
  font-size: clamp(3rem, 9vw, 7.5rem);
  font-weight: 300;
  font-variation-settings: "opsz" 144;
  line-height: 0.95;
  letter-spacing: -0.025em;
}

h2 {
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 300;
  font-variation-settings: "opsz" 96;
  letter-spacing: -0.02em;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 400;
  font-variation-settings: "opsz" 24";
}

h4 {
  font-size: 1.25rem;
  font-weight: 500;
  font-family: var(--sans);
  letter-spacing: -0.01em;
}

p { color: var(--ink-soft); max-width: 62ch; }
.lede { font-size: 1.15rem; line-height: 1.65; }
em, .italic { font-family: var(--serif); font-style: italic; font-weight: 300; }

/* Eyebrow/kicker labels */
.kicker {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rust);
  display: inline-block;
}

/* Section labels (numbered) */
.section-num {
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--ink-soft);
  opacity: 0.55;
}

/* ============================================================
   LAYOUT PRIMITIVES
   ============================================================ */
.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.container-narrow {
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section { position: relative; }
section.padded { padding: var(--section-y) 0; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 1rem var(--gutter);
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
}
.nav__actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav.scrolled {
  background: rgba(244, 239, 230, 0.85);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}
.nav__brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav__brand strong { font-weight: 500; }
.nav__brand em { font-style: italic; color: var(--rust); font-weight: 300; }

.nav__menu {
  display: flex;
  gap: 2rem;
  align-items: center;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.nav__menu a { transition: color 0.2s ease; }
.nav__menu a:hover { color: var(--rust); }

.nav__lang {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
}
.nav__lang a { opacity: 0.5; transition: opacity 0.2s ease; }
.nav__lang a.active, .nav__lang a:hover { opacity: 1; color: var(--rust); }
.nav__lang span { opacity: 0.3; }

.nav__cta {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.7rem 1.4rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  transition: all 0.3s var(--ease);
}
.nav__cta:hover {
  background: var(--rust);
  border-color: var(--rust);
}

@media (max-width: 900px) {
  .nav { padding: 1rem var(--gutter); }
  .nav__menu { display: none; }
  .nav__cta { padding: 0.55rem 1rem; font-size: 0.7rem; }
  .nav__brand { font-size: 0.95rem; }
}

@media (max-width: 700px) {
  .nav__brand { font-size: 0.85rem; flex-wrap: nowrap; white-space: nowrap; }
  .nav__lang { font-size: 0.65rem !important; gap: 0.3rem !important; }
  .nav__cta {
    padding: 0.55rem 0.85rem;
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    white-space: nowrap;
  }
  .nav > div:last-child { gap: 0.85rem !important; }
}

@media (max-width: 380px) {
  .nav { padding: 0.85rem 1rem; }
  .nav__brand strong { display: inline; }
  .nav__brand em { display: inline; }
  .nav__lang { display: none; }
  .nav__cta { padding: 0.55rem 0.75rem; font-size: 0.6rem; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100svh;
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 16rem var(--gutter) 3rem;
  isolation: isolate;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.78) contrast(1.05) saturate(0.95);
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(26, 26, 26, 0.55) 0%,
    rgba(26, 26, 26, 0.40) 40%,
    rgba(26, 26, 26, 0.75) 100%
  );
}

.hero__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  color: var(--paper);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 400;
  opacity: 0.85;
}
.hero__top span { display: block; }
.hero__top--right { text-align: right; }

.hero__main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.hero__title {
  color: var(--paper);
  margin-bottom: 1.5rem;
}
.hero__title em {
  display: block;
  color: var(--rust);
  font-weight: 300;
}

.hero__subtitle {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  color: var(--paper);
  opacity: 0.92;
  max-width: 50ch;
  line-height: 1.4;
  margin-top: 1.5rem;
}

.hero__bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  flex-wrap: wrap;
}
.hero__ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: all 0.3s var(--ease);
  border: 1px solid;
  cursor: pointer;
}
.btn--primary {
  background: var(--rust);
  border-color: var(--rust);
  color: var(--paper);
}
.btn--primary:hover {
  background: var(--rust-dim);
  border-color: var(--rust-dim);
  transform: translateY(-2px);
}
.btn--ghost {
  background: transparent;
  border-color: var(--paper);
  color: var(--paper);
}
.btn--ghost:hover {
  background: var(--paper);
  color: var(--ink);
}
.btn--dark {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.btn--dark:hover { background: var(--rust); border-color: var(--rust); }

.btn__arrow {
  display: inline-block;
  transition: transform 0.3s var(--ease);
}
.btn:hover .btn__arrow { transform: translateX(4px); }

.hero__scroll {
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--paper);
  opacity: 0.7;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

@media (max-width: 700px) {
  .hero { padding-top: 5.5rem; }
  .hero__top { font-size: 0.62rem; }
  .hero__bottom { flex-direction: column; align-items: stretch; gap: 1.5rem; }
  .hero__scroll { display: none; }
  .hero__ctas .btn { flex: 1; justify-content: center; padding: 0.95rem 1rem; font-size: 0.7rem; }
}

/* ============================================================
   IDEA — the unique concept
   ============================================================ */
.idea {
  background: var(--paper);
  padding: var(--section-y) 0;
}
.idea__grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}
.idea__visual {
  position: relative;
}
.idea__visual img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  filter: contrast(1.02);
}
.idea__visual::after {
  content: '';
  position: absolute;
  inset: 1.5rem -1.5rem -1.5rem 1.5rem;
  background: var(--rust);
  z-index: -1;
  opacity: 0.85;
}

.idea__text .kicker { margin-bottom: 1.5rem; }
.idea__text h2 { margin-bottom: 2rem; }
.idea__text p { margin-bottom: 1.25rem; font-size: 1.075rem; }
.idea__text p:last-of-type { margin-bottom: 0; }

.pull-quote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.3;
  color: var(--ink);
  border-left: 2px solid var(--rust);
  padding-left: 2rem;
  margin: 3rem 0;
  max-width: none;
}

@media (max-width: 900px) {
  .idea__grid { grid-template-columns: 1fr; gap: 3rem; }
  .idea__visual::after { inset: 0.75rem -0.75rem -0.75rem 0.75rem; }
}

/* ============================================================
   HOW IT WORKS — 4 steps
   ============================================================ */
.steps {
  padding: var(--section-y) 0;
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.steps__head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  margin-bottom: 5rem;
  align-items: end;
}
.steps__head h2 { line-height: 1.0; }
.steps__head .lede { font-size: 1.15rem; }

.steps__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink);
}
.step {
  padding: 2.5rem 1.5rem 2rem 0;
  border-right: 1px solid var(--line);
  position: relative;
}
.step:last-child { border-right: none; }
.step__num {
  font-family: var(--serif);
  font-size: 4rem;
  font-weight: 300;
  line-height: 1;
  color: var(--rust);
  font-variation-settings: "opsz" 144;
  margin-bottom: 1.5rem;
  display: block;
}
.step h4 { margin-bottom: 0.75rem; font-family: var(--serif); font-size: 1.4rem; font-weight: 400; }
.step p { font-size: 0.95rem; line-height: 1.55; }

@media (max-width: 900px) {
  .steps__head { grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 3rem; }
  .steps__grid { grid-template-columns: 1fr 1fr; }
  .step:nth-child(2) { border-right: none; }
  .step:nth-child(1), .step:nth-child(2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 600px) {
  .steps__grid { grid-template-columns: 1fr; }
  .step { border-right: none; border-bottom: 1px solid var(--line); padding: 2rem 0; }
  .step:last-child { border-bottom: none; }
}

/* ============================================================
   INCLUDED — what's in every package
   ============================================================ */
.included {
  padding: var(--section-y) 0;
  background: var(--paper);
}
.included__head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
  margin-bottom: 4rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2.5rem;
}
.included__head h2 { max-width: 14ch; }

.included__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 3rem;
}
.feature {
  padding: 2rem 2rem 2rem 0;
  border-right: 1px solid var(--line);
}
.feature:nth-child(3n) { border-right: none; }
.feature:nth-child(n+4) { padding-top: 3rem; border-top: 1px solid var(--line); }

.feature__icon {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
  font-variation-settings: "opsz" 144;
  color: var(--rust);
  margin-bottom: 1rem;
  display: block;
  font-style: italic;
}
.feature h4 {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}
.feature p { font-size: 0.95rem; line-height: 1.55; }

@media (max-width: 800px) {
  .included__head { flex-direction: column; align-items: stretch; }
  .included__grid { grid-template-columns: 1fr 1fr; }
  .feature { padding: 1.5rem 1.5rem 1.5rem 0; }
  .feature:nth-child(3n) { border-right: 1px solid var(--line); }
  .feature:nth-child(2n) { border-right: none; }
  .feature:nth-child(n+3) { padding-top: 2rem; border-top: 1px solid var(--line); }
}
@media (max-width: 500px) {
  .included__grid { grid-template-columns: 1fr; }
  .feature { border-right: none !important; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
  .feature:last-child { border-bottom: none; }
  .feature:nth-child(n+2) { padding-top: 1.5rem; border-top: none; }
}

/* ============================================================
   PACKAGES
   ============================================================ */
.packages {
  background: var(--ink);
  color: var(--paper);
  padding: var(--section-y) 0;
}
.packages h2, .packages h3 { color: var(--paper); }
.packages p { color: rgba(244, 239, 230, 0.78); }
.packages .kicker { color: var(--rust); }

.packages__head { text-align: center; margin-bottom: 4.5rem; }
.packages__head h2 { max-width: 22ch; margin: 1rem auto 1.25rem; }
.packages__head p { max-width: 55ch; margin: 0 auto; }

.packages__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid rgba(244, 239, 230, 0.18);
}
.pack {
  padding: 3rem 2.5rem;
  border-right: 1px solid rgba(244, 239, 230, 0.18);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: background 0.3s var(--ease);
}
.pack:last-child { border-right: none; }
.pack:hover { background: rgba(181, 71, 31, 0.08); }

.pack--featured { background: rgba(181, 71, 31, 0.12); }
.pack--featured::before {
  content: 'MOST CHOSEN';
  position: absolute;
  top: 0; left: 50%;
  transform: translate(-50%, -50%);
  background: var(--rust);
  color: var(--paper);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  padding: 0.4rem 0.9rem;
  font-weight: 500;
}

.pack__name {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  font-variation-settings: "opsz" 96;
}
.pack__duration {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 2rem;
}
.pack__price {
  font-family: var(--serif);
  font-size: 3.8rem;
  font-weight: 300;
  line-height: 1;
  margin-bottom: 0.4rem;
  font-variation-settings: "opsz" 144;
}
.pack__price-meta {
  font-size: 0.78rem;
  color: rgba(244, 239, 230, 0.55);
  letter-spacing: 0.05em;
  margin-bottom: 2.5rem;
}
.pack__list {
  list-style: none;
  flex-grow: 1;
  margin-bottom: 2.5rem;
}
.pack__list li {
  padding: 0.7rem 0;
  border-top: 1px solid rgba(244, 239, 230, 0.12);
  font-size: 0.92rem;
  color: rgba(244, 239, 230, 0.85);
  display: flex;
  gap: 0.6rem;
  align-items: baseline;
}
.pack__list li::before {
  content: '—';
  color: var(--rust);
  font-weight: 500;
}

.pack .btn--ghost { width: 100%; justify-content: center; }

.packages__note {
  text-align: center;
  margin-top: 3rem;
  font-size: 0.85rem;
  color: rgba(244, 239, 230, 0.6);
  font-style: italic;
  font-family: var(--serif);
}
.packages__note strong { color: var(--paper); font-weight: 500; }

@media (max-width: 900px) {
  .packages__grid { grid-template-columns: 1fr; }
  .pack { border-right: none; border-bottom: 1px solid rgba(244, 239, 230, 0.18); padding: 2.5rem 1.75rem; }
  .pack:last-child { border-bottom: none; }
}

/* ============================================================
   WHERE WE GO
   ============================================================ */
.where {
  padding: var(--section-y) 0;
  background: var(--paper);
}
.where__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 5rem;
  align-items: end;
}
.where__head h2 { line-height: 1.0; }
.where__head p { font-size: 1.05rem; }

.where__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr;
  grid-template-rows: 50vh 30vh;
  gap: 1rem;
  min-height: 500px;
}

.place {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  group: place;
}
.place img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
  filter: brightness(0.85);
}
.place:hover img { transform: scale(1.04); }
.place__caption {
  position: absolute;
  bottom: 1.5rem; left: 1.5rem; right: 1.5rem;
  color: var(--paper);
  z-index: 2;
}
.place__num {
  font-family: var(--sans);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  opacity: 0.7;
  margin-bottom: 0.4rem;
}
.place__name {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 300;
  font-style: italic;
  font-variation-settings: "opsz" 96;
  line-height: 1;
}
.place__meta {
  font-size: 0.8rem;
  margin-top: 0.5rem;
  opacity: 0.85;
  letter-spacing: 0.05em;
}

.place--madrid { grid-column: 1; grid-row: 1 / 3; }
.place--toledo { grid-column: 2; grid-row: 1; }
.place--segovia { grid-column: 3; grid-row: 1; }
.place--avila { grid-column: 2; grid-row: 2; }
.place--salamanca { grid-column: 3; grid-row: 2; }

@media (max-width: 900px) {
  .where__head { grid-template-columns: 1fr; gap: 1rem; margin-bottom: 3rem; }
  .where__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 35vh 25vh 25vh;
  }
  .place--madrid { grid-column: 1 / 3; grid-row: 1; }
  .place--toledo { grid-column: 1; grid-row: 2; }
  .place--segovia { grid-column: 2; grid-row: 2; }
  .place--avila { grid-column: 1; grid-row: 3; }
  .place--salamanca { grid-column: 2; grid-row: 3; }
}

/* ============================================================
   ABOUT ALBERTO
   ============================================================ */
.about {
  padding: var(--section-y) 0;
  background: var(--paper-2);
  border-top: 1px solid var(--line);
}
.about__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}
.about__image {
  position: relative;
}
.about__image img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}
.about__image::after {
  content: '';
  position: absolute;
  inset: -1rem 1rem 1rem -1rem;
  border: 1px solid var(--rust);
  z-index: -1;
}

.about__text .kicker { margin-bottom: 1.5rem; }
.about__text h2 { margin-bottom: 2rem; }
.about__text p { font-size: 1.05rem; margin-bottom: 1.25rem; }
.about__signature {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.5rem;
  margin-top: 2.5rem;
  display: block;
  color: var(--rust);
  font-weight: 300;
}
.about__credentials {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.cred {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
}
.cred strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--rust);
  font-variation-settings: "opsz" 96;
  line-height: 1;
  margin-bottom: 0.3rem;
}

@media (max-width: 800px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__image::after { inset: -0.5rem 0.5rem 0.5rem -0.5rem; }
}

/* ============================================================
   FOUNDING CLIENTS — promo soft
   ============================================================ */
.founding {
  padding: var(--section-y) 0;
  background: var(--rust);
  color: var(--paper);
  text-align: center;
}
.founding h2 { color: var(--paper); max-width: 20ch; margin: 0.75rem auto 1.5rem; }
.founding p { color: rgba(244, 239, 230, 0.92); max-width: 55ch; margin: 0 auto 2.5rem; font-size: 1.1rem; }
.founding .kicker { color: var(--paper); opacity: 0.75; }
.founding .btn { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.founding .btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ============================================================
   REVIEWS
   ============================================================ */
.reviews {
  padding: var(--section-y) 0;
  background: var(--paper);
}
.reviews__head {
  text-align: center;
  margin-bottom: 4rem;
}
.reviews__head h2 { margin: 0.75rem auto 1.5rem; max-width: 20ch; }
.reviews__rating {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 0.6rem 1.2rem;
  background: var(--paper-2);
  border: 1px solid var(--line);
  font-family: var(--sans);
  font-size: 0.85rem;
}
.reviews__stars { color: var(--rust); letter-spacing: 0.1em; }
.reviews__rating strong { font-weight: 600; }
.reviews__rating a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.review {
  background: var(--paper-2);
  padding: 2rem 1.75rem;
  border-left: 2px solid var(--rust);
  display: flex;
  flex-direction: column;
}
.review__quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: 1.5rem;
  font-weight: 300;
  flex-grow: 1;
}
.review__author {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.2rem;
}
.review__meta {
  font-size: 0.75rem;
  color: var(--ink-soft);
  opacity: 0.7;
  display: flex;
  justify-content: space-between;
}
.review__meta a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

@media (max-width: 800px) {
  .reviews__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  padding: var(--section-y) 0;
  background: var(--paper-2);
  border-top: 1px solid var(--line);
}
.faq__head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  margin-bottom: 4rem;
  align-items: end;
}
.faq__head h2 { line-height: 1.0; }

.faq__list {
  border-top: 1px solid var(--ink);
  max-width: 1200px;
}
.faq__item {
  border-bottom: 1px solid var(--line);
}
.faq__q {
  width: 100%;
  text-align: left;
  padding: 1.75rem 0;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 400;
  font-variation-settings: "opsz" 24;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  transition: color 0.2s ease;
}
.faq__q:hover { color: var(--rust); }
.faq__q-icon {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--rust);
  transition: transform 0.3s var(--ease);
  flex-shrink: 0;
}
.faq__item[open] .faq__q-icon { transform: rotate(45deg); }
.faq__a {
  padding: 0 0 1.75rem;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 70ch;
}
.faq__a p + p { margin-top: 0.8rem; }

@media (max-width: 800px) {
  .faq__head { grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 2.5rem; }
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.plan {
  padding: var(--section-y) 0;
  background: var(--ink);
  color: var(--paper);
}
.plan h2, .plan h3 { color: var(--paper); }
.plan .kicker { color: var(--rust); }

.plan__head {
  text-align: center;
  margin-bottom: 4rem;
}
.plan__head h2 { max-width: 22ch; margin: 0.75rem auto 1rem; }
.plan__head p {
  color: rgba(244, 239, 230, 0.78);
  max-width: 55ch;
  margin: 0 auto;
  font-size: 1.05rem;
}

.form {
  max-width: 780px;
  margin: 0 auto;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}
.form__field { display: flex; flex-direction: column; }
.form__field--full { grid-column: 1 / -1; }

.form__label {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244, 239, 230, 0.7);
  margin-bottom: 0.5rem;
}
.form__label .req { color: var(--rust); }

.form__input,
.form__textarea,
.form__select {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(244, 239, 230, 0.3);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 1rem;
  padding: 0.75rem 0;
  transition: border-color 0.3s ease;
  width: 100%;
}
.form__input:focus,
.form__textarea:focus,
.form__select:focus {
  outline: none;
  border-bottom-color: var(--rust);
}
.form__input::placeholder,
.form__textarea::placeholder {
  color: rgba(244, 239, 230, 0.4);
}
.form__textarea {
  resize: vertical;
  min-height: 100px;
  border: 1px solid rgba(244, 239, 230, 0.3);
  padding: 1rem;
}
.form__textarea:focus { border-color: var(--rust); }
.form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23F4EFE6' stroke-width='1.5' d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.25rem center;
  padding-right: 2rem;
  cursor: pointer;
}
.form__select option { background: var(--ink); color: var(--paper); }

.form__checkbox {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.85rem;
  color: rgba(244, 239, 230, 0.78);
  margin: 1.5rem 0 2rem;
  cursor: pointer;
}
.form__checkbox input { margin-top: 0.15rem; accent-color: var(--rust); }
.form__checkbox a { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }

.form__submit {
  width: 100%;
  padding: 1.2rem;
  background: var(--rust);
  border: 1px solid var(--rust);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s var(--ease);
}
.form__submit:hover:not(:disabled) { background: var(--rust-dim); border-color: var(--rust-dim); }
.form__submit:disabled { opacity: 0.5; cursor: not-allowed; }

.form__status {
  margin-top: 1.5rem;
  padding: 1rem;
  font-size: 0.9rem;
  text-align: center;
  display: none;
}
.form__status.success {
  display: block;
  background: rgba(140, 180, 100, 0.15);
  color: #C8E0A8;
  border: 1px solid rgba(140, 180, 100, 0.3);
}
.form__status.error {
  display: block;
  background: rgba(220, 80, 70, 0.12);
  color: #FFB8A8;
  border: 1px solid rgba(220, 80, 70, 0.3);
}

@media (max-width: 600px) {
  .form__row { grid-template-columns: 1fr; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--ink);
  color: rgba(244, 239, 230, 0.7);
  padding: 4rem var(--gutter) 2rem;
  border-top: 1px solid rgba(244, 239, 230, 0.12);
}
.footer__grid {
  max-width: 1440px;
  margin: 0 auto 3rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
}
.footer__brand {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--paper);
  margin-bottom: 1rem;
  display: block;
}
.footer__brand em { color: var(--rust); font-style: italic; font-weight: 300; }
.footer__tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  line-height: 1.5;
  max-width: 28ch;
  font-weight: 300;
  color: rgba(244, 239, 230, 0.6);
}

.footer h5 {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--paper);
  margin-bottom: 1.25rem;
}
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 0.6rem; font-size: 0.9rem; }
.footer ul a { transition: color 0.2s ease; }
.footer ul a:hover { color: var(--rust); }

.footer__bottom {
  max-width: 1440px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(244, 239, 230, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.78rem;
  color: rgba(244, 239, 230, 0.45);
}

@media (max-width: 800px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 500px) {
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   ANIMATIONS — subtle, editorial
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.hero__top    { animation: fadeIn 1.2s 0.2s var(--ease) backwards; }
.hero__title  { animation: fadeUp 1.1s 0.4s var(--ease) backwards; }
.hero__title em { animation: fadeUp 1.1s 0.6s var(--ease) backwards; }
.hero__subtitle { animation: fadeUp 1.0s 0.8s var(--ease) backwards; }
.hero__bottom { animation: fadeUp 1.0s 1.0s var(--ease) backwards; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   SERVICES — extras / what else I cover
   ============================================================ */
.services {
  padding: var(--section-y) 0;
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.services__head {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 4.5rem;
  align-items: end;
}
.services__head h2 { line-height: 1.0; max-width: 14ch; }
.services__head p { font-size: 1.05rem; max-width: 56ch; }

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink);
}
.svc {
  padding: 2.25rem 1.75rem 2rem 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.svc:nth-child(3n) { border-right: none; }
.svc__num {
  font-family: var(--sans);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: var(--rust);
  margin-bottom: 1rem;
  display: block;
  font-weight: 500;
}
.svc h4 {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
  margin-bottom: 0.6rem;
  font-variation-settings: "opsz" 24;
}
.svc p {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.services__cta {
  margin-top: 3rem;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--ink-soft);
}
.services__cta strong { color: var(--ink); font-weight: 500; }
.services__cta a { color: var(--rust); text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 900px) {
  .services__head { grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 3rem; }
  .services__grid { grid-template-columns: 1fr 1fr; }
  .svc:nth-child(3n) { border-right: 1px solid var(--line); }
  .svc:nth-child(2n) { border-right: none; }
}
@media (max-width: 600px) {
  .services__grid { grid-template-columns: 1fr; }
  .svc { border-right: none !important; padding: 1.75rem 0; }
}

/* ============================================================
   LOGO IMAGE — header brand
   ============================================================ */
.nav__brand {
  display: flex;
  align-items: center;
}
.nav__logo {
  height: 200px;
  width: auto;
  display: block;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.3));
  transition: opacity 0.3s ease;
}
.nav__brand:hover .nav__logo {
  opacity: 0.85;
}

/* En hero oscuro, garantizar visibilidad del logo */
.nav.is-on-hero .nav__logo {
  filter: drop-shadow(0 2px 12px rgba(0,0,0,0.4));
}

/* En tablet y móvil, logo más pequeño */
@media (max-width: 900px) {
  .nav__logo { height: 140px; }
}
@media (max-width: 600px) {
  .nav__logo { height: 100px; }
}

/* Footer logo */
.footer__logo {
  height: 80px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 12px rgba(0,0,0,0.3));
}
@media (max-width: 600px) {
  .footer__logo { height: 64px; }
}


/* Hero padding ajustado para nav 2 filas con logo grande */
@media (max-width: 900px) {
  .hero { padding-top: 14rem; }
}
@media (max-width: 600px) {
  .hero { padding-top: 11rem; }
}
