/* ─────────────────────────────────────────────────────────
   Duomo Milano Guide — Editorial Theme
   Warm ivory / gold palette, Playfair Display + Inter
   ───────────────────────────────────────────────────────── */

:root {
  --bg: #faf8f4;
  --bg-alt: #f2ede3;
  --bg-dark: #1a1208;
  --primary: #2d1f0e;
  --accent: #b8892a;
  --accent-light: #d4a83a;
  --accent-xlight: #f5e9c8;
  --text: #1a1208;
  --text-light: #5a4a30;
  --text-muted: #9a8868;
  --border: #ddd5c0;
  --border-dark: #c8bda0;
  --white: #ffffff;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Source Sans 3', 'Segoe UI', sans-serif;
  --shadow-sm: 0 1px 3px rgba(26,18,8,0.08);
  --shadow-md: 0 4px 16px rgba(26,18,8,0.12);
  --radius: 10px;
  --radius-sm: 6px;
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: var(--font-body); border: none; background: none; }
ul { list-style: none; }

/* ─── Container ─────────────────────────────────────────── */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ─── Typography ─────────────────────────────────────────── */
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); }

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-title { color: var(--primary); margin-bottom: 14px; }
.section-subtitle { color: var(--text-light); font-size: 17px; max-width: 580px; line-height: 1.7; }

/* ─── Navigation ─────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(26,18,8,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 28px;
  height: 62px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  flex-shrink: 0;
}
.nav-logo-mark {
  width: 32px;
  height: 32px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}
.nav-brand-name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
}
.nav-links { display: flex; gap: 6px; margin-left: auto; }
.nav-link {
  font-size: 14px;
  color: rgba(255,255,255,0.72);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.nav-link:hover { color: var(--white); background: rgba(255,255,255,0.08); }
.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: 8px; }
.nav-lang-btn {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 5px 12px;
  border-radius: 20px;
  transition: all var(--transition);
  letter-spacing: 0.04em;
}
.nav-lang-btn:hover { color: var(--white); border-color: rgba(255,255,255,0.5); }
.nav-cta {
  font-size: 13px;
  font-weight: 600;
  background: var(--accent);
  color: var(--white);
  padding: 7px 16px;
  border-radius: 20px;
  transition: background var(--transition);
}
.nav-cta:hover { background: var(--accent-light); }

.nav-mobile-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.nav-mobile-toggle span { display: block; width: 22px; height: 2px; background: rgba(255,255,255,0.7); border-radius: 2px; transition: var(--transition); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg-dark);
  z-index: 200;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 40px 28px;
}
.mobile-menu.open { display: flex; }
.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 28px;
  color: rgba(255,255,255,0.7);
  background: none;
  border: none;
  cursor: pointer;
}
.mobile-menu-link {
  font-size: 20px;
  color: rgba(255,255,255,0.85);
  padding: 12px 24px;
  display: block;
  text-align: center;
  border-radius: var(--radius);
  transition: background var(--transition);
  width: 100%;
  max-width: 320px;
}
.mobile-menu-link:hover { background: rgba(255,255,255,0.08); }

/* ─── Hero ───────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
  background: var(--bg-dark);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-duomo.jpg');
  background-size: cover;
  background-position: center 40%;
  opacity: 0.65;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(26,18,8,0.97) 0%,
    rgba(26,18,8,0.7) 40%,
    rgba(26,18,8,0.25) 70%,
    rgba(26,18,8,0.1) 100%
  );
}
.hero-content { position: relative; z-index: 2; max-width: 1140px; margin: 0 auto; padding: 0 28px; width: 100%; }
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(184,137,42,0.2);
  border: 1px solid rgba(184,137,42,0.4);
  color: var(--accent-light);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.hero-title { color: var(--white); margin-bottom: 20px; max-width: 640px; }
.hero-title-accent { color: var(--accent-light); display: block; }
.hero-subtitle {
  color: rgba(255,255,255,0.72);
  font-size: 17px;
  max-width: 540px;
  line-height: 1.75;
  margin-bottom: 32px;
}
.hero-meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.55);
  font-size: 13px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: var(--radius);
  transition: background var(--transition), transform 0.15s ease;
}
.btn-primary:hover { background: var(--accent-light); transform: translateY(-1px); }
.btn-ghost-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.85);
  font-size: 15px;
  font-weight: 600;
  padding: 13px 22px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.2);
  transition: all var(--transition);
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.18); color: var(--white); }

/* ─── Stats Bar ──────────────────────────────────────────── */
.stats-bar {
  background: var(--primary);
  padding: 40px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 28px;
}
.stat-item { text-align: center; }
.stat-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-light);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

/* ─── Introduction ───────────────────────────────────────── */
.intro {
  padding: 100px 0;
  background: var(--bg);
}
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.intro-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.intro-text {
  color: var(--text-light);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 16px;
}
.intro-visual {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg-alt);
  position: relative;
}
.intro-visual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.intro-visual-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(26,18,8,0.6), rgba(184,137,42,0.3));
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ─── Articles ───────────────────────────────────────────── */
.articles { padding: 80px 0 100px; }
.articles-header { margin-bottom: 60px; }
.articles-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.article-card {
  border-radius: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: box-shadow var(--transition), transform 0.2s ease;
}
.article-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.article-card:nth-child(even) .article-card-inner { flex-direction: row-reverse; }
.article-card-inner {
  display: flex;
  min-height: 220px;
}
.article-visual {
  width: 320px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  background: var(--bg-alt);
}
.article-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.article-card:hover .article-visual img { transform: scale(1.04); }
.article-category-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--accent);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}
.article-body {
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.article-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 10px;
}
.article-meta-item {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}
.article-title {
  color: var(--primary);
  margin-bottom: 12px;
  line-height: 1.3;
}
.article-excerpt {
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.7;
  flex: 1;
  margin-bottom: 20px;
}
.article-expand {
  align-self: flex-start;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 8px 16px;
  border: 2px solid var(--accent);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  background: none;
  cursor: pointer;
}
.article-expand:hover { background: var(--accent); color: var(--white); }
.article-detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.article-detail.open { max-height: 2000px; }
.article-detail-inner {
  padding-top: 20px;
  border-top: 1px solid var(--border);
  margin-top: 20px;
}
.article-detail-inner p {
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 14px;
}

/* ─── Visitor Tips ───────────────────────────────────────── */
.tips { padding: 80px 0; background: var(--bg-alt); }
.tips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 44px;
}
.tip-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid var(--border);
  transition: box-shadow var(--transition), transform 0.2s ease;
}
.tip-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.tip-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-xlight);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 16px;
}
.tip-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}
.tip-text {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
}

/* ─── Seasonal Guide ─────────────────────────────────────── */
.seasonal { padding: 80px 0 100px; }
.season-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 44px;
}
.season-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--white);
}
.season-header {
  padding: 20px 20px 16px;
  background: var(--bg-alt);
}
.season-header.dry { background: linear-gradient(135deg, #f5e9c8, #e8d090); }
.season-header.wet { background: linear-gradient(135deg, #c8d8e8, #a8c0d8); }
.season-header.bright { background: linear-gradient(135deg, #e8f0d8, #c8e0a0); }
.season-header.cool { background: linear-gradient(135deg, #e0e8f0, #c0d0e0); }
.season-name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}
.season-dates { font-size: 12px; color: var(--text-light); font-weight: 500; }
.season-body { padding: 16px 20px; }
.season-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 8px;
}
.season-bullet { color: var(--accent); font-weight: 700; flex-shrink: 0; margin-top: 2px; }

/* ─── Newsletter ─────────────────────────────────────────── */
.newsletter {
  background: var(--primary);
  padding: 80px 0;
}
.newsletter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.newsletter-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.newsletter-subtitle {
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}
.newsletter-perks {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}
.newsletter-perk {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,0.65);
}
.newsletter-perk-icon { color: var(--accent-light); flex-shrink: 0; }
.newsletter-form { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: flex; gap: 12px; }
.form-field {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-label { font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.5); letter-spacing: 0.06em; text-transform: uppercase; }
.form-input {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  color: var(--white);
  font-size: 15px;
  font-family: var(--font-body);
  outline: none;
  transition: border-color var(--transition);
}
.form-input::placeholder { color: rgba(255,255,255,0.35); }
.form-input:focus { border-color: var(--accent); }
.form-checkbox-row { display: flex; align-items: flex-start; gap: 10px; }
.form-checkbox { width: 18px; height: 18px; accent-color: var(--accent); margin-top: 2px; flex-shrink: 0; }
.form-checkbox-label { font-size: 12px; color: rgba(255,255,255,0.5); line-height: 1.6; }
.btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent);
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  padding: 13px 24px;
  border-radius: var(--radius);
  transition: background var(--transition), transform 0.15s ease;
  cursor: pointer;
  border: none;
  width: 100%;
}
.btn-submit:hover { background: var(--accent-light); transform: translateY(-1px); }
.newsletter-success {
  display: none;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 20px 24px;
  color: rgba(255,255,255,0.85);
  font-size: 15px;
  line-height: 1.6;
}

/* ─── FAQ ────────────────────────────────────────────────── */
.faq { padding: 80px 0 100px; background: var(--bg-alt); }
.faq-header { text-align: center; margin-bottom: 48px; }
.faq-header .section-subtitle { margin: 0 auto; }
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--transition);
  font-family: var(--font-body);
}
.faq-question:hover { color: var(--accent); }
.faq-icon { flex-shrink: 0; color: var(--accent); transition: transform var(--transition); }
.faq-item.open .faq-icon { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-item.open .faq-answer { max-height: 500px; }
.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.8;
}

/* ─── Footer ─────────────────────────────────────────────── */
.footer { background: var(--bg-dark); padding: 64px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
}
.footer-about {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  line-height: 1.75;
  margin-bottom: 10px;
}
.footer-disclaimer {
  font-size: 12px;
  color: rgba(255,255,255,0.28);
  line-height: 1.65;
  margin-bottom: 0;
}
.footer-heading {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-link {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}
.footer-link:hover { color: var(--white); }
.footer-base {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
}
.footer-copy { font-size: 13px; color: rgba(255,255,255,0.35); }

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-mobile-toggle { display: flex; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .intro-grid { grid-template-columns: 1fr; }
  .intro-visual { order: -1; }
  .article-card-inner { flex-direction: column !important; }
  .article-visual { width: 100%; height: 200px; }
  .tips-grid { grid-template-columns: repeat(2, 1fr); }
  .season-grid { grid-template-columns: repeat(2, 1fr); }
  .newsletter-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .container { padding: 0 18px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stat-number { font-size: 1.6rem; }
  .tips-grid { grid-template-columns: 1fr; }
  .season-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; }
  .form-row { flex-direction: column; }
}

/* ─── Animations ─────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }

@media (max-width: 900px) {
  .hero { padding-bottom: 60px; }
  .hero-title { font-size: 2.2rem; }
  .intro { padding: 60px 0; }
  .articles { padding: 60px 0; }
  .tips { padding: 60px 0; }
  .seasonal { padding: 60px 0; }
  .newsletter { padding: 60px 0; }
  .faq { padding: 60px 0; }
}