/* IMPERIA · Maqueta editable. Medidas de referencia: 1672 × 941 px. */
:root {
  --ink: #090909;
  --accent: #bd490f;
  --paper: #fdfcfb;
  --muted: #757575;
  --content: 1300px;
  
  --primary-color: var(--ink);
  --secondary-color: var(--accent);
  --bg-light: var(--paper);
  --text-dark: var(--ink);
  --text-muted: var(--muted);
  
  --font-serif: "Times New Roman", Times, serif;
  --font-sans: Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { 
    margin: 0; 
    background: var(--paper); 
    color: var(--ink); 
    font-family: var(--font-serif); 
}

/* Base Reference Styles */
button, select { font: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; color: inherit; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid #b95324; outline-offset: 5px; }
[hidden] { display: none !important; }

/* Components */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; border: 0; border-radius: 2px; font-size: 18px; line-height: 1.1; min-height: 51px; padding: 13px 30px; }
.button span, .view-all span { font-family: Arial, sans-serif; font-size: 23px; font-weight: 300; }
.dark { color: white; background: linear-gradient(120deg, #191919, #111); box-shadow: 0 1px 3px #0003; }
.terracotta { background: linear-gradient(100deg, #c14e12, #c5571c); color: white !important; min-width: 265px; }
.button:hover { filter: brightness(1.09); }

/* Hero */
.hero { height: 442px; background-image: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 50%, transparent 100%), url('/assets/portada.png'); background-position: center; background-size: cover; }
.hero-inner { max-width: var(--content); margin: auto; padding-top: 70px; }
.eyebrow { margin: 0 0 16px; color: #ff8b4d; font-size: 12px; letter-spacing: 3.5px; text-transform: uppercase; font-weight: bold; }
.hero h1 { font-size: 84px; font-weight: 700; letter-spacing: -3.5px; line-height: .8; margin: 0 0 18px; font-family: var(--font-serif); color: white; }
.subtitle { font-size: 22px; line-height: 1.2; margin: 0 0 12px; color: rgba(255,255,255,0.9); }

/* Search */
.search { position: relative; z-index: 2; max-width: var(--content); margin: -54px auto 0; min-height: 98px; padding: 22px 24px 22px 32px; border-radius: 7px; background: linear-gradient(#fff, #fefefe); box-shadow: 0 12px 26px #2d211317; display: grid; grid-template-columns: 1fr 1.08fr 1.08fr 1.03fr 168px; gap: 24px; align-items: center; }
.field { min-width: 0; }
.field label { display: block; font-size: 13px; font-weight: 600; line-height: 1.5; font-family: var(--font-sans); color: var(--muted); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.5px; }
.field select { width: 100%; border: 1px solid #e2e8f0; border-radius: 6px; color: var(--ink); font-size: 15px; padding: 12px 35px 12px 15px; background-color: #f8fafc; cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='12' viewBox='0 0 14 12'%3E%3Cpath d='m2 4 5 5 5-5' fill='none' stroke='%23333' stroke-width='1.4'/%3E%3C/svg%3E"); background-position: right 15px center; background-repeat: no-repeat; font-family: var(--font-sans); transition: all 0.2s ease; box-shadow: inset 0 1px 2px rgba(0,0,0,0.02); }
.field select:focus, .field select:hover { border-color: var(--accent); outline: none; background-color: #fff; }
.field select:focus { box-shadow: 0 0 0 3px rgba(189, 73, 15, 0.15); }
.search-button { min-height: 50px; padding: 10px 22px; }

/* Featured */
.featured { max-width: 1378px; margin: 31px auto 40px; scroll-margin-top: 20px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 10px; }
.section-heading h2 { font-size: 48px; line-height: 1.12; letter-spacing: -1.9px; font-weight: 700; margin: 0; font-family: var(--font-serif); }
.view-all { color: var(--accent); display: flex; align-items: center; gap: 14px; background: none; border: 0; font-size: 17px; padding: 13px 0; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 23px; }
.photo { aspect-ratio: 451/185; position: relative; overflow: hidden; border-radius: 5px; background: #e7eff0; }
.tag { position: absolute; bottom: 10px; left: 14px; background: #fff; border-radius: 1px; padding: 6px 10px; font-size: 14px; white-space: nowrap; font-family: var(--font-sans); color: #000; z-index: 10; }
.card h3 { font-size: 24px; font-weight: 400; line-height: 1.2; margin: 7px 0 3px; }
.location { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 17px; margin: 0; line-height: 1.3; font-family: var(--font-sans); }
.location svg { height: 17px; width: 17px; flex-shrink: 0; stroke: var(--accent); fill: none; stroke-width: 1.8; }
.status { text-align: center; color: #666; padding: 22px; font-family: var(--font-sans); }

/* Utilities from original */
.font-serif { font-family: var(--font-serif) !important; }
.font-sans { font-family: var(--font-sans) !important; }
.text-secondary-custom { color: var(--secondary-color) !important; }
.bg-secondary-custom { background-color: var(--secondary-color) !important; color: white; }

/* Responsive Overrides */
@media(max-width: 1450px) { .hero-inner, .search { max-width: calc(100% - 100px); } .featured { max-width: calc(100% - 80px); } .hero h1 { font-size: 76px; } .section-heading h2 { font-size: 42px; } }
@media(max-width: 1100px) { .hero-inner, .search { max-width: calc(100% - 48px); } .featured { max-width: calc(100% - 48px); } .search { gap: 16px; padding: 22px; } .field { padding-right: 14px; } .hero h1 { font-size: 70px; } .section-heading h2 { font-size: 38px; } }
@media(max-width: 900px) { .hero { height: 440px; background-position: 58% center; } .hero-inner { padding-top: 65px; } .search { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: -32px; } .search-button { grid-column: 1 / -1; } .field:nth-child(2) { border: 0; } .cards { gap: 16px; } .tag { font-size: 11px; left: 6px; bottom: 6px; padding: 4px; } .card h3 { font-size: 21px; } .location { font-size: 14px; } .section-heading h2 { font-size: 34px; } .view-all { font-size: 15px; } }
@media(max-width: 600px) { .hero-inner, .search, .featured { max-width: calc(100% - 32px); } .hero { height: 430px; background-image: linear-gradient(90deg, rgba(0,0,0,0.8), rgba(0,0,0,0.4)), url('/assets/portada.png'); } .hero h1 { font-size: clamp(45px, 12vw, 66px); } .search { padding: 19px; gap: 17px; } .section-heading { align-items: flex-start; flex-direction: column; } .cards { grid-template-columns: 1fr; } }

/* Choices.js Custom Overrides */
.choices { margin-bottom: 0; }
.choices__inner { background-color: #f8fafc; border: 1px solid #e2e8f0; border-radius: 6px; padding: 4.5px 15px !important; min-height: 48px; display: flex; align-items: center; font-family: var(--font-sans); font-size: 15px; color: var(--ink); transition: all 0.2s ease; box-shadow: inset 0 1px 2px rgba(0,0,0,0.02); }
.is-focused .choices__inner, .is-open .choices__inner { border-color: var(--accent); background-color: #fff; box-shadow: 0 0 0 3px rgba(189, 73, 15, 0.15); }
.choices__list--dropdown { border-color: #e2e8f0; border-radius: 6px; box-shadow: 0 10px 25px rgba(0,0,0,0.1); margin-top: 5px; z-index: 100; font-family: var(--font-sans); }
.choices__list--dropdown .choices__item { padding: 12px 15px; font-size: 14px; color: var(--ink); }
.choices__list--dropdown .choices__item--selectable.is-highlighted { background-color: #f1f5f9; color: var(--accent); }
.field select { display: none; } /* Hide native while Choices loads */
