:root {
  --cream: #f4ede1;
  --cream-2: #ece1d0;
  --paper: #fbf7f0;
  --ink: #241d17;
  --ink-soft: #5a5148;
  --olive: #454924;
  --olive-deep: #2f321a;
  --burgundy: #4a0e1a;
  --burgundy-deep: #330a13;
  --mahogany: #2b160f;
  --gold: #b08d57;
  --blue: #b7d1ea;
  --radius: 18px;
  --maxw: 1180px;
  font-size: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  margin: 0;
  letter-spacing: -0.01em;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.eyebrow {
  font-family: 'Jost', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.eyebrow-light { color: rgba(244,237,225,0.75); }

.section-title {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  line-height: 1.05;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--ink);
  color: var(--cream);
}
.btn-primary:hover { background: var(--olive-deep); }

.btn-whatsapp {
  background: #e9dcc3;
  color: var(--mahogany);
  padding: 16px 32px;
  font-size: 1rem;
}
.btn-whatsapp:hover { background: #f1e8d6; }

/* ---------- reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background .35s ease, padding .35s ease, box-shadow .35s ease;
}
.nav.scrolled {
  background: rgba(244,237,225,0.92);
  backdrop-filter: blur(10px);
  padding: 12px 0;
  box-shadow: 0 1px 0 rgba(36,29,23,0.08);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  font-family: 'Fraunces', serif;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--paper);
  transition: color .35s ease;
}
.nav.scrolled .nav-logo { color: var(--ink); }
.nav-logo span { font-style: italic; font-weight: 400; }

.nav-links {
  display: flex;
  gap: 32px;
  margin-left: auto;
  margin-right: 32px;
}
.nav-links a {
  font-size: 0.9rem;
  color: var(--paper);
  opacity: 0.85;
  transition: color .35s ease, opacity .2s ease;
}
.nav.scrolled .nav-links a { color: var(--ink); }
.nav-links a:hover { opacity: 1; }

.nav-cta { white-space: nowrap; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--paper);
  transition: background .35s ease;
}
.nav.scrolled .nav-toggle span { background: var(--ink); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: var(--cream);
  padding: 10px 28px 26px;
}
.mobile-menu a {
  padding: 12px 0;
  border-bottom: 1px solid rgba(36,29,23,0.08);
  font-size: 1rem;
}
.mobile-menu .btn { margin-top: 14px; justify-content: center; }
.mobile-menu.open { display: flex; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  padding: 140px 24px 100px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 15%, rgba(176,141,87,0.18), transparent 55%),
    radial-gradient(ellipse at 85% 85%, rgba(183,209,234,0.10), transparent 50%),
    linear-gradient(160deg, var(--burgundy-deep) 0%, var(--mahogany) 55%, var(--olive-deep) 120%);
  z-index: -1;
}
.hero-inner { max-width: 820px; }
.hero .eyebrow { color: rgba(244,237,225,0.7); }
.hero-title {
  font-size: clamp(3.4rem, 10vw, 7rem);
  color: var(--paper);
  line-height: 0.98;
  margin-bottom: 26px;
}
.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: rgba(244,237,225,0.8);
  max-width: 560px;
  margin: 0 auto 36px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border: 1px solid rgba(244,237,225,0.3);
  border-radius: 999px;
  color: var(--paper);
  font-size: 0.85rem;
  transition: border-color .25s ease, background .25s ease;
}
.hero-badge:hover { border-color: rgba(244,237,225,0.6); background: rgba(244,237,225,0.06); }
.hero-badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

.hero-scroll {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  width: 22px; height: 36px;
  border: 1px solid rgba(244,237,225,0.4);
  border-radius: 20px;
}
.hero-scroll span {
  position: absolute;
  top: 7px; left: 50%;
  width: 4px; height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--paper);
  animation: scrollDot 1.8s infinite;
}
@keyframes scrollDot {
  0% { opacity: 1; transform: translateY(0); }
  70% { opacity: 0; transform: translateY(14px); }
  100% { opacity: 0; transform: translateY(0); }
}

/* ---------- INTRO / SOBRE MI ---------- */
.intro { padding: 140px 24px; scroll-margin-top: 90px; }
.intro-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
}
.intro-head { position: sticky; top: 130px; align-self: start; }
.intro-text {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 560px;
  margin-bottom: 22px;
}
.services {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
}
.services li {
  display: flex;
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid rgba(36,29,23,0.14);
}
.services li:last-child { border-bottom: 1px solid rgba(36,29,23,0.14); }
.services-num {
  font-family: 'Fraunces', serif;
  font-size: 1.3rem;
  color: var(--gold);
  flex-shrink: 0;
  padding-top: 2px;
}
.services h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.services p {
  color: var(--ink-soft);
  font-size: 0.98rem;
  max-width: 480px;
}

/* ---------- FEATURE: LAMPARA ARO ---------- */
.feature {
  background: linear-gradient(170deg, #4a2a18 0%, var(--mahogany) 60%, #1a0d07 100%);
  padding: 130px 24px;
  scroll-margin-top: 70px;
}
.feature-inner { max-width: var(--maxw); margin: 0 auto; }
.feature-head { text-align: center; margin-bottom: 56px; }
.feature-title {
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  color: var(--paper);
  margin-bottom: 18px;
}
.feature-badge {
  display: inline-block;
  padding: 9px 20px;
  border-radius: 999px;
  background: rgba(176,141,87,0.18);
  border: 1px solid rgba(176,141,87,0.5);
  color: #e7d3ab;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  margin-bottom: 18px;
}

/* ---------- PALETTE TAGS & LEGEND ---------- */
.palette-tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 500;
  color: var(--ink-soft);
  margin-bottom: 16px;
}
.palette-tag i {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--sw, var(--gold));
  box-shadow: 0 0 0 3px rgba(0,0,0,0.05);
  flex-shrink: 0;
}
.palette-tag--light { color: rgba(244,237,225,0.85); }
.palette-tag--light i { box-shadow: 0 0 0 3px rgba(244,237,225,0.12); }
.project-body .palette-tag { display: flex; }

.projects-sub {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 480px;
  margin-top: 18px;
}
.palette-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 34px;
}
.palette-legend li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
}
.palette-legend i {
  width: 16px; height: 16px;
  border-radius: 5px;
  background: var(--sw);
  display: inline-block;
  box-shadow: 0 2px 6px rgba(36,29,23,0.2);
}
.feature-media { margin-bottom: 44px; }
.feature-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}
.feature-text {
  color: rgba(244,237,225,0.82);
  font-size: 1.08rem;
  line-height: 1.75;
}
.feature-media-small {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 18px;
  margin-bottom: 22px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}
.chips li {
  font-size: 0.8rem;
  color: var(--chip-ink, #e7d3ab);
  border: 1px solid var(--chip-border, rgba(176,141,87,0.45));
  padding: 7px 14px;
  border-radius: 999px;
}

/* ---------- SHOT (framed image, sized to its own content) ---------- */
.shot {
  margin: 0;
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 18px 40px -20px rgba(36,29,23,0.35);
  line-height: 0;
}
.shot img {
  display: block;
  width: 100%;
  height: auto;
  cursor: zoom-in;
  transition: transform .5s cubic-bezier(.2,.7,.2,1), filter .3s ease;
}
.shot:hover img { transform: scale(1.025); filter: brightness(1.03); }
.feature .shot { background: #efe6d2; }

/* ---------- LIGHTBOX ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: none;
  align-items: center;
  justify-content: center;
  background: #130d09;
  padding: 70px 90px;
}
.lightbox.open { display: flex; }
.lightbox-figure {
  margin: 0;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  transform: scale(.97);
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.lightbox.open .lightbox-figure { transform: scale(1); }
.lightbox-img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 140px);
  width: auto;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.6);
}
.lightbox-close,
.lightbox-arrow {
  position: absolute;
  z-index: 2;
  background: rgba(244,237,225,0.08);
  border: 1px solid rgba(244,237,225,0.25);
  color: var(--paper);
  border-radius: 50%;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}
.lightbox-close:hover,
.lightbox-arrow:hover { background: rgba(244,237,225,0.18); border-color: rgba(244,237,225,0.5); }
.lightbox-close { top: 24px; right: 24px; }
.lightbox-arrow { top: 50%; transform: translateY(-50%); }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
.lightbox-counter {
  position: absolute;
  bottom: 26px; left: 50%;
  transform: translateX(-50%);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: rgba(244,237,225,0.65);
}

@media (max-width: 640px) {
  .lightbox { padding: 90px 20px 60px; }
  .lightbox-close { top: 16px; right: 16px; width: 40px; height: 40px; }
  .lightbox-arrow { width: 40px; height: 40px; }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
}

/* ---------- PROJECTS ---------- */
.projects { padding: 140px 0 0; scroll-margin-top: 70px; }
.projects-head {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px 90px;
}

.color-band {
  padding: 110px 24px;
  transition: background .3s ease;
}
.color-band--blue {
  background: linear-gradient(175deg, #dde9f3, #cfe0ee);
  --ink: #223240;
  --ink-soft: #46586a;
  --chip-ink: #2c4258;
  --chip-border: rgba(44,66,88,0.3);
}
.color-band--burgundy {
  background: linear-gradient(170deg, #4a0e1a, #2c0a12);
  --ink: #f4ede1;
  --ink-soft: rgba(244,237,225,0.75);
  --chip-ink: #f0d9c8;
  --chip-border: rgba(240,217,200,0.35);
}
.color-band--olive {
  background: linear-gradient(170deg, #4d5225, #343823);
  --ink: #f4ede1;
  --ink-soft: rgba(244,237,225,0.75);
  --chip-ink: #e5e6c8;
  --chip-border: rgba(229,230,200,0.35);
}
.color-band--cream {
  background: linear-gradient(175deg, #f1e9c9, #ead9b1);
  --ink: #2c2415;
  --ink-soft: #6b5c3c;
  --chip-ink: #5a4a28;
  --chip-border: rgba(90,74,40,0.3);
}
.color-band h3.project-title,
.color-band .project-meta,
.color-band .project-text,
.color-band .palette-tag {
  color: var(--ink);
}
.color-band .project-text { color: var(--ink-soft); }
.color-band--burgundy .shot,
.color-band--olive .shot { background: #efe6d2; }

.project {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}
.project-reverse { direction: rtl; }
.project-reverse > * { direction: ltr; }

.project-media-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
  gap: 14px;
  margin-top: 14px;
}
.project-media-row-single { grid-template-columns: 1fr; }
.project-media-row-two { grid-template-columns: 1fr 1fr; }

.project-num {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--gold);
}
.project-meta {
  margin-top: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  color: var(--ink-soft);
}
.project-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin: 14px 0 20px;
}
.project-text {
  color: var(--ink-soft);
  font-size: 1.02rem;
  max-width: 480px;
  margin-bottom: 14px;
}
.project-text:last-of-type { margin-bottom: 0; }
.project-body .chips { margin-top: 20px; }

/* ---------- CONTACT ---------- */
.contact {
  background: linear-gradient(170deg, var(--burgundy-deep), var(--mahogany));
  padding: 160px 24px;
  text-align: center;
  scroll-margin-top: 70px;
}
.contact-inner { max-width: 680px; margin: 0 auto; }
.contact-title {
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  color: var(--paper);
  margin: 0 0 22px;
}
.contact-text {
  color: rgba(244,237,225,0.75);
  font-size: 1.1rem;
  margin-bottom: 40px;
}

/* ---------- FOOTER ---------- */
.footer {
  padding: 40px 24px 50px;
  text-align: center;
  background: var(--mahogany);
  color: rgba(244,237,225,0.55);
  font-size: 0.85rem;
}
.footer p { margin-bottom: 4px; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .intro-inner { grid-template-columns: 1fr; gap: 40px; }
  .intro-head { position: static; }

  .feature-grid { grid-template-columns: 1fr; }
  .feature-media-small { grid-template-columns: 1fr 1fr; }

  .project, .project-reverse { grid-template-columns: 1fr; direction: ltr; }
  .project-media-row { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 560px) {
  .intro { padding: 100px 20px; }
  .feature { padding: 90px 20px; }
  .projects { padding: 100px 0 0; }
  .projects-head { padding: 0 20px 60px; }
  .color-band { padding: 80px 20px; }
  .contact { padding: 110px 20px; }
  .project-media-row { grid-template-columns: 1fr 1fr; }
  .shot-wide { aspect-ratio: 4 / 3; }
  .services li { flex-direction: column; gap: 8px; }
  .palette-legend { gap: 16px 20px; }
}
