/* Casa Cultural Oreste Sindici · sistema web */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&family=DM+Sans:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --verde-osc:  #1f4030;
  --verde:      #2d5a3d;
  --verde-cl:   #6b8e5a;
  --teja:       #a64a32;
  --teja-osc:   #7a3422;
  --piedra:     #8b7355;
  --blanco:     #f5efe2;
  --crema:      #faf6ec;
  --crema-osc:  #e8e2d0;
  --tinta:      #1a1f1c;
  --bandera-y:  #d4a92e;
  --bandera-b:  #3a5a8c;
  --bandera-r:  #b8362a;

  --serif:      'Cormorant Garamond', Georgia, serif;
  --sans:       'DM Sans', system-ui, sans-serif;
  --display:    'Cinzel', serif;
  --mono:       'JetBrains Mono', monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--tinta);
  background: var(--crema);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

/* ─── TIPOGRAFÍA ──────────────────────────────────────────────────────────── */
h1, h2, h3, h4 { margin: 0; line-height: 1.15; font-weight: 600; }
h1 { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(48px, 7vw, 96px); letter-spacing: -0.02em; }
h2 { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(36px, 4.5vw, 64px); letter-spacing: -0.01em; }
h3 { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: clamp(24px, 2.5vw, 32px); }
.kicker { font-family: var(--display); font-size: 13px; letter-spacing: 5px; text-transform: uppercase; color: var(--teja); font-weight: 500; }
.label  { font-family: var(--mono); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--verde-osc); opacity: 0.7; }
.lead   { font-size: 22px; line-height: 1.5; color: var(--verde-osc); font-weight: 300; max-width: 56ch; }

a { color: var(--verde-osc); text-decoration: none; border-bottom: 1px solid currentColor; transition: opacity .15s; }
a:hover { opacity: 0.6; }
a.bare { border-bottom: 0; }

/* ─── LAYOUT ──────────────────────────────────────────────────────────────── */
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.wrap-narrow { max-width: 880px; }

section { padding: 96px 0; }
section.tight { padding: 64px 0; }
section.dark  { background: var(--verde-osc); color: var(--blanco); }
section.dark .label { color: var(--blanco); opacity: 0.7; }
section.dark .kicker { color: var(--bandera-y); }
section.dark a { color: var(--blanco); }
section.crema { background: var(--crema-osc); }

@media (max-width: 720px) {
  section { padding: 64px 0; }
  .wrap   { padding: 0 20px; }
}

/* ─── NAV ─────────────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 236, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid rgba(31, 64, 48, 0.1);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 32px;
  max-width: 1280px; margin: 0 auto;
}
.nav-logo { display: flex; align-items: center; gap: 12px; border: 0; }
.nav-logo .nav-mark { width: 38px; height: 28px; }
.nav-logo .nav-name {
  font-family: var(--serif); font-style: italic; font-weight: 600;
  font-size: 22px; color: var(--verde-osc);
}
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  font-family: var(--display); font-size: 12px; letter-spacing: 2.5px;
  text-transform: uppercase; border: 0; color: var(--verde-osc);
}
.nav-links a.active { border-bottom: 1px solid var(--teja); padding-bottom: 2px; }
.nav-cta {
  background: var(--verde-osc); color: var(--blanco) !important;
  padding: 10px 18px; border: 0 !important; border-radius: 2px;
  font-family: var(--display); font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase;
}
.nav-cta:hover { background: var(--verde); opacity: 1 !important; }

@media (max-width: 880px) {
  .nav-links { gap: 16px; }
  .nav-links a:not(.nav-cta) { display: none; }
}

/* ─── BUTTONS ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--display); font-size: 12px; letter-spacing: 2.5px;
  text-transform: uppercase; padding: 14px 26px; border-radius: 2px;
  background: var(--verde-osc); color: var(--blanco); border: 0 !important;
  transition: background .15s; cursor: pointer;
}
.btn:hover { background: var(--verde); opacity: 1; }
.btn-ghost {
  background: transparent; color: var(--verde-osc); border: 1px solid var(--verde-osc) !important;
}
.btn-ghost:hover { background: var(--verde-osc); color: var(--blanco); }
.btn-teja { background: var(--teja); }
.btn-teja:hover { background: var(--teja-osc); }

/* ─── CINTA TRICOLOR (divisor) ────────────────────────────────────────────── */
.cinta { display: inline-flex; gap: 0; height: 4px; width: 120px; }
.cinta span { flex: 1; }
.cinta .y { background: var(--bandera-y); }
.cinta .b { background: var(--bandera-b); }
.cinta .r { background: var(--bandera-r); }

/* ─── HERO PUERTAS (home) ─────────────────────────────────────────────────── */
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 0; min-height: 70vh; }
.door {
  position: relative; padding: 56px 48px;
  display: flex; flex-direction: column; justify-content: flex-end;
  transition: filter .3s; cursor: pointer; overflow: hidden;
  border: 0;
}
.door:hover { filter: brightness(1.05); }
.door-bird { background: var(--verde-osc); color: var(--blanco); }
.door-cult { background: var(--crema-osc); color: var(--verde-osc); }
.door h2 { color: inherit; }
.door .door-meta { font-family: var(--mono); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; opacity: 0.6; margin-bottom: 16px; }
.door .door-cta { font-family: var(--display); font-size: 12px; letter-spacing: 2.5px; text-transform: uppercase; margin-top: 24px; display: inline-flex; align-items: center; gap: 12px; }
.door .door-cta:after { content: '→'; transition: transform .2s; }
.door:hover .door-cta:after { transform: translateX(6px); }

@media (max-width: 720px) {
  .doors { grid-template-columns: 1fr; min-height: auto; }
  .door  { min-height: 60vh; padding: 40px 24px; }
}

/* ─── CARDS ───────────────────────────────────────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
@media (max-width: 880px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; gap: 32px; }
}

.card { background: var(--blanco); padding: 28px; border-radius: 2px; }
.card.dark { background: var(--verde); color: var(--blanco); }

.placeholder {
  background: linear-gradient(135deg, #d6cdb8 0%, #c4b89c 50%, #d6cdb8 100%);
  position: relative; overflow: hidden;
  font-family: var(--mono); font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  color: rgba(31, 64, 48, 0.5);
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 4 / 3;
}
.placeholder.tall { aspect-ratio: 3 / 4; }
.placeholder.wide { aspect-ratio: 16 / 9; }
.placeholder.square { aspect-ratio: 1 / 1; }
.placeholder:before {
  content: ''; position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(45deg, transparent 0 18px, rgba(31, 64, 48, 0.04) 18px 19px);
  pointer-events: none;
}
.placeholder.dark { background: linear-gradient(135deg, #2d5a3d 0%, #1f4030 50%, #2d5a3d 100%); color: rgba(245, 239, 226, 0.5); }
.placeholder.dark:before { background-image: repeating-linear-gradient(45deg, transparent 0 18px, rgba(245, 239, 226, 0.04) 18px 19px); }

/* ─── PRECIO PILL ─────────────────────────────────────────────────────────── */
.price-pill {
  display: inline-flex; align-items: baseline; gap: 6px;
  background: var(--verde-osc); color: var(--blanco);
  padding: 8px 14px; border-radius: 999px;
  font-family: var(--mono); font-size: 13px; letter-spacing: 1px;
}
.price-pill .currency { font-size: 11px; opacity: 0.7; }
.price-pill .num { font-family: var(--serif); font-style: italic; font-size: 22px; font-weight: 600; }
.price-pill .per { font-size: 10px; opacity: 0.7; text-transform: uppercase; letter-spacing: 1.5px; }

/* ─── FAQ ─────────────────────────────────────────────────────────────────── */
.faq details {
  border-top: 1px solid rgba(31, 64, 48, 0.15); padding: 24px 0;
}
.faq details:last-child { border-bottom: 1px solid rgba(31, 64, 48, 0.15); }
.faq summary {
  list-style: none; cursor: pointer; display: flex;
  align-items: flex-start; justify-content: space-between; gap: 24px;
  font-family: var(--serif); font-style: italic; font-size: 26px; color: var(--verde-osc);
  font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:after {
  content: '+'; font-family: var(--display); font-size: 24px; transition: transform .2s;
  color: var(--teja); flex-shrink: 0;
}
.faq details[open] summary:after { transform: rotate(45deg); }
.faq details > p { margin-top: 16px; max-width: 60ch; line-height: 1.65; }

/* ─── FOOTER ──────────────────────────────────────────────────────────────── */
.footer {
  background: var(--verde-osc); color: var(--blanco); padding: 80px 0 32px;
}
.footer .grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; }
.footer h4 { font-family: var(--display); font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--bandera-y); margin-bottom: 16px; font-weight: 500; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 8px; }
.footer a { color: rgba(245, 239, 226, 0.8); border: 0; font-size: 14px; }
.footer a:hover { color: var(--blanco); opacity: 1; }
.footer .legal { margin-top: 64px; padding-top: 24px; border-top: 1px solid rgba(245, 239, 226, 0.15); display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; letter-spacing: 1.5px; color: rgba(245, 239, 226, 0.5); text-transform: uppercase; }
@media (max-width: 880px) { .footer .grid { grid-template-columns: 1fr 1fr; gap: 32px; } }

/* ─── HERO BIG ────────────────────────────────────────────────────────────── */
.hero { padding: 96px 0 80px; }
.hero-quote { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(28px, 3vw, 40px); line-height: 1.25; color: var(--verde-osc); max-width: 24ch; }

/* ─── ROOM ROW ────────────────────────────────────────────────────────────── */
.room { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center; padding: 64px 0; border-top: 1px solid rgba(31,64,48,0.15); }
.room:last-child { border-bottom: 1px solid rgba(31,64,48,0.15); }
.room-info ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.room-info li { font-family: var(--mono); font-size: 12px; letter-spacing: 1px; color: var(--verde-osc); opacity: 0.8; }
.room-info li:before { content: '· '; color: var(--teja); }
@media (max-width: 880px) { .room { grid-template-columns: 1fr; gap: 24px; } }

/* ─── SPECIES GRID (birding) ──────────────────────────────────────────────── */
.species { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.species .sp { background: var(--blanco); padding: 0; border-radius: 2px; overflow: hidden; }
.species .sp .placeholder { aspect-ratio: 1/1; }
.species .sp-info { padding: 14px 16px 18px; }
.species .sp-name { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--verde-osc); font-weight: 600; }
.species .sp-sci  { font-family: var(--mono); font-size: 10px; letter-spacing: 1px; color: var(--teja); margin-top: 4px; text-transform: uppercase; }
@media (max-width: 880px) { .species { grid-template-columns: 1fr 1fr; } }
