/* ============================================================
   COOPERATIVA CERRAJERA — CSS Master
   Premium, Beige Accents & SEO Optimized
   ============================================================ */

:root {
  --accent: #d97706; /* Amber for trust */
  --accent-dark: #b45309;
  --navy: #0f172a;
  --navy-mid: #1e293b;
  --beige-light: #fdfbf7;
  --beige: #f4f1ea;
  --beige-dark: #e6dfce;
  --white: #ffffff;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-600: #475569;
  --gray-800: #1e293b;
  --text: #1e293b;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --radius: 8px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: var(--white); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; transition: color 0.2s ease; }
img { max-width: 100%; display: block; height: auto; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* ── ACCESSIBILITY: FOCUS & SKIP LINK ── */
:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
.skip-link { position: absolute; top: -40px; left: 0; background: var(--accent); color: var(--white); padding: 8px; z-index: 10000; transition: top 0.2s; }
.skip-link:focus { top: 0; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* ── REUSABLE UI ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.75rem; padding: 1rem 2rem; border-radius: var(--radius); font-weight: 600; font-size: 1rem; transition: var(--transition); cursor: pointer; border: none; letter-spacing: -0.01em; }
.btn-red { background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%); color: var(--white); box-shadow: 0 4px 14px rgba(217, 119, 6, 0.3); }
.btn-red:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(217, 119, 6, 0.4); filter: brightness(1.1); }
.btn-navy { background: var(--navy); color: var(--white); box-shadow: 0 4px 14px rgba(15, 23, 42, 0.2); }
.btn-navy:hover { background: var(--navy-mid); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(15, 23, 42, 0.3); }
.btn-outline { border: 1px solid rgba(255,255,255,0.4); color: var(--white); background: rgba(255,255,255,0.05); backdrop-filter: blur(4px); }
.btn-outline:hover { background: var(--white); color: var(--navy); }

.tag { display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.4rem 1rem; border-radius: 50px; margin-bottom: 1rem; }
.tag-beige { background: var(--beige-dark); color: var(--navy); }
.tag-red { background: #fff0f0; color: var(--accent); }

.section-title { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 800; color: var(--navy); line-height: 1.1; margin-bottom: 1rem; letter-spacing: -0.03em; }
.section-subtitle { font-size: 1.125rem; color: var(--gray-600); margin-bottom: 3rem; max-width: 700px; }

/* ── NAVBAR ── */
.navbar { position: fixed; top: 0; width: 100%; z-index: 1000; background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(0,0,0,0.05); transition: var(--transition); }
.nav-inner { height: 76px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 0.5rem; font-size: 1.25rem; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; }
.brand span { color: var(--gray-600); font-weight: 400; }
.nav-links { display: flex; gap: 1.25rem; align-items: center; }
.nav-links a { font-size: 0.9rem; font-weight: 600; color: var(--gray-800); transition: var(--transition); white-space: nowrap; }
.nav-links a:hover { color: var(--accent); }
.nav-emergency { background: var(--accent); color: var(--white) !important; padding: 0.5rem 1rem; border-radius: 8px; font-weight: 700; font-size: 0.9rem; display: flex; align-items: center; gap: 0.4rem; transition: var(--transition); white-space: nowrap; }
.nav-emergency:hover { background: var(--accent-dark); transform: translateY(-1px); }

.burger { display: none; background: none; border: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 0.5rem; }
.burger span { display: block; width: 24px; height: 2px; background: var(--navy); transition: var(--transition); }

@media (max-width: 1100px) {
  .burger { display: flex; }
  .nav-links { position: absolute; top: 76px; left: 0; width: 100%; background: var(--white); flex-direction: column; padding: 2rem; border-bottom: 1px solid var(--gray-200); box-shadow: 0 10px 20px rgba(0,0,0,0.05); clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); transition: clip-path 0.4s ease; gap: 0; }
  .nav-links.active { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
  .nav-links a { width: 100%; text-align: center; padding: 1.25rem 0; border-bottom: 1px solid var(--gray-100); font-size: 1.1rem; }
  .nav-emergency { justify-content: center; margin-top: 1.5rem; width: 100%; padding: 1rem; }
}

/* ── HERO ── */
.hero { position: relative; min-height: 90vh; display: flex; align-items: center; padding-top: 76px; background: var(--navy); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 1; z-index: 0; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to right, var(--navy) 0%, var(--navy) 30%, rgba(15, 23, 42, 0.7) 60%, rgba(15, 23, 42, 0) 100%); z-index: 1; }
.hero-content { position: relative; z-index: 2; max-width: 680px; color: var(--white); }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 800; line-height: 1.1; margin-bottom: 1.5rem; letter-spacing: -0.04em; }
.hero p { font-size: 1.2rem; color: rgba(255,255,255,0.85); margin-bottom: 2.5rem; font-weight: 400; line-height: 1.7; max-width: 580px; }
.hero-actions { display: flex; gap: 1.25rem; flex-wrap: wrap; }

/* ── PREMIUM SERVICES (ALTERNATING LAYOUT) ── */
.premium-section { padding: 8rem 0; background: var(--white); }
.premium-section h2 { text-align: center; margin-bottom: 5rem; }

@media (max-width: 900px) {
  .premium-section { padding: 4rem 0; }
}

/* ── SERVICES GRID (6 ITEMS) ── */
.services-grid-six { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; }
.service-item-card { background: var(--white); border: 1px solid var(--gray-200); padding: 2.5rem; border-radius: var(--radius); transition: var(--transition); display: flex; flex-direction: column; height: 100%; }
.service-item-card:hover { border-color: var(--navy); transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.service-item-card h4 { font-size: 1.25rem; font-weight: 800; color: var(--navy); margin-bottom: 1rem; border-bottom: 2px solid var(--beige); padding-bottom: 0.75rem; width: fit-content; }
.service-item-card p { font-size: 0.95rem; color: var(--gray-600); line-height: 1.6; }

@media (max-width: 1024px) { .services-grid-six { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .services-grid-six { grid-template-columns: 1fr; } }

/* ── CONSULTIVE PROCESS (3 STEPS) ── */
.process-section { padding: 8rem 0; background: var(--white); text-align: center; }
.process-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4rem; margin: 5rem 0; position: relative; }
.process-step { position: relative; z-index: 2; padding: 3rem 2rem; background: var(--beige-light); border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.02); transition: var(--transition); border: 1px solid var(--gray-100); }
.process-step:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.step-num { width: 60px; height: 60px; background: var(--navy); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.5rem; margin: -60px auto 1.5rem; border: 4px solid var(--white); }
.process-step h4 { font-size: 1.25rem; font-weight: 800; color: var(--navy); margin-bottom: 1rem; }
.process-step p { font-size: 1rem; color: var(--gray-600); line-height: 1.6; }

@media (max-width: 768px) { .process-steps { grid-template-columns: 1fr; gap: 5rem; } }

/* ── SECURITY IMPORTANCE SECTION (PAIN FOCUSED) ── */
.security-intro { padding: 10rem 0; background: var(--white); }
.security-intro .section-header { text-align: center; max-width: 900px; margin: 0 auto 5rem; }
.security-kicker { font-size: 1.1rem; font-weight: 800; color: var(--accent); letter-spacing: 0.2em; text-transform: uppercase; display: inline-block; position: relative; padding-bottom: 0.75rem; margin-bottom: 1rem; }
.security-kicker::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 50px; height: 3px; background: var(--accent); border-radius: 2px; }
.security-intro h2 { font-size: 3.5rem; letter-spacing: -0.04em; color: var(--navy); }

.security-cards-pain { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 4rem; }
.pain-card { padding: 3rem 2rem; background: var(--beige-light); border-radius: 20px; transition: var(--transition); border: 1px solid var(--gray-100); text-align: center; }
.pain-card:hover { transform: translateY(-10px); background: var(--white); border-color: var(--accent); box-shadow: 0 20px 40px rgba(0,0,0,0.05); }
.pain-icon { font-size: 2.5rem; margin-bottom: 1.5rem; display: block; }
.pain-card h4 { font-size: 1.3rem; font-weight: 800; color: var(--navy); margin-bottom: 1rem; }
.pain-card p { font-size: 1rem; color: var(--gray-600); line-height: 1.6; }

@media (max-width: 900px) {
  .security-cards-pain { grid-template-columns: 1fr; }
  .security-intro h2 { font-size: 2.5rem; }
}

/* ── ALTERNATING ROWS (ZEBRA LAYOUT) ── */
.alt-row { display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: "img text"; gap: 0; align-items: stretch; margin-bottom: 6rem; background: var(--white); border-radius: 24px; overflow: hidden; border: 1px solid var(--gray-100); }
.alt-row.reverse { grid-template-areas: "text img"; }

.alt-img { grid-area: img; position: relative; min-height: 500px; overflow: hidden; }
.alt-text { grid-area: text; padding: 5rem; display: flex; flex-direction: column; justify-content: center; }

.alt-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.alt-row:hover .alt-img img { transform: scale(1.08); }

.alt-text h3 { font-size: 2.5rem; font-weight: 800; color: var(--navy); margin-bottom: 1.5rem; letter-spacing: -0.03em; line-height: 1.1; }
.alt-text p { font-size: 1.15rem; color: var(--gray-600); margin-bottom: 2rem; line-height: 1.7; }
.alt-list { margin-bottom: 3rem; display: grid; gap: 1rem; }
.alt-list li { display: flex; align-items: flex-start; gap: 1rem; font-size: 1.1rem; color: var(--navy); font-weight: 600; }
.alt-list li::before { content: '→'; color: var(--accent); font-weight: 900; }

@media (max-width: 1024px) {
    .alt-row, .alt-row.reverse { grid-template-columns: 1fr; grid-template-areas: "img" "text"; }
    .alt-img { min-height: 350px; }
    .alt-text { padding: 3rem 2rem; }
}

@media (max-width: 900px) {
    .alt-row, .alt-row.reverse { margin-bottom: 6rem; }
    .alt-text { text-align: center; }
    .alt-list { justify-content: center; text-align: left; }
    .alt-text h3 { font-size: 2rem; }
}

/* ── PHILOSOPHY BLOCK ── */
.philosophy-section { padding: 6rem 0 0; background: var(--white); text-align: center; }
.philosophy-box { max-width: 800px; margin: 0 auto; padding: 4rem; background: var(--navy); color: var(--white); border-radius: 16px; position: relative; }
.philosophy-box h3 { font-size: 2rem; margin-bottom: 1.5rem; color: var(--white); }
.philosophy-box p { font-size: 1.1rem; color: rgba(255,255,255,0.8); line-height: 1.8; }
.philosophy-box::after { content: ''; position: absolute; top: -10px; left: 50%; transform: translateX(-50%); width: 40px; height: 4px; background: var(--accent); }

/* ── OTHER SERVICES (ARCHITECTURAL BOXES) ── */
.other-services { padding: 8rem 0; background: var(--white); }
.other-services-header { margin-bottom: 5rem; }

.arch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.arch-box { padding: 3.5rem 2.5rem; background: var(--beige-light); border-radius: 20px; transition: var(--transition); border: 1px solid var(--gray-100); display: flex; flex-direction: column; gap: 1rem; }
.arch-box:hover { transform: translateY(-5px); background: var(--white); border-color: var(--accent); box-shadow: 0 15px 40px rgba(0,0,0,0.05); }
.arch-box-num { font-size: 0.8rem; font-weight: 800; color: var(--accent); letter-spacing: 0.1em; text-transform: uppercase; }
.arch-box h4 { font-size: 1.3rem; font-weight: 800; color: var(--navy); margin-bottom: 0.5rem; line-height: 1.2; }
.arch-box p { color: var(--gray-600); font-size: 1rem; line-height: 1.6; margin-bottom: 0; }

@media (max-width: 900px) { .arch-grid { grid-template-columns: 1fr; } }

/* ── FAQs ── */
.faqs { padding: 6rem 0; background: var(--gray-50); border-top: 1px solid var(--gray-200); }
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--beige-dark); }
.faq-question { width: 100%; text-align: left; padding: 1.5rem 0; background: none; border: none; font-size: 1.1rem; font-weight: 600; color: var(--navy); cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-family: var(--font); }
.faq-icon { font-size: 1.5rem; color: var(--gray-600); transition: transform 0.3s ease; font-weight: 300; }
.faq-item.is-open .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; color: var(--gray-600); }
.faq-answer p { padding-bottom: 1.5rem; line-height: 1.6; }

/* ── CONTACT / CTA FINAL ── */
.final-cta { padding: 6rem 0; background: var(--beige-light); color: var(--navy); border-top: 1px solid var(--gray-100); }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.cta-text h2 { font-size: 2.5rem; font-weight: 800; margin-bottom: 1rem; letter-spacing: -0.02em; color: var(--navy); }
.cta-text p { color: var(--gray-600); font-size: 1.1rem; margin-bottom: 2rem; }
.contact-info { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.25rem; padding-top: 2rem; border-top: 1px solid var(--gray-200); }
.contact-row { display: flex; align-items: flex-start; gap: 1rem; font-size: 1.05rem; }
.contact-row span.label { color: var(--gray-600); font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; display: block; margin-bottom: 0.25rem; }
.contact-row span.val { color: var(--navy); font-weight: 700; }

.contact-form { background: var(--white); padding: 3rem; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); border: 1px solid var(--gray-100); }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.875rem; font-weight: 600; color: var(--gray-800); margin-bottom: 0.5rem; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 0.875rem 1rem; border: 1px solid var(--gray-200); border-radius: var(--radius); font-family: var(--font); font-size: 1rem; outline: none; transition: var(--transition); background: var(--gray-50); color: var(--text); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--navy); background: var(--white); box-shadow: 0 0 0 3px var(--gray-200); }
.form-check { display: flex !important; gap: 0.5rem; align-items: flex-start; margin-bottom: 1.5rem; }
.form-check input[type="checkbox"] { width: auto !important; margin-top: 0.2rem; flex-shrink: 0; }
.form-check label { font-size: 0.8rem; font-weight: 400; color: var(--gray-600); }

@media (max-width: 900px) {
  .cta-grid { grid-template-columns: 1fr; gap: 3rem; }
  .contact-form { padding: 2rem; }
}

/* ── FOOTER LEGAL ── */
.footer { background: var(--navy); padding: 4rem 0 2rem; border-top: none; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 3rem; margin-bottom: 4rem; }
.footer-col h4 { font-size: 0.85rem; font-weight: 700; color: var(--white); margin-bottom: 1.25rem; text-transform: uppercase; letter-spacing: 0.05em; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-col a { color: var(--white); font-size: 0.95rem; transition: var(--transition); opacity: 0.8; }
.footer-col a:hover { opacity: 1; color: var(--white); }
.footer-col p, .footer-col ul li { color: var(--white); font-size: 0.95rem; line-height: 1.6; opacity: 0.9; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; color: rgba(255,255,255,0.6); font-size: 0.875rem; }
.footer-legal-links { display: flex; gap: 1.5rem; }
.footer-legal-links a { color: rgba(255,255,255,0.6); }
.footer-legal-links a:hover { color: var(--white); }

/* -- REVIEWS SECTION -- */
.reviews-section { padding: 6rem 0; background: var(--beige-light); overflow: hidden; position: relative; }
.reviews-section .section-title { color: var(--navy); }
.google-rating { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; margin-top: 0.5rem; background: var(--white); padding: 0.5rem 1.25rem; border-radius: 30px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.rating-number { font-weight: 800; color: var(--navy); }
.stars-svg { display: flex; color: #fbbc05; gap: 2px; }
.rating-text { color: var(--gray-600); font-size: 0.9rem; font-weight: 500; }

.reviews-carousel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; padding: 0; }
.review-card { background: var(--white); border-radius: 16px; padding: 2.5rem; box-shadow: 0 10px 30px rgba(0,0,0,0.08); display: flex; flex-direction: column; opacity: 1 !important; transform: none !important; transition: transform 0.3s ease, box-shadow 0.3s ease; border: 1px solid var(--gray-100); }
.review-card:hover { transform: translateY(-5px) !important; box-shadow: 0 20px 50px rgba(0,0,0,0.12); }
.review-card-link { display: flex; flex-direction: column; gap: 1.25rem; text-decoration: none; color: inherit; height: 100%; }
.review-card-link:focus-visible { border-radius: 8px; box-shadow: 0 0 0 3px var(--accent); }
.review-stars-inline { display: flex; color: #fbbc05; gap: 3px; margin-bottom: 0.5rem; }
.review-card blockquote { margin: 0; flex: 1; }
.review-card blockquote::before { display: none; }
.review-card p { font-size: 1.05rem; line-height: 1.7; font-weight: 500; color: var(--navy); margin: 0; font-style: italic; }
.review-author { display: flex; align-items: center; gap: 0.75rem; margin-top: auto; padding-top: 1.5rem; border-top: 1px solid var(--gray-100); }
.author-name { font-size: 1rem; font-weight: 800; color: var(--navy); }
.review-google-tag { font-size: 0.8rem; color: var(--gray-400); margin-left: auto; font-weight: 600; }

@media (max-width: 900px) { .reviews-carousel { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .reviews-carousel { grid-template-columns: 1fr; } }


/* ── COOKIE BANNER (GDPR COMPLIANT) ── */
.cookie-banner { position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%); width: 95%; max-width: 800px; background: rgba(15, 23, 42, 0.98); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: var(--white); z-index: 10001; padding: 2rem; border-radius: 20px; border: 1px solid rgba(255,255,255,0.15); box-shadow: 0 25px 60px rgba(0,0,0,0.4); display: none; animation: slideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes slideUp { from { transform: translate(-50%, 100%); opacity: 0; } to { transform: translate(-50%, 0); opacity: 1; } }

.cookie-inner { display: flex; align-items: center; gap: 2.5rem; }
.cookie-content { flex: 1; }
.cookie-content strong { display: block; font-size: 1.1rem; margin-bottom: 0.5rem; color: var(--white); letter-spacing: -0.01em; }
.cookie-text { font-size: 0.9rem; line-height: 1.6; color: rgba(255,255,255,0.8); margin: 0; }
.cookie-btns { display: flex; gap: 0.75rem; flex-shrink: 0; }

.cookie-btn { padding: 0.75rem 1.25rem; border-radius: 8px; font-weight: 700; font-size: 0.85rem; cursor: pointer; transition: var(--transition); border: none; white-space: nowrap; }
.cookie-btn--primary { background: var(--white); color: var(--navy); }
.cookie-btn--primary:hover { background: var(--beige); transform: translateY(-2px); }
.cookie-btn--ghost { background: rgba(255,255,255,0.1); color: var(--white); border: 1px solid rgba(255,255,255,0.2); }
.cookie-btn--ghost:hover { background: rgba(255,255,255,0.2); border-color: var(--white); }

@media (max-width: 900px) {
    .cookie-inner { flex-direction: column; gap: 1.5rem; text-align: center; }
    .cookie-btns { width: 100%; flex-direction: column; }
    .cookie-btn { width: 100%; }
}

/* ── STORES SECTION ── */
.stores-section { padding: 6rem 0; background: var(--white); }
.stores-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }

.store-card { background: var(--beige-light); border-radius: 16px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.06); transition: transform 0.3s ease, box-shadow 0.3s ease; display: flex; flex-direction: column; }
.store-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,0.12); }

.store-img { width: 100%; height: 350px; overflow: hidden; background: var(--gray-200); position: relative; }
.store-img img, .store-img iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; border: 0; }
.store-card:hover .store-img img { transform: scale(1.06); }

@media (max-width: 1024px) {
    .stores-grid { grid-template-columns: 1fr; }
}

.store-info { padding: 2rem; flex-grow: 1; display: flex; flex-direction: column; gap: 0.5rem; }
.store-badge { display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy); background: rgba(15,23,42,0.08); padding: 0.3rem 0.75rem; border-radius: 20px; width: fit-content; margin-bottom: 0.5rem; }
.store-badge--accent { color: var(--accent); background: rgba(201,42,42,0.1); }
.store-info h3 { font-size: 1.1rem; font-weight: 800; color: var(--navy); margin: 0; line-height: 1.3; }
.store-address { font-size: 0.9rem; color: var(--gray-600); margin: 0; }
.store-hours-block { margin: 0.75rem 0; padding: 0.75rem 1rem; background: rgba(255,255,255,0.7); border-radius: 8px; border-left: 3px solid var(--navy); }
.store-hours-block p { font-size: 0.875rem; color: var(--gray-600); margin: 0; line-height: 1.6; }
.store-link { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: auto; padding-top: 1rem; font-size: 0.9rem; font-weight: 700; color: var(--navy); text-decoration: none; border-top: 1px solid rgba(0,0,0,0.08); transition: color 0.2s, gap 0.2s; }
.store-link:hover { color: var(--accent); gap: 0.75rem; }

@media (max-width: 900px) {
  .stores-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}

/* ============================================================
   URGENCIAS.HTML - SPECIFIC STYLES
   ============================================================ */
.urgencias-page { background: var(--gray-50); padding-top: 76px; }

.u-navbar { border-bottom: 2px solid var(--accent); }

.u-hero { position: relative; padding: 6rem 0; background: var(--navy); color: var(--white); text-align: center; overflow: hidden; }
.u-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.35; mix-blend-mode: luminosity; }
.u-hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(15,23,42,0.85) 0%, rgba(15,23,42,0.98) 100%); }
.u-hero-content { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; }
.u-hero h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.1; margin-bottom: 1rem; letter-spacing: -0.02em; text-shadow: 0 4px 20px rgba(0,0,0,0.5); }
.u-hero p { font-size: 1.25rem; color: var(--gray-200); margin-bottom: 3rem; font-weight: 400; }

.u-giant-btn { display: inline-flex; flex-direction: column; align-items: center; background: var(--accent); color: var(--white); padding: 1.5rem 4rem; border-radius: 12px; text-decoration: none; box-shadow: 0 10px 30px rgba(201, 42, 42, 0.3); transition: var(--transition); }
.u-giant-btn:hover { transform: translateY(-3px); background: var(--accent-dark); box-shadow: 0 15px 40px rgba(201, 42, 42, 0.4); }
.u-giant-label { font-size: 0.9rem; font-weight: 700; letter-spacing: 0.1em; opacity: 0.9; margin-bottom: 0.25rem; text-transform: uppercase; }
.u-giant-number { font-size: 3.5rem; font-weight: 800; line-height: 1; letter-spacing: -0.02em; }

.u-trust { background: var(--white); padding: 3rem 0; border-bottom: 1px solid var(--gray-200); margin-top: -3rem; position: relative; z-index: 10; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.u-trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; text-align: center; }
.u-trust-item h4 { font-size: 1.125rem; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; }
.u-trust-item p { color: var(--gray-600); font-size: 0.95rem; }

.u-services { padding: 5rem 0; }

/* ── URGENCIAS: BOTTOM CTA BLOCK ── */
.u-trust-section { padding: 0; margin-top: -3rem; position: relative; z-index: 10; }
.u-trust-section .u-trust { border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); padding: 2rem 3rem; }

.u-bottom-cta { padding: 5rem 0; background: var(--navy); color: var(--white); }
.u-bottom-cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }

.u-faq-col h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 800; margin-bottom: 2.5rem; letter-spacing: -0.02em; }
.u-faq-list { display: flex; flex-direction: column; gap: 2rem; }
.u-faq-item h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.u-faq-item p { color: rgba(255,255,255,0.7); font-size: 0.95rem; line-height: 1.6; }

.u-call-col { position: sticky; top: 100px; }
.u-call-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); border-radius: 16px; padding: 2.5rem; text-align: center; }
.u-call-label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-bottom: 1rem; }
.u-call-number { display: block; font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 800; color: var(--white); letter-spacing: -0.03em; text-decoration: none; line-height: 1; margin-bottom: 1.5rem; transition: color 0.2s ease; }
.u-call-number:hover { color: var(--accent); }
.u-call-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-bottom: 1.5rem; }
.u-badge { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); padding: 0.35rem 0.75rem; border-radius: 50px; font-size: 0.78rem; font-weight: 600; color: rgba(255,255,255,0.85); }
.u-call-note { color: rgba(255,255,255,0.5); font-size: 0.85rem; line-height: 1.5; margin-bottom: 1.5rem; }
.u-whatsapp-btn { background: #25d366; color: var(--white); border-radius: var(--radius); width: 100%; font-weight: 700; letter-spacing: 0.02em; display: flex; align-items: center; justify-content: center; gap: 0.5rem; transition: var(--transition); }
.u-whatsapp-btn:hover { background: #1ebe5d; transform: translateY(-2px); }

@media (max-width: 768px) {
  .u-bottom-cta-grid { grid-template-columns: 1fr; gap: 3rem; }
  .u-call-col { position: static; }
}

.mobile-sticky-call { display: none; position: fixed; bottom: 0; left: 0; width: 100%; background: var(--accent); color: var(--white); text-align: center; padding: 1.25rem; font-weight: 700; font-size: 1.25rem; z-index: 1000; box-shadow: 0 -4px 10px rgba(0,0,0,0.1); letter-spacing: 0.02em; }
@media (max-width: 768px) {
  .mobile-sticky-call { display: block; }
  .u-trust-grid { grid-template-columns: 1fr; }
  .u-giant-btn { padding: 1.5rem 2rem; width: 100%; }
  .u-giant-number { font-size: 2.5rem; }
  
  /* Prevent sticky call button from covering chatbot */
  .chatbot-widget { bottom: 5rem; }
}

/* ── CHATBOT UI ── */
.chatbot-widget { position: fixed; bottom: 2rem; right: 2rem; z-index: 9999; font-family: var(--font); }
.chatbot-bubble { width: 64px; height: 64px; background: var(--navy); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); cursor: pointer; box-shadow: 0 10px 30px rgba(15,23,42,0.3); transition: transform 0.3s ease; position: relative; }
.chatbot-bubble:hover { transform: scale(1.1) rotate(5deg); }
.chatbot-bubble .badge { position: absolute; top: 0; right: 0; width: 18px; height: 18px; background: var(--accent); border-radius: 50%; border: 2px solid var(--white); }

.chatbot-window { position: absolute; bottom: 85px; right: 0; width: 360px; background: var(--white); border-radius: 16px; box-shadow: 0 20px 50px rgba(0,0,0,0.15); border: 1px solid var(--gray-200); display: none; flex-direction: column; overflow: hidden; transform-origin: bottom right; animation: chatOpen 0.6s cubic-bezier(0.23, 1, 0.32, 1); }
.chatbot-window.open { display: flex; }

@keyframes chatOpen { from { opacity: 0; transform: scale(0.9) translateY(40px); filter: blur(4px); } to { opacity: 1; transform: scale(1) translateY(0); filter: blur(0); } }

.chat-header { background: var(--navy); color: var(--white); padding: 1.25rem 1.5rem; display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid var(--accent); }
.chat-header-info { display: flex; align-items: center; gap: 1rem; }
.chat-avatar { width: 40px; height: 40px; background: var(--beige); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--navy); font-weight: 800; font-size: 0.9rem; }
.chat-title { font-size: 1rem; font-weight: 700; display: block; }
.chat-status { font-size: 0.75rem; color: #10b981; display: flex; align-items: center; gap: 0.3rem; }
.chat-status::before { content: ''; width: 8px; height: 8px; background: currentColor; border-radius: 50%; }

.chat-close { width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.1); border-radius: 50%; color: var(--white); font-size: 1.25rem; cursor: pointer; transition: var(--transition); border: none; }
.chat-close:hover { background: rgba(255,255,255,0.2); transform: rotate(90deg); }

.chat-body { height: 320px; padding: 1.25rem; background: var(--gray-50); overflow-y: auto; display: flex; flex-direction: column; gap: 0.75rem; scroll-behavior: smooth; }
.msg { max-width: 85%; padding: 0.75rem 1rem; border-radius: 12px; font-size: 0.9rem; line-height: 1.4; position: relative; animation: msgFade 0.4s ease forwards; opacity: 0; }
@keyframes msgFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.msg-bot { background: var(--white); border: 1px solid var(--gray-200); align-self: flex-start; border-bottom-left-radius: 2px; color: var(--navy); }
.msg-user { background: var(--navy); color: var(--white); align-self: flex-end; border-bottom-right-radius: 2px; }
.msg-typing { font-style: italic; color: var(--gray-400); font-size: 0.8rem; margin-bottom: -0.25rem; }

.chat-options { padding: 1rem; display: flex; flex-direction: column; gap: 0.5rem; background: var(--white); border-top: 1px solid var(--gray-200); }
.chat-opt-btn { width: 100%; padding: 0.65rem; border-radius: 6px; font-weight: 600; font-size: 0.85rem; text-align: center; border: 1px solid var(--gray-200); background: var(--white); color: var(--navy); transition: var(--transition); }
.chat-opt-btn:hover { border-color: var(--navy); background: var(--gray-50); }
.chat-opt-btn.whatsapp { background: #25d366; color: var(--white); border: none; display: flex; align-items: center; justify-content: center; gap: 0.5rem; }

.chat-input-area { padding: 1rem; background: var(--white); border-top: 1px solid var(--gray-100); display: flex; gap: 0.5rem; }
.chat-input { flex: 1; border: 1px solid var(--gray-200); border-radius: 20px; padding: 0.5rem 1rem; font-family: var(--font); font-size: 0.85rem; outline: none; transition: border-color 0.2s; }
.chat-input:focus { border-color: var(--navy); }
.chat-send { width: 34px; height: 34px; background: var(--navy); color: var(--white); border: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: var(--transition); cursor: pointer; }
.chat-send:hover { transform: scale(1.1); background: var(--accent); }

@media (max-width: 480px) {
    .chatbot-window { width: 100%; right: 0; bottom: 0; height: 100%; border-radius: 0; }
    .chatbot-bubble { bottom: 1rem; right: 1rem; }
}

