/*
Theme Name: M2 Centro Dentale
Theme URI: https://centrodentaleforli.it
Author: M2 Centro Dentale
Author URI: https://centrodentaleforli.it
Description: Tema WordPress professionale per M2 Centro Dentale di Forlì. Design elegante e moderno con palette teal, compatibile con Elementor Free.
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: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: m2-centro-dentale
Tags: custom-menu, custom-logo, featured-images, full-width-template, one-column, two-columns, theme-options, translation-ready
*/
/* ============================================
   M2 CENTRO DENTALE — Luxury Teal & Modern
   ============================================ */

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

:root {
  /* Teal palette from centrodentaleforli.it */
  --accent: #5a8fa0;
  --accent-dark: #3b6978;
  --accent-deep: #2d5466;
  --accent-light: #7db5c6;
  --accent-muted: #a3c8d4;
  --dark: #1a2e38;
  --dark-card: #1e3440;
  --dark-soft: #243d4a;
  --charcoal: #152630;
  --text: #2d3e46;
  --text-light: #6a8290;
  --text-muted: #8ea6b0;
  --bg: #f5f8f9;
  --bg-light: #edf2f4;
  --bg-warm: #f0f4f6;
  --bg-card: #e6eef1;
  --white: #ffffff;
  --glass: rgba(255,255,255,0.06);
  --glass-border: rgba(255,255,255,0.08);
  --shadow-sm: 0 2px 20px rgba(26,46,56,0.04);
  --shadow: 0 8px 40px rgba(26,46,56,0.07);
  --shadow-lg: 0 24px 64px rgba(26,46,56,0.12);
  --shadow-accent: 0 8px 40px rgba(90,143,160,0.2);
  --shadow-dark: 0 24px 80px rgba(0,0,0,0.5);
  --radius: 0px;
  --radius-sm: 0px;
  --radius-xs: 0px;
  --radius-pill: 100px;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-luxury: cubic-bezier(0.22, 0.61, 0.36, 1);
  --transition: all 0.6s var(--ease-luxury);
  --transition-fast: all 0.35s var(--ease);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'kern' 1, 'liga' 1;
  font-variant-ligatures: common-ligatures;
  letter-spacing: -0.01em;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  color: var(--dark);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.025em;
  font-feature-settings: 'kern' 1, 'liga' 1;
}

a { text-decoration: none; color: inherit; transition: var(--transition-fast); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.container-sm { max-width: 900px; margin: 0 auto; padding: 0 32px; }

/* ---------- PRELOADER ---------- */
.preloader {
  position: fixed; inset: 0; background: var(--dark); z-index: 10000;
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 24px;
  transition: opacity 1s ease, visibility 1s ease;
}
.preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-logo {
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 2.8rem; color: var(--white);
  letter-spacing: 3px; animation: preloaderFade 1.5s ease-in-out infinite;
}
.preloader-logo span { color: var(--accent-light); }
.preloader-line {
  width: 80px; height: 1px; background: var(--accent); position: relative; overflow: hidden;
}
.preloader-line::after {
  content: ''; position: absolute; left: -100%; top: 0; width: 100%; height: 100%;
  background: var(--white); animation: preloaderSlide 1.2s ease-in-out infinite;
}
@keyframes preloaderFade { 0%,100%{opacity:.3} 50%{opacity:1} }
@keyframes preloaderSlide { 0%{left:-100%} 100%{left:100%} }

/* ---------- NAVBAR ---------- */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  padding: 24px 0; transition: var(--transition); background: transparent;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.95); backdrop-filter: blur(30px) saturate(1.8);
  -webkit-backdrop-filter: blur(30px) saturate(1.8);
  padding: 14px 0; box-shadow: 0 1px 0 rgba(26,46,56,0.06);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; }

.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo-img {
  width: 46px; height: 46px; border-radius: 0; object-fit: contain;
  transition: var(--transition);
}
.nav-logo-icon {
  width: 42px; height: 42px; border-radius: 0; border: 1.5px solid var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1rem; font-weight: 700;
  color: var(--accent); background: rgba(90,143,160,0.08);
}
.nav-logo-text {
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.4rem; font-weight: 600;
  color: var(--white); letter-spacing: 0.5px; transition: var(--transition);
}
.navbar.scrolled .nav-logo-text { color: var(--dark); }
.nav-logo-text em { font-style: normal; color: var(--accent-light); }
.navbar.scrolled .nav-logo-text em { color: var(--accent); }

.nav-links { display: flex; align-items: center; gap: 40px; }
.nav-links a {
  font-size: 0.8rem; font-weight: 500; text-transform: uppercase; letter-spacing: 2px;
  color: rgba(255,255,255,0.7); position: relative; padding: 6px 0;
}
.navbar.scrolled .nav-links a { color: var(--text-light); }
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 1.5px;
  background: var(--accent); transition: width 0.5s var(--ease-out);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a:hover, .nav-links a.active { color: var(--accent-light); }
.navbar.scrolled .nav-links a:hover, .navbar.scrolled .nav-links a.active { color: var(--accent); }

.nav-cta {
  font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--white); background: var(--accent); padding: 12px 28px;
  border-radius: var(--radius-pill); transition: var(--transition);
  box-shadow: 0 4px 20px rgba(90,143,160,0.3);
}
.nav-cta:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: var(--shadow-accent); }

.nav-phone {
  display: flex; align-items: center; gap: 8px; font-size: 0.85rem; font-weight: 600;
  color: var(--white); transition: var(--transition-fast);
}
.navbar.scrolled .nav-phone { color: var(--text); }
.nav-phone:hover { color: var(--accent-light); }
.navbar.scrolled .nav-phone:hover { color: var(--accent); }
.nav-phone svg { width: 15px; height: 15px; }

/* Mobile Toggle */
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; z-index: 1001; }
.nav-toggle span { display: block; width: 24px; height: 1.5px; background: var(--white); border-radius: 0; transition: var(--transition); }
.navbar.scrolled .nav-toggle span { background: var(--dark); }
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ========== HERO ========== */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  overflow: hidden; background: var(--dark);
}
.hero-bg { position: absolute; inset: 0; z-index: 1; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover; opacity: 0.25;
  transform: scale(1.08); transition: transform 14s ease;
  filter: saturate(0.7);
}
.hero:hover .hero-bg img { transform: scale(1); }
.hero-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(160deg, rgba(26,46,56,0.92) 0%, rgba(26,46,56,0.55) 45%, rgba(90,143,160,0.12) 100%);
}
.hero-content { position: relative; z-index: 3; max-width: 680px; padding: 110px 0 80px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 32px;
  padding: 10px 24px; border-radius: var(--radius-pill);
  background: rgba(90,143,160,0.1);
  border: 1px solid rgba(90,143,160,0.2);
  font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 2.5px; color: var(--accent-light);
}
.hero-badge svg { width: 14px; height: 14px; }
.hero h1 { font-size: 4.5rem; color: var(--white); margin-bottom: 28px; font-weight: 700; line-height: 1.05; }
.hero h1 .accent { color: var(--accent-light); font-style: italic; }
.hero h1 .thin { font-weight: 400; }
.hero-desc {
  font-size: 1.12rem; color: rgba(255,255,255,0.5); margin-bottom: 48px;
  max-width: 520px; line-height: 1.9; font-weight: 400; letter-spacing: 0.005em;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

/* Hero Emergency */
.hero-emergency {
  display: inline-flex; align-items: center; gap: 16px;
  margin-bottom: 36px; padding: 16px 44px 16px 28px;
  background: rgba(200,50,50,0.3);
  border: 1px solid rgba(220,60,60,0.5);
  border-radius: var(--radius-pill);
  position: relative; overflow: hidden;
}
.hero-emergency svg { width: 26px; height: 26px; color: #ff6b6b; flex-shrink: 0; }
.hero-emergency-text { display: flex; flex-direction: column; gap: 2px; }
.hero-emergency-label {
  font-size: 0.68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 2.5px; color: #ff8a8a;
}
.hero-emergency-number {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.5rem; font-weight: 800; color: #fff;
  text-decoration: none; letter-spacing: 1.5px; line-height: 1.2;
  transition: color 0.3s;
}
.hero-emergency-number:hover { color: #ff6b6b; }
.hero-emergency-pulse {
  position: absolute; left: 20px; top: 50%; width: 10px; height: 10px;
  transform: translateY(-50%); border-radius: 50%; background: #ff4444;
  animation: emergencyPulse 2s ease-in-out infinite;
  pointer-events: none; display: none;
}
@keyframes emergencyPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,68,68,0.5); }
  50% { box-shadow: 0 0 0 12px rgba(255,68,68,0); }
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 17px 38px; border-radius: var(--radius-pill);
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1.8px;
  cursor: pointer; border: none; transition: var(--transition); position: relative; overflow: hidden;
}
.btn::before {
  content: ''; position: absolute; top: 50%; left: 50%;
  width: 0; height: 0; border-radius: 50%;
  background: rgba(255,255,255,0.1);
  transform: translate(-50%, -50%);
  transition: width 0.6s var(--ease-out), height 0.6s var(--ease-out);
}
.btn:hover::before { width: 400px; height: 400px; }
.btn svg { width: 17px; height: 17px; transition: transform 0.4s var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }
.btn-gold, .btn-accent {
  background: var(--accent);
  color: var(--white); box-shadow: 0 8px 32px rgba(90,143,160,0.3);
}
.btn-gold:hover, .btn-accent:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(90,143,160,0.4);
  background: var(--accent-dark);
}
.btn-outline-light {
  background: transparent; color: rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.15);
}
.btn-outline-light:hover { border-color: var(--accent-light); color: var(--accent-light); }
.btn-dark {
  background: var(--dark); color: var(--white);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}
.btn-dark:hover { transform: translateY(-3px); box-shadow: 0 16px 48px rgba(0,0,0,0.3); }
.btn-white {
  background: var(--white); color: var(--dark);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}
.btn-white:hover { transform: translateY(-3px); box-shadow: 0 16px 48px rgba(0,0,0,0.15); }
.btn-outline-gold, .btn-outline-accent {
  background: transparent; color: var(--accent);
  border: 1px solid var(--accent);
}
.btn-outline-gold:hover, .btn-outline-accent:hover { background: var(--accent); color: var(--white); }
.btn-lg { padding: 20px 48px; font-size: 0.85rem; }

/* Hero stats */
.hero-stats {
  position: absolute; right: 80px; bottom: 120px; z-index: 3;
  display: flex; flex-direction: column; gap: 16px;
}
.hero-stat {
  background: rgba(255,255,255,0.04); backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255,255,255,0.06); border-radius: 0;
  padding: 28px 36px; text-align: center; min-width: 200px;
}
.hero-stat-number {
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 3rem; font-weight: 800;
  color: var(--accent-light); line-height: 1;
  background: linear-gradient(135deg, var(--accent-light), var(--accent-muted));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-stat-label {
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 2.5px;
  color: rgba(255,255,255,0.35); margin-top: 8px; font-weight: 500;
  font-variant-numeric: lining-nums tabular-nums;
}

/* Scroll indicator */
.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.3); font-size: 0.65rem; text-transform: uppercase; letter-spacing: 3px;
}
.scroll-line { width: 1px; height: 48px; background: linear-gradient(to bottom, var(--accent), transparent); animation: scrollAnim 2s ease-in-out infinite; }
@keyframes scrollAnim { 0%{transform:scaleY(0);transform-origin:top} 50%{transform:scaleY(1);transform-origin:top} 51%{transform-origin:bottom} 100%{transform:scaleY(0);transform-origin:bottom} }

/* ========== SECTIONS ========== */
section { padding: 140px 0; }
.section-header { text-align: center; margin-bottom: 80px; }
.section-label {
  display: inline-flex; align-items: center; gap: 16px;
  font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 4px;
  color: var(--accent); margin-bottom: 20px;
}
.section-label::before, .section-label::after {
  content: ''; width: 48px; height: 0.5px; background: var(--accent); opacity: 0.4;
}
.section-title { font-size: 3.2rem; margin-bottom: 20px; }
.section-title .accent { color: var(--accent); font-style: italic; }
.section-subtitle { font-size: 1.02rem; color: var(--text-light); max-width: 560px; margin: 0 auto; line-height: 1.85; font-weight: 400; letter-spacing: 0.005em; }

/* ========== PAGE HERO (subpages) ========== */
.page-hero {
  position: relative; padding: 200px 0 120px; overflow: hidden; background: var(--dark);
}
.page-hero-bg { position: absolute; inset: 0; z-index: 1; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.15; filter: saturate(0.6); }
.page-hero-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(160deg, rgba(26,46,56,0.97), rgba(26,46,56,0.75) 50%, rgba(90,143,160,0.08));
}
.page-hero-content { position: relative; z-index: 3; text-align: center; }
.page-hero-breadcrumb {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.75rem; font-weight: 500; text-transform: uppercase; letter-spacing: 2px;
  color: rgba(255,255,255,0.4); margin-bottom: 24px;
}
.page-hero-breadcrumb a { color: var(--accent-light); }
.page-hero-breadcrumb a:hover { color: var(--accent-muted); }
.page-hero-breadcrumb .sep { color: rgba(255,255,255,0.2); }
.page-hero h1 { font-size: 4rem; color: var(--white); margin-bottom: 20px; }
.page-hero h1 .accent { color: var(--accent-light); font-style: italic; }
.page-hero p { font-size: 1.1rem; color: rgba(255,255,255,0.45); max-width: 560px; margin: 0 auto; font-weight: 400; line-height: 1.85; letter-spacing: 0.005em; }

/* ========== ABOUT ========== */
.about { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.about-image { position: relative; }
.about-image-main { border-radius: 0; overflow: hidden; box-shadow: var(--shadow-lg); position: relative; }
.about-image-main img {   transition: transform 1s var(--ease-luxury), filter 0.6s ease; filter: saturate(0.7) brightness(0.92); }
.about-image-main:hover img { transform: scale(1.04); filter: saturate(1) brightness(1); }
.about-image-badge {
  position: absolute; bottom: -30px; right: -30px; z-index: 5;
  background: var(--accent);
  color: var(--white); padding: 28px 36px; border-radius: 0;
  text-align: center; box-shadow: var(--shadow-accent);
}
.about-image-badge .number { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 3rem; font-weight: 800; line-height: 1; }
.about-image-badge .label { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 2px; margin-top: 6px; opacity: 0.85; }
.about-image-float {
  position: absolute; top: -40px; left: -40px; width: 200px; height: 200px;
  border-radius: 0; overflow: hidden; box-shadow: var(--shadow);
  border: 4px solid var(--white); z-index: 5;
}
.about-image-float img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.7) brightness(0.92); transition: filter 0.6s ease; }
.about-image-float:hover img { filter: saturate(1) brightness(1); }

.about-content .section-label { justify-content: flex-start; }
.about-content .section-label::before { display: none; }
.about-content .section-title { text-align: left; font-size: 2.8rem; }
.about-content > p { color: var(--text-light); margin-bottom: 20px; font-size: 0.98rem; line-height: 1.9; letter-spacing: 0.005em; }

.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.about-feature {
  display: flex; align-items: center; gap: 14px; padding: 18px 22px;
  background: var(--bg-light); border-radius: 0;
  transition: var(--transition); border: 1px solid transparent;
}
.about-feature:hover { background: var(--white); border-color: rgba(90,143,160,0.15); transform: translateX(6px); box-shadow: var(--shadow-sm); }
.about-feature-icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(90,143,160,0.25);
  transition: var(--transition);
}
.about-feature:hover .about-feature-icon { background: var(--accent-dark); transform: scale(1.08); }
.about-feature-icon svg { width: 18px; height: 18px; color: var(--white); }
.about-feature span { font-size: 0.86rem; font-weight: 600; color: var(--dark); letter-spacing: -0.005em; }

/* ========== STATS BAR ========== */
.stats-bar { background: var(--dark); padding: 80px 0; position: relative; overflow: hidden; }
.stats-bar::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px; background: radial-gradient(circle, rgba(90,143,160,0.08), transparent 70%); border-radius: 50%;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; position: relative; z-index: 2; }
.stat-item { text-align: center; }
.stat-number {
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 3.5rem; font-weight: 800; line-height: 1;
  background: linear-gradient(135deg, var(--accent-light), var(--accent-muted));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-divider { width: 40px; height: 1px; background: var(--accent); margin: 16px auto; opacity: 0.3; }
.stat-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 2.5px; color: rgba(255,255,255,0.35); font-weight: 500; font-variant-numeric: lining-nums tabular-nums; }

/* ========== SERVICES ========== */
.services { background: var(--bg-light); }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service-card {
  background: var(--white); border-radius: 0; overflow: hidden;
  transition: var(--transition); box-shadow: var(--shadow-sm);
  border: 1px solid rgba(26,46,56,0.04); position: relative;
}
.service-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 3px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform 0.6s var(--ease-out); z-index: 3;
}
.service-card:hover::after { transform: scaleX(1); }
.service-card:hover { transform: translateY(-12px); box-shadow: var(--shadow-lg); border-color: rgba(90,143,160,0.1); }
.service-card-image { height: 220px; overflow: hidden; position: relative; }
.service-card-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s var(--ease-luxury), filter 0.6s ease;
  filter: saturate(0.7) brightness(0.92);
}
.service-card:hover .service-card-image img { transform: scale(1.1); filter: saturate(1) brightness(1); }
.service-card-image::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: rgba(26,46,56,0.15);
  transition: opacity 0.6s ease;
  pointer-events: none;
}
.service-card:hover .service-card-image::before { opacity: 0; }
.service-card-image::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,46,56,0.7) 0%, transparent 60%);
  transition: opacity 0.6s ease;
}
.service-card:hover .service-card-image::after { opacity: 0.3; }
.service-card-number {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.9rem; color: rgba(255,255,255,0.3); font-weight: 700;
}
.service-card-body { padding: 32px 28px; }
.service-card-icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; box-shadow: 0 6px 20px rgba(90,143,160,0.25);
  transition: var(--transition);
}
.service-card:hover .service-card-icon { background: var(--accent-dark); transform: scale(1.1) rotate(5deg); }
.service-card-icon svg { width: 22px; height: 22px; color: var(--white); }
.service-card-body h3 { font-size: 1.05rem; margin-bottom: 12px; font-family: 'Inter', sans-serif; font-weight: 700; letter-spacing: -0.01em; }
.service-card-body p {
  font-size: 0.875rem; color: var(--text-light); line-height: 1.75;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.service-card-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 16px;
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--accent); transition: var(--transition-fast);
}
.service-card-link svg { width: 14px; height: 14px; transition: transform 0.4s var(--ease-out); }
.service-card-link:hover { color: var(--accent-dark); }
.service-card-link:hover svg { transform: translateX(6px); }

/* ========== SERVICE DETAIL (Servizi page) ========== */
.service-detail { padding: 100px 0; position: relative; overflow: hidden; }
.service-detail:nth-child(even) { background: var(--bg-light); }
.service-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.service-detail:nth-child(even) .service-detail-grid { direction: rtl; }
.service-detail:nth-child(even) .service-detail-grid > * { direction: ltr; }
.service-detail-image { position: relative; border-radius: 0; overflow: hidden; }
.service-detail-image img {
  width: 100%; height: 450px; object-fit: cover; border-radius: 0;
  transition: transform 1s var(--ease-luxury), filter 0.6s ease;
  filter: saturate(0.7) brightness(0.92);
}
.service-detail-image:hover img { transform: scale(1.04); filter: saturate(1) brightness(1); }
.service-detail-image::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: rgba(26,46,56,0.15);
  transition: opacity 0.6s ease;
  pointer-events: none;
}
.service-detail-image:hover::before { opacity: 0; }
.service-detail-image::after {
  content: ''; position: absolute; inset: 0; border-radius: 0;
  box-shadow: inset 0 0 0 1px rgba(90,143,160,0.1);
}
.service-detail-number {
  position: absolute; top: 24px; left: 24px;
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 4rem; font-weight: 800;
  color: rgba(255,255,255,0.12); line-height: 1; z-index: 2;
}
.service-detail-content .section-label { justify-content: flex-start; }
.service-detail-content .section-label::before { display: none; }
.service-detail-content h2 { font-size: 2.4rem; margin-bottom: 24px; }
.service-detail-content p { color: var(--text-light); font-size: 1rem; line-height: 1.9; margin-bottom: 20px; letter-spacing: 0.005em; }
.service-detail-features { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; }
.service-detail-feature {
  display: flex; align-items: center; gap: 14px; padding: 14px 20px;
  background: var(--bg-light); border-radius: 0; transition: var(--transition);
}
.service-detail:nth-child(even) .service-detail-feature { background: var(--white); }
.service-detail-feature:hover { transform: translateX(8px); background: rgba(90,143,160,0.05); }
.service-detail-feature-dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
  background: var(--accent);
  transition: var(--transition);
}
.service-detail-feature:hover .service-detail-feature-dot { transform: scale(1.5); background: var(--accent-dark); }
.service-detail-feature span { font-size: 0.9rem; font-weight: 500; color: var(--dark); }

/* ========== GALLERY / SHOWCASE ========== */
.showcase { background: var(--dark); padding: 140px 0; position: relative; overflow: hidden; }
.showcase::before {
  content: ''; position: absolute; top: -300px; right: -300px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(90,143,160,0.05), transparent 70%); border-radius: 50%;
}
.showcase .section-title { color: var(--white); }
.showcase .section-subtitle { color: rgba(255,255,255,0.35); }
.showcase-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.showcase-item { border-radius: 0; overflow: hidden; position: relative; height: 380px; cursor: pointer; }
.showcase-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-luxury), filter 0.6s ease; filter: saturate(0.7) brightness(0.92); }
.showcase-item:hover img { transform: scale(1.12); filter: saturate(1) brightness(1); }
.showcase-item-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,46,56,0.9), transparent 60%);
  display: flex; align-items: flex-end; padding: 32px;
  opacity: 0; transition: opacity 0.6s var(--ease-luxury);
}
.showcase-item:hover .showcase-item-overlay { opacity: 1; }
.showcase-item-overlay h4 { color: var(--white); font-size: 0.95rem; font-family: 'Inter', sans-serif; font-weight: 600; letter-spacing: 0.01em; transform: translateY(10px); transition: transform 0.5s var(--ease-out); }
.showcase-item:hover .showcase-item-overlay h4 { transform: translateY(0); }

/* ========== CTA ========== */
.cta { position: relative; padding: 120px 0; overflow: hidden; }
.cta-bg { position: absolute; inset: 0; z-index: 1; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(135deg, rgba(59,105,120,0.94), rgba(45,84,102,0.97));
}
.cta-content { position: relative; z-index: 3; text-align: center; max-width: 650px; margin: 0 auto; }
.cta h2 { font-size: 3.2rem; color: var(--white); margin-bottom: 20px; }
.cta p { color: rgba(255,255,255,0.65); font-size: 1.05rem; margin-bottom: 48px; line-height: 1.85; font-weight: 400; letter-spacing: 0.005em; }

/* CTA Luxury Dark */
.cta-luxury { background: var(--dark); padding: 120px 0; position: relative; overflow: hidden; }
.cta-luxury::before {
  content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(90,143,160,0.06), transparent 60%); border-radius: 50%;
}
.cta-luxury-content { position: relative; z-index: 2; text-align: center; max-width: 700px; margin: 0 auto; }
.cta-luxury-icon {
  width: 80px; height: 80px; margin: 0 auto 32px; border-radius: 50%;
  background: rgba(90,143,160,0.1);
  border: 1px solid rgba(90,143,160,0.2);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.cta-luxury-icon:hover { background: rgba(90,143,160,0.18); transform: scale(1.08); }
.cta-luxury-icon svg { width: 32px; height: 32px; color: var(--accent-light); }
.cta-luxury h2 { font-size: 3rem; color: var(--white); margin-bottom: 20px; }
.cta-luxury h2 .accent { color: var(--accent-light); font-style: italic; }
.cta-luxury p { color: rgba(255,255,255,0.4); font-size: 1.05rem; margin-bottom: 48px; max-width: 540px; margin-left: auto; margin-right: auto; line-height: 1.85; font-weight: 400; letter-spacing: 0.005em; }
.cta-luxury-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* CTA Strip */
.cta-strip { background: var(--accent); padding: 60px 0; text-align: center; position: relative; overflow: hidden; }
.cta-strip::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
}
.cta-strip h3 { font-size: 1.8rem; color: var(--white); margin-bottom: 8px; position: relative; z-index: 2; }
.cta-strip p { color: rgba(255,255,255,0.75); font-size: 1rem; margin-bottom: 32px; font-weight: 300; position: relative; z-index: 2; }
.cta-strip .btn { position: relative; z-index: 2; }

/* ========== VALUES (Chi Siamo) ========== */
.values { background: var(--bg-warm); }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.value-card {
  background: var(--white); padding: 48px 36px; border-radius: 0;
  text-align: center; transition: var(--transition); box-shadow: var(--shadow-sm);
  border: 1px solid rgba(26,46,56,0.04); position: relative; overflow: hidden;
}
.value-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease-out);
}
.value-card:hover::before { transform: scaleX(1); }
.value-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.value-card-icon {
  width: 72px; height: 72px; margin: 0 auto 24px; border-radius: 50%;
  background: rgba(90,143,160,0.08);
  border: 1px solid rgba(90,143,160,0.12);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.value-card:hover .value-card-icon { background: var(--accent); border-color: var(--accent); }
.value-card-icon svg { width: 28px; height: 28px; color: var(--accent); transition: var(--transition); }
.value-card:hover .value-card-icon svg { color: var(--white); }
.value-card h3 { font-size: 1.15rem; margin-bottom: 14px; font-family: 'Inter', sans-serif; font-weight: 700; letter-spacing: -0.01em; }
.value-card p { font-size: 0.9rem; color: var(--text-light); line-height: 1.8; }

/* ========== TIMELINE (Chi Siamo) ========== */
.timeline { background: var(--white); }
.timeline-track { position: relative; max-width: 800px; margin: 0 auto; }
.timeline-track::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 1px; height: 100%; background: linear-gradient(to bottom, var(--accent), rgba(90,143,160,0.1));
}
.timeline-item { display: flex; align-items: center; gap: 60px; padding: 40px 0; position: relative; }
.timeline-item:nth-child(even) { flex-direction: row-reverse; text-align: right; }
.timeline-dot {
  position: absolute; left: 50%; transform: translateX(-50%);
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent); border: 3px solid var(--white);
  box-shadow: 0 0 0 4px rgba(90,143,160,0.15); z-index: 2;
}
.timeline-content { flex: 1; padding: 24px; }
.timeline-year { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 2rem; font-weight: 800; color: var(--accent); margin-bottom: 8px; }
.timeline-content h3 { font-family: 'Inter', sans-serif; font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 10px; }
.timeline-content p { font-size: 0.9rem; color: var(--text-light); line-height: 1.8; }

/* ========== TEAM BANNER (Chi Siamo — group photo) ========== */
.team-banner {
  position: relative; min-height: 520px; display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.team-banner-bg { position: absolute; inset: 0; z-index: 1; }
.team-banner-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 30%;
  transition: transform 16s ease; filter: saturate(0.8);
}
.team-banner:hover .team-banner-bg img { transform: scale(1.06); }
.team-banner-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(180deg, rgba(26,46,56,0.75) 0%, rgba(26,46,56,0.5) 40%, rgba(26,46,56,0.8) 100%);
}
.team-banner-content {
  position: relative; z-index: 3; text-align: center;
  max-width: 640px; padding: 40px 32px;
}
.team-banner-content .section-label {
  color: var(--accent-light); margin-bottom: 16px; justify-content: center;
}
.team-banner-content .section-label::before,
.team-banner-content .section-label::after { background: var(--accent-light); opacity: 0.3; }
.team-banner-content h2 {
  font-size: 3rem; color: var(--white); margin-bottom: 16px; line-height: 1.1;
}
.team-banner-content h2 .accent { color: var(--accent-light); font-style: italic; }
.team-banner-content p {
  font-size: 1.05rem; color: rgba(255,255,255,0.55); line-height: 1.8; font-weight: 300;
}

/* ========== TEAM (Chi Siamo) ========== */
.team { background: var(--bg-light); }

/* Team section sub-labels */
.team-section-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 32px;
  margin-top: 64px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(90,143,160,0.12);
  position: relative;
}
.team-section-label::after {
  content: ''; position: absolute; bottom: -1px; left: 0; width: 60px; height: 2px;
  background: var(--accent);
}
.team-section-label:first-of-type { margin-top: 0; }

/* Team grid — uniform 3 columns */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 16px; }
.team-grid-3 { grid-template-columns: repeat(3, 1fr); }

/* Team card — ALL same size, no exceptions */
.team-card {
  background: var(--white); border-radius: 0; overflow: hidden;
  transition: var(--transition); box-shadow: var(--shadow-sm);
  border: 1px solid rgba(26,46,56,0.04);
  display: flex; flex-direction: column;
  position: relative;
}
.team-card::before {
  content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 3px;
  background: var(--accent); z-index: 10;
  transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease-out);
}
.team-card:hover::before { transform: scaleX(1); }
.team-card::after {
  content: ''; position: absolute; inset: 0;
  box-shadow: inset 0 0 0 1px rgba(90,143,160,0.15);
  opacity: 0; transition: opacity 0.5s ease; pointer-events: none; z-index: 5;
}
.team-card:hover::after { opacity: 1; }
.team-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }

.team-card-image {
  aspect-ratio: 3 / 4; overflow: hidden; position: relative; background: var(--bg-card);
  flex-shrink: 0;
}
.team-card-image img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 15%;
  transition: transform 1s var(--ease-luxury), filter 0.6s ease;
  filter: saturate(0.7) brightness(0.92);
}
.team-card:hover .team-card-image img { transform: scale(1.08); filter: saturate(1) brightness(1); }

/* Overlay on hover */
.team-card-image::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,46,56,0.3) 0%, transparent 40%);
  opacity: 0; transition: opacity 0.5s ease;
}
.team-card:hover .team-card-image::after { opacity: 1; }

.team-card-body {
  padding: 24px 22px; text-align: center;
  flex-grow: 1; display: flex; flex-direction: column; justify-content: center;
}
.team-card-body h3 {
  font-size: 0.95rem; margin-bottom: 6px; font-family: 'Inter', sans-serif; font-weight: 700; letter-spacing: -0.01em;
  transition: color 0.3s ease;
}
.team-card:hover .team-card-body h3 { color: var(--accent-dark); }
.team-card-body .role {
  display: block; font-size: 0.68rem; color: var(--accent); text-transform: uppercase;
  letter-spacing: 1.5px; font-weight: 600;
}
.team-card-body p {
  font-size: 0.82rem; color: var(--text-light); margin-top: 12px; line-height: 1.7;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}

/* ========== REVIEWS / RECENSIONI ========== */
.reviews { background: var(--bg-light); position: relative; overflow: hidden; }
.reviews::before {
  content: ''; position: absolute; bottom: -200px; left: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(90,143,160,0.06), transparent 70%); border-radius: 50%;
}

.reviews-carousel-wrapper { position: relative; }
.reviews-carousel {
  display: flex; gap: 24px;
  overflow-x: hidden; scroll-behavior: smooth;
  padding: 8px 0 8px;
  -ms-overflow-style: none; scrollbar-width: none;
}
.reviews-carousel::-webkit-scrollbar { display: none; }
@media (max-width: 768px) {
  .reviews-carousel {
    overflow-x: auto; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .reviews-carousel .review-card { scroll-snap-align: center; }
}

.review-card {
  flex: 0 0 calc(33.333% - 16px);
  background: var(--white);
  padding: 40px 32px 32px;
  border-radius: 0;
  border: 1px solid rgba(26,46,56,0.04);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.review-card::before {
  content: '\201C'; position: absolute; top: 12px; right: 24px;
  font-family: 'Plus Jakarta Sans', serif;
  font-size: 6rem; line-height: 1; color: rgba(90,143,160,0.06);
  font-weight: 800; pointer-events: none;
}
.review-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 3px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease-out);
}
.review-card:hover::after { transform: scaleX(1); }
.review-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: rgba(90,143,160,0.1); }

.review-stars {
  color: #d4a853; font-size: 1.1rem; letter-spacing: 2px; margin-bottom: 20px;
}

.review-text {
  font-size: 0.92rem; color: var(--text-light); line-height: 1.85;
  font-style: italic; margin-bottom: 28px;
  font-weight: 400; letter-spacing: 0.005em;
}

.review-author { display: flex; align-items: center; gap: 14px; }
.review-author-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.5px;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(90,143,160,0.25);
  transition: var(--transition);
}
.review-card:hover .review-author-avatar { background: var(--accent-dark); transform: scale(1.08); }
.review-author-name {
  font-family: 'Inter', sans-serif; font-size: 0.88rem; font-weight: 700;
  color: var(--dark); letter-spacing: -0.01em;
}
.review-author-treatment {
  font-size: 0.72rem; font-weight: 500; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--accent); margin-top: 2px;
}

/* Reviews Controls */
.reviews-controls {
  display: flex; align-items: center; justify-content: center;
  gap: 20px; margin-top: 48px;
}
.reviews-btn {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--white); border: 1px solid rgba(26,46,56,0.08);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.reviews-btn:hover { background: var(--accent); border-color: var(--accent); box-shadow: var(--shadow-accent); }
.reviews-btn svg { width: 18px; height: 18px; color: var(--dark); transition: var(--transition-fast); }
.reviews-btn:hover svg { color: var(--white); }

.reviews-dots { display: flex; gap: 8px; }
.reviews-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(90,143,160,0.2);
  cursor: pointer; transition: var(--transition-fast);
  border: none; padding: 0;
}
.reviews-dot.active {
  background: var(--accent); width: 28px; border-radius: 100px;
}

/* Reviews Summary */
.reviews-summary {
  display: flex; align-items: center; justify-content: center;
  gap: 48px; margin-top: 64px; padding: 40px; background: var(--white);
  border: 1px solid rgba(26,46,56,0.04); box-shadow: var(--shadow-sm);
}
.reviews-summary-item { text-align: center; }
.reviews-summary-number {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2.4rem; font-weight: 800; color: var(--accent);
  line-height: 1;
}
.reviews-summary-number span { font-size: 1.2rem; font-weight: 500; color: var(--text-muted); }
.reviews-summary-label {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 2px;
  color: var(--text-muted); margin-top: 8px; font-weight: 500;
}
.reviews-summary-divider {
  width: 1px; height: 48px; background: rgba(26,46,56,0.08);
}

/* ========== CONTACT ========== */
.contact { background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-info-cards { display: flex; flex-direction: column; gap: 20px; }
.contact-card {
  display: flex; align-items: flex-start; gap: 20px; padding: 30px 28px;
  background: var(--bg-light); border-radius: 0; transition: var(--transition);
  border: 1px solid transparent;
}
.contact-card:hover { background: var(--white); box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: rgba(90,143,160,0.1); }
.contact-card-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  box-shadow: 0 6px 20px rgba(90,143,160,0.2);
  transition: var(--transition);
}
.contact-card:hover .contact-card-icon { background: var(--accent-dark); transform: scale(1.05); }
.contact-card-icon svg { width: 22px; height: 22px; color: var(--white); }
.contact-card h4 { font-family: 'Inter', sans-serif; font-size: 0.88rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 6px; }
.contact-card p, .contact-card a { font-size: 0.9rem; color: var(--text-light); line-height: 1.65; }
.contact-card a:hover { color: var(--accent); }
.contact-map { border-radius: 0; overflow: hidden; height: 100%; min-height: 440px; box-shadow: var(--shadow); }
.contact-map iframe { width: 100%; height: 100%; border: none; min-height: 440px; }

/* ========== FOOTER ========== */
.footer { background: var(--dark); color: rgba(255,255,255,0.5); padding: 100px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 60px; margin-bottom: 60px; }
.footer-brand .nav-logo-text { color: var(--white); font-size: 1.8rem; margin-bottom: 20px; display: block; }
.footer-brand .nav-logo-text em { color: var(--accent-light); }
.footer-brand p { font-size: 0.9rem; line-height: 1.85; max-width: 300px; }
.footer h4 {
  color: var(--white); font-family: 'Inter', sans-serif; font-size: 0.8rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 28px;
}
.footer-links li { margin-bottom: 14px; }
.footer-links a { font-size: 0.88rem; color: rgba(255,255,255,0.4); transition: var(--transition-fast); }
.footer-links a:hover { color: var(--accent-light); padding-left: 8px; }
.footer-hours li {
  display: flex; justify-content: space-between; padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04); font-size: 0.85rem;
}
.footer-hours li span:last-child { color: var(--accent-light); font-weight: 600; }
.footer-bottom {
  padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; justify-content: space-between; align-items: center; font-size: 0.78rem;
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 42px; height: 42px; border-radius: 0; border: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center; transition: var(--transition);
}
.footer-social a:hover { background: var(--accent); border-color: var(--accent); color: var(--white); }
.footer-social a svg { width: 16px; height: 16px; }



/* ========== SCROLL ANIMATIONS ========== */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease-luxury), transform 1s var(--ease-luxury); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity 1s var(--ease-luxury), transform 1s var(--ease-luxury); }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: opacity 1s var(--ease-luxury), transform 1s var(--ease-luxury); }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ========== LUXURY EXTRAS ========== */
/* Shimmer line below section headers */
.section-header::after {
  content: ''; display: block; width: 60px; height: 1px;
  background: var(--accent); margin: 24px auto 0; opacity: 0.3;
}

/* Selection color */
::selection { background: rgba(90,143,160,0.2); color: var(--dark); }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-light); }
::-webkit-scrollbar-thumb { background: var(--accent-muted); }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* Focus styles */
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .hero h1 { font-size: 3.2rem; }
  .page-hero h1 { font-size: 3rem; }
  .section-title { font-size: 2.5rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { display: none; }
  .about-grid { gap: 60px; }
  .about-image-float { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .service-detail-grid { gap: 40px; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .team-section-label { margin-top: 40px; }
  .team-banner { min-height: 400px; }
  .team-banner-content h2 { font-size: 2.4rem; }
  .showcase-grid { grid-template-columns: repeat(2, 1fr); }
  .review-card { flex: 0 0 calc(50% - 12px); }
}

@media (max-width: 768px) {
  section { padding: 80px 0; }
  .container { padding: 0 20px; }
  .nav-links, .nav-cta, .nav-phone { display: none; }
  .nav-toggle { display: flex; }

  /* --- Mobile menu fullscreen overlay fix --- */
  body.menu-open { overflow: hidden; }
  body.menu-open .navbar.scrolled {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: var(--dark) !important;
  }
  .nav-links.active {
    display: flex; flex-direction: column; position: fixed; inset: 0;
    background: var(--dark); align-items: center; justify-content: center; gap: 28px; z-index: 9999;
  }
  .nav-toggle.active { z-index: 10000; }
  .nav-toggle.active span { background: var(--white) !important; }
  .nav-links.active a { color: var(--white); font-size: 1.1rem; }
  .hero h1 { font-size: 2.5rem; }
  .hero-content { padding: 120px 0 80px; }
  .hero-desc { font-size: 1rem; }
  .page-hero { padding: 160px 0 80px; }
  .page-hero h1 { font-size: 2.4rem; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-image-main img { height: 350px; }
  .about-image-badge { position: relative; bottom: auto; right: auto; margin-top: 20px; display: inline-block; }
  .services-grid { grid-template-columns: 1fr; }
  .showcase-grid { grid-template-columns: 1fr; gap: 2px; }
  .showcase-item { height: 250px; }
  .service-detail-grid { grid-template-columns: 1fr; }
  .service-detail:nth-child(even) .service-detail-grid { direction: ltr; }
  .service-detail-image img { height: 300px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .team-grid-3 { grid-template-columns: 1fr; }
  .team-section-label { margin-top: 40px; }
  .team-banner { min-height: 340px; }
  .team-banner-content h2 { font-size: 2rem; }
  .timeline-item, .timeline-item:nth-child(even) { flex-direction: column; text-align: center; gap: 20px; }
  .timeline-track::before { display: none; }
  .timeline-dot { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 2rem; }
  .cta h2, .cta-luxury h2 { font-size: 2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .hero-buttons, .cta-luxury-buttons { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
  .review-card { flex: 0 0 85%; }
  .review-card { padding: 32px 24px 24px; }
  .reviews-controls { display: none; }
  .reviews-summary { flex-direction: column; gap: 24px; padding: 32px 20px; }
  .reviews-summary-divider { width: 48px; height: 1px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.9rem; }
  .page-hero h1 { font-size: 1.8rem; }
  .about-features { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; gap: 32px; }
  .stat-number { font-size: 2.5rem; }
  .reviews-summary-number { font-size: 1.8rem; }
}

