
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --yellow: #D7B615; --yellow-dark: #b89a10;
  --navy: #1C2236; --dark: #111111; --dark2: #181818;
  --text: #ffffff; --muted: #bbbbbb;
  --font: 'Roboto', sans-serif; --cond: 'Roboto Condensed', sans-serif;
}
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--dark); color: var(--text); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* HEADER */
header { position: fixed; top: 0; left: 0; width: 100%; background: var(--navy); z-index: 1000; border-bottom: 1px solid rgba(255,255,255,0.07); }
.hdr { display: flex; align-items: center; height: 68px; }
.logo-box { display: flex; align-items: center; padding: 0 28px; height: 100%; border-right: 1px solid rgba(255,255,255,0.1); flex-shrink: 0; }
.logo-box img { height: 38px; width: auto; }
.main-nav { display: flex; align-items: center; height: 100%; }
.main-nav a { font-family: var(--cond); font-size: 12.5px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--text); padding: 0 22px; height: 100%; display: flex; align-items: center; border-right: 1px solid rgba(255,255,255,0.07); transition: color .2s; }
.main-nav a:first-child { border-left: 1px solid rgba(255,255,255,0.07); }
.main-nav a:hover { color: var(--yellow); }
.hdr-right { display: flex; align-items: center; height: 100%; margin-left: auto; }
.socials { display: flex; align-items: center; gap: 18px; padding: 0 24px; height: 100%; border-left: 1px solid rgba(255,255,255,0.1); }
.socials a { color: var(--text); font-size: 16px; transition: color .2s; }
.socials a:hover { color: var(--yellow); }
.cta-btn { display: flex; align-items: center; justify-content: center; background: var(--yellow); color: #000; font-family: var(--cond); font-size: 12.5px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 0 32px; height: 100%; min-width: 160px; transition: background .2s; flex-shrink: 0; }
.cta-btn:hover { background: var(--yellow-dark); }
.hamburger { display: none; background: none; border: none; color: var(--text); font-size: 22px; cursor: pointer; padding: 0 20px; align-items: center; }

/* PAGE HERO */
.page-hero { padding-top: 68px; background: var(--navy); border-bottom: 1px solid rgba(255,255,255,0.07); }
.page-hero-body { max-width: 1200px; margin: 0 auto; padding: 64px 48px; }
.eyebrow { font-family: var(--cond); font-size: 11px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--yellow); margin-bottom: 14px; }
.page-hero h1 { font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 700; color: var(--text); margin-bottom: 12px; }
.page-hero .updated { font-size: 13px; color: rgba(255,255,255,0.35); font-weight: 300; }

/* CONTENT */
.doc-wrap { max-width: 860px; margin: 0 auto; padding: 72px 48px 96px; }
.doc-section { margin-bottom: 52px; }
.doc-section:last-child { margin-bottom: 0; }
.doc-section h2 { font-family: var(--cond); font-size: 14px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--yellow); margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid rgba(215,182,21,0.25); }
.doc-section p { font-size: 14.5px; font-weight: 300; color: var(--muted); line-height: 1.85; margin-bottom: 14px; }
.doc-section p:last-child { margin-bottom: 0; }
.doc-section ul { margin: 14px 0; padding-left: 0; list-style: none; }
.doc-section ul li { font-size: 14px; font-weight: 300; color: var(--muted); line-height: 1.8; padding-left: 18px; position: relative; margin-bottom: 8px; }
.doc-section ul li::before { content: '›'; position: absolute; left: 0; color: var(--yellow); font-weight: 700; }
.doc-section a { color: var(--yellow); transition: opacity .2s; }
.doc-section a:hover { opacity: 0.8; }

/* Cookie table */
.cookie-table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 13.5px; }
.cookie-table th { font-family: var(--cond); font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--yellow); padding: 12px 16px; background: rgba(215,182,21,0.06); border-bottom: 1px solid rgba(215,182,21,0.2); text-align: left; }
.cookie-table td { padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,0.06); color: var(--muted); font-weight: 300; vertical-align: top; line-height: 1.6; }
.cookie-table tr:last-child td { border-bottom: none; }
.cookie-table tr:hover td { background: rgba(255,255,255,0.02); }
.badge { display: inline-block; font-family: var(--cond); font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 2px 8px; border-radius: 2px; }
.badge-necessary { background: rgba(76,175,80,0.15); color: #81c784; border: 1px solid rgba(76,175,80,0.25); }
.badge-analytics  { background: rgba(33,150,243,0.15); color: #90caf9; border: 1px solid rgba(33,150,243,0.25); }
.badge-functional { background: rgba(255,152,0,0.15);  color: #ffcc80; border: 1px solid rgba(255,152,0,0.25); }

.highlight-box { background: rgba(215,182,21,0.06); border: 1px solid rgba(215,182,21,0.2); border-left: 3px solid var(--yellow); padding: 20px 24px; border-radius: 0 2px 2px 0; margin: 20px 0; }
.highlight-box p { color: var(--text); font-size: 14px; margin: 0; }

/* Preference button */
.pref-btn { display: inline-flex; align-items: center; gap: 8px; background: transparent; border: 1px solid rgba(215,182,21,0.4); color: var(--yellow); font-family: var(--cond); font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 10px 20px; border-radius: 2px; cursor: pointer; transition: background .2s, border-color .2s; margin-top: 8px; }
.pref-btn:hover { background: rgba(215,182,21,0.1); border-color: var(--yellow); }

/* FOOTER */
footer { background: var(--navy); border-top: 1px solid rgba(255,255,255,0.07); padding: 40px 0 24px; }
.ftr-top { max-width: 1200px; margin: 0 auto; padding: 0 48px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; margin-bottom: 28px; }
.ftr-logo img { height: 30px; }
.ftr-nav { display: flex; gap: 28px; flex-wrap: wrap; }
.ftr-nav a { font-family: var(--cond); font-size: 11.5px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); transition: color .2s; }
.ftr-nav a:hover { color: var(--yellow); }
.ftr-social { display: flex; gap: 16px; }
.ftr-social a { color: var(--muted); font-size: 17px; transition: color .2s; }
.ftr-social a:hover { color: var(--yellow); }
.ftr-copy { max-width: 1200px; margin: 0 auto; padding: 20px 48px 0; border-top: 1px solid rgba(255,255,255,0.06); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.ftr-copy p, .ftr-copy a { font-size: 11.5px; color: rgba(255,255,255,.32); }
.ftr-copy-links { display: flex; gap: 22px; }
.ftr-copy a:hover { color: var(--yellow); }
.to-top { position: fixed; bottom: 24px; right: 24px; width: 44px; height: 44px; background: var(--yellow); color: #000; border: none; border-radius: 2px; cursor: pointer; font-size: 16px; display: flex; align-items: center; justify-content: center; opacity: 0; transform: translateY(10px); transition: opacity .3s, transform .3s; z-index: 900; }
.to-top.show { opacity: 1; transform: translateY(0); }
.to-top:hover { background: var(--yellow-dark); }

.main-nav .cta-btn { display: none; }

@media (max-width: 768px) {
  .main-nav { display: none; }
  .main-nav.open { display: flex; flex-direction: column; position: fixed; top: 68px; left: 0; right: 0; background: var(--navy); padding: 8px 0; z-index: 999; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .main-nav.open a { border: none; border-bottom: 1px solid rgba(255,255,255,0.06); padding: 14px 28px; height: auto; }
  .hamburger { display: flex; }
  .cta-btn { min-width: auto; padding: 0 18px; font-size: 11px; }
  .page-hero-body { padding: 48px 24px; }
  .doc-wrap { padding: 48px 24px 72px; }
  .cookie-table { display: block; overflow-x: auto; }
  .ftr-top { flex-direction: column; align-items: flex-start; padding: 0 24px; }
  .ftr-copy { flex-direction: column; align-items: flex-start; padding: 16px 24px 0; }
  .hdr-right .cta-btn { display: none; }
  .main-nav .cta-btn { display: inline-block; margin-top: 12px; background-color: var(--color-primary, #f5c400); /* amarillo Drilcor */ color: #0a1628; padding: 10px 24px; border-radius: 4px; font-weight: 700; text-align: center; width: fit-content; }
}