/* =========================================================
   RED TESLA — AIRBAG MOTO SYSTEM
   Stylesheet — palette: #ffffff #eeeeee #de0301 #282828 #000000
   ========================================================= */

:root{
  --white:#ffffff;
  --grey-light:#eeeeee;
  --red:#de0301;
  --red-light:#ff4b46;
  --grey-dark:#282828;
  --black:#000000;

  --font-display:'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-body:'Roboto', Calibri, Arial, sans-serif;

  --ease:cubic-bezier(.22,.61,.36,1);
  --dur-fast:200ms;
  --dur-med:280ms;
  --dur-slow:350ms;

  --radius:14px;
  --radius-lg:28px;
  --container:1240px;

  --shadow-soft:0 10px 30px rgba(0,0,0,.08);
  --shadow-med:0 20px 50px rgba(0,0,0,.16);
}

*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;}
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto;}
  *,*::before,*::after{animation-duration:.001ms !important;animation-iteration-count:1 !important;transition-duration:.001ms !important;scroll-behavior:auto !important;}
}

body{
  margin:0;
  font-family:var(--font-body);
  color:var(--grey-dark);
  background:var(--white);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
ul{list-style:none;margin:0;padding:0;}
button{font-family:inherit;}

.container{
  width:100%;
  max-width:var(--container);
  margin:0 auto;
  padding:0 28px;
}

h1,h2,h3,h4{
  font-family:var(--font-display);
  font-weight:800;
  letter-spacing:-.02em;
  margin:0;
  color:var(--black);
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-family:var(--font-display);
  font-size:12.5px;
  font-weight:700;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:var(--red);
  margin-bottom:18px;
}
.eyebrow::before{
  content:"";
  width:26px;height:2px;
  background:var(--red);
  display:inline-block;
}

.section{
  padding:120px 0;
  position:relative;
}
.section-head{
  max-width:640px;
  margin-bottom:64px;
}
.section-head p{
  font-size:17px;
  line-height:1.7;
  color:#555;
  margin-top:18px;
}
.section-alt{background:var(--grey-light);}

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible{
  outline:3px solid var(--red);
  outline-offset:3px;
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:16px 30px;
  border-radius:100px;
  font-family:var(--font-display);
  font-weight:700;
  font-size:14.5px;
  letter-spacing:.02em;
  border:2px solid transparent;
  cursor:pointer;
  transition:transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
  white-space:nowrap;
}
.btn-primary{
  background:var(--black);
  color:var(--white);
}
.btn-primary:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 30px rgba(0,0,0,.28);
  background:var(--red);
}
.btn-outline{
  background:transparent;
  color:var(--black);
  border-color:var(--black);
}
.btn-outline:hover{
  transform:translateY(-2px);
  border-color:var(--red);
  color:var(--red);
}
.btn-ghost-white{
  background:rgba(255,255,255,.08);
  color:var(--white);
  border-color:rgba(255,255,255,.5);
  backdrop-filter:blur(6px);
}
.btn-ghost-white:hover{
  background:var(--white);
  color:var(--black);
  border-color:var(--white);
}
.btn-sm{padding:11px 20px;font-size:13px;}
.btn svg{width:16px;height:16px;flex:none;}

/* =========================================================
   NAV
   ========================================================= */
.nav{
  position:fixed;
  top:0;left:0;right:0;
  z-index:200;
  padding:18px 0;
  transition:background var(--dur-med) var(--ease), padding var(--dur-med) var(--ease), box-shadow var(--dur-med) var(--ease), backdrop-filter var(--dur-med) var(--ease);
}
.nav-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.nav.is-scrolled{
  padding:10px 0;
  background:rgba(255,255,255,.72);
  backdrop-filter:blur(14px) saturate(140%);
  -webkit-backdrop-filter:blur(14px) saturate(140%);
  box-shadow:0 1px 0 rgba(0,0,0,.06);
}
.nav-logo{display:flex;align-items:center;gap:10px;}
.nav-logo img{height:34px;width:auto;transition:filter var(--dur-med) var(--ease);}
.nav.is-scrolled .nav-logo img{filter:none;}
.nav:not(.is-scrolled) .nav-logo img{filter:brightness(0) invert(1);}

.nav-links{
  display:flex;
  align-items:center;
  gap:36px;
}
.nav-links a{
  font-family:var(--font-display);
  font-size:13.5px;
  font-weight:600;
  letter-spacing:.03em;
  text-transform:uppercase;
  position:relative;
  padding:6px 0;
  transition:color var(--dur-fast) var(--ease);
}
.nav:not(.is-scrolled) .nav-links a,
.nav:not(.is-scrolled) .nav-cta.btn-outline{color:var(--white);border-color:rgba(255,255,255,.6);}
.nav.is-scrolled .nav-links a{color:var(--grey-dark);}
.nav-links a::after{
  content:"";
  position:absolute;left:0;bottom:0;
  width:0;height:2px;
  background:var(--red);
  transition:width var(--dur-med) var(--ease);
}
.nav-links a:hover::after{width:100%;}
.nav-links a:hover{color:var(--red);}

.nav-burger{
  display:none;
  flex-direction:column;
  gap:5px;
  background:none;border:none;cursor:pointer;
  padding:8px;
}
.nav-burger span{width:24px;height:2px;background:var(--white);transition:background var(--dur-fast);}
.nav.is-scrolled .nav-burger span{background:var(--grey-dark);}

/* =========================================================
   HERO
   ========================================================= */
.hero{
  position:relative;
  min-height:100vh;
  display:flex;
  align-items:center;
  color:var(--white);
  overflow:hidden;
  background:var(--black);
}
.hero-bg{
  position:absolute;inset:0;
  background-size:cover;
  background-position:center 30%;
  transform:scale(1.08);
  will-change:transform;
}
.hero-bg::after{
  content:"";
  position:absolute;inset:0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.35) 40%, rgba(0,0,0,.75) 100%),
    linear-gradient(90deg, rgba(0,0,0,.65) 0%, rgba(0,0,0,.15) 55%, rgba(0,0,0,.55) 100%);
}
.hero-rings{
  position:absolute;
  right:-8%;
  top:50%;
  transform:translateY(-50%);
  width:min(60vw,780px);
  aspect-ratio:1/1;
  pointer-events:none;
  z-index:1;
}
.hero-rings svg{width:100%;height:100%;}
.hero-rings circle{
  fill:none;
  stroke:var(--red);
  stroke-width:1.4;
  opacity:0;
  transform-origin:center;
}
.hero.is-ready .hero-rings circle{
  animation:ringPulse 2.6s var(--ease) forwards;
}
.hero.is-ready .hero-rings circle:nth-child(1){animation-delay:.15s;}
.hero.is-ready .hero-rings circle:nth-child(2){animation-delay:.35s;}
.hero.is-ready .hero-rings circle:nth-child(3){animation-delay:.55s;}
.hero.is-ready .hero-rings circle:nth-child(4){animation-delay:.75s;}
@keyframes ringPulse{
  0%{opacity:0;transform:scale(.72);}
  15%{opacity:.9;}
  100%{opacity:0;transform:scale(1);}
}

.hero-inner{
  position:relative;
  z-index:2;
  width:100%;
  padding-top:110px;
  padding-bottom:80px;
}
.hero-tag{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-family:var(--font-display);
  font-size:12.5px;
  font-weight:700;
  letter-spacing:.24em;
  text-transform:uppercase;
  color:var(--white);
  background:rgba(255,255,255,.1);
  border:1px solid rgba(255,255,255,.25);
  backdrop-filter:blur(8px);
  padding:9px 18px;
  border-radius:100px;
  margin-bottom:28px;
  opacity:0;
  animation:riseIn var(--dur-slow) var(--ease) forwards;
  animation-delay:.1s;
}
.hero-tag .dot{
  width:7px;height:7px;border-radius:50%;
  background:var(--red);
  box-shadow:0 0 0 0 rgba(222,3,1,.6);
  animation:dotPing 1.8s ease-out infinite;
}
@keyframes dotPing{
  0%{box-shadow:0 0 0 0 rgba(222,3,1,.55);}
  70%{box-shadow:0 0 0 9px rgba(222,3,1,0);}
  100%{box-shadow:0 0 0 0 rgba(222,3,1,0);}
}

.hero h1{
  font-size:clamp(42px,6.4vw,84px);
  line-height:.98;
  color:var(--white);
  max-width:820px;
  opacity:0;
  animation:riseIn var(--dur-slow) var(--ease) forwards;
  animation-delay:.22s;
}
.hero h1 em{
  font-style:normal;
  color:var(--red);
}
.hero-sub{
  margin-top:26px;
  font-size:18px;
  line-height:1.7;
  max-width:520px;
  color:rgba(255,255,255,.78);
  opacity:0;
  animation:riseIn var(--dur-slow) var(--ease) forwards;
  animation-delay:.34s;
}
.hero-cta{
  margin-top:44px;
  display:flex;
  gap:16px;
  flex-wrap:wrap;
  opacity:0;
  animation:riseIn var(--dur-slow) var(--ease) forwards;
  animation-delay:.46s;
}

@keyframes riseIn{
  from{opacity:0;transform:translateY(22px);}
  to{opacity:1;transform:translateY(0);}
}

/* Floating glass spec box */
.hero-float{
  position:absolute;
  right:6%;
  bottom:64px;
  z-index:3;
  width:290px;
  padding:26px 26px 22px;
  border-radius:var(--radius-lg);
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.22);
  backdrop-filter:blur(18px) saturate(140%);
  -webkit-backdrop-filter:blur(18px) saturate(140%);
  box-shadow:0 24px 60px rgba(0,0,0,.35);
  opacity:0;
  animation:floatIn 900ms var(--ease) forwards, floatDrift 6s ease-in-out 1.2s infinite;
  animation-delay:.6s, 1.2s;
}
@keyframes floatIn{
  from{opacity:0;transform:translateY(30px) scale(.96);}
  to{opacity:1;transform:translateY(0) scale(1);}
}
@keyframes floatDrift{
  0%,100%{transform:translateY(0);}
  50%{transform:translateY(-10px);}
}
.hero-float-row{
  display:flex;
  align-items:baseline;
  gap:10px;
  padding:12px 0;
  border-bottom:1px solid rgba(255,255,255,.14);
}
.hero-float-row:last-child{border-bottom:none;padding-bottom:0;}
.hero-float-row:first-child{padding-top:0;}
.hero-float-num{
  font-family:var(--font-display);
  font-weight:800;
  font-size:26px;
  color:var(--white);
}
.hero-float-num span{color:var(--red);}
.hero-float-label{
  font-size:11.5px;
  color:rgba(255,255,255,.65);
  text-transform:uppercase;
  letter-spacing:.08em;
  line-height:1.4;
}

.scroll-cue{
  position:absolute;
  left:28px;
  bottom:34px;
  z-index:3;
  display:flex;
  align-items:center;
  gap:12px;
  color:rgba(255,255,255,.7);
  font-family:var(--font-display);
  font-size:11px;
  letter-spacing:.18em;
  text-transform:uppercase;
  opacity:0;
  animation:riseIn var(--dur-slow) var(--ease) forwards;
  animation-delay:.8s;
}
.scroll-cue .line{
  width:1px;height:38px;
  background:linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,255,255,0));
  position:relative;
  overflow:hidden;
}
.scroll-cue .line::after{
  content:"";
  position:absolute;top:-40%;left:0;
  width:100%;height:40%;
  background:var(--red);
  animation:cueMove 1.8s ease-in-out infinite;
}
@keyframes cueMove{
  0%{top:-40%;}
  100%{top:100%;}
}

/* =========================================================
   REVEAL ON SCROLL
   ========================================================= */
.reveal{
  opacity:0;
  transform:translateY(34px);
  transition:opacity 700ms var(--ease), transform 700ms var(--ease);
}
.reveal.is-visible{opacity:1;transform:translateY(0);}
.reveal-delay-1.is-visible{transition-delay:.08s;}
.reveal-delay-2.is-visible{transition-delay:.16s;}
.reveal-delay-3.is-visible{transition-delay:.24s;}

/* =========================================================
   ABOUT
   ========================================================= */
.about{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:70px;
  align-items:center;
}
.about-media{
  position:relative;
  border-radius:var(--radius-lg);
  overflow:hidden;
  box-shadow:var(--shadow-med);
}
.about-media img{
  width:100%;
  height:620px;
  object-fit:cover;
  transform:scale(1.02);
  transition:transform 900ms var(--ease);
}
.about-media:hover img{transform:scale(1.08);}
.about-badge{
  position:absolute;
  left:22px;bottom:22px;
  background:var(--white);
  border-radius:var(--radius);
  padding:16px 20px;
  display:flex;
  align-items:center;
  gap:14px;
  box-shadow:var(--shadow-soft);
}
.about-badge .icon{
  width:42px;height:42px;
  border-radius:50%;
  background:var(--red);
  display:flex;align-items:center;justify-content:center;
  flex:none;
}
.about-badge .icon svg{width:20px;height:20px;stroke:var(--white);}
.about-badge strong{display:block;font-family:var(--font-display);font-size:14px;color:var(--black);}
.about-badge span{font-size:12px;color:#666;}

.about-copy h2{
  font-size:clamp(30px,3.6vw,44px);
  line-height:1.08;
  margin-bottom:22px;
}
.about-copy p{
  font-size:16px;
  line-height:1.8;
  color:#4a4a4a;
  margin-bottom:18px;
}
.about-stats{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
  margin-top:38px;
  padding-top:34px;
  border-top:1px solid #e2e2e2;
}
.about-stats .stat-num{
  font-family:var(--font-display);
  font-weight:800;
  font-size:32px;
  color:var(--black);
}
.about-stats .stat-num span{color:var(--red);}
.about-stats .stat-label{
  font-size:12px;
  color:#666;
  text-transform:uppercase;
  letter-spacing:.05em;
  margin-top:4px;
}

/* =========================================================
   PRODUCTS
   ========================================================= */
.products-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:36px;
}
.product-card{
  background:var(--white);
  border-radius:var(--radius-lg);
  overflow:hidden;
  border:1px solid #e9e9e9;
  box-shadow:var(--shadow-soft);
  transition:transform var(--dur-med) var(--ease), box-shadow var(--dur-med) var(--ease);
  display:flex;
  flex-direction:column;
}
.product-card:hover{
  transform:translateY(-8px);
  box-shadow:var(--shadow-med);
}
.product-media{
  position:relative;
  background:var(--grey-light);
  padding:30px 30px 0;
}
.product-media img{
  width:100%;
  height:300px;
  object-fit:contain;
  transition:transform 600ms var(--ease);
}
.product-card:hover .product-media img{transform:scale(1.04);}
.product-flag{
  position:absolute;
  top:20px;left:20px;
  background:var(--red);
  color:var(--white);
  font-family:var(--font-display);
  font-size:11px;
  font-weight:700;
  letter-spacing:.1em;
  text-transform:uppercase;
  padding:7px 14px;
  border-radius:100px;
}
.product-body{
  padding:32px 32px 34px;
  display:flex;
  flex-direction:column;
  flex:1;
}
.product-body h3{
  font-size:22px;
  margin-bottom:6px;
}
.product-body .product-kicker{
  font-family:var(--font-display);
  font-size:12px;
  font-weight:700;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:var(--red);
  margin-bottom:12px;
  display:block;
}
.product-body p.desc{
  font-size:14.5px;
  color:#5a5a5a;
  line-height:1.7;
  margin-bottom:20px;
}
.product-specs{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px 16px;
  margin-bottom:26px;
}
.product-specs li{
  font-size:13px;
  color:#3a3a3a;
  display:flex;
  align-items:flex-start;
  gap:8px;
  line-height:1.5;
}
.product-specs li::before{
  content:"";
  width:6px;height:6px;
  border-radius:50%;
  background:var(--red);
  margin-top:6px;
  flex:none;
}
.product-actions{
  margin-top:auto;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

/* =========================================================
   GALLERY
   ========================================================= */
.gallery-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
}
.gallery-item{
  position:relative;
  aspect-ratio:1/1;
  border-radius:var(--radius);
  overflow:hidden;
  cursor:zoom-in;
  background:var(--grey-dark);
}
.gallery-item img{
  width:100%;height:100%;
  object-fit:cover;
  transition:transform 600ms var(--ease), filter 600ms var(--ease);
}
.gallery-item::after{
  content:"";
  position:absolute;inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.55) 100%);
  opacity:0;
  transition:opacity var(--dur-med) var(--ease);
}
.gallery-item:hover img{transform:scale(1.09);}
.gallery-item:hover::after{opacity:1;}
.gallery-zoom{
  position:absolute;
  right:14px;bottom:14px;
  width:36px;height:36px;
  border-radius:50%;
  background:rgba(255,255,255,.92);
  display:flex;align-items:center;justify-content:center;
  opacity:0;
  transform:translateY(8px);
  transition:opacity var(--dur-med) var(--ease), transform var(--dur-med) var(--ease);
}
.gallery-item:hover .gallery-zoom{opacity:1;transform:translateY(0);}
.gallery-zoom svg{width:16px;height:16px;}

/* Lightbox */
.lightbox{
  position:fixed;inset:0;
  z-index:500;
  background:rgba(0,0,0,.92);
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:0;
  visibility:hidden;
  transition:opacity var(--dur-med) var(--ease);
  padding:40px;
}
.lightbox.is-open{opacity:1;visibility:visible;}
.lightbox img{
  max-width:min(90vw,1100px);
  max-height:82vh;
  border-radius:10px;
  box-shadow:0 30px 80px rgba(0,0,0,.6);
  transform:scale(.96);
  transition:transform var(--dur-med) var(--ease);
}
.lightbox.is-open img{transform:scale(1);}
.lightbox-close,.lightbox-prev,.lightbox-next{
  position:absolute;
  background:rgba(255,255,255,.1);
  border:1px solid rgba(255,255,255,.3);
  color:var(--white);
  width:46px;height:46px;
  border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  cursor:pointer;
  transition:background var(--dur-fast) var(--ease);
}
.lightbox-close:hover,.lightbox-prev:hover,.lightbox-next:hover{background:var(--red);border-color:var(--red);}
.lightbox-close{top:26px;right:26px;}
.lightbox-prev{left:26px;top:50%;transform:translateY(-50%);}
.lightbox-next{right:26px;top:50%;transform:translateY(-50%);}
.lightbox-close svg,.lightbox-prev svg,.lightbox-next svg{width:18px;height:18px;}

/* =========================================================
   CONTACT
   ========================================================= */
.contact-grid{
  display:grid;
  grid-template-columns:.85fr 1.15fr;
  gap:60px;
  align-items:start;
}
.contact-info h2{
  font-size:clamp(28px,3.2vw,38px);
  margin-bottom:20px;
}
.contact-info > p{
  font-size:16px;
  color:#555;
  line-height:1.75;
  margin-bottom:34px;
}
.info-list{display:flex;flex-direction:column;gap:22px;margin-bottom:34px;}
.info-item{display:flex;gap:16px;align-items:flex-start;}
.info-item .icon{
  width:44px;height:44px;
  border-radius:12px;
  background:var(--black);
  display:flex;align-items:center;justify-content:center;
  flex:none;
  transition:background var(--dur-fast) var(--ease);
}
.info-item .icon svg{width:19px;height:19px;stroke:var(--white);}
.info-item:hover .icon{background:var(--red);}
.info-item strong{display:block;font-family:var(--font-display);font-size:14px;margin-bottom:3px;}
.info-item span, .info-item a{font-size:14.5px;color:#555;line-height:1.5;}
.info-item a:hover{color:var(--red);}

.support-box{
  background:var(--grey-dark);
  color:var(--white);
  border-radius:var(--radius-lg);
  padding:28px;
}
.support-box strong{
  display:block;
  font-family:var(--font-display);
  font-size:14px;
  text-transform:uppercase;
  letter-spacing:.06em;
  color:var(--red-light);
  margin-bottom:8px;
}
.support-box p{font-size:14px;line-height:1.7;color:rgba(255,255,255,.82);margin:0;}
.support-box a{color:var(--white);font-weight:700;text-decoration:underline;}

/* Form */
.form-card{
  background:var(--white);
  border:1px solid #e9e9e9;
  border-radius:var(--radius-lg);
  padding:40px;
  box-shadow:var(--shadow-soft);
}
.form-card h3{font-size:20px;margin-bottom:6px;}
.form-card .sub{font-size:14px;color:#666;margin-bottom:8px;}
.promo-note{
  display:flex;
  align-items:center;
  gap:10px;
  background:var(--grey-light);
  border:1px dashed var(--red);
  border-radius:10px;
  padding:12px 16px;
  font-size:13px;
  color:#333;
  margin:18px 0 28px;
}
.promo-note strong{color:var(--red);}

.form-row{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:18px;}
.field{display:flex;flex-direction:column;gap:8px;margin-bottom:18px;}
.field label{
  font-family:var(--font-display);
  font-size:12.5px;
  font-weight:700;
  letter-spacing:.03em;
  color:var(--grey-dark);
}
.field input[type=text],
.field input[type=email],
.field input[type=tel],
.field select,
.field textarea{
  border:1.5px solid #e0e0e0;
  border-radius:10px;
  padding:13px 14px;
  font-family:var(--font-body);
  font-size:14.5px;
  color:var(--grey-dark);
  background:var(--white);
  transition:border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
  width:100%;
}
.field textarea{resize:vertical;min-height:100px;}
.field input:focus,.field select:focus,.field textarea:focus{
  border-color:var(--red);
  box-shadow:0 0 0 4px rgba(222,3,1,.12);
  outline:none;
}

.product-select-block{
  border:1.5px solid #ececec;
  border-radius:var(--radius);
  padding:20px;
  margin-bottom:18px;
}
.product-select-block .psb-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:14px;
}
.product-select-block .psb-head strong{font-family:var(--font-display);font-size:14px;}
.psb-row{display:grid;grid-template-columns:1fr 1fr;gap:14px;}
.qty-input{display:flex;align-items:center;border:1.5px solid #e0e0e0;border-radius:10px;overflow:hidden;}
.qty-input button{
  width:38px;height:44px;
  background:var(--grey-light);
  border:none;
  font-size:16px;
  cursor:pointer;
  color:var(--grey-dark);
  transition:background var(--dur-fast);
}
.qty-input button:hover{background:var(--red);color:var(--white);}
.qty-input input{
  flex:1;border:none;text-align:center;font-family:var(--font-display);font-weight:700;font-size:15px;
  -moz-appearance:textfield;
}
.qty-input input::-webkit-outer-spin-button,.qty-input input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0;}

.privacy-row{
  display:flex;
  align-items:flex-start;
  gap:12px;
  margin:8px 0 26px;
}
.privacy-row input{margin-top:4px;width:17px;height:17px;accent-color:var(--red);flex:none;}
.privacy-row label{font-size:13px;color:#555;line-height:1.6;}
.privacy-row a{color:var(--red);text-decoration:underline;}

.form-submit{width:100%;}
.form-msg{
  margin-top:16px;
  padding:14px 16px;
  border-radius:10px;
  font-size:14px;
  display:none;
}
.form-msg.ok{display:block;background:#eafaf0;color:#1a7a3d;border:1px solid #b7e6c6;}
.form-msg.err{display:block;background:#fdeceb;color:var(--red);border:1px solid #f4c3c1;}

/* =========================================================
   FOOTER
   ========================================================= */
.footer{
  position:relative;
  color:var(--white);
  padding:100px 0 0;
  overflow:hidden;
  background:
    radial-gradient(120% 160% at 15% 0%, #ff6a55 0%, var(--red) 32%, #6a0100 68%, var(--black) 100%);
}
.footer::before{
  content:"";
  position:absolute;inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.55) 100%);
  pointer-events:none;
}
.footer-inner{position:relative;z-index:1;}
.footer-top{
  display:grid;
  grid-template-columns:1.2fr 1fr 1fr;
  gap:50px;
  padding-bottom:60px;
  border-bottom:1px solid rgba(255,255,255,.18);
}
.footer-brand img{height:38px;filter:brightness(0) invert(1);margin-bottom:18px;}
.footer-brand p{font-size:14px;line-height:1.75;color:rgba(255,255,255,.82);max-width:320px;}
.footer-social{display:flex;gap:12px;margin-top:22px;}
.footer-social a{
  width:38px;height:38px;
  border-radius:50%;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.28);
  display:flex;align-items:center;justify-content:center;
  transition:background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.footer-social a:hover{background:var(--white);transform:translateY(-3px);}
.footer-social a:hover svg{stroke:var(--red);}
.footer-social svg{width:16px;height:16px;stroke:var(--white);transition:stroke var(--dur-fast);}

.footer-col h4{
  font-family:var(--font-display);
  font-size:12.5px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:rgba(255,255,255,.6);
  margin-bottom:20px;
}
.footer-col ul{display:flex;flex-direction:column;gap:13px;}
.footer-col a{font-size:14.5px;color:rgba(255,255,255,.92);transition:color var(--dur-fast) var(--ease);}
.footer-col a:hover{color:var(--black);}
.footer-col li.plain{font-size:14.5px;color:rgba(255,255,255,.92);line-height:1.6;}

.footer-bottom{
  padding:26px 0 30px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:12px;
  font-size:12.5px;
  color:rgba(255,255,255,.65);
}
.footer-bottom a{color:rgba(255,255,255,.65);}
.footer-bottom a:hover{color:var(--white);}

/* =========================================================
   MISC / RESPONSIVE
   ========================================================= */
.skip-link{
  position:absolute;left:-999px;top:0;
  background:var(--red);color:var(--white);
  padding:12px 18px;z-index:1000;border-radius:0 0 8px 0;
}
.skip-link:focus{left:0;}

@media (max-width: 980px){
  .about{grid-template-columns:1fr;gap:44px;}
  .about-media img{height:440px;}
  .products-grid{grid-template-columns:1fr;}
  .contact-grid{grid-template-columns:1fr;}
  .footer-top{grid-template-columns:1fr 1fr;}
  .hero-float{display:none;}
}

@media (max-width: 720px){
  .section{padding:80px 0;}
  .nav-links{
    position:fixed;
    top:0;right:0;
    height:100vh;
    width:min(78vw,320px);
    background:var(--white);
    flex-direction:column;
    align-items:flex-start;
    justify-content:flex-start;
    padding:100px 32px 32px;
    gap:26px;
    transform:translateX(100%);
    transition:transform var(--dur-med) var(--ease);
    box-shadow:-20px 0 50px rgba(0,0,0,.15);
  }
  .nav-links.is-open{transform:translateX(0);}
  .nav-links a{color:var(--grey-dark) !important;font-size:16px;}
  .nav-burger{display:flex;}
  .nav-cta{display:none;}
  .hero-inner{padding-top:120px;}
  .form-row,.psb-row{grid-template-columns:1fr;}
  .gallery-grid{grid-template-columns:repeat(2,1fr);}
  .footer-top{grid-template-columns:1fr;gap:36px;}
}

@media (max-width: 500px){
  .gallery-grid{grid-template-columns:repeat(2,1fr);}
  .hero h1{font-size:38px;}
}

/* Product icon nel form */
.psb-head{gap:12px;}
.psb-icon{width:34px;height:34px;flex:none;}
.psb-icon svg{width:100%;height:100%;}

/* Campo Codice Promo — enfasi arancio */
.field-promo label{color:#e07b00;}
.field-promo .optional-tag{color:#b98a4d;font-weight:500;text-transform:none;letter-spacing:0;font-size:11.5px;}
.field-promo input{border-color:#f3b45f;background:#fff9f2;}
.field-promo input:focus{
  border-color:#e07b00;
  box-shadow:0 0 0 4px rgba(224,123,0,.14);
  background:#fff;
}
/* Aggiungi queste regole al tuo foglio di stile esistente
   (facoltativo, ma consigliato per rendere chiara la selezione) */

.product-choice {
  display: block;
  cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease;
}

.product-choice .psb-head {
  display: flex;
  align-items: center;
}

.product-choice.is-selected {
  border-color: #de0301;
  background-color: rgba(222, 3, 1, 0.04);
}

.form-msg.err {
  color: #c0392b;
}

.form-msg.ok {
  color: #1e7e34;
}
