/* ════════════════════════════════════════
   style.css — Due Elle Import-Export Srl
   Stili base (non-responsive)
════════════════════════════════════════ */

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

:root {
  --dark:    #0f172a;
  --dark2:   #1e293b;
  --accent:  #1d4ed8;
  --accent2: #3b82f6;
  --light:   #f8fafc;
  --mid:     #e2e8f0;
  --text:    #1e293b;
  --muted:   #64748b;
  --white:   #ffffff;
  --radius:  8px;
  --shadow:  0 4px 24px rgba(0,0,0,0.08);
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--text); background: var(--white); overflow-x: hidden; }

/* ── HEADER ── */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(225,225,225,0.82); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--mid);
  padding: 0 40px; height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  transition: box-shadow .3s;
}
.header-logo img { height: 52px; width: auto; object-fit: contain; display: block; }
.header-right { display: flex; align-items: center; gap: 12px; }

nav { display: flex; gap: 6px; align-items: center; }
nav a {
  text-decoration: none; color: var(--text);
  font-size: 14px; font-weight: 500;
  padding: 8px 16px; border-radius: 6px;
  transition: background .2s, color .2s;
}
nav a:hover { background: var(--light); color: var(--accent); }

.header-phone {
  font-size: 14px; font-weight: 600; color: var(--accent);
  text-decoration: none; display: flex; align-items: center; gap: 6px;
}
.header-phone i { font-size: 17px; line-height: 1; }

/* ── HAMBURGER ── */
.menu-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; background: none; border: none; cursor: pointer;
  padding: 8px; flex-shrink: 0;
}
.menu-toggle span {
  display: block; width: 24px; height: 2px; background: var(--dark);
  border-radius: 2px; transition: transform .25s, opacity .25s;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ── */
#home {
  min-height: 100vh; padding-top: 72px;
  background: url('../images/banner-bg-1376w.webp') center / cover no-repeat;
  position: relative; display: flex; align-items: center;
}
#home::before {/*
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(15,23,42,.55) 0%, rgba(15,23,42,.28) 55%, rgba(15,23,42,.10) 100%);*/
}
.hero-inner {
  position: relative; z-index: 2;
  padding: 80px 60px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 24px;
	background-color: rgba(0,0,0,0.35);
}
.hero-logo { height: 90px; width: auto; object-fit: contain; filter: brightness(0) invert(1); display: block; }
.hero-tagline {
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  font-weight: 600; color: rgba(255,255,255,.92);
  line-height: 1.4; max-width: 560px;
}

/* ── DIVIDER ── */
.divider { width: 56px; height: 4px; background: var(--accent); border-radius: 2px; margin-bottom: 20px; }

/* ── SECTION LABELS ── */
.section-label {
  font-size: 12px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--accent); margin-bottom: 12px;
}

/* ── REVEAL ON SCROLL ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* ── SERVIZI ── */
#servizi { background: var(--white); padding: 90px 60px; }
.servizi-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
  max-width: 1200px; margin: 0 auto;
}
.servizi-list { list-style: none; }
.servizi-item {
  display: flex; align-items: center; gap: 18px;
  padding: 18px 22px; border: 1.5px solid var(--mid);
  border-radius: 12px; margin-bottom: 12px; cursor: pointer;
  transition: border-color .25s, background .25s, transform .22s, box-shadow .25s;
}
.servizi-item:hover {
  border-color: var(--accent); background: #fef9f9;
  transform: translateX(5px); box-shadow: 0 4px 18px rgba(29,78,216,.08);
}
.servizi-item-icon {
  width: 50px; height: 50px; flex-shrink: 0; background: var(--light);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.servizi-item:hover .servizi-item-icon { background: rgba(29,78,216,.10); }
.servizi-item-icon img { width: 28px; height: 28px; object-fit: contain; }
.servizi-item-name { font-size: 16px; font-weight: 600; color: var(--dark); flex: 1; transition: color .2s; }
.servizi-item:hover .servizi-item-name { color: var(--accent); }
.servizi-item-arrow {
  width: 32px; height: 32px; flex-shrink: 0; background: var(--mid);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.servizi-item:hover .servizi-item-arrow { background: var(--accent); }
.servizi-item-arrow svg { width: 14px; height: 14px; stroke: #64748b; fill: none; stroke-width: 2.5; transition: stroke .2s; }
.servizi-item:hover .servizi-item-arrow svg { stroke: white; }
.servizi-text h2 { font-size: clamp(1.9rem, 3vw, 2.9rem); font-weight: 800; color: var(--dark); margin-bottom: 20px; line-height: 1.12; }
.servizi-text p { font-size: 16px; color: var(--muted); line-height: 1.8; margin-bottom: 20px; }
.servizi-blockquote {
  border-left: 3px solid var(--accent); padding: 12px 20px;
  font-style: italic; color: var(--muted); font-size: 15px; line-height: 1.75; margin-bottom: 36px;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: white;
  padding: 14px 28px; border-radius: var(--radius);
  font-size: 15px; font-weight: 700; text-decoration: none;
  transition: background .2s, transform .15s;
  box-shadow: 0 4px 20px rgba(29,78,216,.35);
}
.btn-primary:hover { background: var(--accent2); transform: translateY(-2px); }
.btn-primary i { font-size: 15px; line-height: 1; transition: transform .2s; }
.btn-primary:hover i { transform: translateX(4px); }

/* ── CHI SIAMO ── */
#chi-siamo { background: var(--light); padding: 100px 60px; }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center;
  max-width: 1200px; margin: 0 auto;
}
.about-text h2 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); font-weight: 800; color: var(--dark); margin-bottom: 20px; line-height: 1.25; }
.about-text p { font-size: 16px; color: var(--muted); line-height: 1.8; margin-bottom: 28px; }
.about-features { list-style: none; margin-bottom: 32px; }
.about-features li {
  display: flex; align-items: center; gap: 12px;
  font-size: 15px; color: var(--text); font-weight: 500; margin-bottom: 14px;
}
.about-features li i {
  font-size: 19px; line-height: 1; color: var(--accent); flex-shrink: 0;
}
.about-phone-link {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--dark); color: white;
  padding: 14px 28px; border-radius: var(--radius);
  font-size: 15px; font-weight: 700; text-decoration: none;
  transition: background .2s;
}
.about-phone-link:hover { background: var(--accent); }
.about-phone-link i { font-size: 17px; line-height: 1; }
.about-image { position: relative; }
.about-image img {
  width: 100%; height: auto; border-radius: 16px; object-fit: cover; aspect-ratio: 4/3;
  box-shadow: 0 16px 48px rgba(0,0,0,.14);
}
.about-badge {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--accent); color: white;
  border-radius: 12px; padding: 20px 24px; text-align: center;
  box-shadow: 0 8px 28px rgba(29,78,216,.35);
}
.about-badge .num { font-size: 42px; font-weight: 800; line-height: 1; }
.about-badge .lbl { font-size: 12px; font-weight: 600; opacity: .85; }

/* ── SERVIZI DOGANALI ── */
#servizi-doganali { background: #eef2ff; padding: 100px 60px; }
.doganali-top {
  max-width: 1200px; margin: 0 auto 52px;
  display: flex; align-items: flex-end; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.doganali-top .section-label { color: var(--accent); }
.doganali-top h2 { font-size: clamp(1.9rem, 3vw, 2.7rem); font-weight: 800; color: var(--dark); line-height: 1.12; }
/* Desktop: colonna sinistra = tab, colonna destra = pannello attivo.
   La colonna destra e' riservata col padding e riempita in absolute, cosi'
   l'altezza del wrap la decide sempre la lista delle tab. */
.doganali-wrap {
  position: relative;
  max-width: 1200px; margin: 0 auto;
  min-height: 440px;
  padding: 8px 54.55% 8px 0;
  border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(29,78,216,.15);
  box-shadow: 0 8px 40px rgba(29,78,216,.08);
  background: var(--white);
}
.doganali-wrap::before {
  content: ''; position: absolute; top: 0; bottom: 0; left: 0;
  width: 45.45%;
  background: rgba(29,78,216,.05);
  border-right: 1px solid rgba(29,78,216,.12);
  pointer-events: none;
}

/* ── Testa: tab su desktop, header dell'accordion su mobile ── */
.dog-head {
  position: relative;
  display: flex; align-items: center; gap: 14px;
  /* i <button> hanno width:auto = fit-content: serve esplicitarla */
  width: calc(100% - 16px);
  margin: 0 8px 2px; padding: 16px 20px;
  background: none; border: none; border-left: 3px solid transparent;
  border-radius: 10px; cursor: pointer; text-align: left;
  font-family: 'Inter', sans-serif; font-size: 15px; font-weight: 500;
  color: #94a3b8; user-select: none;
  transition: background .18s, color .18s, border-color .18s, padding-left .18s;
}
.dog-head .nav-num { font-size: 11px; font-weight: 700; color: #cbd5e1; min-width: 22px; transition: color .18s; }
.dog-head .nav-text { letter-spacing: .01em; transition: color .15s; }
.dog-head:hover,
.dog-head.active {
  background: rgba(29,78,216,.10); color: var(--accent);
  border-left-color: var(--accent); padding-left: 26px;
}
.dog-head:hover .nav-num,
.dog-head.active .nav-num { color: var(--accent2); }
.dog-head:hover .nav-text,
.dog-head.active .nav-text { color: var(--accent); }
.dog-head:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.dog-chevron { display: none; }

/* ── Pannello ── */
.dog-body {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: 54.55%;
  padding: 40px 48px; overflow-y: auto;
  background: var(--white); display: none;
}
.dog-body.active { display: block; animation: panelIn .28s ease forwards; }
@keyframes panelIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: translateX(0); } }
.dog-body .p-num { font-size: 72px; font-weight: 800; color: rgba(29,78,216,.08); line-height: 1; margin-bottom: 8px; }
.dog-body h3 { font-size: 24px; font-weight: 800; color: var(--dark); margin-bottom: 16px; }
.dog-body .p-tags { display: flex; flex-direction: column; gap: 6px; }
.dog-body .p-tags span {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 14px; font-weight: 500; color: var(--dark); padding: 2px 0;
}
.dog-body .p-tags span i { font-size: 14px; line-height: 1.45; color: var(--accent); flex-shrink: 0; }

/* ── CONTATTI ── */
#contatti { background: var(--light); padding: 100px 60px; }
.contact-wrap {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 72px; align-items: start;
}
.contact-info h2 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); font-weight: 800; color: var(--dark); margin-bottom: 16px; line-height: 1.25; }
.contact-info > p { font-size: 15px; color: var(--muted); line-height: 1.7; margin-bottom: 36px; }
.contact-detail { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 20px; }
.contact-detail-icon {
  width: 44px; height: 44px; flex-shrink: 0; background: var(--accent);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
}
.contact-detail-icon i { font-size: 20px; line-height: 1; color: #fff; }
.contact-detail-body .lbl { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin-bottom: 3px; }
.contact-detail-body a,
.contact-detail-body span {
  font-size: 15px; font-weight: 600; color: var(--dark);
  text-decoration: none; display: block; line-height: 1.5;
}
.contact-detail-body a:hover { color: var(--accent); }
.contact-form-box {
  background: white; border-radius: 16px; padding: 44px;
  box-shadow: var(--shadow); border: 1px solid var(--mid);
}
.contact-form-box h3 { font-size: 20px; font-weight: 800; color: var(--dark); margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 0; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.form-group input,
.form-group textarea {
  width: 100%; border: 1.5px solid var(--mid); border-radius: var(--radius);
  padding: 11px 14px; font-family: 'Inter', sans-serif;
  font-size: 14px; color: var(--text); background: var(--white);
  transition: border-color .2s, box-shadow .2s; outline: none;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(29,78,216,.1); }
.form-group textarea { resize: vertical; min-height: 110px; }
.privacy-check { margin-bottom: 10px; }
.privacy-check label { display: flex; align-items: flex-start; gap: 10px; font-size: 12px; color: var(--muted); line-height: 1.5; cursor: pointer; }
.privacy-check input { accent-color: var(--accent); margin-top: 2px; flex-shrink: 0; }
.privacy-check a { color: var(--accent); }
.btn-submit {
  width: 100%; background: var(--accent); color: white;
  border: none; border-radius: var(--radius); padding: 15px;
  font-size: 15px; font-weight: 700; cursor: pointer;
  transition: background .2s, transform .15s, opacity .2s;
  font-family: 'Inter', sans-serif; margin-top: 4px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
}
.btn-submit:hover { background: var(--accent2); transform: translateY(-1px); }
.btn-submit i { font-size: 16px; line-height: 1; }
.btn-submit[disabled] { opacity: .65; cursor: progress; transform: none; }
.btn-submit.is-sending i { animation: btnSpin .8s linear infinite; }
@keyframes btnSpin { to { transform: rotate(360deg); } }

/* ── LEGAL PAGES (Privacy/Cookie Policy) ── */
.legal-page { padding: 152px 60px 100px; max-width: 860px; margin: 0 auto; }
.legal-page h1 { font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--dark); margin-bottom: 8px; }
.legal-updated { color: var(--muted); font-size: 14px; margin-bottom: 40px; }
.legal-page h2 { font-size: 1.25rem; color: var(--dark); margin: 40px 0 14px; }
.legal-page p { margin-bottom: 16px; line-height: 1.7; }
.legal-page ul { margin: 0 0 16px 20px; }
.legal-page li { margin-bottom: 10px; line-height: 1.6; }
.legal-page a { color: var(--accent); }
.legal-box {
  background: var(--light); border: 1px solid var(--mid); border-radius: var(--radius);
  padding: 24px 28px; margin-bottom: 32px;
}
.legal-box p { margin-bottom: 8px; }
.legal-box p:last-child { margin-bottom: 0; }

/* ── FOOTER ── */
footer { background: var(--dark); color: rgba(255,255,255,.7); padding: 60px 60px 32px; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1.5fr;
  gap: 60px; margin-bottom: 48px;
  max-width: 1200px; margin-left: auto; margin-right: auto;
}
.footer-brand img { height: 44px; width: auto; object-fit: contain; filter: brightness(0) invert(1); margin-bottom: 18px; }
.footer-brand p { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,.55); max-width: 320px; }
.footer-col h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: white; margin-bottom: 18px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,.6); text-decoration: none; transition: color .2s; }
.footer-col ul li a:hover { color: white; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; }
.footer-contact-item i { font-size: 16px; line-height: 1.5; color: var(--accent); flex-shrink: 0; }
.footer-contact-item span,
.footer-contact-item a { font-size: 14px; color: rgba(255,255,255,.65); text-decoration: none; line-height: 1.5; }
.footer-contact-item a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px;
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px; font-size: 12px; color: rgba(255,255,255,.35);
}
.footer-bottom a { color: rgba(255,255,255,.45); text-decoration: none; }
.footer-bottom a:hover { color: white; }

/* ── WHATSAPP ── */
.wa-btn {
  position: fixed; bottom: 28px; right: 28px; z-index: 900;
  width: 56px; height: 56px; background: #25d366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.5); text-decoration: none;
  transition: transform .2s;
}
.wa-btn:hover { transform: scale(1.1); }
.wa-btn i { font-size: 28px; line-height: 1; color: #fff; }

.credits_link{
 color: #38B5E6 !important;
 font-weight: 700;
 font-family: sans-serif;
}

.credits_link:hover{
 color: #fff !important;
}

 .credits_link:before{
  content: "";
  vertical-align: middle;
  width:16px;
  height: 16px;
  display: inline-block;
  margin-right: 5px;
  margin-left: 5px;
  background-image: url(https://www.clion.it/favicon-96x96.png);
  background-repeat: no-repeat;
  -webkit-background-size: contain;
  background-size: contain;
  background-position: center center;

  transition: all 450ms ease;
 }

  .credits_link:hover:before{
   transform: rotateZ(360deg) rotateY(360deg);
  }


/* ── FORM: honeypot, stati di errore, SweetAlert2 ── */
.hp-field {
  position: absolute !important; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
  border: 0; padding: 0; margin: -1px;
}
.form-group.has-error input,
.form-group.has-error textarea { border-color: #dc2626; }
.form-group.has-error input:focus,
.form-group.has-error textarea:focus { box-shadow: 0 0 0 3px rgba(220,38,38,.12); }
.form-error {
  display: block; font-size: 12px; font-weight: 500;
  color: #dc2626; margin-top: 5px;
}
.privacy-check.has-error label { color: #dc2626; }
.privacy-check.has-error input { outline: 2px solid #dc2626; outline-offset: 2px; }

.swal2-popup { font-family: 'Inter', sans-serif !important; border-radius: 16px !important; }
.swal2-title { font-size: 20px !important; font-weight: 800 !important; color: var(--dark) !important; }
.swal2-html-container { font-size: 15px !important; color: var(--muted) !important; }
.swal2-styled.swal2-confirm {
  background: var(--accent) !important; border-radius: var(--radius) !important;
  font-weight: 700 !important; box-shadow: none !important;
}
.swal2-styled.swal2-confirm:focus { box-shadow: 0 0 0 3px rgba(29,78,216,.25) !important; }
