:root {
  /* Paleta de la marca Amarella (guía de amarela-pasticceria) */
  --amber: #c9a227;
  --honey: #dfc05a;
  --ink: #1e3e3a;
  --ink-2: #2e5d57;
  --tinta: #17201e;
  --sage: #9cc7be;
  --cream: #f6f2ea;
  --sand: #d6e8e3;
  --madera: #d9c7ae;
  --muted: #5f6c68;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', system-ui, sans-serif;
  --r: 22px;
  --pad: clamp(20px, 5vw, 72px);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); font-weight: 300; background: var(--cream); color: var(--tinta); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.02; letter-spacing: -0.01em; }
h2 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); }
h3 { font-size: 1.7rem; font-weight: 500; }
em { font-style: italic; color: var(--ink-2); }
.eyebrow { font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-2); font-weight: 600; margin-bottom: 18px; }

/* Botones */
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--amber); color: var(--ink); padding: 15px 28px; border-radius: 999px; font-weight: 600; border: 0; cursor: pointer; font: 600 .95rem var(--sans); transition: transform .3s, background .3s; }
.btn:hover { background: var(--honey); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.5); }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--sm { padding: 10px 20px; font-size: .85rem; }

/* Navegación */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: 22px var(--pad); color: #fff; transition: background .4s, padding .4s, color .4s; }
.nav.is-solid { background: rgba(248,242,231,.86); backdrop-filter: blur(14px); color: var(--tinta); padding-block: 14px; box-shadow: 0 1px 0 rgba(0,0,0,.06); }
.logo { font-family: var(--serif); font-size: 1.7rem; font-weight: 500; letter-spacing: -.02em; }
.logo span { color: var(--amber); }
.nav__links { display: flex; gap: 34px; font-size: .9rem; }
.nav__links a { opacity: .85; position: relative; }
.nav__links a::after { content: ''; position: absolute; left: 0; bottom: -4px; width: 0; height: 1px; background: var(--amber); transition: width .3s; }
.nav__links a:hover::after { width: 100%; }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; animation: kenburns 18s ease-out forwards; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23,32,30,.35) 0%, rgba(23,32,30,.1) 40%, rgba(23,32,30,.85) 100%); }
.hero__content { position: relative; padding: 0 var(--pad) clamp(60px, 10vh, 120px); max-width: 980px; }
.hero h1 { font-size: clamp(3rem, 9vw, 7.5rem); margin-bottom: 26px; }
.hero h1 em, .hero .eyebrow { color: var(--honey); }
.hero__lead { font-size: clamp(1rem, 1.4vw, 1.2rem); max-width: 560px; opacity: .9; margin-bottom: 34px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__scroll { position: absolute; right: var(--pad); bottom: 40px; writing-mode: vertical-rl; font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; opacity: .7; }
.hero__scroll::after { content: ''; display: block; width: 1px; height: 60px; margin: 12px auto 0; background: currentColor; animation: drip 2s infinite; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* Marquee */
.marquee { background: var(--honey); overflow: hidden; padding: 18px 0; }
.marquee__track { display: flex; gap: 34px; width: max-content; animation: slide 32s linear infinite; font-family: var(--serif); font-size: 1.6rem; font-style: italic; white-space: nowrap; }
.marquee__track i { font-style: normal; font-size: 1rem; align-self: center; }
@keyframes slide { to { transform: translateX(-50%); } }

/* Secciones */
.section { padding: clamp(80px, 12vw, 150px) var(--pad); }
.section__head { max-width: 760px; margin-bottom: 56px; }
.section__lead { color: var(--muted); font-size: 1.1rem; margin-top: 18px; max-width: 560px; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 260px; gap: 18px; }
.card { position: relative; border-radius: var(--r); overflow: hidden; color: #fff; isolation: isolate; }
.card img { position: absolute; inset: 0; z-index: -2; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.card::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 40%, rgba(23,32,30,.85)); }
.card:hover img { transform: scale(1.07); }
.card__body { position: absolute; left: 26px; right: 26px; bottom: 24px; }
.card__body p { font-size: .92rem; opacity: .85; max-width: 380px; margin-top: 6px; }
.card--xl { grid-column: span 2; grid-row: span 2; }
.card--xl h3 { font-size: 2.8rem; font-weight: 400; }
.card--md { grid-column: span 2; }
.card--tall { grid-column: span 2; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--ink); color: var(--cream); padding: 70px var(--pad); gap: 30px; }
.stat b { display: block; font-family: var(--serif); font-weight: 300; font-size: clamp(2.6rem, 5vw, 4.2rem); color: var(--honey); line-height: 1; }
.stat span { font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }

/* Alquiler */
.rental { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.rent__img { aspect-ratio: 4/5; border-radius: var(--r); overflow: hidden; margin-bottom: 22px; }
.rent__img img { transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.rent:hover .rent__img img { transform: scale(1.06); }
.rent__n { font-family: var(--serif); color: var(--amber); font-size: .95rem; }
.rent h3 { font-size: 2.1rem; font-weight: 400; margin: 4px 0 10px; }
.rent p { color: var(--muted); }

/* Interior / Exterior */
.split { background: var(--ink); color: var(--cream); padding: clamp(80px, 10vw, 130px) var(--pad); }
.split__tabs { display: inline-flex; background: var(--ink-2); padding: 6px; border-radius: 999px; margin-bottom: 50px; }
.tab { background: none; border: 0; color: var(--cream); font: 500 1rem var(--sans); padding: 12px 30px; border-radius: 999px; cursor: pointer; transition: background .3s, color .3s; }
.tab.is-active { background: var(--amber); color: var(--ink); }
.split__body { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.split__img { aspect-ratio: 4/3; border-radius: var(--r); overflow: hidden; }
.split__img img { transition: opacity .25s; }
.split__img img.is-fading { opacity: 0; }
.split__text h2 { margin-bottom: 22px; }
.split__text p { opacity: .75; margin-bottom: 26px; font-size: 1.05rem; }
.checks { list-style: none; display: grid; gap: 12px; }
.checks li { padding-left: 30px; position: relative; }
.checks li::before { content: '✦'; position: absolute; left: 0; color: var(--honey); }

/* Proceso */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: s; }
.step { border-top: 1px solid var(--sand); padding-top: 26px; }
.step span { font-family: var(--serif); font-size: 3rem; color: var(--amber); font-weight: 300; line-height: 1; }
.step h3 { margin: 14px 0 8px; }
.step p { color: var(--muted); font-size: .95rem; }

/* Galería */
.gallery { columns: 4 240px; column-gap: 16px; }
.gallery figure { break-inside: avoid; margin-bottom: 16px; border-radius: 16px; overflow: hidden; }
.gallery img { height: auto; transition: transform .8s, filter .8s; filter: saturate(.9); }
.gallery figure:hover img { transform: scale(1.04); filter: saturate(1.1); }

/* Testimonio */
.quote { background: var(--sand); padding: clamp(80px, 10vw, 130px) var(--pad); text-align: center; }
.quote blockquote { font-family: var(--serif); font-weight: 300; font-size: clamp(1.6rem, 3.2vw, 2.6rem); line-height: 1.3; max-width: 980px; margin: 0 auto; }
.quote cite { display: block; margin-top: 28px; font: 600 .8rem var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-style: normal; }

/* Socios (Amor e Praia) */
.partner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; background: var(--honey); padding: clamp(60px, 8vw, 100px) var(--pad); }
.partner__text { max-width: 680px; }
.partner .eyebrow, .partner em { color: var(--ink); }
.partner__text p:last-child { margin-top: 16px; font-size: 1.1rem; }
.btn--dark { background: var(--ink); color: var(--cream); }
.btn--dark:hover { background: var(--ink-2); }
.footer a { border-bottom: 1px solid var(--honey); }

/* Contacto */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); padding: clamp(80px, 12vw, 150px) var(--pad); }
.contact__info h2 { margin-bottom: 20px; }
.contact__info > p:not(.eyebrow) { color: var(--muted); font-size: 1.1rem; max-width: 440px; }
.contact__list { list-style: none; margin-top: 34px; display: grid; gap: 12px; }
.contact__list a { border-bottom: 1px solid var(--amber); }
.form { display: grid; gap: 18px; background: #fff; padding: clamp(26px, 4vw, 44px); border-radius: var(--r); box-shadow: 0 30px 80px -40px rgba(23,32,30,.35); }
.form label { display: grid; gap: 6px; font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.form input, .form select, .form textarea { font: 400 1rem var(--sans); color: var(--ink); border: 0; border-bottom: 1px solid var(--sand); padding: 10px 2px; background: transparent; outline: none; transition: border-color .3s; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--amber); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form .btn { justify-self: start; margin-top: 8px; }

/* Footer */
.footer { background: var(--ink); color: var(--cream); padding: 60px var(--pad); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer p { opacity: .6; font-size: .9rem; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 1s cubic-bezier(.2,.7,.2,1), transform 1s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 960px) {
  .nav__links { display: none; }
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 240px; }
  .card--xl, .card--md, .card--tall { grid-column: span 2; }
  .card--xl { grid-row: span 2; }
  .stats, .steps { grid-template-columns: 1fr 1fr; }
  .rental, .split__body, .contact { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .stats, .steps, .form__row { grid-template-columns: 1fr; }
  .hero__scroll { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
