/* ============================================================
   depositogasoil.com — Global CSS
   ============================================================ */

:root {
  --navy:       #0a1628;
  --navy2:      #0f172a;
  --amber:      #f59e0b;
  --orange:     #ea580c;
  --white:      #ffffff;
  --bg:         #f5f5f7;
  --ink:        #0f172a;
  --mid:        #475569;
  --light:      #94a3b8;
  --green:      #16a34a;
  --blue:       #2563eb;
  --border:     rgba(0,0,0,0.07);
  --font-head:  'Plus Jakarta Sans', sans-serif;
  --font-body:  'Inter', sans-serif;
  --radius:     10px;
  --shadow:     0 1px 2px rgba(0,0,0,0.03), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-hover: 0 2px 4px rgba(0,0,0,0.04), 0 6px 16px rgba(0,0,0,0.07);
  --transition: 0.15s cubic-bezier(0.16,1,0.3,1);
}

/* Reset mínimo */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* ── ANUNCIO ── */
.dg-ann-bar {
  background: var(--amber);
  color: var(--navy2);
  text-align: center;
  padding: 8px 20px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.dg-ann-bar a { color: var(--navy2); font-weight: 700; border-bottom: 1px solid rgba(15,23,42,0.3); }

/* ── NAV ── */
.dg-nav {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 10000;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.admin-bar .dg-nav { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar .dg-nav { top: 0; }
}
.dg-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.dg-logo {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.dg-logo .w { color: var(--white); }
.dg-logo .a { color: var(--amber); }
.dg-logo .d { color: rgba(255,255,255,0.55); font-size: 18px; }
.dg-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.dg-nav-links a {
  color: rgba(255,255,255,0.75);
  font-size: 13.5px;
  font-weight: 500;
  padding: 7px 11px;
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.dg-nav-links a:hover,
.dg-nav-links a.active { color: var(--white); background: rgba(255,255,255,0.07); }
.dg-nav-links a.active { color: var(--amber); }
.dg-nav-cta {
  background: var(--orange);
  color: var(--white) !important;
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 7px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 1px 4px rgba(234,88,12,0.12);
  transition: opacity var(--transition);
}
.dg-nav-cta:hover { opacity: 0.9; background: var(--orange) !important; }

/* ── HERO ── */
.dg-hero {
  background-color: var(--navy);
  background-image:
    linear-gradient(rgba(245,158,11,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,158,11,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  padding: 80px 24px 72px;
  text-align: center;
}
.dg-hero-inner { max-width: 800px; margin: 0 auto; }
.dg-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(36px, 6vw, 60px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 16px;
}
.dg-hero h1 em {
  font-style: normal;
  color: var(--amber);
}
.dg-hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* Search bar hero */
.dg-search-wrap {
  max-width: 560px;
  margin: 0 auto 28px;
  position: relative;
}
.dg-search-wrap input {
  width: 100%;
  padding: 16px 56px 16px 20px;
  border-radius: 12px;
  border: 2px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.07);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  transition: border-color var(--transition), background var(--transition);
}
.dg-search-wrap input::placeholder { color: rgba(255,255,255,0.4); }
.dg-search-wrap input:focus {
  border-color: var(--amber);
  background: rgba(255,255,255,0.1);
  box-shadow: 0 0 0 3px rgba(245,158,11,0.12);
}
.dg-search-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--amber);
  border: none;
  border-radius: 8px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--navy2);
  transition: opacity var(--transition);
}
.dg-search-btn:hover { opacity: 0.88; }

/* Category pills */
.dg-cat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.dg-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.75);
  font-size: 13.5px;
  font-weight: 500;
  transition: all var(--transition);
  cursor: pointer;
}
.dg-cat-pill:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.28);
  color: var(--white);
}
.dg-cat-pill svg { flex-shrink: 0; }

/* ── SECCIONES GENÉRICAS ── */
.dg-section {
  padding: 64px 24px;
}
.dg-section-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.dg-section-bg {
  background: var(--bg);
}
.dg-section-label {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--light);
  margin-bottom: 8px;
}
.dg-section-title {
  font-family: var(--font-head);
  font-size: clamp(24px, 3.5vw, 34px);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 12px;
}
.dg-section-desc {
  font-size: 16px;
  color: var(--mid);
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 40px;
}

/* ── PRODUCTO CARD (shortcode y grid) ── */
.dg-producto-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
}
.dg-producto-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(245,158,11,0.2);
}
.dg-producto-img {
  background: #f8fafc;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.dg-producto-img img {
  max-height: 120px;
  width: auto;
  object-fit: contain;
}
.dg-producto-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dg-producto-name {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin: 0;
}
.dg-producto-excerpt {
  font-size: 13px;
  color: var(--mid);
  line-height: 1.55;
  margin: 0;
  flex: 1;
}
.dg-precio {
  font-size: 14px;
  color: var(--mid);
}
.dg-precio strong {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.dg-producto-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.dg-btn-ficha {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--orange);
  padding: 7px 14px;
  border: 1px solid rgba(234,88,12,0.2);
  border-radius: 7px;
  background: rgba(234,88,12,0.04);
  transition: all var(--transition);
}
.dg-btn-ficha:hover {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.dg-btn-amazon {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  padding: 7px 14px;
  border-radius: 7px;
  background: var(--orange);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 1px 4px rgba(234,88,12,0.12);
  transition: opacity var(--transition);
}
.dg-btn-amazon:hover { opacity: 0.88; }

/* ── TAGS ── */
.dg-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(0,0,0,0.05);
  color: var(--mid);
}
.dg-tag-amber { background: rgba(245,158,11,0.1); color: #78350f; }
.dg-tag-green { background: rgba(22,163,74,0.09); color: #14532d; }
.dg-tag-blue  { background: rgba(37,99,235,0.08); color: #1e3a8a; }

/* ── CTA PRESUPUESTO ── */
.dg-cta-box {
  background: linear-gradient(135deg, var(--navy), #1e2d45);
  border-radius: 16px;
  padding: 48px 40px;
  text-align: center;
  color: var(--white);
}
.dg-cta-box h2 {
  font-family: var(--font-head);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: var(--white);
}
.dg-cta-box p {
  font-size: 16px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 28px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.dg-btn-presupuesto {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 10px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 2px 8px rgba(234,88,12,0.2);
  transition: opacity var(--transition), transform var(--transition);
}
.dg-btn-presupuesto:hover { opacity: 0.92; transform: translateY(-1px); color: var(--white); }

/* ── MODAL LEAD ── */
.dg-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.dg-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.dg-modal {
  background: var(--white);
  border-radius: 16px;
  padding: 36px 32px;
  max-width: 520px;
  width: 100%;
  box-shadow: 0 8px 40px rgba(0,0,0,0.2);
  transform: translateY(8px);
  transition: transform var(--transition);
}
.dg-modal-overlay.open .dg-modal { transform: translateY(0); }
.dg-modal-title {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.dg-modal-sub {
  font-size: 14px;
  color: var(--mid);
  margin-bottom: 24px;
}
.dg-modal-steps {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}
.dg-step {
  flex: 1;
  height: 4px;
  background: rgba(0,0,0,0.08);
  border-radius: 999px;
  transition: background var(--transition);
}
.dg-step.done { background: var(--green); }
.dg-step.active { background: var(--amber); }

.dg-form-group { margin-bottom: 16px; }
.dg-form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.dg-form-group input,
.dg-form-group select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid rgba(0,0,0,0.12);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--ink);
  background: var(--white);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.dg-form-group input:focus,
.dg-form-group select:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(245,158,11,0.12);
}
.dg-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dg-btn-submit {
  width: 100%;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  padding: 13px;
  border: none;
  border-radius: 9px;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 1px 4px rgba(234,88,12,0.12);
  transition: opacity var(--transition);
  margin-top: 8px;
}
.dg-btn-submit:hover { opacity: 0.9; }
.dg-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--light);
  transition: color var(--transition);
}
.dg-modal-close:hover { color: var(--ink); }
.dg-modal { position: relative; }

/* ── FOOTER ── */
.dg-footer {
  background: var(--navy);
  padding: 56px 24px 32px;
  color: rgba(255,255,255,0.6);
}
.dg-footer-inner { max-width: 1200px; margin: 0 auto; }
.dg-footer-top {
  display: grid;
  grid-template-columns: 200px repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 28px;
}
.dg-footer-logo {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 10px;
}
.dg-footer-logo .w { color: var(--white); }
.dg-footer-logo .a { color: var(--amber); }
.dg-footer-logo .d { color: rgba(255,255,255,0.4); font-size: 16px; }
.dg-footer-tagline { font-size: 12.5px; line-height: 1.6; color: rgba(255,255,255,0.35); }
.dg-footer-col h4 {
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.dg-footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.dg-footer-col ul li a { font-size: 13.5px; color: rgba(255,255,255,0.5); transition: color var(--transition); }
.dg-footer-col ul li a:hover { color: var(--white); }
.dg-footer-col ul li a.accent { color: rgba(245,158,11,0.7); }
.dg-footer-col ul li a.accent:hover { color: var(--amber); }
.dg-footer-bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.dg-footer-copy { font-size: 12px; color: rgba(255,255,255,0.3); }
.dg-footer-disclaimer { font-size: 11px; color: rgba(255,255,255,0.2); max-width: 480px; line-height: 1.55; text-align: right; }

/* ── FOCUS ── */
*:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
*:focus:not(:focus-visible) { outline: none; }
button, a, input { -webkit-tap-highlight-color: transparent; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .dg-footer-top { grid-template-columns: repeat(3, 1fr); }
  .dg-footer-brand { grid-column: 1 / -1; }
}
/* ── HAMBURGER ── */
.dg-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  outline: none;
}
.dg-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,0.85);
  border-radius: 2px;
  margin: 0 auto;
  transition: transform 0.22s cubic-bezier(0.4,0,0.2,1), opacity 0.15s;
}
.dg-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.dg-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.dg-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE NAV DRAWER ── */
.dg-nav-mobile {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  bottom: 0;
  background: #0a1628;
  z-index: 99;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.dg-nav-mobile a {
  display: flex;
  align-items: center;
  padding: 15px 24px;
  color: rgba(255,255,255,0.65);
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color 0.15s, background 0.15s;
  letter-spacing: 0.01em;
}
.dg-nav-mobile a:hover,
.dg-nav-mobile a.active { color: #fff; background: rgba(255,255,255,0.04); }
.dg-nav-mobile-sep { display: block; height: 1px; background: rgba(255,255,255,0.12); margin: 8px 0; }
.dg-nav-mobile a.sub { padding-left: 40px; font-size: 14px; color: rgba(255,255,255,0.45); }
.dg-nav-mobile a.sub:hover { color: rgba(255,255,255,0.75); }

@media (max-width: 768px) {
  .dg-ann-bar { display: none; }
  .dg-nav-links { display: none; }
  .dg-hamburger { display: flex; }
  .dg-nav-mobile.open { display: block; }
  .dg-footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .dg-footer-bottom { flex-direction: column; }
  .dg-footer-disclaimer { text-align: left; }
  .dg-form-row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .dg-footer-top { grid-template-columns: 1fr; }
  .dg-hero { padding: 56px 16px 48px; }
  .dg-modal { padding: 24px 20px; }
}
