/* ==========================================================================
   US Italy Visa — Shared Styles
   ========================================================================== */

:root {
  --green: #008C45;
  --red: #CD212A;
  --white: #ffffff;
  --ink: #1a1a1a;
  --ink-soft: #3d3d3d;
  --muted: #6b7280;
  --bg: #f6f7f8;
  --border: #e5e7eb;
  --accent: #0f5b3d;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --maxw: 1120px;
  --font: "Segoe UI", "Helvetica Neue", Arial, "PingFang SC",
    "Microsoft YaHei", sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
#booking { scroll-margin-top: 90px; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
  font-family: inherit;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: #00703a; }
.btn-whatsapp { background: #25D366; color: #fff; }
.btn-whatsapp:hover { background: #1ebe5d; }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--border); }
.btn-outline:hover { border-color: var(--green); color: var(--green); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 19px;
  color: var(--ink);
  flex-shrink: 0;
}
.brand:hover { text-decoration: none; }
.brand .flag {
  display: inline-flex;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.08);
}
.brand .flag img { width: 100%; height: 100%; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav > a,
.dropbtn {
  color: var(--ink-soft);
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 15px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.nav > a:hover, .dropbtn:hover { background: #f0f2f4; text-decoration: none; }
.nav > a.active { color: var(--green); font-weight: 700; }
.nav-cta { margin-left: 8px; }

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink-soft);
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
}
.lang-switch:hover { border-color: var(--green); color: var(--green); text-decoration: none; }

/* Dropdown */
.dropdown { position: relative; }
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 8px;
  display: none;
  z-index: 60;
  max-height: 70vh;
  overflow-y: auto;
}
.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu { display: block; }
.dropdown-menu a {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--ink-soft);
  font-size: 15px;
}
.dropdown-menu a:hover { background: #f0f2f4; text-decoration: none; color: var(--green); }

.menu-toggle {
  display: none;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 42px;
  height: 42px;
  font-size: 20px;
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, #01291c 0%, #0f5b3d 55%, #008c45 100%);
  color: #fff;
  overflow: hidden;
}
.hero .container { position: relative; z-index: 2; padding-top: 72px; padding-bottom: 72px; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(30px, 5vw, 50px);
  line-height: 1.15;
  font-weight: 800;
  max-width: 760px;
  margin: 14px 0 18px;
}
.hero .contact-form {
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
  border: 0;
}
.form-sub { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
}
.hero p.lead {
  font-size: clamp(17px, 2.2vw, 20px);
  max-width: 640px;
  color: rgba(255,255,255,.92);
  margin-bottom: 28px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
}
.hero .city-tag {
  display: inline-block;
  background: rgba(255,255,255,.15);
  color: #fff;
  border: 1px solid rgba(255,255,255,.3);
}

/* ---------- Sections ---------- */
section { padding: 64px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 40px; }
.section-head h2 { font-size: clamp(24px, 3.4vw, 34px); margin-bottom: 12px; }
.section-head p { color: var(--muted); font-size: 17px; }
.eyebrow {
  display: inline-block;
  color: var(--green);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: 13px;
  margin-bottom: 10px;
}

/* ---------- Cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.card h3 { font-size: 19px; margin-bottom: 14px; }
.card p { color: var(--ink-soft); font-size: 15px; }
.card .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #e9f5ef;
  color: var(--green);
  font-size: 22px;
}

/* Location cards */
.location-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .18s ease;
}
.location-card:hover { transform: translateY(-4px); }
.location-card .lc-body { padding: 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.location-card h3 { font-size: 21px; }
.location-card p { color: var(--ink-soft); }
.location-card .lc-foot { margin-top: auto; padding-top: 18px; }
.city-tag {
  display: inline-block;
  background: #fdecec;
  color: var(--red);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .04em;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 6px;
  width: max-content;
}

/* ---------- Steps ---------- */
.steps { counter-reset: step; list-style: none; display: grid; gap: 20px; }
.steps li {
  counter-increment: step;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 24px 24px 76px;
  position: relative;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 22px;
  top: 22px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.steps h3 { font-size: 18px; margin-bottom: 6px; }
.steps p { color: var(--ink-soft); font-size: 15px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 600;
  font-size: 16px;
  list-style: none;
  position: relative;
  padding-right: 52px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--green);
  font-weight: 700;
}
.faq details[open] summary::after { content: "\2212"; }
.faq details .faq-body { padding: 0 22px 20px; color: var(--ink-soft); }

/* ---------- Checklist ---------- */
.checklist { list-style: none; display: grid; gap: 0; }
.checklist > li {
  display: flex;
  gap: 16px;
  padding: 16px 4px;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.checklist > li:last-child { border-bottom: 0; }
.checklist .icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #e9f5ef;
  font-size: 20px;
}
.checklist h4 { font-size: 16px; margin-bottom: 4px; }
.checklist p { color: var(--ink-soft); font-size: 14.5px; }
.checklist .check-sub { padding-left: 48px; }
.checklist .check-head { border-bottom: 0; padding-top: 20px; padding-bottom: 4px; }
.checklist .check-head h4 { font-size: 15px; color: var(--green); text-transform: uppercase; letter-spacing: .03em; }
.chip {
  display: inline-block;
  background: #fdecec;
  color: var(--red);
  font-size: 11.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  vertical-align: middle;
  margin-left: 4px;
}

/* info list */
.info-list { list-style: none; display: grid; gap: 16px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-list .icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: #e9f5ef;
}
.info-list span { font-size: 15px; }

.note {
  background: #fff8e6;
  border: 1px solid #f3e3b8;
  color: #7a5c14;
  padding: 16px 20px;
  border-radius: 10px;
  font-size: 14.5px;
}
.note-list { list-style: none; display: grid; gap: 6px; }
.note-list li::before { content: "•"; margin-right: 8px; color: #c9a227; }

/* ---------- Finder & Generator ---------- */
.finder, .generator { max-width: 760px; margin: 0 auto; }
.finder label, .field label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--ink-soft);
}
.finder-row { display: flex; gap: 12px; }
select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  background: #fff;
  color: var(--ink);
}
.finder-row select { flex: 1; }
.finder-result { margin-top: 20px; }
.finder-result .card { padding: 20px; }

.generator-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.generator-result { }
.generator-result ul.checklist { margin-top: 8px; }
.result-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }

.empty-state { color: var(--muted); text-align: center; padding: 20px; }

/* ---------- Contact form ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 16px; }
.form-grid .span-2 { grid-column: span 2; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 8px; color: var(--ink-soft); }
input[type="text"], input[type="email"], input[type="tel"], textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  background: #fff;
  color: var(--ink);
}
textarea { resize: vertical; }
.contact-grid { align-items: start; }
.form-status { margin-top: 12px; font-size: 14px; font-weight: 600; }
.form-status.success { color: var(--green); }
.form-status.error { color: var(--red); }
.contact-form button[type="submit"]:disabled { opacity: .6; cursor: not-allowed; }

@media (max-width: 720px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .span-2 { grid-column: span 1; }
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--green) 0%, #00a057 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 48px 36px;
  text-align: center;
}
.cta-band h2 { font-size: clamp(24px, 3.4vw, 32px); margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 560px; margin: 0 auto 24px; }

/* ---------- Footer ---------- */
.site-footer { background: #01291c; color: #cfe0d8; padding: 48px 0 24px; margin-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1.2fr 1fr; gap: 32px; margin-bottom: 32px; }
.site-footer h4 { color: #fff; font-size: 16px; margin-bottom: 14px; }
.site-footer a { color: #cfe0d8; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; display: grid; gap: 8px; font-size: 14.5px; }
.footer-disclaimer { font-size: 12.5px; color: #8aa99c; border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; }
.footer-bottom { font-size: 13px; color: #8aa99c; }

/* ---------- Floating WhatsApp ---------- */
.float-wa {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: #fff;
  font-weight: 700;
  padding: 12px 18px;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .45);
}
.float-wa:hover { color: #fff; text-decoration: none; transform: translateY(-2px); }

/* ---------- Mobile bottom bar ---------- */
.mobile-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 55;
  background: #fff;
  border-top: 1px solid var(--border);
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.08);
}
.mobile-bar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 16px 10px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
}
.mobile-bar .mb-book { background: var(--green); color: #fff; }
.mobile-bar .mb-wa { background: #25D366; color: #fff; }

/* ---------- Utility ---------- */
.muted { color: var(--muted); }
.small { font-size: 13.5px; }
.center { text-align: center; }
.mt-2 { margin-top: 16px; }
.mb-2 { margin-bottom: 16px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .generator-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .menu-toggle { display: block; }
  .nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px;
    gap: 4px;
    display: none;
    box-shadow: 0 20px 30px rgba(0,0,0,.08);
  }
  .nav.open { display: flex; }
  .nav > a, .dropbtn { padding: 12px; text-align: left; }
  .dropdown-menu { position: static; box-shadow: none; border: 0; padding-left: 12px; display: none; }
  .dropdown.open .dropdown-menu { display: block; }
  .nav-cta { margin-left: 0; margin-top: 6px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .generator-grid { grid-template-columns: 1fr; }
  .finder-row { flex-direction: column; }
  .hero .container { padding-top: 48px; padding-bottom: 48px; }

  .mobile-bar { display: flex; }
  .float-wa { display: none; }
  body { padding-bottom: 60px; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .float-wa, .hero, .cta-band, .result-actions,
  .menu-toggle, .nav { display: none !important; }
  body { background: #fff; }
  .checklist, .checklist > li { break-inside: avoid; }
  section { padding: 16px 0; }
}
