/* =============================================
   GUIA INFORMATIVO — style.css
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:   #1a56db;
  --primary-d: #1341b0;
  --green:     #047857;
  --orange:    #d97706;
  --bg:        #f9fafb;
  --white:     #ffffff;
  --gray-100:  #f3f4f6;
  --gray-200:  #e5e7eb;
  --gray-600:  #4b5563;
  --gray-800:  #1f2937;
  --text:      #111827;
  --radius:    8px;
  --shadow:    0 2px 12px rgba(0,0,0,.08);
}

body {
  font-family: 'Plus Jakarta Sans', 'Segoe UI', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; }

/* ── DISCLAIMER BANNER ── */
.disclaimer-bar {
  background: #fef3c7;
  border-bottom: 2px solid #f59e0b;
  text-align: center;
  padding: 10px 20px;
  font-size: .9rem;
  font-weight: 600;
  color: #92400e;
}
.disclaimer-bar span { margin-right: 6px; }

/* ── HEADER ── */
header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo span { color: var(--text); font-weight: 400; font-size: 1rem; }

nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
nav a {
  padding: 6px 12px;
  border-radius: var(--radius);
  font-size: .9rem;
  color: var(--gray-800);
  font-weight: 500;
  transition: background .2s;
}
nav a:hover { background: var(--gray-100); text-decoration: none; }
nav a.active { background: var(--primary); color: var(--white); }

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, #1a56db 0%, #0f3fa0 100%);
  color: var(--white);
  padding: 70px 20px;
  text-align: center;
}
.hero h1 { font-size: 2.2rem; font-weight: 800; line-height: 1.2; margin-bottom: 16px; }
.hero p  { font-size: 1.1rem; opacity: .9; max-width: 640px; margin: 0 auto 32px; }
.btn-group { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.2); text-decoration: none; }
.btn-white  { background: var(--white); color: var(--primary); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-primary { background: var(--primary); color: var(--white); }
.btn-green  { background: var(--green); color: var(--white); }

/* ── SECTION ── */
.section { padding: 60px 20px; }
.section-alt { background: var(--white); }
.container { max-width: 1100px; margin: 0 auto; }

.section-title {
  font-size: 1.7rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 10px;
}
.section-sub {
  text-align: center;
  color: var(--gray-600);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ── CARDS ── */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--primary);
  transition: transform .2s;
}
.card:hover { transform: translateY(-4px); }
.card-icon { font-size: 2rem; margin-bottom: 14px; }
.card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
.card p { color: var(--gray-600); font-size: .95rem; margin-bottom: 16px; }
.card-link { font-weight: 700; color: var(--primary); font-size: .95rem; }
.card-link:hover { text-decoration: underline; }

/* ── INFO BOX ── */
.info-box {
  background: #eff6ff;
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 24px 0;
}
.info-box.warning { background: #fef3c7; border-color: var(--orange); }
.info-box.success { background: #ecfdf5; border-color: var(--green); }
.info-box h4 { font-weight: 700; margin-bottom: 8px; }

/* ── TRANSPARENCY SECTION ── */
.transparency {
  background: var(--gray-800);
  color: var(--white);
  padding: 50px 20px;
  text-align: center;
}
.transparency h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 16px; }
.transparency p { opacity: .85; max-width: 700px; margin: 0 auto 12px; }
.transp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.transp-item {
  background: rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 20px;
  font-size: .95rem;
}
.transp-item .icon { font-size: 1.8rem; margin-bottom: 10px; }

/* ── STEPS ── */
.steps { counter-reset: step; display: flex; flex-direction: column; gap: 20px; }
.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.step-num {
  background: var(--primary);
  color: var(--white);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.step-body h3 { font-weight: 700; margin-bottom: 6px; }
.step-body p  { color: var(--gray-600); font-size: .95rem; }

/* ── TABLE ── */
.table-wrap { overflow-x: auto; margin: 24px 0; }
table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
th { background: var(--primary); color: var(--white); padding: 14px 16px; text-align: left; font-size: .95rem; }
td { padding: 12px 16px; border-bottom: 1px solid var(--gray-200); font-size: .95rem; }
tr:last-child td { border-bottom: none; }
tr:nth-child(even) td { background: var(--gray-100); }

/* ── ALERT ── */
.alert {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  border-radius: var(--radius);
  padding: 18px 20px;
  margin: 20px 0;
  color: #7f1d1d;
  font-size: .95rem;
}
.alert strong { display: block; margin-bottom: 6px; }

/* ── FAQ ACCORDION (details/summary) ── */
.faq { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.faq details {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.faq details summary {
  font-weight: 700;
  color: var(--primary);
  padding: 18px 24px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 48px;
  user-select: none;
}
.faq details summary::-webkit-details-marker { display: none; }
.faq details summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--primary);
  transition: transform .2s;
  flex-shrink: 0;
  margin-left: 12px;
}
.faq details[open] summary::after { content: '−'; }
.faq details summary:hover { background: var(--gray-100); }
.faq details p, .faq details ul {
  color: var(--gray-600);
  font-size: .95rem;
  padding: 0 24px 18px;
  line-height: 1.7;
}
.faq details ul { padding-left: 44px; }
.faq details[open] summary { border-bottom: 1px solid var(--gray-200); }

/* ── CONTACT ── */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-top: 30px; }
.contact-item { background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); text-align: center; }
.contact-item .icon { font-size: 2rem; margin-bottom: 12px; }
.contact-item h4 { font-weight: 700; margin-bottom: 8px; }
.contact-item p, .contact-item a { color: var(--gray-600); font-size: .95rem; }

/* ── FOOTER ── */
footer {
  background: #111827;
  color: #d1d5db;
  padding: 50px 20px 24px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid #374151;
}
.footer-col h4 { color: var(--white); font-size: 1rem; font-weight: 700; margin-bottom: 14px; }
.footer-col p, .footer-col a { font-size: .88rem; color: #9ca3af; line-height: 2; display: block; }
.footer-col a:hover { color: var(--white); text-decoration: none; }
.footer-bottom {
  max-width: 1100px;
  margin: 24px auto 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: .82rem;
  color: #6b7280;
}

/* ── LEGAL PAGES ── */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}
.legal-content h1 { font-size: 1.8rem; margin-bottom: 10px; }
.legal-content .date { color: var(--gray-600); font-size: .9rem; margin-bottom: 32px; }
.legal-content h2 { font-size: 1.2rem; font-weight: 700; margin: 28px 0 10px; color: var(--primary); }
.legal-content p { margin-bottom: 14px; color: var(--gray-600); }
.legal-content ul { margin: 10px 0 14px 20px; color: var(--gray-600); }
.legal-content ul li { margin-bottom: 6px; }

/* ── BREADCRUMB ── */
.breadcrumb {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 10px 20px;
  font-size: .85rem;
}
.breadcrumb ol {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  flex-wrap: wrap;
}
.breadcrumb li { display: flex; align-items: center; gap: 6px; color: var(--gray-600); }
.breadcrumb li + li::before { content: '›'; color: var(--gray-600); }
.breadcrumb a { color: var(--primary); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: var(--gray-800); font-weight: 600; }

/* ── OFFICIAL LINKS ── */
.official-links {
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  border-radius: var(--radius);
  padding: 24px;
  margin: 28px 0;
}
.official-links h4 { font-weight: 700; color: var(--green); margin-bottom: 12px; }
.official-links p  { color: var(--gray-600); font-size: .9rem; margin-bottom: 12px; }
.official-links ul { padding-left: 20px; }
.official-links ul li { margin-bottom: 8px; font-size: .9rem; color: var(--gray-600); }
.official-links ul a { color: var(--green); font-weight: 600; }

/* ── COOKIE CONSENT BANNER ── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #0f172a;
  color: #e2e8f0;
  padding: 16px 20px;
  z-index: 9999;
  display: none;
  border-top: 3px solid var(--primary);
}
.cookie-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-inner p { font-size: .88rem; line-height: 1.5; flex: 1; min-width: 200px; }
.cookie-inner p a { color: #93c5fd; }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; }
.btn-cookie-accept {
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  padding: 10px 20px;
  font-size: .88rem;
  font-weight: 700;
  cursor: pointer;
  min-height: 48px;
  min-width: 48px;
  font-family: inherit;
}
.btn-cookie-reject {
  background: transparent;
  color: #94a3b8;
  border: 1px solid #475569;
  border-radius: var(--radius);
  padding: 10px 16px;
  font-size: .88rem;
  cursor: pointer;
  min-height: 48px;
  min-width: 48px;
  font-family: inherit;
}
.btn-cookie-accept:hover { background: var(--primary-d); }
.btn-cookie-reject:hover { color: #e2e8f0; border-color: #94a3b8; }

/* ── TOUCH TARGETS (min 48px) ── */
.btn { min-height: 48px; min-width: 48px; }
nav a { min-height: 44px; display: inline-flex; align-items: center; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .hero h1 { font-size: 1.6rem; }
  .header-inner { flex-direction: column; height: auto; padding: 14px 20px; gap: 10px; }
  nav { justify-content: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cookie-inner { flex-direction: column; align-items: flex-start; }
}
