/* ============================================================
   STUDIO LEGALE CACIOLLI AVV. CHIARA — Scandicci, Firenze
   Design System & Stylesheet v2.1
   FIX: checkbox esclusa da -webkit-appearance:none e width:100%
   ============================================================ */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400;0,6..96,700;1,6..96,400&family=Source+Sans+3:ital,wght@0,300;0,400;0,600;0,700;1,400&display=swap');

/* --- CSS Custom Properties --- */
:root {
  --navy: #0f1c2e;
  --navy-light: #1a2d47;
  --navy-dark: #0a1420;
  --gold: #b8963e;
  --gold-light: #d4b263;
  --gold-dark: #96792e;
  --white: #ffffff;
  --off-white: #f8f7f4;
  --grey-light: #e8e6e1;
  --grey-mid: #9a9690;
  --grey-dark: #4a4640;
  --text-primary: #1a1a1a;
  --text-secondary: #4a4640;
  --text-light: #f8f7f4;
  --font-heading: 'Bodoni Moda', 'Georgia', 'Times New Roman', serif;
  --font-body: 'Source Sans 3', 'Helvetica Neue', Arial, sans-serif;
  --section-py: clamp(60px, 8vw, 120px);
  --container-px: clamp(20px, 5vw, 80px);
  --container-max: 1200px;
  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-elegant: cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 2px 8px rgba(15, 28, 46, 0.08);
  --shadow-md: 0 4px 24px rgba(15, 28, 46, 0.12);
  --shadow-lg: 0 8px 48px rgba(15, 28, 46, 0.16);
  --shadow-gold: 0 4px 24px rgba(184, 150, 62, 0.2);
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.3s var(--ease-elegant); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.2;
  color: var(--navy);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.35rem); }

p {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  color: var(--text-secondary);
  margin-bottom: 1em;
  line-height: 1.8;
}
p:last-child { margin-bottom: 0; }

.lead { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.8; color: var(--text-secondary); }
.gold-text { color: var(--gold); }

.section-label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 40px;
  height: 1px;
  background: var(--gold);
}

/* --- Layout --- */
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--container-px); }
.section { padding: var(--section-py) 0; }
.grid { display: grid; gap: 40px; }
.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 0;
  transition: all 0.4s var(--ease-elegant);
  position: relative;
  overflow: hidden;
}
.btn-primary { background: var(--gold); color: var(--white); border: 2px solid var(--gold); }
.btn-primary:hover { background: var(--gold-dark); border-color: var(--gold-dark); box-shadow: var(--shadow-gold); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-outline:hover { background: var(--white); color: var(--navy); transform: translateY(-2px); }
.btn-outline-dark { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn-outline-dark:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }
.btn-gold-outline { background: transparent; color: var(--gold); border: 2px solid var(--gold); }
.btn-gold-outline:hover { background: var(--gold); color: var(--white); transform: translateY(-2px); }

/* --- Header --- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.4s var(--ease-elegant);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); border-bottom: 1px solid var(--grey-light); }

.header-topbar {
  background: var(--navy);
  color: var(--text-light);
  font-size: 0.85rem;
  padding: 8px 0;
  transition: all 0.4s var(--ease-elegant);
}
.header-topbar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.topbar-info { display: flex; align-items: center; gap: 24px; }
.topbar-info a { display: flex; align-items: center; gap: 6px; color: var(--grey-light); transition: color 0.3s; }
.topbar-info a:hover { color: var(--gold-light); }
.topbar-info svg { width: 14px; height: 14px; fill: var(--gold); }
.topbar-cta { color: var(--gold-light); font-weight: 600; }
.site-header.scrolled .header-topbar { margin-top: -50px; opacity: 0; pointer-events: none; }

.header-main { padding: 16px 0; transition: padding 0.4s var(--ease-elegant); }
.site-header.scrolled .header-main { padding: 10px 0; }
.header-main .container { display: flex; justify-content: space-between; align-items: center; }

.site-logo { display: flex; align-items: center; gap: 14px; }
.site-logo img { height: 75px; width: auto; transition: height 0.4s var(--ease-elegant); }
.site-header.scrolled .site-logo img { height: 55px; }
.site-header .site-logo-text { display: none; }
.site-logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.site-logo-text .name { font-family: var(--font-heading); font-weight: 700; font-size: 1.1rem; color: var(--navy); }
.site-logo-text .tagline { font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--grey-mid); }

.main-nav { display: flex; align-items: center; gap: 8px; }
.main-nav a { padding: 10px 18px; font-size: 0.9rem; font-weight: 600; color: var(--navy); position: relative; letter-spacing: 0.02em; }
.main-nav a::after { content: ''; position: absolute; bottom: 4px; left: 18px; right: 18px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform 0.4s var(--ease-elegant); }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); transform-origin: left; }
.main-nav a.active { color: var(--gold-dark); }
.nav-cta { margin-left: 12px; }

/* --- Hamburger --- */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
  z-index: 1002;
  position: relative;
}
.hamburger span { display: block; height: 2px; background: var(--navy); border-radius: 2px; transition: all 0.3s var(--ease-elegant); }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* =====================================================
   Mobile Nav — approccio visibility + transform
   Il JS gestisce solo classList.add/remove('active')
   ===================================================== */

/* --- Mobile Nav Overlay --- */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 28, 46, 0.6);
  z-index: 1010;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.4,0,0.2,1), visibility 0s 0.4s;
}
.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.4s cubic-bezier(0.4,0,0.2,1), visibility 0s 0s;
}

/* --- Mobile Nav Panel --- */
.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 300px;
  max-width: 85vw;
  height: 100vh;
  background: #ffffff;
  z-index: 1020;
  padding: 72px 32px 40px;
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.45s cubic-bezier(0.4,0,0.2,1), visibility 0s 0.45s;
  overflow-y: auto;
}
.mobile-nav.active {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
  transition: transform 0.45s cubic-bezier(0.4,0,0.2,1), visibility 0s 0s;
}

.mobile-nav a {
  display: block;
  padding: 16px 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  border-bottom: 1px solid var(--grey-light);
}
.mobile-nav a.active { color: var(--gold); }
.mobile-nav .mobile-nav-cta { margin-top: 30px; }
.mobile-nav .mobile-nav-cta .btn { width: 100%; justify-content: center; padding: 20px; }

.mobile-nav-contact {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--grey-light);
}
.mobile-nav-contact a {
  border-bottom: none;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text-secondary);
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.mobile-nav-contact svg { width: 16px; height: 16px; fill: var(--gold); flex-shrink: 0; }

/* --- X chiusura menu mobile --- */
.mobile-nav-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--grey-mid);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.3s;
  z-index: 1;
}
.mobile-nav-close:hover { color: var(--navy); }

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-dark);
  margin-top: 0;
}
.hero-bg { position: absolute; inset: 0; z-index: 1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,20,32,0.85) 0%, rgba(15,28,46,0.7) 50%, rgba(15,28,46,0.5) 100%);
  z-index: 2;
}
.hero-content { position: relative; z-index: 3; max-width: 720px; padding-top: 120px; }
.hero h1 { color: var(--white); margin-bottom: 24px; font-weight: 900; }
.hero h1 .accent { color: var(--gold-light); display: block; }
.hero .lead { color: rgba(255,255,255,0.85); margin-bottom: 40px; max-width: 580px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(184,150,62,0.15);
  border: 1px solid rgba(184,150,62,0.3);
  color: var(--gold-light);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 16px;
  margin-bottom: 20px;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: scrollBounce 2s ease-in-out infinite;
}
.hero-scroll-indicator svg { width: 20px; height: 20px; fill: var(--gold); }

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* --- Services --- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.service-card {
  background: var(--white);
  border: 1px solid var(--grey-light);
  padding: 40px 30px;
  transition: all 0.4s var(--ease-elegant);
  position: relative;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-elegant);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-card-icon { width: 48px; height: 48px; margin-bottom: 20px; }
.service-card-icon img, .service-card-icon svg { width: 100%; height: 100%; fill: var(--gold); }
.service-card h3 { margin-bottom: 12px; font-size: 1.25rem; }
.service-card p { font-size: 1.05rem; line-height: 1.75; }

/* --- About --- */
.about-section .grid-2 { align-items: center; gap: 60px; }
.about-image { position: relative; }
.about-image img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.about-image::after {
  content: '';
  position: absolute;
  top: 20px; left: 20px; right: -20px; bottom: -20px;
  border: 2px solid var(--gold);
  z-index: -1;
}
.about-content h2 { margin-bottom: 24px; }
.about-content .lead { margin-bottom: 24px; }
.about-list { margin: 24px 0; display: flex; flex-direction: column; gap: 12px; }
.about-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 1.1rem; color: var(--text-secondary); line-height: 1.6; }
.about-list li::before { content: ''; flex-shrink: 0; width: 8px; height: 8px; background: var(--gold); margin-top: 8px; transform: rotate(45deg); }

/* --- CTA Banner --- */
.cta-banner { background: var(--navy); color: var(--white); text-align: center; position: relative; overflow: hidden; }
.cta-banner::before { content: ''; position: absolute; top: -50%; left: -10%; width: 120%; height: 200%; background: radial-gradient(ellipse at center, rgba(184,150,62,0.08) 0%, transparent 70%); pointer-events: none; }
.cta-banner h2 { color: var(--white); margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,0.7); max-width: 600px; margin: 0 auto 32px; font-size: 1.1rem; }
.cta-banner .phone-link { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-heading); font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; color: var(--gold-light); margin-bottom: 32px; }
.cta-banner .phone-link:hover { color: var(--gold); }
.cta-banner .phone-link svg { width: 28px; height: 28px; fill: var(--gold-light); }

/* --- Content Sections --- */
.content-section { padding: var(--section-py) 0; }
.content-section.bg-light { background: var(--off-white); }
.content-section .grid-2 { align-items: center; gap: 60px; }
.content-image { overflow: hidden; }
.content-image img { width: 100%; aspect-ratio: 16/11; object-fit: cover; transition: transform 0.6s var(--ease-elegant); }
.content-image:hover img { transform: scale(1.03); }
.content-text h2 { margin-bottom: 20px; }
.content-text ul { margin: 20px 0; display: flex; flex-direction: column; gap: 10px; }
.content-text ul li { display: flex; align-items: flex-start; gap: 10px; font-size: 1.1rem; color: var(--text-secondary); line-height: 1.7; }
.content-text ul li::before { content: '—'; color: var(--gold); font-weight: 700; flex-shrink: 0; }

/* --- Contact Page --- */
.contact-hero { background: var(--navy); padding: 140px 0 80px; text-align: center; }
.contact-hero h1 { color: var(--white); margin-bottom: 16px; }
.contact-hero p { color: rgba(255,255,255,0.7); max-width: 640px; margin: 0 auto; font-size: 1.1rem; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-info-card { background: var(--off-white); padding: 48px; border-left: 4px solid var(--gold); }
.contact-info-card h3 { margin-bottom: 24px; }
.contact-detail { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.contact-detail:last-child { margin-bottom: 0; }
.contact-detail-icon { width: 40px; height: 40px; background: var(--navy); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-detail-icon svg { width: 18px; height: 18px; fill: var(--gold); }
.contact-detail h4 { font-size: 0.85rem; font-family: var(--font-body); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 4px; }
.contact-detail p { font-size: 1rem; margin-bottom: 0; }
.contact-detail a { color: var(--navy); font-weight: 600; }
.contact-detail a:hover { color: var(--gold); }
.map-section { height: 450px; background: var(--grey-light); }
.map-section iframe { width: 100%; height: 100%; border: none; display: block; filter: saturate(0.8) contrast(1.1); }

/* --- Modal --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,20,32,0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s var(--ease-elegant);
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal { background: var(--white); width: 100%; max-width: 560px; max-height: 90vh; overflow-y: auto; position: relative; transform: translateY(30px) scale(0.97); transition: transform 0.4s var(--ease-elegant); }
.modal-overlay.active .modal { transform: translateY(0) scale(1); }
.modal-header { background: var(--navy); padding: 32px 40px; color: var(--white); }
.modal-header h3 { color: var(--white); font-size: 1.5rem; margin-bottom: 6px; }
.modal-header p { color: rgba(255,255,255,0.6); font-size: 0.9rem; margin-bottom: 0; }
.modal-close { position: absolute; top: 20px; right: 20px; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.6); font-size: 1.5rem; z-index: 1; transition: color 0.3s; }
.modal-close:hover { color: var(--white); }
.modal-body { padding: 32px 40px 40px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; letter-spacing: 0.02em; }
.form-group label .required { color: var(--gold); }

/* FIX v2.1: escludo checkbox dal selettore degli input testuali.
   Senza :not([type="checkbox"]), la checkbox ereditava
   width:100%, padding:12px, e -webkit-appearance:none
   che la rendeva invisibile su Chrome/Safari. */
.form-group input:not([type="checkbox"]),
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-primary);
  background: var(--off-white);
  border: 1px solid var(--grey-light);
  transition: all 0.3s var(--ease-elegant);
  border-radius: 0;
  -webkit-appearance: none;
}
.form-group input:not([type="checkbox"]):focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(184,150,62,0.1);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-checkbox { display: flex; align-items: flex-start; gap: 10px; font-size: 0.85rem; color: var(--text-secondary); line-height: 1.5; }
.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--gold);
  cursor: pointer;
}
.form-checkbox a { color: var(--gold-dark); text-decoration: underline; }
.form-submit-btn { width: 100%; padding: 16px; background: var(--gold); color: var(--white); font-family: var(--font-body); font-size: 1rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; border: 2px solid var(--gold); cursor: pointer; transition: all 0.4s var(--ease-elegant); }
.form-submit-btn:hover { background: var(--gold-dark); border-color: var(--gold-dark); }
.form-submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.form-message { padding: 16px; margin-top: 16px; font-size: 0.95rem; display: none; }
.form-message.success { background: #e8f5e9; color: #2e7d32; border-left: 4px solid #2e7d32; display: block; }
.form-message.error { background: #fce4ec; color: #c62828; border-left: 4px solid #c62828; display: block; }

/* --- Footer --- */
.site-footer { background: var(--navy-dark); color: var(--text-light); padding: 80px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand .site-logo img { height: 75px; filter: brightness(0) invert(1); }
.footer-brand .site-logo-text { display: none; }
.footer-brand p { color: rgba(255,255,255,0.5); font-size: 0.9rem; margin-top: 16px; max-width: 280px; }
.footer-title { font-family: var(--font-body); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.footer-links a { display: block; padding: 6px 0; color: rgba(255,255,255,0.6); font-size: 0.95rem; transition: color 0.3s; }
.footer-links a:hover { color: var(--gold-light); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; color: rgba(255,255,255,0.6); font-size: 0.95rem; }
.footer-contact-item svg { width: 16px; height: 16px; fill: var(--gold); flex-shrink: 0; margin-top: 3px; }
.footer-contact-item a { color: rgba(255,255,255,0.6); }
.footer-contact-item a:hover { color: var(--gold-light); }
.footer-bottom { padding: 24px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { color: rgba(255,255,255,0.35); font-size: 0.8rem; margin: 0; }
.footer-bottom a { color: rgba(255,255,255,0.35); font-size: 0.8rem; }
.footer-bottom a:hover { color: var(--gold-light); }
.footer-legal { display: flex; gap: 20px; }

/* --- Breadcrumbs --- */
.breadcrumbs { padding: 12px 0; font-size: 0.85rem; color: var(--grey-mid); }
.breadcrumbs a { color: var(--grey-mid); }
.breadcrumbs a:hover { color: var(--gold); }
.breadcrumbs span { margin: 0 8px; color: var(--grey-light); }

/* --- Animations --- */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.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; }

/* --- Divider --- */
.gold-divider { width: 60px; height: 2px; background: var(--gold); margin: 20px 0; }
.gold-divider.center { margin-left: auto; margin-right: auto; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-image::after { display: none; }
}

@media (max-width: 768px) {
  html { scroll-padding-top: 70px; }

  .header-topbar { display: none; }
  .main-nav, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .hero { min-height: 70vh; }
  .hero-content { padding-top: 90px; }
  .hero-badge { margin-top: 80px; }
  .hero-scroll-indicator { display: none; }

  .services-grid { grid-template-columns: 1fr; gap: 20px; }
  .service-card { padding: 30px 24px; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal { justify-content: center; }

  .modal-header, .modal-body { padding-left: 24px; padding-right: 24px; }
  .contact-info-card { padding: 32px 24px; }
  .cta-banner .phone-link { word-break: break-all; }
}

@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; margin-bottom: 50px; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
}

/* --- Skip to Content --- */
.skip-to-content {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--white);
  padding: 12px 24px;
  font-weight: 700;
  z-index: 10001;
  transition: top 0.3s;
}
.skip-to-content:focus { top: 10px; }

/* --- Print --- */
@media print {
  .site-header, .site-footer, .modal-overlay, .cta-banner, .hero-scroll-indicator { display: none !important; }
  body { color: #000; background: #fff; }
  a { color: #000; text-decoration: underline; }
}