/*
Theme Name: Doge in Duomo
Theme URI: https://dogeinduomo.it
Author: Doge in Duomo
Author URI: https://dogeinduomo.it
Description: Tema WordPress esclusivo per Doge in Duomo — Alta Camiceria Italiana. Eleganza sartoriale, design luxury con sezioni Hero, Il Metodo, Comodato d'Uso, Pricing, Chi Siamo, Target, Franchising e Contatti. Ogni sezione supporta immagini e/o video di sfondo personalizzabili.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: doge-in-duomo
Tags: custom-menu, custom-logo, featured-images, theme-options, one-page, luxury
*/

/* ═══════════════════════════════════════════
   DOGE IN DUOMO — LUXURY THEME
   Elegance. Precision. Italian Mastery.
   ═══════════════════════════════════════════ */

:root {
  --gold: #C8A96E;
  --gold-light: #D4BA85;
  --gold-dark: #A8884A;
  --navy: #0A0E1A;
  --navy-light: #141A2E;
  --navy-mid: #1C2340;
  --cream: #FAF6F0;
  --cream-dark: #EDE6DA;
  --white: #FFFFFF;
  --text-dark: #1A1A2E;
  --text-muted: #6B6B7B;
  --text-light: rgba(255,255,255,0.85);
  --font-display: 'Playfair Display', serif;
  --font-heading: 'Cormorant Garamond', serif;
  --font-body: 'Montserrat', sans-serif;
  --transition: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 4px; }
::selection { background: var(--gold); color: var(--navy); }

/* ─── ANIMATIONS ─── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(60px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.9s var(--transition), transform 0.9s var(--transition); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-50px); transition: opacity 0.9s var(--transition), transform 0.9s var(--transition); }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(50px); transition: opacity 0.9s var(--transition), transform 0.9s var(--transition); }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ─── LOADER ─── */
#loader {
  position: fixed; inset: 0; background: var(--navy); z-index: 10000;
  display: flex; align-items: center; justify-content: center; flex-direction: column;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}
#loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
#loader .loader-logo {
  animation: pulse 1.5s ease infinite; display: flex; align-items: center; justify-content: center;
}
#loader .loader-logo img { height: 50px; width: auto; }
#loader .loader-line {
  width: 120px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin-top: 20px; animation: shimmer 2s ease infinite; background-size: 200% 100%;
}

/* ═══ HEADER ═══ */
header.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 20px 60px; display: flex; align-items: center; justify-content: space-between;
  transition: all 0.5s var(--transition); background: transparent;
}
header.site-header.scrolled {
  background: rgba(10, 14, 26, 0.95); backdrop-filter: blur(20px);
  padding: 12px 60px; box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}
.logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.logo-icon {
  width: 44px; height: 44px; border: 2px solid var(--gold); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.1rem; color: var(--gold); font-weight: 700;
  transition: all 0.4s ease;
}
.logo:hover .logo-icon { background: var(--gold); color: var(--navy); }
.logo-img { height: 65px; width: auto; transition: height 0.4s ease; }
header.site-header.scrolled .logo-img { height: 48px; }
.logo-text {
  font-family: var(--font-display); font-size: 1.3rem; color: var(--white);
  letter-spacing: 0.15em; text-transform: uppercase; font-weight: 500;
}
.logo-text span { color: var(--gold); }

/* Navigation */
.main-navigation { display: flex; align-items: center; gap: 36px; }
.main-navigation ul { list-style: none; display: flex; gap: 36px; margin: 0; padding: 0; }
.main-navigation a {
  font-family: var(--font-body); font-size: 0.75rem; color: var(--text-light);
  text-decoration: none; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500;
  position: relative; padding-bottom: 4px; transition: color 0.3s ease;
}
.main-navigation a::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 1px;
  background: var(--gold); transition: width 0.4s var(--transition);
}
.main-navigation a:hover { color: var(--gold); }
.main-navigation a:hover::after { width: 100%; }
.nav-cta {
  background: transparent; border: 1px solid var(--gold); color: var(--gold) !important;
  padding: 10px 28px; font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  cursor: pointer; transition: all 0.4s ease; text-decoration: none;
}
.nav-cta:hover { background: var(--gold); color: var(--navy) !important; }
.nav-cta::after { display: none !important; }

.hamburger {
  display: none; flex-direction: column; gap: 6px; cursor: pointer; z-index: 1001;
  background: none; border: none;
}
.hamburger span { width: 28px; height: 1.5px; background: var(--gold); display: block; transition: all 0.4s ease; }

/* ═══ HERO ═══ */
.hero { position: relative; height: 100vh; min-height: 700px; display: flex; align-items: center; justify-content: center; overflow: hidden; background: var(--navy); }
.hero-bg { position: absolute; inset: 0; z-index: 1; }
.hero-bg-image { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.18; filter: grayscale(30%); }
.hero-bg-video { position: absolute; inset: 0; z-index: 0; }
.hero-bg-video video { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.hero-bg iframe { position: absolute; top: 50%; left: 50%; width: 180vw; height: 180vh; min-width: 100%; min-height: 100%; transform: translate(-50%, -50%); border: none; pointer-events: none; opacity: 0.55; }
.hero-bg-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,14,26,0.65) 0%, rgba(10,14,26,0.25) 35%, rgba(10,14,26,0.35) 60%, rgba(10,14,26,0.8) 100%); z-index: 2; }
.hero-deco-line { position: absolute; top: 50%; transform: translateY(-50%); width: 1px; height: 200px; background: linear-gradient(to bottom, transparent, var(--gold), transparent); z-index: 3; opacity: 0.4; }
.hero-deco-line.left { left: 60px; }
.hero-deco-line.right { right: 60px; }
.hero-deco-corner { position: absolute; width: 60px; height: 60px; border-color: var(--gold); border-style: solid; border-width: 0; z-index: 3; opacity: 0.3; }
.hero-deco-corner.tl { top: 100px; left: 60px; border-top-width: 1px; border-left-width: 1px; }
.hero-deco-corner.tr { top: 100px; right: 60px; border-top-width: 1px; border-right-width: 1px; }
.hero-deco-corner.bl { bottom: 60px; left: 60px; border-bottom-width: 1px; border-left-width: 1px; }
.hero-deco-corner.br { bottom: 60px; right: 60px; border-bottom-width: 1px; border-right-width: 1px; }

.hero-content { position: relative; z-index: 5; text-align: center; max-width: 900px; padding: 0 40px; text-shadow: 0 2px 20px rgba(10,14,26,0.8), 0 1px 4px rgba(10,14,26,0.6); }
.hero-badge { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 30px; animation: fadeInUp 1s 0.3s both; }
.hero-badge-line { width: 40px; height: 1px; background: var(--gold); }
.hero-badge-text { font-family: var(--font-body); font-size: 0.7rem; letter-spacing: 0.35em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.hero h1 { font-family: var(--font-display); font-size: clamp(2.6rem, 5.5vw, 4.8rem); color: var(--white); font-weight: 400; line-height: 1.15; margin-bottom: 10px; animation: fadeInUp 1s 0.5s both; text-shadow: 0 2px 30px rgba(10,14,26,0.9), 0 1px 6px rgba(10,14,26,0.7); }
.hero h1 em { font-style: italic; color: var(--gold); }
.hero-subtitle { font-family: var(--font-heading); font-size: clamp(1.1rem, 2vw, 1.5rem); color: var(--text-light); font-weight: 300; line-height: 1.6; max-width: 650px; margin: 24px auto 0; animation: fadeInUp 1s 0.7s both; }
.hero-ctas { display: flex; justify-content: center; gap: 20px; margin-top: 50px; animation: fadeInUp 1s 0.9s both; }
.hero-scroll { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); z-index: 5; display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--gold); font-size: 0.65rem; letter-spacing: 0.3em; text-transform: uppercase; opacity: 0.6; animation: fadeInUp 1s 1.2s both; }
.hero-scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, var(--gold), transparent); animation: pulse 2s ease infinite; }

/* ═══ BUTTONS ═══ */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px; padding: 16px 42px;
  background: var(--gold); color: var(--navy); font-family: var(--font-body);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  text-decoration: none; border: none; cursor: pointer; transition: all 0.5s var(--transition);
  position: relative; overflow: hidden;
}
.btn-primary::before {
  content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.6s ease;
}
.btn-primary:hover::before { left: 100%; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(200,169,110,0.35); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 10px; padding: 16px 42px;
  background: transparent; color: var(--white); font-family: var(--font-body);
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  text-decoration: none; border: 1px solid rgba(255,255,255,0.3); cursor: pointer;
  transition: all 0.4s ease;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* ═══ SECTIONS ═══ */
.section { padding: 120px 0; position: relative; overflow: hidden; }
.section-dark { background: var(--navy); color: var(--white); }
.section-cream { background: var(--cream); }
.section-navy-light { background: var(--navy-light); color: var(--white); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.container-wide { max-width: 1400px; margin: 0 auto; padding: 0 40px; }

.section-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.section-bg img, .section-bg video { width: 100%; height: 100%; object-fit: cover; }
.section-bg iframe { position: absolute; top: 50%; left: 50%; width: 180vw; height: 180vh; min-width: 100%; min-height: 100%; transform: translate(-50%, -50%); border: none; pointer-events: none; }
.section-bg-overlay { position: absolute; inset: 0; background: rgba(10,14,26,0.85); z-index: 1; }
.section > .container, .section > .container-wide { position: relative; z-index: 2; }

.section-header { text-align: center; margin-bottom: 80px; }
.section-label { font-family: var(--font-body); font-size: 0.7rem; letter-spacing: 0.35em; text-transform: uppercase; color: var(--gold); font-weight: 500; display: inline-flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.section-label-line { width: 40px; height: 1px; background: var(--gold); }
.section-title { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 400; line-height: 1.2; margin-bottom: 20px; }
.section-title em { font-style: italic; color: var(--gold); }
.section-desc { font-family: var(--font-heading); font-size: 1.15rem; color: var(--text-muted); line-height: 1.7; max-width: 600px; margin: 0 auto; font-weight: 300; }
.section-dark .section-desc { color: var(--text-light); }

/* ═══ STEPS ═══ */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.step-card { background: var(--white); overflow: hidden; transition: transform 0.6s var(--transition), box-shadow 0.6s var(--transition); }
.step-card:hover { transform: translateY(-8px); box-shadow: 0 20px 60px rgba(0,0,0,0.08); }
.step-card-image { position: relative; height: 320px; overflow: hidden; background: var(--navy-light); }
.step-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--transition); }
.step-card:hover .step-card-image img { transform: scale(1.05); }
.step-card-number { position: absolute; top: 20px; left: 20px; font-family: var(--font-display); font-size: 3.5rem; font-weight: 700; color: var(--gold); opacity: 0.3; line-height: 1; }
.step-card-body { padding: 36px 32px 40px; }
.step-card-body h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; margin-bottom: 14px; }
.step-card-body p { font-size: 0.88rem; line-height: 1.75; color: var(--text-muted); font-weight: 300; }

/* ═══ COMODATO ═══ */
.comodato-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.comodato-visual-main { width: 100%; aspect-ratio: 4/5; background: var(--navy-light); overflow: hidden; position: relative; }
.comodato-visual-main img { width: 100%; height: 100%; object-fit: cover; }
.comodato-visual-accent { position: absolute; bottom: -30px; right: -30px; width: 180px; height: 180px; border: 1px solid var(--gold); display: flex; align-items: center; justify-content: center; background: var(--navy); }
.comodato-visual-accent-text { text-align: center; color: var(--gold); }
.comodato-visual-accent-text .number { font-family: var(--font-display); font-size: 3rem; font-weight: 700; line-height: 1; }
.comodato-visual-accent-text .label { font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; margin-top: 6px; }
.comodato-text h2 { font-family: var(--font-display); font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 400; line-height: 1.2; margin-bottom: 24px; }
.comodato-text h2 em { font-style: italic; color: var(--gold); }
.comodato-text > p { font-size: 0.95rem; line-height: 1.8; color: var(--text-muted); margin-bottom: 36px; font-weight: 300; }

.feature-list { display: flex; flex-direction: column; gap: 20px; margin-bottom: 40px; }
.feature-item { display: flex; align-items: flex-start; gap: 16px; }
.feature-icon { width: 40px; height: 40px; border: 1px solid var(--gold); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--gold); }
.feature-item-text h4 { font-size: 0.85rem; font-weight: 600; margin-bottom: 4px; }
.feature-item-text p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; font-weight: 300; }

/* ═══ PRICING ═══ */
.pricing-highlight { background: var(--navy); padding: 80px 60px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; position: relative; overflow: hidden; }
.pricing-highlight::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(200,169,110,0.05) 0%, transparent 70%); }
.pricing-card { text-align: center; padding: 40px 30px; border: 1px solid rgba(200,169,110,0.15); position: relative; z-index: 1; transition: all 0.5s var(--transition); }
.pricing-card:hover { border-color: var(--gold); background: rgba(200,169,110,0.03); }
.pricing-card .price { font-family: var(--font-display); font-size: 3rem; color: var(--gold); font-weight: 600; line-height: 1; }
.pricing-card .price-unit { font-size: 0.8rem; color: rgba(255,255,255,0.5); letter-spacing: 0.1em; margin-top: 6px; }
.pricing-card .price-desc { font-family: var(--font-heading); font-size: 1rem; color: var(--text-light); margin-top: 16px; line-height: 1.6; font-weight: 300; }
.pricing-card.featured { border-color: var(--gold); background: rgba(200,169,110,0.06); transform: scale(1.05); }
.pricing-card.featured::before { content: 'CONSIGLIATO'; position: absolute; top: -1px; left: 50%; transform: translateX(-50%); background: var(--gold); color: var(--navy); font-size: 0.6rem; letter-spacing: 0.25em; padding: 6px 20px; font-weight: 600; }

/* ═══ QUOTE ═══ */
.quote-section { padding: 100px 0; background: var(--navy); position: relative; overflow: hidden; }
.quote-content { max-width: 800px; margin: 0 auto; text-align: center; position: relative; z-index: 2; }
.quote-mark { font-family: var(--font-display); font-size: 6rem; color: var(--gold); opacity: 0.3; line-height: 1; margin-bottom: -30px; }
.quote-text { font-family: var(--font-heading); font-size: clamp(1.3rem, 2.5vw, 1.8rem); color: var(--white); font-weight: 300; font-style: italic; line-height: 1.7; margin-bottom: 30px; }
.quote-author { font-size: 0.75rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); font-weight: 500; }

/* ═══ BIENNALE ═══ */
.biennale-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: center; }
.biennale-image { position: relative; overflow: hidden; }
.biennale-image img { width: 100%; display: block; }
.biennale-image-frame { position: absolute; inset: 20px; border: 1px solid rgba(200,169,110,0.3); pointer-events: none; }

/* ═══ ABOUT ═══ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-text .about-eyebrow { font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); font-weight: 500; margin-bottom: 16px; }
.about-text h2 { font-family: var(--font-display); font-size: clamp(2rem, 3vw, 2.6rem); font-weight: 400; line-height: 1.25; margin-bottom: 24px; color: var(--white); }
.about-text h2 em { font-style: italic; color: var(--gold); }
.about-text p { font-size: 0.92rem; line-height: 1.85; color: var(--text-light); font-weight: 300; margin-bottom: 16px; }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 40px; }
.stat-item { text-align: center; }
.stat-number { font-family: var(--font-display); font-size: 2.4rem; color: var(--gold); font-weight: 600; line-height: 1; }
.stat-label { font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-top: 8px; }
.about-visual-img { width: 100%; aspect-ratio: 3/4; background: var(--navy-mid); overflow: hidden; }
.about-visual-img img { width: 100%; height: 100%; object-fit: cover; }

/* ═══ TARGET ═══ */
.target-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.target-card { padding: 40px 28px; border: 1px solid rgba(200,169,110,0.12); text-align: center; transition: all 0.5s var(--transition); background: rgba(255,255,255,0.02); }
.target-card:hover { border-color: var(--gold); background: rgba(200,169,110,0.04); transform: translateY(-4px); }
.target-card-icon { font-size: 2rem; margin-bottom: 20px; display: block; }
.target-card h4 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 500; color: var(--white); margin-bottom: 10px; }
.target-card p { font-size: 0.8rem; color: rgba(255,255,255,0.5); line-height: 1.6; font-weight: 300; }

/* ═══ FRANCHISING ═══ */
.franchising-content { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.franchising-text h2 { font-family: var(--font-display); font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 400; line-height: 1.2; color: var(--white); margin-bottom: 20px; }
.franchising-text h2 em { font-style: italic; color: var(--gold); }
.franchising-text p { font-size: 0.92rem; line-height: 1.85; color: var(--text-light); font-weight: 300; margin-bottom: 30px; }
.franchising-benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.franchising-benefit { padding: 24px; border: 1px solid rgba(200,169,110,0.15); text-align: center; }
.franchising-benefit-number { font-family: var(--font-display); font-size: 2rem; color: var(--gold); font-weight: 600; line-height: 1; }
.franchising-benefit-label { font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-top: 8px; }

/* ═══ CONTACT ═══ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 80px; }
.contact-info h2 { font-family: var(--font-display); font-size: clamp(2rem, 3vw, 2.6rem); font-weight: 400; line-height: 1.2; margin-bottom: 20px; }
.contact-info h2 em { font-style: italic; color: var(--gold); }
.contact-info > p { font-size: 0.92rem; line-height: 1.85; color: var(--text-muted); font-weight: 300; margin-bottom: 40px; }
.contact-details { display: flex; flex-direction: column; gap: 24px; }
.contact-detail-item { display: flex; align-items: center; gap: 16px; }
.contact-detail-icon { width: 48px; height: 48px; border: 1px solid var(--gold); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--gold); font-size: 1.1rem; }
.contact-detail-text h4 { font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-muted); font-weight: 500; margin-bottom: 4px; }
.contact-detail-text a, .contact-detail-text p { font-family: var(--font-heading); font-size: 1.1rem; color: var(--text-dark); text-decoration: none; }
.contact-detail-text a:hover { color: var(--gold); }

.contact-form-wrapper { background: var(--white); padding: 50px; box-shadow: 0 10px 40px rgba(0,0,0,0.06); }
.contact-form-wrapper h3 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 500; margin-bottom: 30px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-muted); font-weight: 500; margin-bottom: 8px; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 14px 18px; border: 1px solid #E0D8CE; background: var(--cream); font-family: var(--font-body); font-size: 0.88rem; color: var(--text-dark); outline: none; transition: border-color 0.3s ease; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--gold); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-privacy { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 24px; }
.form-privacy input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--gold); margin-top: 2px; flex-shrink: 0; }
.form-privacy label { font-size: 0.78rem; line-height: 1.6; color: var(--text-muted); }
.form-privacy label a { color: var(--gold); text-decoration: underline; }
.form-submit { width: 100%; padding: 16px; background: var(--gold); color: var(--navy); font-family: var(--font-body); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; border: none; cursor: pointer; transition: all 0.4s ease; }
.form-submit:hover { background: var(--gold-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(200,169,110,0.3); }

/* ═══ FOOTER ═══ */
footer.site-footer { background: var(--navy); color: var(--white); padding: 80px 0 0; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 60px; padding-bottom: 60px; border-bottom: 1px solid rgba(200,169,110,0.1); }
.footer-brand .footer-logo { font-family: var(--font-display); font-size: 1.4rem; color: var(--white); letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 16px; }
.footer-brand .footer-logo span { color: var(--gold); }
.footer-brand p { font-size: 0.85rem; color: rgba(255,255,255,0.5); line-height: 1.7; font-weight: 300; max-width: 320px; }
.footer-col h4 { font-size: 0.7rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 20px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 0.85rem; font-weight: 300; transition: color 0.3s ease; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-newsletter p { font-size: 0.85rem; color: rgba(255,255,255,0.5); line-height: 1.6; margin-bottom: 16px; font-weight: 300; }
.newsletter-form { display: flex; }
.newsletter-form input { flex: 1; padding: 12px 16px; background: rgba(255,255,255,0.06); border: 1px solid rgba(200,169,110,0.2); color: var(--white); font-family: var(--font-body); font-size: 0.82rem; outline: none; }
.newsletter-form input::placeholder { color: rgba(255,255,255,0.3); }
.newsletter-form input:focus { border-color: var(--gold); }
.newsletter-form button { padding: 12px 24px; background: var(--gold); color: var(--navy); border: none; font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; font-weight: 600; cursor: pointer; transition: background 0.3s ease; }
.newsletter-form button:hover { background: var(--gold-dark); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 24px 0; }
.footer-bottom p { font-size: 0.75rem; color: rgba(255,255,255,0.3); font-weight: 300; }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { font-size: 0.75rem; color: rgba(255,255,255,0.3); text-decoration: none; transition: color 0.3s ease; }
.footer-bottom-links a:hover { color: var(--gold); }
.social-links { display: flex; gap: 14px; margin-top: 20px; }
.social-link { width: 40px; height: 40px; border: 1px solid rgba(200,169,110,0.2); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.5); text-decoration: none; font-size: 0.85rem; transition: all 0.3s ease; }
.social-link:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }

/* ═══ MODAL ═══ */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(10,14,26,0.8); z-index: 9999; justify-content: center; align-items: center; backdrop-filter: blur(4px); }
.modal-overlay.active { display: flex; }
.modal-content { background: var(--white); max-width: 700px; width: 90%; max-height: 80vh; overflow-y: auto; padding: 50px; position: relative; }
.modal-content h2 { font-family: var(--font-display); font-size: 1.8rem; margin-bottom: 24px; }
.modal-content p { font-size: 0.88rem; line-height: 1.8; color: var(--text-muted); margin-bottom: 16px; }
.modal-content h3 { font-family: var(--font-display); font-size: 1.2rem; margin: 24px 0 12px; }
.modal-close { position: absolute; top: 20px; right: 20px; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--text-muted); }

/* ═══ MOBILE NAV ═══ */
.mobile-nav { display: none; position: fixed; inset: 0; background: var(--navy); z-index: 999; flex-direction: column; align-items: center; justify-content: center; gap: 28px; }
.mobile-nav.active { display: flex; }
.mobile-nav a { font-family: var(--font-display); font-size: 1.6rem; color: var(--white); text-decoration: none; letter-spacing: 0.1em; transition: color 0.3s ease; }
.mobile-nav a:hover { color: var(--gold); }
.mobile-nav-close { position: absolute; top: 24px; right: 30px; background: none; border: none; color: var(--gold); font-size: 2rem; cursor: pointer; }

/* Grain overlay */
body::after { content: ''; position: fixed; inset: 0; background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E"); pointer-events: none; z-index: 9998; opacity: 0.4; }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
  header.site-header { padding: 16px 30px; }
  header.site-header.scrolled { padding: 10px 30px; }
  .main-navigation { display: none; }
  .hamburger { display: flex; }
  .steps-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
  .comodato-layout, .biennale-layout, .about-grid, .contact-grid, .franchising-content { grid-template-columns: 1fr; }
  .pricing-highlight { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; padding: 60px 30px; }
  .pricing-card.featured { transform: scale(1); }
  .target-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .hero-deco-line, .hero-deco-corner { display: none; }
  .container, .container-wide { padding: 0 24px; }
}
@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
  .target-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
  .about-stats { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .section { padding: 80px 0; }
  .contact-form-wrapper { padding: 30px 20px; }
  .hero-ctas { flex-direction: column; align-items: center; }
}
