
:root {
  --color-primary: #1a2332;
  --color-primary-dark: #0f1621;
  --color-gold: #d4af37;
  --color-gold-hover: #b5952f;
  --color-text: #e2e8f0;
  --color-text-muted: #94a3b8;
  --color-bg: #0f172a;
  --color-bg-card: #1e293b;
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-main); background: var(--color-bg); color: var(--color-text); line-height: 1.6; }
a { color: var(--color-gold); text-decoration: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.skip-link { position: absolute; top: -40px; left: 0; background: var(--color-gold); color: #000; padding: 8px; z-index: 100; transition: top 0.2s; }
.skip-link:focus { top: 0; }
.top-bar { background: var(--color-primary-dark); padding: 0.5rem 0; font-size: 0.9rem; border-bottom: 1px solid rgba(255,255,255,0.05); }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.header { background: var(--color-primary); padding: 1rem 0; position: sticky; top: 0; z-index: 50; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1); }
.header .container { display: flex; justify-content: space-between; align-items: center; }
.header__logo img { height: 50px; width: auto; }
.header__nav { display: flex; gap: 2rem; }
.header__nav a { color: var(--color-text); font-weight: 500; }
.header__nav a:hover, .header__nav a[aria-current="page"] { color: var(--color-gold); }
.header__cta { display: flex; align-items: center; gap: 1rem; }
.header__phone { font-weight: 700; font-size: 1.1rem; color: #fff; }
.btn { display: inline-block; padding: 0.75rem 1.5rem; border-radius: 4px; font-weight: 600; text-align: center; cursor: pointer; border: none; text-decoration: none; }
.btn-primary { background: var(--color-gold); color: #000; }
.btn-primary:hover { background: var(--color-gold-hover); }
.btn-gold { background: transparent; border: 2px solid var(--color-gold); color: var(--color-gold); }
.btn-gold:hover { background: var(--color-gold); color: #000; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.9rem; }
.menu-toggle { display: none; background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; }
.hero { padding: 5rem 0; background: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.9)), url('/assets/img/hero/cerrajero-hero.webp') center/cover; text-align: center; }
.hero h1 { font-size: 3.5rem; margin-bottom: 1rem; line-height: 1.2; color: #fff; }
.hero p { font-size: 1.25rem; margin-bottom: 2rem; color: var(--color-text-muted); max-width: 700px; margin-inline: auto; }
.section { padding: 5rem 0; }
.section-title { text-align: center; font-size: 2.2rem; margin-bottom: 3rem; color: #fff; }
.text-gold { color: var(--color-gold); }
.grid { display: grid; gap: 2rem; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card { background: var(--color-bg-card); padding: 2rem; border-radius: 8px; border: 1px solid rgba(255,255,255,0.05); display: flex; flex-direction: column; }
.card h3 { margin-bottom: 1rem; color: #fff; }
.card a { margin-top: auto; display: inline-block; }
.footer { background: var(--color-primary-dark); padding: 4rem 0 2rem; border-top: 1px solid rgba(255,255,255,0.05); }
.footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 3rem; margin-bottom: 3rem; }
.footer__col-title { color: #fff; font-weight: 700; margin-bottom: 1.5rem; font-size: 1.1rem; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 0.75rem; }
.footer ul a { color: var(--color-text-muted); }
.footer ul a:hover { color: var(--color-gold); }
.footer__contact-item { margin-bottom: 1rem; color: var(--color-text-muted); }
.footer__contact-item a { color: #fff; }
.footer__bottom { text-align: center; color: var(--color-text-muted); padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.05); font-size: 0.9rem; }
.page-header { background: var(--color-primary-dark); padding: 3rem 0; border-bottom: 1px solid rgba(255,255,255,0.05); text-align: center; }
.page-header h1 { color: #fff; font-size: 2.5rem; }
.breadcrumbs { margin-bottom: 1rem; font-size: 0.9rem; }
.breadcrumbs ol { list-style: none; display: flex; justify-content: center; gap: 0.5rem; }
.breadcrumbs li::after { content: "/"; color: rgba(255,255,255,0.4); margin-left: 0.5rem; }
.breadcrumbs li:last-child::after { content: ""; }
.breadcrumbs a { color: rgba(255,255,255,0.6); }
.breadcrumbs span { color: var(--color-gold); }
.sticky-cta { position: fixed; bottom: 0; left: 0; width: 100%; background: var(--color-primary); padding: 1rem; z-index: 40; border-top: 1px solid rgba(255,255,255,0.1); display: none; }
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999; background: var(--color-bg); color: var(--color-text); border-top: 2px solid var(--color-gold); box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3); animation: cookieSlideUp 0.4s ease-out; }
@keyframes cookieSlideUp { from { transform: translateY(100%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.cookie-banner[hidden] { display: none; }
.cookie-banner__container { max-width: 1200px; margin: 0 auto; padding: 1.25rem 1.5rem; }
.cookie-banner__title { font-size: 1.1rem; margin: 0 0 0.5rem 0; font-weight: 700; color: #fff; }
.cookie-banner__text { font-size: 0.9rem; line-height: 1.5; margin: 0 0 1rem 0; opacity: 0.9; }
.cookie-banner__text a { color: var(--color-gold); text-decoration: underline; }
.cookie-banner__settings { margin: 1rem 0; padding: 1rem; background: rgba(255, 255, 255, 0.05); border-radius: 8px; }
.cookie-banner__settings[hidden] { display: none; }
.cookie-banner__fieldset { border: none; padding: 0; margin: 0; }
.cookie-banner__option { display: flex; align-items: flex-start; gap: 0.75rem; padding: 0.6rem 0; cursor: pointer; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.cookie-banner__option:last-child { border-bottom: none; }
.cookie-banner__option--disabled { opacity: 0.6; cursor: default; }
.cookie-banner__option input[type="checkbox"] { width: 18px; height: 18px; margin-top: 3px; flex-shrink: 0; accent-color: var(--color-gold); }
.cookie-banner__label strong { display: block; font-size: 0.95rem; color: #fff; }
.cookie-banner__label small { display: block; font-size: 0.8rem; opacity: 0.7; margin-top: 2px; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.5rem; }
.cookie-banner__btn { padding: 0.7rem 1.4rem; border: none; border-radius: 6px; font-size: 0.9rem; font-weight: 600; cursor: pointer; transition: background 0.2s ease, transform 0.1s ease; min-height: 44px; }
.cookie-banner__btn:hover { transform: translateY(-1px); }
.cookie-banner__btn:focus-visible { outline: 2px solid var(--color-gold); outline-offset: 2px; }
.cookie-banner__btn--accept { background: var(--color-gold); color: #000; }
.cookie-banner__btn--accept:hover { background: var(--color-gold-hover); }
.cookie-banner__btn--reject { background: rgba(255, 255, 255, 0.15); color: var(--color-text); border: 1px solid rgba(255, 255, 255, 0.3); }
.cookie-banner__btn--reject:hover { background: rgba(255, 255, 255, 0.25); }
.cookie-banner__btn--config { background: transparent; color: var(--color-text); text-decoration: underline; padding: 0.7rem 0.5rem; }
.cookie-banner__btn--save { background: var(--color-gold); color: #000; }
.cookie-banner__btn--save[hidden] { display: none; }
.cookie-footer-link { background: none; border: none; color: inherit; text-decoration: underline; cursor: pointer; font-size: inherit; padding: 0; opacity: 0.7; font-family: inherit; }
.cookie-footer-link:hover { opacity: 1; color: var(--color-gold); }
@media (max-width: 600px) { .cookie-banner__actions { flex-direction: column; } .cookie-banner__btn { width: 100%; text-align: center; } }
.process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; }
.process-step { background: var(--color-bg-card); padding: 1.5rem; border-radius: 8px; border-top: 3px solid var(--color-gold); }
.process-step h3 { color: #fff; margin-bottom: 0.5rem; }
.content-section { padding-left: 1.5rem; margin-bottom: 2rem; color: var(--color-text-muted); }
.content-section li { margin-bottom: 0.5rem; }
.related-links { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; }
.related-links a { background: var(--color-bg-card); color: #fff; padding: 0.5rem 1rem; border-radius: 4px; font-size: 0.9rem; border: 1px solid rgba(255,255,255,0.1); transition: border-color 0.2s, background 0.2s; }
.related-links a:hover { border-color: var(--color-gold); background: rgba(212,175,55,0.1); color: var(--color-gold); }

/* Updated Grids for even columns and flexbox cards */
.zones-grid, .services-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 600px) {
  .zones-grid, .services-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

.zone-card { background: var(--color-bg-card); padding: 1.5rem; border-radius: 8px; border: 1px solid rgba(255,255,255,0.05); text-align: center; display: flex; flex-direction: column; justify-content: center; align-items: center; transition: border-color 0.2s, transform 0.2s; }
.zone-card:hover { border-color: var(--color-gold); transform: translateY(-3px); }
.zone-card__name { font-size: 1.2rem; font-weight: 700; color: #fff; margin-bottom: 0.5rem; }
.zone-card__tag { font-size: 0.85rem; color: var(--color-gold); }

.service-card { background: var(--color-bg-card); padding: 1.5rem; border-radius: 8px; border: 1px solid rgba(255,255,255,0.05); display: flex; flex-direction: column; transition: border-color 0.2s, transform 0.2s; }
.service-card:hover { border-color: var(--color-gold); transform: translateY(-3px); }
.service-card__icon { font-size: 2.5rem; margin-bottom: 1rem; }
.service-card h3 { color: #fff; margin-bottom: 0.5rem; }
.service-card p { color: var(--color-text-muted); margin-bottom: 1rem; flex-grow: 1; }
.service-card__link { color: var(--color-gold); font-weight: 600; margin-top: auto; display: inline-block; }

.cta-section { background: var(--color-primary-dark); padding: 4rem 0; text-align: center; border-top: 1px solid rgba(255,255,255,0.05); }
.cta-section h2 { color: #fff; font-size: 2rem; margin-bottom: 1rem; }
.cta-section p { color: var(--color-text-muted); margin-bottom: 2rem; font-size: 1.1rem; }
@media(max-width: 768px) {
  .header__nav, .header__cta { display: none; }
  .menu-toggle { display: block; }
  .sticky-cta { display: block; }
  .hero h1 { font-size: 2.2rem; }
  .header__nav.active { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; width: 100%; background: var(--color-primary); padding: 2rem; border-top: 1px solid rgba(255,255,255,0.05); }
}
