:root {
  --primary: #f2a900;
  --red: #b80f1a;
  --red-dark: #7d0b12;
  --dark: #17120f;
  --text: #303030;
  --muted: #686868;
  --light: #f7f2e7;
  --white: #ffffff;
  --border: #e8dfcf;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.14);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: Arial, Helvetica, sans-serif; color: var(--text); background: var(--white); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }

.topbar { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--border); backdrop-filter: blur(12px); }
.nav { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 900; font-size: 1.28rem; color: var(--dark); }
.brand-logo { width: 62px; height: 44px; object-fit: contain; border-radius: 10px; background: #fff; border: 1px solid rgba(184,15,26,.16); padding: 2px; }
.menu { display: flex; align-items: center; gap: 20px; font-weight: 800; color: var(--dark); }
.menu a:hover { color: var(--red); }

.hero { position: relative; padding: 104px 0; background: linear-gradient(105deg, rgba(12,8,6,.92) 0%, rgba(18,12,9,.78) 45%, rgba(125,11,18,.40) 100%), url("assets/fachada-ampla.jpeg") center/cover no-repeat; color: var(--white); overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 82% 16%, rgba(242,169,0,.36), transparent 32%); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.13fr .87fr; align-items: center; gap: 48px; }
.eyebrow { color: var(--primary); font-weight: 900; text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; margin-bottom: 12px; }
h1,h2,h3 { color: inherit; line-height: 1.15; }
h1 { font-size: clamp(2.35rem, 6vw, 4.8rem); max-width: 850px; margin-bottom: 22px; letter-spacing: -.04em; }
h2 { font-size: clamp(1.75rem, 3vw, 2.8rem); margin-bottom: 18px; color: var(--dark); letter-spacing: -.025em; }
h3 { color: var(--dark); font-size: 1.25rem; margin-bottom: 10px; }
.hero-text { max-width: 690px; font-size: 1.12rem; color: rgba(255,255,255,.94); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 900; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--primary); color: var(--dark); box-shadow: 0 12px 24px rgba(242,169,0,.28); }
.btn-primary:hover { background: #ffc039; }
.btn-secondary { border: 1px solid rgba(255,255,255,.55); color: var(--white); background: rgba(255,255,255,.08); }
.hero-card { background: rgba(255,255,255,.97); color: var(--text); border-radius: 28px; padding: 30px; box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,.72); }
.hero-logo { width: 100%; max-height: 190px; object-fit: contain; border-radius: 22px; margin-bottom: 22px; background: var(--red); }
.hero-card h2 { margin-bottom: 10px; }
.hero-card ul { margin-top: 18px; list-style: none; }
.hero-card li { padding: 10px 0 10px 30px; position: relative; border-bottom: 1px solid var(--border); }
.hero-card li::before { content: "✓"; position: absolute; left: 0; color: var(--red); font-weight: 900; }

.section { padding: 82px 0; }
.split,.contact-grid,.footer-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 44px; align-items: start; }
.split p + p { margin-top: 16px; }
.banner-section { padding: 30px 0; background: var(--red); }
.banner-card { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); background: var(--white); }
.banner-card img { width: 100%; min-height: 118px; object-fit: cover; image-rendering: auto; }
.section-muted { background: linear-gradient(180deg, rgba(247,242,231,.94), rgba(255,255,255,.98)); }
.section-heading { text-align: center; max-width: 760px; margin: 0 auto 38px; }
.section-heading h2 { margin-bottom: 12px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { position: relative; background: var(--white); border: 1px solid var(--border); border-radius: 22px; padding: 28px; min-height: 190px; box-shadow: 0 10px 28px rgba(0,0,0,.06); overflow: hidden; }
.card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: linear-gradient(90deg, var(--red), var(--primary)); }
.card-icon { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 16px; border-radius: 12px; background: #fff4d7; color: var(--red); font-weight: 900; font-size: 1.35rem; }

.gallery-section { background: #fff; }
.featured-photo { position: relative; overflow: hidden; border-radius: 28px; box-shadow: var(--shadow); border: 1px solid var(--border); background: #f4f0ea; margin-bottom: 22px; }
.featured-photo img { width: 100%; height: clamp(340px, 55vw, 620px); object-fit: cover; object-position: center; }
.photo-caption { position: absolute; left: 24px; bottom: 24px; background: rgba(18,13,11,.82); color: #fff; border-radius: 18px; padding: 16px 18px; backdrop-filter: blur(8px); display: grid; gap: 3px; }
.photo-caption strong { font-size: 1.15rem; }
.photo-caption span { color: rgba(255,255,255,.86); }
.gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.gallery-item { display: block; overflow: hidden; border-radius: 22px; box-shadow: 0 10px 28px rgba(0,0,0,.10); border: 1px solid var(--border); background: #f4f0ea; }
.gallery-item img { width: 100%; height: 300px; object-fit: cover; object-position: center; transition: transform .35s ease; }
.gallery-item:hover img { transform: scale(1.03); }
.gallery-wide { grid-column: 1 / -1; }
.gallery-wide img { height: 430px; }

.contact-section { background: var(--white); }
.contact-box { background: linear-gradient(135deg, var(--red-dark), var(--red)); color: var(--white); padding: 30px; border-radius: 24px; box-shadow: var(--shadow); }
.contact-box p + p { margin-top: 12px; }
.contact-box a { color: #ffe7a5; font-weight: 800; }
.map-section { background: var(--light); }
.map-wrapper { height: 390px; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border); background: var(--white); }
.map-wrapper iframe { width: 100%; height: 100%; border: 0; }
.footer { background: #120d0b; color: rgba(255,255,255,.88); padding: 38px 0; }
.footer strong { color: var(--white); }
.footer p { margin-top: 6px; }

@media (max-width: 900px) {
  .nav { height: auto; padding: 16px 0; align-items: flex-start; flex-direction: column; }
  .menu { width: 100%; justify-content: flex-start; gap: 14px; flex-wrap: wrap; }
  .hero { padding: 66px 0; background-position: center; }
  .hero-grid,.split,.contact-grid,.footer-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-wide { grid-column: auto; }
  .gallery-item img,.gallery-wide img { height: 330px; }
}
@media (max-width: 560px) {
  .container { width: min(100% - 24px, 1120px); }
  .brand-logo { width: 56px; height: 40px; }
  .menu { font-size: .9rem; }
  .hero-card,.contact-box,.card { border-radius: 18px; padding: 22px; }
  .hero-actions,.btn { width: 100%; }
  .cards { grid-template-columns: 1fr; }
  .section { padding: 58px 0; }
  .featured-photo { border-radius: 20px; }
  .featured-photo img { height: 360px; }
  .photo-caption { left: 12px; right: 12px; bottom: 12px; border-radius: 14px; }
  .gallery-item img,.gallery-wide img { height: 250px; }
  .map-wrapper { height: 320px; border-radius: 18px; }
}
