@import url('./corporate.css');
@import url('./acumuladores.css');

/* Base y componentes compartidos. Los estilos de páginas están en corporate.css. */
:root { --yellow:#f2b705; --ink:#111; --muted:#5c5c5c; --paper:#f5f5f5; --negro-geosegal:#111; --amarillo-geosegal:#f2b705; }
* { box-sizing:border-box; }
body { margin:0; padding-top:60px; color:var(--ink); background:white; font:16px/1.65 'Poppins',Arial,sans-serif; }
h1,h2,h3,p { margin-top:0; }
h1 { line-height:1.15; font-size:clamp(1.9rem,4vw,3rem); }
h2 { line-height:1.25; }
img { max-width:100%; }
a { color:inherit; }
button,input,select { font:inherit; }
button,a { -webkit-tap-highlight-color:transparent; }
button { cursor:pointer; }
button:disabled { opacity:.65; cursor:wait; }
:focus-visible { outline:3px solid #2263b7; outline-offset:4px; }
.container { width:90%; max-width:1200px; margin:auto; }
main > section { padding:4rem 0; }
.header { position:fixed; top:0; left:0; z-index:100; display:flex; width:100%; height:60px; box-shadow:0 2px 5px #0002; }
.header-left { display:flex; align-items:center; background:white; padding:0 16px; border-right:2px solid var(--yellow); }
.logo-img { display:block; height:48px; width:auto; }
.header-right { flex:1; min-width:0; display:flex; align-items:center; justify-content:flex-end; background:var(--yellow); padding:0 24px; }
.nav ul { list-style:none; padding:0; margin:0; display:flex; gap:16px; align-items:center; }
.nav a { text-decoration:none; font-weight:600; font-size:.87rem; white-space:nowrap; }
.nav a:hover,.nav a[aria-current] { text-decoration:underline; text-underline-offset:5px; }
.menu-toggle { display:none; border:0; background:transparent; color:var(--ink); font-size:1.8rem; padding:4px 12px; }
.skip-link { position:fixed; top:-100px; left:16px; background:white; padding:10px; z-index:200; }
.skip-link:focus { top:8px; }
.footer { background:var(--ink); color:white; padding:2.5rem 0 1rem; }
.footer-container { display:flex; justify-content:space-between; flex-wrap:wrap; gap:24px; }
.footer p { margin:4px 0; }
.footer a { color:var(--yellow); text-decoration:none; }
.footer a:hover { text-decoration:underline; }
.footer ul { list-style:none; margin:0; padding:0; }
.footer-copyright { text-align:center; font-size:.8rem; color:#ccc; padding-top:24px; }
.btn-primary,.btn-secondary,.btn-servicio { display:inline-block; padding:12px 22px; margin-top:16px; border-radius:8px; text-decoration:none; font-weight:700; }
.btn-primary { background:var(--yellow); color:var(--ink); }
.btn-primary:hover { background:#dca800; }
.btn-secondary { border:1px solid #8d6a00; color:#5a4400; }
.btn-servicio { background:var(--ink); color:white; }
.hero-acumuladores .btn-secondary { border-color:var(--yellow); color:var(--yellow); }
.etiqueta-seccion { display:inline-block; border-left:4px solid var(--yellow); background:#f2b70525; padding:5px 12px; font-size:.8rem; font-weight:700; text-transform:uppercase; margin-bottom:16px; }
.eyebrow { font-size:.75rem; letter-spacing:.12em; font-weight:700; color:var(--muted); }
.hidden { display:none !important; }
.sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; }
.error-page,.contact-page { min-height:60vh; padding:72px 0; }
.error-page p { margin-top:24px; }
.contact-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; margin:40px 0; }
.contact-grid article { padding:24px; background:var(--paper); border-top:4px solid var(--yellow); border-radius:8px; overflow-wrap:anywhere; }
.contact-grid h2 { font-size:1.1rem; }
.contact-actions { display:flex; flex-wrap:wrap; gap:12px; margin:28px 0; }
.contact-actions .contact-button { display:inline-flex; align-items:center; justify-content:center; gap:10px; min-height:48px; margin:0; padding:12px 22px; border-radius:8px; font-weight:700; line-height:1.5; text-decoration:none; }
.contact-button svg { flex-shrink:0; }
.contact-whatsapp { background:#087f5b; color:white; }
.contact-whatsapp:hover { background:#066447; }
.inicio .cta .contact-actions { justify-content:center; margin-bottom:0; }
.contact-grid .contact-call { font-size:.85rem; margin-top:20px; margin-bottom:0; }
.contact-portal { padding:24px; border:1px solid #ddd; border-radius:8px; }
@media(max-width:480px) {
  .contact-actions { flex-direction:column; }
  .contact-actions .contact-button { width:100%; }
}
@media(max-width:1100px) {
  .menu-toggle { display:block; }
  .header-right { padding-right:12px; }
  .nav { display:none; position:absolute; top:60px; right:0; left:0; max-height:calc(100dvh - 60px); overflow:auto; background:var(--yellow); box-shadow:0 8px 12px #0002; }
  .nav.active { display:block; }
  .nav ul { display:block; padding:8px 20px 20px; }
  .nav a { display:block; padding:12px; font-size:1rem; }
}
@media(max-width:768px) {
  .container { width:92%; }
  main > section { padding:3rem 0; }
  .contact-grid { grid-template-columns:1fr; }
  .contact-page,.error-page { padding:40px 0; }
}
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto !important; transition:none !important; animation:none !important; } }
