:root {
  --navy: #052a55;
  --navy-2: #0a4278;
  --navy-3: #021a35;
  --red: #e30613;
  --red-dark: #bd0010;
  --white: #fff;
  --surface: #f4f5f7;
  --surface-2: #e9edf2;
  --text: #27313d;
  --muted: #647080;
  --border: #dce2e8;
  --green: #12814a;
  --amber: #a76200;
  --shadow: 0 16px 50px rgba(5, 42, 85, .1);
  --radius: 16px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: var(--white); font: 400 16px/1.6 Inter, "Segoe UI", Arial, sans-serif; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, .btn { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid rgba(227, 6, 19, .35); outline-offset: 3px; }
.container { width: min(calc(100% - 36px), var(--container)); margin-inline: auto; }
.narrow { max-width: 820px; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 9999; padding: 12px 18px; background: var(--white); color: var(--navy); border-radius: 8px; box-shadow: var(--shadow); }
.skip-link:focus { top: 16px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 12px; color: var(--red); font-size: .82rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 24px; height: 3px; border-radius: 2px; background: currentColor; }
h1, h2, h3 { margin: 0 0 .65em; color: var(--navy); line-height: 1.12; letter-spacing: -.025em; }
h1 { font-size: clamp(2.35rem, 6vw, 4.7rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
.lead { max-width: 720px; color: var(--muted); font-size: 1.15rem; }
.muted { color: var(--muted); }
.section { padding: clamp(64px, 8vw, 104px) 0; }
.section-soft { background: var(--surface); }
.section-dark { color: rgba(255,255,255,.84); background: var(--navy-3); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 34px; }
.section-head > div { max-width: 720px; }
.section-head p { color: var(--muted); }
.btn { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 8px; padding: 11px 19px; border: 1px solid transparent; border-radius: 9px; cursor: pointer; font-weight: 800; line-height: 1.15; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: var(--white); background: var(--red); box-shadow: 0 8px 22px rgba(227,6,19,.23); }
.btn-primary:hover { background: var(--red-dark); }
.btn-secondary { color: var(--white); background: var(--navy); }
.btn-secondary:hover { background: var(--navy-2); }
.btn-outline { color: var(--white); border-color: rgba(255,255,255,.5); background: transparent; }
.btn-outline:hover { background: rgba(255,255,255,.1); }
.btn-ghost { color: var(--navy); border-color: var(--border); background: var(--white); }
.btn-block { width: 100%; }

.site-header { position: sticky; z-index: 1000; top: 0; height: 78px; border-bottom: 1px solid rgba(5,42,85,.08); background: rgba(255,255,255,.97); backdrop-filter: blur(14px); }
.nav-wrap { display: flex; height: 78px; align-items: center; justify-content: space-between; }
.brand { display: flex; width: 174px; height: 62px; align-items: center; overflow: hidden; }
.brand img { width: 100%; height: 100%; padding: 4px 0; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav > a:not(.btn) { padding: 9px 10px; color: var(--navy); font-size: .9rem; font-weight: 750; border-radius: 8px; }
.main-nav > a:not(.btn):hover { background: var(--surface); }
.main-nav .nav-quote { margin-left: 8px; padding-inline: 14px; font-size: .85rem; }
.nav-whatsapp { color: var(--green) !important; }
.menu-toggle { display: none; width: 46px; height: 42px; place-items: center; gap: 5px; padding: 10px; border: 0; border-radius: 8px; background: var(--surface); }
.menu-toggle span { display: block; width: 23px; height: 2px; background: var(--navy); }

.hero { position: relative; min-height: 650px; display: grid; align-items: center; overflow: hidden; color: var(--white); background-color: var(--navy-3); background-position: center; background-size: cover; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 10%, rgba(227,6,19,.32), transparent 28%), linear-gradient(120deg, rgba(5,42,85,.2), rgba(2,26,53,.95)), repeating-linear-gradient(90deg, transparent 0 79px, rgba(255,255,255,.03) 80px), repeating-linear-gradient(0deg, transparent 0 79px, rgba(255,255,255,.03) 80px); }
.hero::after { content: ""; position: absolute; right: -10%; bottom: -42%; width: 58vw; aspect-ratio: 1; border: 84px solid rgba(255,255,255,.035); border-radius: 50%; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0,1.2fr) minmax(320px,.8fr); align-items: center; gap: 65px; padding-block: 75px; }
.hero h1 { max-width: 780px; color: var(--white); }
.hero h1 span { color: #ff2633; }
.hero-copy > p:not(.eyebrow) { max-width: 670px; color: rgba(255,255,255,.77); font-size: 1.14rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 34px; margin-top: 46px; }
.hero-stat strong { display: block; color: var(--white); font-size: 1.65rem; line-height: 1; }
.hero-stat span { color: rgba(255,255,255,.62); font-size: .84rem; }
.hero-panel { position: relative; padding: 28px; border: 1px solid rgba(255,255,255,.15); border-radius: 24px; background: rgba(255,255,255,.08); box-shadow: 0 24px 80px rgba(0,0,0,.24); backdrop-filter: blur(14px); }
.hero-panel::before { content: ""; position: absolute; inset: -10px; z-index: -1; border: 1px solid rgba(227,6,19,.35); border-radius: 28px; transform: rotate(2deg); }
.hero-logo { display: grid; min-height: 210px; place-items: center; overflow: hidden; padding: 18px; border-radius: 14px; background: var(--white); }
.hero-logo img { width: 100%; height: 100%; max-height: 190px; object-fit: contain; }
.hero-panel h2 { margin: 24px 0 8px; color: var(--white); font-size: 1.35rem; }
.hero-panel p { color: rgba(255,255,255,.68); font-size: .94rem; }
.quick-search { display: grid; grid-template-columns: 1fr auto; gap: 9px; padding: 9px; border-radius: 11px; background: var(--white); }
.quick-search input { min-width: 0; padding: 9px 12px; border: 0; outline: 0; color: var(--text); }

.category-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.category-card { min-height: 150px; display: flex; flex-direction: column; justify-content: space-between; padding: 22px; border: 1px solid var(--border); border-radius: 14px; background: var(--white); transition: transform .18s ease, border .18s ease, box-shadow .18s ease; }
.category-card:hover { transform: translateY(-4px); border-color: rgba(227,6,19,.35); box-shadow: var(--shadow); }
.category-icon { width: 42px; height: 42px; display: grid; place-items: center; color: var(--white); border-radius: 10px; background: var(--navy); font-size: 1.1rem; font-weight: 900; }
.category-card strong { color: var(--navy); line-height: 1.25; }
.category-card small { color: var(--muted); }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.product-card { overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); box-shadow: 0 6px 28px rgba(5,42,85,.05); transition: transform .2s ease, box-shadow .2s ease; }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.product-image { position: relative; display: block; aspect-ratio: 16/11; overflow: hidden; background: var(--surface-2); }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.product-card:hover .product-image img { transform: scale(1.025); }
.featured-badge, .status-badge { position: absolute; top: 14px; padding: 6px 10px; border-radius: 999px; color: var(--white); font-size: .72rem; font-weight: 850; box-shadow: 0 4px 12px rgba(0,0,0,.13); }
.featured-badge { left: 14px; background: var(--red); }
.status-badge { right: 14px; background: var(--navy); }
.status-disponible { background: var(--green); }
.status-reservado { background: var(--amber); }
.status-arrendado, .status-agotado, .status-no_disponible { background: #59626d; }
.product-body { padding: 21px; }
.product-meta { display: flex; min-height: 24px; justify-content: space-between; gap: 12px; color: var(--muted); font-size: .76rem; font-weight: 700; text-transform: uppercase; }
.product-body h3 { margin: 7px 0 9px; }
.product-body h3 a:hover { color: var(--red); }
.product-body p { min-height: 51px; color: var(--muted); font-size: .92rem; display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.price { margin: 18px 0 3px; color: var(--navy); font-size: 1.07rem; font-weight: 900; }
.condition { color: var(--muted); font-size: .82rem; }
.card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; }
.card-actions .btn { padding-inline: 10px; font-size: .85rem; }
.card-actions .whatsapp-card { grid-column: 1/-1; color: var(--green); border-color: #a9dfc5; background: #effaf4; }
.card-actions .whatsapp-card:hover { color: var(--white); background: var(--green); }

.benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.benefit { padding: 28px 24px; border-left: 3px solid var(--red); background: rgba(255,255,255,.05); }
.benefit-number { color: var(--red); font-size: .82rem; font-weight: 900; letter-spacing: .1em; }
.benefit h3 { margin-top: 16px; }
.cta-strip { display: grid; grid-template-columns: 1.5fr auto; align-items: center; gap: 36px; padding: 42px; border-radius: 20px; color: rgba(255,255,255,.8); background: linear-gradient(110deg, var(--navy), var(--navy-2)); box-shadow: var(--shadow); }
.cta-strip h2 { color: var(--white); }

.page-hero { padding: 62px 0 50px; color: rgba(255,255,255,.75); background: linear-gradient(120deg, var(--navy-3), var(--navy)); }
.page-hero h1 { color: var(--white); font-size: clamp(2.35rem,5vw,4rem); }
.page-hero .eyebrow { color: #ff4c57; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; font-size: .86rem; }
.breadcrumb a { color: rgba(255,255,255,.72); }
.breadcrumb span { color: rgba(255,255,255,.4); }

.catalog-layout { display: grid; grid-template-columns: 275px minmax(0,1fr); align-items: start; gap: 30px; }
.filters { position: sticky; top: 98px; padding: 22px; border: 1px solid var(--border); border-radius: 14px; background: var(--white); }
.filters h2 { font-size: 1.2rem; }
.filter-group { margin-bottom: 16px; }
.filter-group label { display: block; margin-bottom: 6px; color: var(--navy); font-size: .82rem; font-weight: 800; }
.field, .filter-group input, .filter-group select { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #cad3dc; border-radius: 8px; color: var(--text); background: var(--white); }
.price-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.filter-actions { display: grid; gap: 8px; margin-top: 22px; }
.catalog-results { min-width: 0; }
.result-bar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.result-bar p { margin: 0; color: var(--muted); }
.catalog-results .product-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
.empty-state { grid-column: 1/-1; padding: 56px 28px; border: 1px dashed #b8c2cd; border-radius: 14px; text-align: center; background: var(--white); }
.empty-state h2 { font-size: 1.6rem; }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; margin-top: 38px; }
.pagination a, .pagination span { min-width: 42px; height: 42px; display: grid; place-items: center; padding: 0 10px; border: 1px solid var(--border); border-radius: 8px; background: var(--white); font-weight: 800; }
.pagination .current { color: var(--white); border-color: var(--navy); background: var(--navy); }

.detail-layout { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(320px,.85fr); gap: 48px; }
.main-photo { aspect-ratio: 16/11; overflow: hidden; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); cursor: zoom-in; }
.main-photo img { width: 100%; height: 100%; object-fit: cover; }
.thumbnails { display: grid; grid-template-columns: repeat(5,1fr); gap: 9px; margin-top: 11px; }
.thumbnail { aspect-ratio: 1; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: 9px; background: var(--surface); cursor: pointer; }
.thumbnail.active { border-color: var(--red); }
.thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.detail-info { position: sticky; top: 104px; align-self: start; }
.detail-kicker { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 13px; }
.tag { padding: 5px 10px; border-radius: 999px; color: var(--navy); background: #e9f1f8; font-size: .76rem; font-weight: 800; }
.tag-red { color: #9f0010; background: #ffe8ea; }
.detail-info h1 { font-size: clamp(2.2rem,4.4vw,3.6rem); }
.detail-price { padding: 18px 0; border-block: 1px solid var(--border); color: var(--navy); font-size: 1.45rem; font-weight: 900; }
.rate-list { display: grid; gap: 7px; margin-top: 12px; }
.rate-list div { display: flex; justify-content: space-between; gap: 18px; padding: 9px 12px; border-radius: 7px; background: var(--surface); font-size: .86rem; }
.rate-list span { color: var(--muted); }
.rate-list strong { color: var(--navy); text-align: right; }
.detail-summary { margin: 22px 0; color: var(--muted); font-size: 1.05rem; }
.detail-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.detail-actions .btn:first-child { grid-column: 1/-1; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 26px; margin: 28px 0; }
.spec { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.spec dt { color: var(--muted); }
.spec dd { margin: 0; color: var(--navy); font-weight: 800; text-align: right; }
.prose { max-width: 860px; }
.prose h2 { margin-top: 1.8em; font-size: 1.7rem; }
.prose ul { padding-left: 20px; }

.two-column { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(300px,.8fr); gap: 54px; }
.content-card { padding: 30px; border: 1px solid var(--border); border-radius: 16px; background: var(--white); box-shadow: 0 10px 35px rgba(5,42,85,.06); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { min-width: 0; }
.form-group.full { grid-column: 1/-1; }
.form-group label { display: block; margin-bottom: 6px; color: var(--navy); font-size: .87rem; font-weight: 800; }
.form-group input, .form-group select, .form-group textarea { width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid #c8d2dc; border-radius: 8px; color: var(--text); background: var(--white); }
.form-group textarea { min-height: 140px; resize: vertical; }
.form-group small { color: var(--muted); }
.checkbox { display: flex; align-items: flex-start; gap: 10px; }
.checkbox input { width: 18px; height: 18px; margin-top: 3px; }
.hp-field { position: absolute !important; left: -9999px !important; }
.contact-stack { display: grid; gap: 14px; }
.contact-item { padding: 21px; border-left: 3px solid var(--red); background: var(--surface); }
.contact-item strong { display: block; color: var(--navy); }
.contact-item a { color: var(--navy-2); font-weight: 700; }
.flash { margin-top: 18px; padding: 14px 18px; border-radius: 9px; font-weight: 700; }
.flash-success { color: #075c34; border: 1px solid #9dd9ba; background: #e8f8ef; }
.flash-error { color: #92101b; border: 1px solid #efadb3; background: #fff0f1; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.success-card { max-width: 720px; margin: 70px auto; padding: 52px; border-radius: 20px; text-align: center; background: var(--white); box-shadow: var(--shadow); }
.success-icon { width: 74px; height: 74px; display: grid; place-items: center; margin: 0 auto 22px; border-radius: 50%; color: var(--white); background: var(--green); font-size: 2rem; }

.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 60px; }
.about-visual { position: relative; min-height: 470px; padding: 34px; display: flex; align-items: end; overflow: hidden; border-radius: 22px; color: var(--white); background: linear-gradient(145deg,var(--navy-3),var(--navy-2)); }
.about-visual::before { content: ""; position: absolute; width: 340px; height: 340px; right: -90px; top: -90px; border: 68px solid rgba(255,255,255,.06); border-radius: 50%; }
.about-visual blockquote { position: relative; z-index: 1; margin: 0; font-size: 1.5rem; font-weight: 750; line-height: 1.35; }
.value-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.value-card { padding: 30px; border-top: 4px solid var(--red); border-radius: 12px; background: var(--white); box-shadow: 0 8px 30px rgba(5,42,85,.06); }

.site-footer { padding-top: 56px; color: #c5d0dd; background: var(--navy-3); }
.footer-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 40px; }
.footer-grid h2 { margin-bottom: 17px; color: var(--white); font-size: 1rem; letter-spacing: 0; }
.footer-grid a, .footer-grid p { display: block; margin: 0 0 8px; color: #b6c5d4; font-size: .9rem; }
.footer-grid a:hover { color: var(--white); }
.footer-brand { grid-column: 1 / -1; text-align: center; }
.footer-logo { width: min(100%, 260px); height: 128px; display: grid; place-items: center; overflow: hidden; margin: 0 auto 16px; padding: 12px 16px; border-radius: 8px; background: var(--white); }
.footer-logo img { width: 100%; height: 100%; object-fit: contain; }
.footer-brand p { max-width: 440px; margin-inline: auto; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 44px; padding-block: 20px; border-top: 1px solid rgba(255,255,255,.1); color: #8699ac; font-size: .82rem; }
.whatsapp-float { position: fixed; z-index: 990; right: 20px; bottom: 20px; min-height: 49px; display: flex; align-items: center; gap: 8px; padding: 10px 17px; border-radius: 999px; color: var(--white); background: #16a765; box-shadow: 0 12px 30px rgba(8,95,53,.28); font-weight: 850; }

@media (max-width: 1080px) {
  .menu-toggle { display: grid; }
  .main-nav { position: absolute; top: 78px; left: 0; right: 0; display: none; align-items: stretch; padding: 16px 20px 22px; border-top: 1px solid var(--border); background: var(--white); box-shadow: 0 14px 30px rgba(5,42,85,.1); }
  .main-nav.is-open { display: grid; }
  .main-nav > a { padding: 12px !important; }
  .main-nav .nav-quote { margin: 8px 0 0; }
  .hero-grid { grid-template-columns: 1fr .7fr; gap: 38px; }
  .category-grid { grid-template-columns: repeat(3,1fr); }
  .catalog-results .product-grid { grid-template-columns: repeat(2,1fr); }
  .benefit-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 780px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; padding-block: 62px; }
  .hero-panel { max-width: 560px; }
  .hero-stats { gap: 22px; }
  .section-head { display: block; }
  .section-head .btn { margin-top: 12px; }
  .category-grid, .product-grid, .value-grid { grid-template-columns: repeat(2,1fr); }
  .catalog-layout, .detail-layout, .two-column, .about-grid { grid-template-columns: 1fr; }
  .filters, .detail-info { position: static; }
  .catalog-results .product-grid { grid-template-columns: repeat(2,1fr); }
  .cta-strip { grid-template-columns: 1fr; padding: 30px; }
  .footer-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 540px) {
  body { font-size: 16px; }
  .site-header, .nav-wrap { height: 70px; }
  .main-nav { top: 70px; }
  .brand { width: 150px; height: 56px; }
  .brand img { width: 100%; height: 100%; }
  .hero-grid { padding-block: 48px; }
  .hero-actions, .detail-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .hero-logo { min-height: 160px; }
  .quick-search { grid-template-columns: 1fr; }
  .quick-search .btn { width: 100%; }
  .category-grid, .product-grid, .catalog-results .product-grid, .benefit-grid, .value-grid, .form-grid, .footer-grid, .specs { grid-template-columns: 1fr; }
  .category-card { min-height: 130px; }
  .product-body p { min-height: 0; }
  .result-bar { display: block; }
  .page-hero { padding: 46px 0 38px; }
  .detail-actions .btn:first-child { grid-column: auto; }
  .thumbnails { grid-template-columns: repeat(4,1fr); }
  .content-card, .success-card { padding: 25px 20px; }
  .footer-bottom { display: block; }
  .footer-bottom a { display: inline-block; margin-top: 8px; }
  .whatsapp-float span:last-child { display: none; }
  .whatsapp-float { width: 50px; height: 50px; justify-content: center; padding: 0; }
}
