:root {
  --brand: #7b120f;
  --brand-dark: #5c0d0b;
  --brand-light: #f6e9e8;
  --gray: #6b6b6b;
  --text: #2b2b2b;
  --muted: #777;
  --bg: #ffffff;
  --bg-alt: #f7f7f8;
  --border: #e6e6e8;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(0, 0, 0, 0.07);
  --max: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: "Poppins", "Inter", sans-serif; line-height: 1.2; margin: 0 0 .5em; color: #1e1e1e; }
h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section.alt { background: var(--bg-alt); }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head .eyebrow { color: var(--brand); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; margin-bottom: .4em; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.center { text-align: center; }
.center .section-head { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .85em 1.6em; border-radius: 999px; font-weight: 600;
  border: 2px solid transparent; cursor: pointer; transition: all .2s ease; text-decoration: none !important;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn-outline { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn-outline:hover { background: var(--brand-light); }
.btn-light { background: #fff; color: var(--brand); }
.btn-light:hover { background: var(--brand-light); }

/* Header */
.topbar { background: var(--brand); color: #fff; font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 16px; flex-wrap: wrap; }
.topbar a { color: #fff; }
.header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.95);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--border);
}
.header .container { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 24px; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav > li { position: relative; }
.nav a { display: block; padding: 10px 14px; color: var(--text); font-weight: 500; border-radius: 8px; }
.nav a:hover, .nav a.active { color: var(--brand); background: var(--brand-light); text-decoration: none; }
.nav .has-sub > a::after { content: ""; display: inline-block; margin-left: 6px; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.sub {
  position: absolute; top: 100%; left: 0; min-width: 230px; background: #fff; border: 1px solid var(--border);
  border-radius: 12px; box-shadow: var(--shadow); padding: 8px; list-style: none; margin: 6px 0 0;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .18s ease;
}
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: translateY(0); }
.sub a { padding: 9px 12px; font-weight: 500; font-size: .95rem; }
.nav-cta { margin-left: 8px; }
.nav .btn-primary, .nav .btn-primary.active { color: #fff; background: var(--brand); }
.nav .btn-primary:hover, .nav .btn-primary:focus-visible { color: #fff; background: var(--brand-dark); }
.menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px auto; transition: .2s; }

/* Hero */
.hero {
  background: linear-gradient(135deg, #fff 0%, var(--brand-light) 100%);
  padding: 80px 0 72px; overflow: hidden; position: relative;
}
.hero .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 span { color: var(--brand); }
.hero .lead { font-size: 1.15rem; color: var(--gray); max-width: 520px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-visual { position: relative; }
.hero-visual .glass {
  background: #fff; border-radius: 24px; box-shadow: var(--shadow); padding: 36px; display: grid; place-items: center;
}
.hero-visual .glass img { width: 100%; max-width: 440px; }
.hero-badge {
  position: absolute; bottom: -18px; left: -18px; background: var(--brand); color: #fff; border-radius: 16px;
  padding: 14px 18px; box-shadow: var(--shadow); font-weight: 600; line-height: 1.2;
}
.hero-badge small { display: block; font-weight: 400; opacity: .85; font-size: .8rem; }

/* Feature strip */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.feature .icon { width: 46px; height: 46px; border-radius: 12px; background: var(--brand-light); color: var(--brand); display: grid; place-items: center; margin-bottom: 14px; }
.feature .icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.05rem; }
.feature p { color: var(--muted); margin: 0; font-size: .95rem; }

/* Cards grid */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .thumb { background: #fff; aspect-ratio: 16/9; display: grid; place-items: center; padding: 18px; border-bottom: 1px solid var(--border); }
.card .thumb img { max-height: 100%; object-fit: contain; }
.card .body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.card .body p { color: var(--muted); font-size: .95rem; flex: 1; }
.card .more { font-weight: 600; }

/* Product detail blocks */
.product { display: grid; grid-template-columns: 320px 1fr; gap: 40px; align-items: start; padding: 40px 0; border-bottom: 1px solid var(--border); }
.product:last-child { border-bottom: 0; }
.product .pimg { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; display: grid; place-items: center; }
.product ul { margin: 0; color: #444; }
.product li { margin-bottom: .5em; }
.product h2 { font-size: 1.5rem; }

/* Page header */
.page-hero { background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%); color: #fff; padding: 64px 0; }
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255,255,255,.85); max-width: 640px; font-size: 1.1rem; margin: 0; }
.breadcrumb { font-size: .85rem; color: rgba(255,255,255,.75); margin-bottom: 12px; }
.breadcrumb a { color: #fff; }

/* Branches */
.branch { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.branch iframe { width: 100%; height: 220px; border: 0; display: block; }
.branch .body { padding: 22px; }
.branch .city { color: var(--brand); font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; }
.branch h3 { margin: 4px 0 8px; font-size: 1.15rem; }
.branch p { margin: 0 0 6px; color: var(--muted); font-size: .95rem; }
.branch .tel { font-weight: 600; color: var(--text); }
.branch .actions { margin-top: 14px; display: flex; gap: 10px; flex-wrap: wrap; }
.branch .actions .btn { padding: .55em 1.1em; font-size: .9rem; }

/* Prose */
.prose { max-width: 760px; font-size: 1.05rem; }
.prose h2 { margin-top: 1.6em; }
.prose strong { color: var(--brand); }

/* Info cards (problemas visuales) */
.info { display: grid; grid-template-columns: 280px 1fr; gap: 32px; align-items: center; padding: 36px 0; border-bottom: 1px solid var(--border); }
.info:last-child { border-bottom: 0; }
.info img { border-radius: var(--radius); width: 100%; }
.info p { color: #444; }

/* CTA band */
.cta { background: var(--brand); color: #fff; padding: 64px 0; }
.cta .container { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta h2 { color: #fff; margin: 0 0 .3em; }
.cta p { color: rgba(255,255,255,.85); margin: 0; }

/* Footer */
.footer { background: #1b1b1d; color: #cfcfd2; padding: 56px 0 24px; font-size: .95rem; }
.footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 8px; }
.footer a { color: #cfcfd2; }
.footer a:hover { color: #fff; }
.footer .logo-wrap { background: #fff; border-radius: 10px; padding: 10px 14px; display: inline-block; margin-bottom: 14px; }
.footer .logo-wrap img { height: 40px; }
.footer .bottom { border-top: 1px solid #333; padding-top: 20px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: #8a8a90; font-size: .85rem; }

/* Responsive */
@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .hero-badge { left: 12px; bottom: -12px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer .cols { grid-template-columns: 1fr 1fr; }
  .product, .info { grid-template-columns: 1fr; }
  .product .pimg { max-width: 360px; }
}
@media (max-width: 760px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; background: #fff;
    border-bottom: 1px solid var(--border); padding: 12px 16px 20px; gap: 2px; display: none; max-height: calc(100vh - 76px); overflow-y: auto;
  }
  .nav.open { display: flex; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 14px; margin: 0; display: none; }
  .has-sub.open .sub { display: block; }
  .nav-cta { margin: 10px 0 0; }
  .nav-cta .btn { width: 100%; justify-content: center; }
  .section { padding: 52px 0; }
  .features, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .footer .cols { grid-template-columns: 1fr; }
  .topbar .container { justify-content: center; text-align: center; }
}
