/* ═══════════════════════════════════════════════════════════════════════
   Etna Traslochi – shared.css
   Shared styles across all pages
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Local Fonts ─────────────────────────────────────────────────────── */


html body a[href^="https://elfsight.com/google-reviews-widget"]{
display:none !important;
visibility:hidden !important;
opacity:0 !important;
height:0 !important;
pointer-events:none !important;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── Barlow Condensed – latin-ext ────────────────────────────────────── */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/barlow-condensed-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/barlow-condensed-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/barlow-condensed-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/barlow-condensed-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/barlow-condensed-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/barlow-condensed-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/barlow-condensed-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/barlow-condensed-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── Base ────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: #1f2937; -webkit-font-smoothing: antialiased; }

/* ── Headings font – Barlow Condensed ───────────────────────────────── */
h1, h2, h3, h4, h5, h6,
.font-display {
  font-family: 'Barlow Condensed', sans-serif;
}

/* ── Scrollbar ───────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #f59e0b; border-radius: 3px; }

/* ── Focus accessibility ─────────────────────────────────────────────── */
a:focus-visible, button:focus-visible { outline: 2px solid #f59e0b; outline-offset: 2px; }

/* ── Desktop Dropdown Nav ────────────────────────────────────────────── */
.nav-dropdown { position: relative; }

.nav-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #d1d5db;
  font-size: .875rem;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  padding: 8px 12px;
  border: none;
  background: none;
  cursor: pointer;
  border-radius: 6px;
  transition: color .25s;
  white-space: nowrap;
}
.nav-dropdown-btn:hover,
.nav-dropdown:hover .nav-dropdown-btn { color: white; }
.nav-dropdown-btn.active { color: #f59e0b; }
.nav-dropdown-btn .dd-arrow {
  font-size: 0.6rem;
  transition: transform .2s;
}
.nav-dropdown:hover .dd-arrow { transform: rotate(180deg); }

.dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 230px;
  background: #0f1e38;
  border: 1px solid #1a2f55;
  border-radius: 10px;
  padding: 6px 0;
  box-shadow: 0 16px 48px rgba(0,0,0,.4);
  opacity: 0;
  transform: translateY(-8px);
  visibility: hidden;
  transition: opacity .2s, transform .2s, visibility .2s;
  z-index: 100;
}
.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}
.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  color: #d1d5db;
  font-size: .85rem;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  text-decoration: none;
  transition: color .2s, background .2s;
}
.dropdown-menu a:hover { color: #f59e0b; background: rgba(255,255,255,.05); }
.dropdown-menu a.active { color: #f59e0b; }

/* Direct nav link (no dropdown) */
.nav-direct-link {
  display: flex;
  align-items: center;
  color: #d1d5db;
  font-size: .875rem;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  padding: 8px 12px;
  border-radius: 6px;
  text-decoration: none;
  transition: color .25s;
  white-space: nowrap;
}
.nav-direct-link:hover { color: white; }
.nav-direct-link.active { color: #f59e0b; }

/* ── Nav underline (for simple link style) ───────────────────────────── */
.nav-link {
  position: relative;
  padding-bottom: 2px;
  transition: color .25s;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: #f59e0b;
  transition: width .3s;
}
.nav-link:hover::after { width: 100%; }
.nav-link.active { color: #f59e0b; }
.nav-link.active::after { width: 100%; }

/* ── Mobile menu ─────────────────────────────────────────────────────── */
#mobile-menu { display: none; }
#mobile-menu.open { display: flex; }

/* ── Mobile accordion ────────────────────────────────────────────────── */
.mobile-accordion-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 0;
  color: #d1d5db;
  font-size: .875rem;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  background: none;
  border: none;
  border-bottom: 1px solid #1a2f55;
  cursor: pointer;
  text-align: left;
  transition: color .2s;
}
.mobile-accordion-btn:hover { color: #f59e0b; }
.mobile-accordion-btn .acc-icon {
  font-size: 0.6rem;
  transition: transform .2s;
  color: #6b7280;
}
.mobile-accordion-btn.open .acc-icon { transform: rotate(180deg); }

.mobile-submenu {
  display: none;
  flex-direction: column;
  background: #070f1e;
  border-left: 2px solid #1a2f55;
  margin-left: 8px;
  border-bottom: 1px solid #1a2f55;
}
.mobile-submenu.open { display: flex; }
.mobile-submenu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  color: #9ca3af;
  font-size: .8rem;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  text-decoration: none;
  transition: color .2s;
  border-bottom: 1px solid #0f1e38;
}
.mobile-submenu a:last-child { border-bottom: none; }
.mobile-submenu a:hover { color: #f59e0b; }

/* ── Divider ─────────────────────────────────────────────────────────── */
.divider { width: 56px; height: 3px; background: #f59e0b; margin: 14px 0 24px; }
.divider-center { margin: 14px auto 24px; }

/* ── Buttons ─────────────────────────────────────────────────────────── */
.btn-gold {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: #f59e0b; color: #0a1628;
  font-weight: 700; font-size: .95rem;
  padding: 13px 32px; border-radius: 6px;
  border: none; cursor: pointer;
  transition: background .25s, transform .2s, box-shadow .25s;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.btn-gold:hover { background: #d97706; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(245,158,11,.4); }
.btn-outline-gold {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  border: 2px solid #f59e0b; color: #f59e0b;
  font-weight: 700; font-size: .95rem;
  padding: 11px 30px; border-radius: 6px;
  cursor: pointer; transition: all .25s; text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.btn-outline-gold:hover { background: #f59e0b; color: #0a1628; }

/* ── Cards ───────────────────────────────────────────────────────────── */
.strength-card { transition: transform .3s, box-shadow .3s; }
.strength-card:hover { transform: translateY(-8px); box-shadow: 0 20px 48px rgba(0,0,0,.13); }
.review-card { transition: transform .3s, box-shadow .3s; }
.review-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(0,0,0,.10); }

/* ── Service card ────────────────────────────────────────────────────── */
.service-card {
  background: white;
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 4px 16px rgba(0,0,0,.07);
  border: 1px solid #f3f4f6;
  transition: transform .3s, box-shadow .3s;
  text-decoration: none;
  display: block;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,.12); }

/* ── Form inputs ─────────────────────────────────────────────────────── */
.form-input {
  width: 100%;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  background: #fff;
  transition: border-color .25s, box-shadow .25s;
  outline: none;
}
.form-input:focus { border-color: #f59e0b; box-shadow: 0 0 0 3px rgba(245,158,11,.18); }

/* ── Header quick form ───────────────────────────────────────────────── */
.header-input {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 8px;
  color: white;
  padding: 7px 12px;
  font-size: .85rem;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color .2s, background .2s;
}
.header-input::placeholder { color: rgba(255,255,255,0.45); }
.header-input:focus { border-color: #f59e0b; background: rgba(255,255,255,0.18); }

/* ── Hero form card ──────────────────────────────────────────────────── */
.hero-form-card {
  background: rgba(255,255,255,0.09);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 20px; padding: 26px 24px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.10);
}
.hero-form-input {
  width: 100%;
  background: rgba(255,255,255,0.11);
  border: 1.5px solid rgba(255,255,255,0.18);
  border-radius: 10px; color: white;
  padding: 10px 14px; font-size: 1rem;
  font-family: 'Inter', sans-serif; outline: none;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.hero-form-input::placeholder { color: rgba(255,255,255,0.38); }
.hero-form-input:focus { border-color: #f59e0b; background: rgba(255,255,255,0.16); box-shadow: 0 0 0 3px rgba(245,158,11,.13); }
.hero-form-select {
  -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%23f59e0b' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px;
  padding-right: 36px; cursor: pointer;
}
.hero-form-select option { background: #0a1628; color: white; }

/* ── WhatsApp float ──────────────────────────────────────────────────── */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  background: #25D366; width: 58px; height: 58px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,.55);
  text-decoration: none;
  transition: transform .25s, box-shadow .25s;
}
.wa-float:hover { transform: scale(1.12); box-shadow: 0 10px 32px rgba(37,211,102,.6); }

/* ── Scroll reveal ───────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Stat divider ────────────────────────────────────────────────────── */
.stat-divider { width: 1px; background: rgba(255,255,255,0.18); align-self: stretch; }

/* ── Cert card ───────────────────────────────────────────────────────── */
.cert-card {
  background: white;
  border-radius: 20px;
  padding: 36px 40px;
  box-shadow: 0 8px 32px rgba(0,0,0,.08);
  display: flex; flex-direction: column; align-items: center;
  gap: 18px; text-align: center;
  border: 1px solid #f3f4f6;
  transition: box-shadow .3s, transform .3s;
}
.cert-card:hover { transform: translateY(-6px); box-shadow: 0 20px 48px rgba(0,0,0,.12); }

/* ── Bounce animation ────────────────────────────────────────────────── */
@keyframes bounce-y { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }
.bounce-y { animation: bounce-y 1.5s ease-in-out infinite; }

/* ── Page Hero (service pages) ───────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, #0a1628 0%, #1a2f55 100%);
  padding: 48px 0 64px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(245,158,11,.10) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent 0%, #f59e0b 25%, #f59e0b 75%, transparent 100%);
}
@media (min-width: 640px) {
  .page-hero { padding: 72px 0 88px; }
}

/* ── Breadcrumb ──────────────────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.breadcrumb a {
  color: rgba(255,255,255,.5);
  font-size: .8rem;
  text-decoration: none;
  transition: color .2s;
}
.breadcrumb a:hover { color: #f59e0b; }
.breadcrumb .sep { color: rgba(255,255,255,.25); font-size: .65rem; }
.breadcrumb .current { color: rgba(255,255,255,.8); font-size: .8rem; }

/* ── Image Placeholder ───────────────────────────────────────────────── */
.img-placeholder {
  background: #f3f4f6;
  border-radius: 12px;
  aspect-ratio: 16/9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px dashed #d1d5db;
  min-height: 240px;
}

/* ── Mobile tweaks ───────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .btn-gold, .btn-outline-gold { padding: 13px 22px; font-size: .9rem; }
}
