/* ============ Landing Apartamentos Cantabria ============ */

:root {
  --ink: #1c2430;
  --ink-soft: #5b6676;
  --paper: #f7f5f1;
  --card: #ffffff;
  --line: #e6e2da;
  --accent: #0e6d5f;
  --accent-ink: #ffffff;
  --accent-soft: #e3f0ed;
  --radius: 16px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

/* ---------- Hero ---------- */
.hero {
  min-height: 78vh;
  display: flex; flex-direction: column;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(14,109,95,.14), transparent),
    linear-gradient(175deg, #10251f 0%, #173b32 55%, #0e6d5f 130%);
  color: #fff;
  padding: 0 clamp(20px, 5vw, 64px);
}

.nav {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 0; max-width: 1100px; width: 100%; margin: 0 auto;
}
.nav__brand { font-family: var(--font-display); font-size: 19px; font-weight: 600; letter-spacing: .01em; }
.nav__cta {
  color: #fff; text-decoration: none; font-weight: 600; font-size: 14px;
  border: 1px solid rgba(255,255,255,.35); padding: 9px 20px; border-radius: 999px;
  transition: background .15s, border-color .15s;
}
.nav__cta:hover { background: rgba(255,255,255,.12); border-color: #fff; }

.hero__content {
  max-width: 1100px; width: 100%; margin: auto; padding: 48px 0 96px;
}
.hero__eyebrow {
  font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: #9fd8cc; margin-bottom: 18px;
}
.hero__title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(38px, 6.5vw, 68px); line-height: 1.05; letter-spacing: -0.015em;
}
.hero__sub { margin-top: 20px; font-size: clamp(16px, 2vw, 18.5px); color: rgba(255,255,255,.82); max-width: 54ch; line-height: 1.6; }
.hero__btn {
  display: inline-block; margin-top: 34px; background: #fff; color: var(--ink);
  text-decoration: none; font-weight: 600; font-size: 15.5px;
  padding: 15px 34px; border-radius: 12px; transition: transform .12s, box-shadow .15s;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,.4);
}
.hero__btn:hover { transform: translateY(-2px); box-shadow: 0 16px 38px -12px rgba(0,0,0,.5); }

/* ---------- Apartamentos ---------- */
.apts { max-width: 1100px; margin: 0 auto; padding: clamp(56px, 9vw, 96px) clamp(20px, 5vw, 64px) 24px; }
.apts__title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(28px, 4vw, 42px); letter-spacing: -0.01em;
}
.apts__sub { margin-top: 10px; color: var(--ink-soft); }

.apts__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 40px;
}
@media (max-width: 760px) { .apts__grid { grid-template-columns: 1fr; } }

.apt {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 0 1px 2px rgba(28,36,48,.04), 0 16px 40px -20px rgba(28,36,48,.14);
  transition: transform .15s, box-shadow .2s;
}
.apt:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(28,36,48,.05), 0 24px 52px -20px rgba(28,36,48,.2); }

.apt__photo {
  aspect-ratio: 16 / 10; position: relative;
  display: flex; align-items: flex-start; justify-content: flex-end; padding: 14px;
}
/* Placeholders elegantes hasta tener fotos reales */
.apt__photo--1 { background: linear-gradient(140deg, #d9e7e2 0%, #a8c8bd 55%, #7ba796 100%); }
.apt__photo--2 { background: linear-gradient(140deg, #e8e2d4 0%, #cbbfa4 55%, #a5987c 100%); }
.apt__badge {
  background: rgba(255,255,255,.92); color: var(--ink); font-size: 12px; font-weight: 600;
  padding: 6px 12px; border-radius: 999px; backdrop-filter: blur(4px);
}

.apt__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.apt__name { font-family: var(--font-display); font-size: 24px; font-weight: 600; }
.apt__desc { margin-top: 8px; color: var(--ink-soft); font-size: 14.5px; line-height: 1.6; }

.apt__feats {
  display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 16px 0 22px;
}
.apt__feats li {
  font-size: 12.5px; font-weight: 500; color: var(--accent);
  background: var(--accent-soft); padding: 5px 12px; border-radius: 999px;
}

.apt__btn {
  margin-top: auto; text-align: center; background: var(--accent); color: var(--accent-ink);
  text-decoration: none; font-weight: 600; font-size: 15px;
  padding: 14px; border-radius: 12px; transition: filter .15s;
}
.apt__btn:hover { filter: brightness(1.12); }

/* ---------- Ventajas ---------- */
.perks {
  max-width: 1100px; margin: 0 auto;
  padding: clamp(40px, 7vw, 72px) clamp(20px, 5vw, 64px) clamp(56px, 8vw, 88px);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
@media (max-width: 760px) { .perks { grid-template-columns: 1fr; } }
.perk {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px;
}
.perk__icon { font-size: 26px; }
.perk h3 { font-family: var(--font-display); font-size: 18px; font-weight: 600; margin: 12px 0 6px; }
.perk p { color: var(--ink-soft); font-size: 14px; line-height: 1.6; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line); padding: 28px;
  text-align: center; font-size: 13px; color: var(--ink-soft);
}
