/*
Theme Name: Gasoleos Givica
Theme URI: https://www.gasoleosgivica.com
Author: Gasoleos Givica
Description: Tema WordPress completo, premium y funcional para Gasoleos Givica.
Version: 2.0.0
Requires at least: 6.4
Tested up to: 6.6
Requires PHP: 8.0
Text Domain: gasoleos-givica
*/

:root {
  --void: #030406;
  --ink: #0b0d10;
  --graphite: #16191f;
  --steel: #8f98a6;
  --silver: #dce3ea;
  --white: #ffffff;
  --cloud: #f5f7fa;
  --blue: #6bb7ff;
  --blue-deep: #0a66c2;
  --energy: #ff7a1a;
  --red: #ff453a;
  --line: rgba(255, 255, 255, .13);
  --line-dark: rgba(11, 13, 16, .10);
  --shadow: 0 30px 90px rgba(0, 0, 0, .34);
  --radius: 22px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--void); }
body {
  margin: 0;
  background: var(--void);
  color: var(--white);
  font-family: Inter, Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: geometricPrecision;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.shell { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.narrow { max-width: 920px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(3, 4, 6, .68);
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(24px) saturate(145%);
}
.header-inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 850;
  letter-spacing: 0;
}
.brand-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: linear-gradient(145deg, #fff, #aeb8c8 38%, #3c4554);
  color: var(--void);
  font-size: 15px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 12px 30px rgba(0,0,0,.35);
}
.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: rgba(255,255,255,.74);
  font-size: 13px;
  font-weight: 750;
}
.nav a { transition: color .18s ease; }
.nav a:hover { color: #fff; }

.btn,
.phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid rgba(255,122,26,.58);
  border-radius: 999px;
  background: linear-gradient(180deg, #ff943f, var(--energy));
  color: #fff;
  font-weight: 850;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 20px 48px rgba(255,122,26,.25);
  transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn:hover,
.phone:hover {
  transform: translateY(-2px);
  box-shadow: 0 26px 60px rgba(255,122,26,.34);
}
.btn-secondary,
.phone {
  border-color: rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  box-shadow: none;
}
.btn-secondary:hover,
.phone:hover { background: rgba(255,255,255,.14); box-shadow: none; }
.btn-small { min-height: 40px; padding: 0 16px; font-size: 13px; }
.mobile-call { display: none; }

.hero {
  position: relative;
  min-height: calc(100svh - 64px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(circle at 50% 10%, rgba(107,183,255,.18), transparent 34%), radial-gradient(circle at 80% 60%, rgba(255,122,26,.20), transparent 28%), #030406;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
  opacity: .72;
  transform: scale(1.06);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(3,4,6,.96), rgba(3,4,6,.56) 44%, rgba(3,4,6,.20)), linear-gradient(0deg, #030406 0%, rgba(3,4,6,.05) 32%, rgba(3,4,6,.12) 100%);
}
.hero-content {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(96px, 14vw, 172px) 0 clamp(76px, 11vw, 128px);
}
.eyebrow,
.kicker {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
h1, h2, h3 {
  margin: 0;
  color: inherit;
  font-weight: 850;
  line-height: .96;
  letter-spacing: 0;
}
.hero h1 { max-width: 900px; font-size: clamp(54px, 10vw, 132px); }
.hero p {
  max-width: 660px;
  margin: 24px 0 0;
  color: rgba(255,255,255,.72);
  font-size: clamp(19px, 2.2vw, 28px);
  line-height: 1.22;
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.72);
  font-size: 12px;
  font-weight: 800;
}

.section { position: relative; padding: clamp(86px, 12vw, 176px) 0; overflow: hidden; }
.section-dark {
  background: radial-gradient(circle at 78% 18%, rgba(107,183,255,.16), transparent 30%), radial-gradient(circle at 18% 90%, rgba(255,122,26,.12), transparent 28%), #030406;
  color: #fff;
}
.section-light {
  background: linear-gradient(180deg, #f5f7fa, #fff);
  color: var(--ink);
}
.section-head { max-width: 900px; }
.section-head h1,
.section-head h2 { font-size: clamp(42px, 7vw, 96px); }
.section-head p,
.statement p,
.cta-panel p {
  max-width: 720px;
  margin: 22px 0 0;
  color: rgba(255,255,255,.66);
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.28;
}
.section-light .section-head p,
.section-light .cta-panel p { color: #59616d; }
.statement { max-width: 1010px; margin: 0 auto; text-align: center; }
.statement h2 { font-size: clamp(48px, 8vw, 118px); }
.statement p { margin-inline: auto; }

.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.split {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}
.card,
.product-card,
.testimonial,
.form-panel,
.summary-panel,
.cta-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.045));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
.section-light .card,
.section-light .product-card,
.section-light .testimonial,
.section-light .form-panel,
.section-light .summary-panel {
  border-color: var(--line-dark);
  background: rgba(255,255,255,.86);
  box-shadow: 0 24px 70px rgba(16,24,40,.08);
}
.card,
.product-card,
.testimonial { padding: clamp(24px, 3vw, 36px); }
.card h3,
.product-card h3 { margin-bottom: 12px; font-size: 22px; }
.card p,
.product-card p,
.testimonial p { margin: 0; color: rgba(255,255,255,.62); font-size: 17px; line-height: 1.45; }
.section-light .card p,
.section-light .product-card p,
.section-light .testimonial p { color: #626b78; }
.icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 999px;
  background: #fff;
  color: #030406;
  font-size: 13px;
  font-weight: 900;
}
.section-light .icon { background: #050608; color: #fff; }
.product-card { min-height: 320px; display: flex; flex-direction: column; justify-content: space-between; }
.product-featured {
  color: #fff;
  background: radial-gradient(circle at 70% 20%, rgba(255,122,26,.34), transparent 34%), #050608 !important;
  border-color: rgba(255,255,255,.16) !important;
  box-shadow: var(--shadow);
}
.media-panel {
  min-height: 620px;
  border-radius: 28px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}
.metric { display: grid; gap: 8px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.16); }
.metric strong { font-size: clamp(38px, 6vw, 82px); line-height: .9; }
.metric span { color: rgba(255,255,255,.58); font-weight: 700; }
.cta-panel {
  padding: clamp(46px, 7vw, 92px);
  background: radial-gradient(circle at 72% 20%, rgba(255,122,26,.22), transparent 30%), #050608;
  color: #fff;
  box-shadow: var(--shadow);
}
.cta-panel h2 { max-width: 900px; color: #fff; font-size: clamp(42px, 7vw, 92px); }
.cta-panel p { color: rgba(255,255,255,.66); }

.order-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 22px; align-items: start; }
.form-panel,
.summary-panel { padding: clamp(22px, 3vw, 34px); }
.form-step { display: none; }
.form-step.is-active { display: block; }
.progress {
  height: 6px;
  margin-bottom: 30px;
  border-radius: 999px;
  background: rgba(3,4,6,.08);
  overflow: hidden;
}
.progress span { display: block; width: 33.333%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--energy)); transition: width .26s ease; }
.form-panel h2,
.summary-panel h2 { margin-bottom: 22px; color: var(--ink); font-size: clamp(28px, 3vw, 42px); }
label { display: block; margin-bottom: 18px; color: var(--ink); font-size: 13px; font-weight: 850; letter-spacing: .02em; }
input,
textarea {
  width: 100%;
  min-height: 54px;
  margin-top: 8px;
  padding: 13px 15px;
  border: 1px solid rgba(11,13,16,.12);
  border-radius: 14px;
  background: rgba(255,255,255,.82);
  color: var(--ink);
  font: inherit;
}
textarea { min-height: 118px; resize: vertical; }
input:focus,
textarea:focus { outline: 4px solid rgba(107,183,255,.22); border-color: var(--blue-deep); }
.help { margin: 8px 0 18px; color: #6a7280; font-size: 13px; line-height: 1.42; }
.options,
.date-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.option,
.date-card {
  min-height: 86px;
  padding: 14px;
  border: 1px solid rgba(11,13,16,.12);
  border-radius: 14px;
  background: rgba(255,255,255,.78);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}
.option strong,
.date-card strong { display: block; margin-bottom: 4px; }
.option span,
.date-card span { opacity: .7; font-size: 13px; }
.option.is-selected,
.date-card.is-selected { border-color: rgba(255,122,26,.65); box-shadow: inset 0 0 0 2px rgba(255,122,26,.45); }
.option.is-disabled { opacity: .62; }
.check { display: flex; gap: 10px; align-items: flex-start; color: #626b78; font-size: 14px; font-weight: 600; }
.check input { width: 18px; min-height: 18px; margin: 2px 0 0; accent-color: var(--energy); }
.summary-line { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(11,13,16,.08); color: var(--ink); }
.summary-total { color: var(--blue-deep); font-size: 24px; font-weight: 900; }
.message { margin: 0 0 18px; padding: 14px 16px; border-radius: 14px; font-weight: 800; }
.message-success { background: #ecfdf5; color: #047857; }
.message-error { background: #fef2f2; color: #b91c1c; }
.message-note { background: #fff4ea; color: #9a3412; }

.site-footer { padding: 54px 0; background: #030406; border-top: 1px solid rgba(255,255,255,.10); color: rgba(255,255,255,.60); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 24px; }
.site-footer strong { color: #fff; }

.fixed-order-btn {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff943f, var(--energy));
  color: #fff;
  font-weight: 900;
  box-shadow: 0 18px 46px rgba(255,122,26,.35);
  border: 1px solid rgba(255,255,255,.18);
}
.fixed-order-btn:hover { transform: translateY(-2px); }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
[data-givica-parallax] { will-change: transform; }

@media (max-width: 980px) {
  .nav { display: none; }
  .mobile-call { display: inline-flex; }
  .grid,
  .grid-2,
  .split,
  .order-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .options,
  .date-grid { grid-template-columns: 1fr; }
  .media-panel { min-height: 460px; }
}

@media (max-width: 640px) {
  .shell,
  .hero-content { width: min(100% - 28px, var(--max)); }
  .hero { min-height: 760px; }
  .actions .btn { width: 100%; }
  .fixed-order-btn {
    left: 14px;
    right: 14px;
    bottom: 14px;
    width: auto;
  }
  .site-footer { padding-bottom: 92px; }
  .phone { min-height: 40px; padding: 0 14px; font-size: 13px; }
  .brand span:last-child { max-width: 118px; line-height: 1.05; }
}
