/* Colors come from the Berríos logo: red, crown yellow, robe blue. */
:root {
  --red: #d83434;
  --red-dark: #b42626;
  --yellow: #efd800;
  --blue: #0079b0;
  --ink: #1f2430;
  --ink-soft: #444b57;
  --muted: #6b7280;
  --paper: #ffffff;
  --tint: #fbf6ef;
  --line: #ebe4d8;
  --display: "Poppins", system-ui, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1180px;
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(34px, 6vw, 60px); }
h2 { font-size: clamp(26px, 3.6vw, 38px); }
h3 { font-size: 20px; }
p { margin: 0 0 1em; }
mark { background: var(--yellow); color: var(--ink); padding: 0 .15em; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.center.actions, .actions.center { justify-content: center; }
.pad { padding: 80px 0; }
.tint { background: var(--tint); }
.small { font-size: 14px; color: var(--muted); }
.eyebrow { font: 600 13px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin: 0 0 12px; }
.lead { font-size: 19px; color: var(--ink-soft); max-width: 680px; }
.section-head { margin-bottom: 40px; }
.section-head .lead { margin: 0; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: 12px 26px; border-radius: 999px; font: 600 15px/1 var(--display); text-decoration: none;
  border: 2px solid transparent; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { background: #ffe81a; }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--red); }
.btn-sm { min-height: 40px; padding: 8px 18px; font-size: 14px; }
.link-arrow { font-weight: 600; text-decoration: none; color: var(--red); }
.link-arrow::after { content: " →"; }
.link-arrow:hover { text-decoration: underline; }

/* Top bar + header */
.topbar { background: var(--ink); color: #fff; font-size: 13px; }
.topbar .wrap { display: flex; gap: 20px; align-items: center; min-height: 36px; }
.topbar span:first-child::before { content: "🚚 "; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a[href^="tel"] { margin-left: auto; }
.topbar .lang { font-weight: 600; border: 1px solid rgba(255, 255, 255, .5); border-radius: 999px; padding: 2px 12px; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 3px solid var(--red); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo img { width: 44px; height: auto; }
.logo strong { display: block; font: 800 22px/1 var(--display); color: var(--red); letter-spacing: -.02em; }
.logo strong em { font-style: normal; color: var(--ink); }
.logo small { display: block; font-size: 12px; color: var(--muted); margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) { color: var(--ink-soft); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:not(.btn):hover, .nav a[aria-current] { color: var(--red); }
.menu { display: none; }
.menu summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; place-content: center; gap: 5px; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span { display: block; width: 24px; height: 2px; background: var(--ink); }
.menu-panel { position: absolute; left: 0; right: 0; top: 76px; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 20px 20px; box-shadow: 0 20px 30px rgba(0, 0, 0, .08); }
.menu-panel a:not(.btn) { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 500; }
.menu-panel .btn { margin-top: 16px; width: 100%; }

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); padding-top: 18px; padding-bottom: 0; }
.crumbs a { color: var(--muted); }

/* Hero */
.hero { background: var(--red); color: #fff; padding: 80px 0 90px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -120px; bottom: -160px; width: 520px; height: 520px; border-radius: 50%; background: rgba(255, 255, 255, .07); }
.hero-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: center; position: relative; z-index: 1; }
.hero .eyebrow { color: var(--yellow); }
.hero .lead { color: rgba(255, 255, 255, .92); }
.hero-art { justify-self: center; background: #fff; border-radius: 50%; width: 340px; height: 340px; display: grid; place-items: center; box-shadow: 0 0 0 14px var(--yellow), 0 24px 50px rgba(0, 0, 0, .18); }
.hero-art img { width: 82%; height: auto; }

.page-hero { background: var(--tint); padding: 56px 0 48px; border-bottom: 1px solid var(--line); }
.page-hero[style] { border-top: 6px solid var(--accent); }

/* Perks */
.perks { background: var(--ink); color: #fff; }
.perks-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.perks-grid > div { padding: 30px 22px; border-left: 1px solid rgba(255, 255, 255, .12); }
.perks-grid > div:first-child { border-left: 0; }
.perks h2 { font-size: 17px; color: var(--yellow); margin-bottom: 6px; }
.perks p { font-size: 15px; color: rgba(255, 255, 255, .8); margin: 0; }

/* Cards */
.grid-2, .grid-3, .grid-4 { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.card.mini { padding: 26px; }
.card.mini h2, .card.mini h3 { font-size: 20px; }
.product { display: flex; flex-direction: column; overflow: hidden; transition: box-shadow .2s, transform .2s; }
.product:hover { box-shadow: 0 18px 40px rgba(31, 36, 48, .1); transform: translateY(-3px); }
.product-media { background: var(--tint); aspect-ratio: 4 / 3; display: grid; place-items: center; }
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.ph-svg { width: 70%; }
.product-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.product-body p:not(.kicker) { color: var(--ink-soft); }
.product-body .link-arrow { margin-top: auto; }
.kicker { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 6px; }
.kicker a { color: var(--blue); text-decoration: none; }
.brand { display: flex; flex-direction: column; padding: 30px; text-decoration: none; color: var(--ink); border-top: 6px solid var(--accent); transition: box-shadow .2s; }
.brand:hover { box-shadow: 0 18px 40px rgba(31, 36, 48, .1); }
.brand-name { font: 800 28px/1.1 var(--display); color: var(--accent); margin-bottom: 12px; }
.brand p { color: var(--ink-soft); }
.brand .link-arrow { margin-top: auto; }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 18px 50px 18px 22px; font-weight: 600; position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--red); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 22px 18px; margin: 0; color: var(--ink-soft); }

/* Prose + tables */
.prose h2 { font-size: 26px; margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .6em; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; }
table.sizes { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 16px; }
.sizes th, .sizes td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.sizes thead th { background: var(--ink); color: #fff; font-family: var(--display); font-weight: 600; }
.sizes tbody th { color: var(--red); font-family: var(--display); white-space: nowrap; }
.sizes td:nth-child(2), .sizes td:nth-child(3) { white-space: nowrap; }
.sizes tr:last-child > * { border-bottom: 0; }

/* CTA band */
.cta-band { background: var(--blue); color: #fff; padding: 64px 0; }
.cta-band .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; }
.cta-band p { color: rgba(255, 255, 255, .9); }
.cta-band .actions { justify-content: flex-end; margin: 0; }
.cta-band .btn-ghost:hover { color: var(--blue); }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .8); padding: 64px 0 24px; font-size: 15px; }
.site-footer .wrap:first-child { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1fr; gap: 36px; }
.site-footer img { width: 180px; height: auto; background: #fff; padding: 10px 14px; border-radius: 10px; margin-bottom: 16px; }
.site-footer h2 { font-size: 15px; color: var(--yellow); text-transform: uppercase; letter-spacing: .1em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .small { color: rgba(255, 255, 255, .6); margin-top: 12px; }
.f-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 48px; padding-top: 20px; font-size: 13px; }
.social { display: flex; gap: 16px; text-transform: capitalize; }

/* Responsive */
@media (max-width: 1020px) {
  .nav { display: none; }
  .menu { display: block; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .perks-grid { grid-template-columns: repeat(2, 1fr); }
  .perks-grid > div:nth-child(3) { border-left: 0; }
  .site-footer .wrap:first-child { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .pad { padding: 56px 0; }
  .hero { padding: 48px 0 56px; }
  .hero-grid, .cta-band .wrap { grid-template-columns: 1fr; }
  .hero-art { display: none; }
  .cta-band .actions { justify-content: flex-start; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .hide-sm { display: none; }
  .topbar .wrap { gap: 12px; font-size: 12px; }
  .topbar span:first-child { display: none; }
  .topbar a[href^="tel"] { margin-left: 0; }
  .topbar .lang { margin-left: auto; }
  .logo strong { font-size: 19px; }
}
@media (max-width: 480px) {
  .grid-4, .perks-grid, .site-footer .wrap:first-child { grid-template-columns: 1fr; }
  .perks-grid > div { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .12); }
  .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
