/* ============================================
   SANTINI DELIVERY SOLUTIONS — GLOBAL STYLES
   Brand palette extracted from official logo
   ============================================ */

:root {
  /* Primary brand colors */
  --navy: #0f2d5c;
  --navy-deep: #0a2048;
  --navy-soft: #1a3d75;
  --gold: #c9a66b;
  --gold-light: #dcc08a;
  --gold-dark: #a8864a;
  --cream: #f5f1e8;
  --cream-warm: #ede7d8;
  --white: #ffffff;
  --ink: #1a1a1a;
  --muted: #5a5a5a;
  --muted-light: #8a8a8a;
  --border: #e0d9c6;
  --success: #10b981;
  --danger: #dc2626;

  /* Spacing scale */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-6: 24px;
  --sp-8: 32px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;
  --sp-24: 96px;

  /* Radius */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-full: 999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(15, 45, 92, 0.08);
  --shadow-md: 0 10px 30px -10px rgba(15, 45, 92, 0.15);
  --shadow-lg: 0 30px 60px -25px rgba(15, 45, 92, 0.2);
  --shadow-xl: 0 30px 60px -20px rgba(15, 45, 92, 0.35);
}

/* ============================================ RESET */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4 { font-family: 'Playfair Display', Georgia, serif; line-height: 1.15; letter-spacing: -0.01em; color: var(--navy); font-weight: 700; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ============================================ LOGO (Real Image) */
.logo-link { display: flex; align-items: center; gap: 12px; flex-shrink: 0; text-decoration: none; }
.nav-icon { height: 44px; width: auto; transition: transform 0.2s; }
.logo-link:hover .nav-icon { transform: scale(1.05); }
.footer-icon { height: 48px; width: auto; filter: brightness(1.2); }
.logo-text { line-height: 1.1; }
.logo-name { font-family: 'Inter', sans-serif; font-weight: 800; font-size: 20px; color: var(--navy); letter-spacing: 0.04em; }
.logo-sub { font-family: 'Inter', sans-serif; font-weight: 500; font-size: 11px; color: var(--muted); letter-spacing: 0.06em; }
footer .logo-name { color: var(--cream); }
footer .logo-sub { color: var(--gold-light); }

/* ============================================ ANIMATIONS (Marketing Campaign) */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(32px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Animate sections on load */
.hero-badge { animation: fadeIn 0.6s ease-out 0.2s both; }
.hero h1 { animation: fadeInUp 0.7s ease-out 0.3s both; }
.hero-sub { animation: fadeInUp 0.7s ease-out 0.45s both; }
.hero-cta { animation: fadeInUp 0.7s ease-out 0.6s both; }
.hero-trust { animation: fadeIn 0.6s ease-out 0.8s both; }
.hero-visual { animation: slideInRight 0.8s ease-out 0.4s both; }
.page-header .hero-badge { animation: fadeIn 0.5s ease-out 0.1s both; }
.page-header h1 { animation: fadeInUp 0.6s ease-out 0.2s both; }
.page-header p { animation: fadeInUp 0.6s ease-out 0.35s both; }

/* ============================================ NAV */
nav.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(245, 241, 232, 0.92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; max-width: 1200px; margin: 0 auto; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { font-size: 14px; color: var(--navy); font-weight: 500; transition: color 0.2s; position: relative; }
.nav-links a:hover { color: var(--gold-dark); }
.nav-links a.active { color: var(--gold-dark); }
.nav-links a.active::after {
  content: ''; position: absolute; bottom: -8px; left: 0; right: 0;
  height: 2px; background: var(--gold-dark); border-radius: 1px;
}
.nav-mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-mobile-toggle svg { width: 24px; height: 24px; fill: var(--navy); }

/* ============================================ BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; border-radius: var(--r-full); font-weight: 600; font-size: 14px;
  transition: all 0.2s; cursor: pointer; border: none; white-space: nowrap;
  font-family: inherit;
}
.btn-primary { background: var(--navy); color: var(--cream); }
.btn-primary:hover { background: var(--navy-deep); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(15, 45, 92, 0.25); }
.btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: var(--navy); font-weight: 700; }
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(201, 166, 107, 0.4); }
.btn-secondary { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.btn-secondary:hover { background: var(--navy); color: var(--cream); }
.btn-large { padding: 16px 32px; font-size: 15px; }

/* ============================================ HERO */
.hero { position: relative; padding: 80px 0 100px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 700px 400px at 90% 10%, rgba(201, 166, 107, 0.2), transparent),
    radial-gradient(ellipse 600px 400px at 10% 90%, rgba(15, 45, 92, 0.06), transparent);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; border-radius: var(--r-full);
  background: var(--white); border: 1px solid var(--gold);
  color: var(--navy); font-size: 13px; font-weight: 600; margin-bottom: 24px;
}
.hero-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-dark); }
.hero h1 { font-size: clamp(36px, 5.5vw, 64px); margin-bottom: 24px; }
.hero h1 em { font-style: italic; color: var(--gold-dark); }
.hero-sub { font-size: 18px; color: var(--muted); margin-bottom: 36px; max-width: 540px; }
.hero-cta { display: flex; gap: 14px; margin-bottom: 40px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 28px; align-items: center; color: var(--muted); font-size: 13px; flex-wrap: wrap; }
.hero-trust-item { display: flex; align-items: center; gap: 8px; }
.check { color: var(--gold-dark); font-weight: 700; }

.hero-visual {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--navy), var(--navy-deep));
  display: grid; place-items: center;
  box-shadow: var(--shadow-xl);
}
.hero-visual::before {
  content: ''; position: absolute; top: -60px; right: -60px;
  width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 166, 107, 0.4), transparent 70%);
}
.hero-visual::after {
  content: ''; position: absolute; inset: 20px;
  border: 1px solid rgba(201, 166, 107, 0.2); border-radius: 16px; pointer-events: none;
}
.hero-visual-inner { text-align: center; padding: 40px; position: relative; z-index: 1; color: var(--cream); }
.hero-visual-icon { font-size: 90px; margin-bottom: 20px; filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3)); }
.hero-visual-inner p { color: var(--gold-light); font-size: 13px; opacity: 0.7; }
.hero-visual-quote {
  position: absolute; bottom: 24px; left: 24px; right: 24px;
  background: var(--cream); border-radius: var(--r-md);
  padding: 18px 20px; text-align: left;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}
.hero-visual-quote p { color: var(--navy); font-style: italic; font-size: 14px; margin-bottom: 8px; font-weight: 500; }
.hero-visual-quote small { color: var(--muted); font-size: 12px; }

/* ============================================ INTERNAL PAGE HEADER */
.page-header {
  padding: 64px 0 48px; text-align: center;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-warm) 100%);
  border-bottom: 1px solid var(--border);
}
.page-header .hero-badge { margin-bottom: 20px; }
.page-header h1 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 16px; }
.page-header h1 em { font-style: italic; color: var(--gold-dark); }
.page-header p { color: var(--muted); font-size: 18px; max-width: 640px; margin: 0 auto; }

/* ============================================ LOGOS BAR */
.logos-bar { padding: 48px 0; background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.logos-label { text-align: center; color: var(--muted); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 28px; font-weight: 600; }
.logos-row { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 40px; align-items: center; }
.logo-item { font-family: 'Playfair Display', serif; font-size: 22px; color: var(--navy); font-weight: 600; letter-spacing: 0.02em; opacity: 0.6; transition: opacity 0.2s; }
.logo-item:hover { opacity: 1; }

/* ============================================ SECTION */
.section { padding: 100px 0; }
.section--warm { background: var(--cream-warm); }
.section--navy { background: var(--navy); color: var(--cream); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.section-head h2 { font-size: clamp(32px, 4vw, 44px); margin-bottom: 16px; }
.section-head h2 em { font-style: italic; color: var(--gold-dark); }
.section-head p { color: var(--muted); font-size: 17px; }
.section--navy .section-head h2 { color: var(--cream); }
.section--navy .section-head p { color: rgba(245, 241, 232, 0.8); }

/* ============================================ STATS */
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.stat-card {
  padding: 40px 32px; background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-lg); position: relative; overflow: hidden; transition: all 0.3s;
}
.stat-card:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: var(--shadow-md); }
.stat-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--gold));
}
.stat-icon {
  width: 52px; height: 52px; border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--cream-warm), var(--cream));
  display: grid; place-items: center; font-size: 26px; margin-bottom: 20px;
}
.stat-number {
  font-family: 'Playfair Display', serif; font-size: 56px; font-weight: 700;
  color: var(--gold); line-height: 1; margin-bottom: 12px;
}
.stat-number .suffix { color: var(--gold); }
.stat-label { font-size: 16px; font-weight: 700; margin-bottom: 6px; color: var(--navy); }
.stat-desc { font-size: 14px; color: var(--muted); }

/* ============================================ SERVICES GRID (4 COLUMNS) */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card {
  padding: 0; background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-md); transition: all 0.3s; overflow: hidden;
}
.service-card h3, .service-card p { padding: 0 24px; }
.service-card h3 { padding-top: 0; }
.service-card p { padding-bottom: 24px; }
.service-card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service-icon {
  width: 52px; height: 52px; border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  display: grid; place-items: center; font-size: 24px; margin-bottom: 20px;
}
.service-card-img {
  width: 100%; height: 160px; border-radius: var(--r-sm); overflow: hidden; margin-bottom: 20px;
}
.service-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.service-card:hover .service-card-img img { transform: scale(1.08); }
.service-card h3 { font-family: 'Inter', sans-serif; font-size: 18px; font-weight: 700; margin-bottom: 8px; color: var(--navy); }
.service-card p { color: var(--muted); font-size: 14px; line-height: 1.6; }

/* Expanded service card (services page) */
.service-detailed {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px;
  padding: 48px; background: var(--white);
  border: 1px solid var(--border); border-radius: var(--r-xl);
  margin-bottom: 24px; align-items: center;
}
.service-detailed:nth-child(even) { direction: rtl; }
.service-detailed:nth-child(even) > * { direction: ltr; }
.service-detailed-visual {
  aspect-ratio: 1; border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--navy), var(--navy-deep));
  display: grid; place-items: center; font-size: 100px;
  box-shadow: var(--shadow-md);
  overflow: hidden; padding: 0;
}
.service-detailed-visual img {
  width: 100%; height: 100%; object-fit: cover;
}
.service-detailed h3 { font-size: 32px; margin-bottom: 12px; }
.service-detailed .tag { display: inline-block; padding: 4px 12px; background: var(--cream-warm); color: var(--gold-dark); border-radius: var(--r-full); font-size: 12px; font-weight: 600; margin-bottom: 16px; }
.service-detailed p { color: var(--muted); font-size: 16px; margin-bottom: 20px; }
.service-detailed ul { list-style: none; margin: 20px 0; }
.service-detailed ul li { padding: 8px 0; color: var(--ink); font-size: 15px; display: flex; gap: 10px; align-items: flex-start; }
.service-detailed ul li::before { content: '✓'; color: var(--gold-dark); font-weight: 700; flex-shrink: 0; }

/* ============================================ STORY */
.story-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.story-visual {
  aspect-ratio: 1; border-radius: var(--r-xl); position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--navy), var(--navy-deep));
  display: grid; place-items: center;
  box-shadow: var(--shadow-xl);
}
.story-visual::before {
  content: ''; position: absolute; inset: 24px;
  border: 2px dashed rgba(201, 166, 107, 0.4); border-radius: var(--r-md);
}
.story-visual-inner { text-align: center; position: relative; z-index: 1; color: var(--cream); }
.story-visual-inner .big { font-size: 110px; font-family: 'Playfair Display', serif; font-weight: 700; color: var(--gold-light); line-height: 1; }
.story-visual-inner .label { color: var(--cream); font-size: 13px; letter-spacing: 0.15em; text-transform: uppercase; margin-top: 16px; opacity: 0.8; }
.story-content h2 { font-size: clamp(32px, 4vw, 44px); margin-bottom: 20px; }
.story-content h2 em { color: var(--gold-dark); font-style: italic; }
.story-content p { color: var(--muted); font-size: 17px; margin-bottom: 20px; }
.story-bullets { list-style: none; margin: 28px 0; }
.story-bullets li { display: flex; gap: 12px; margin-bottom: 14px; align-items: flex-start; color: var(--ink); }
.story-bullets li::before {
  content: '✓'; color: var(--gold-dark); font-weight: 700; flex-shrink: 0; margin-top: 2px;
  background: var(--cream-warm); width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; font-size: 12px;
}

/* ============================================ TESTIMONIAL */
.testimonial-section { padding: 100px 0; background: var(--navy); position: relative; overflow: hidden; }
.testimonial-section::before {
  content: '"'; position: absolute; top: -60px; left: 50%; transform: translateX(-50%);
  font-family: 'Playfair Display', serif; font-size: 400px; color: rgba(201, 166, 107, 0.08); line-height: 1;
}
.testimonial-inner { max-width: 820px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.testimonial-quote {
  font-family: 'Playfair Display', serif; font-style: italic;
  font-size: clamp(22px, 3vw, 32px); line-height: 1.4; color: var(--cream);
  margin-bottom: 32px;
}
.testimonial-author { display: flex; gap: 16px; align-items: center; justify-content: center; }
.avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: grid; place-items: center; font-weight: 700; color: var(--navy); font-size: 16px;
}
.author-info { text-align: left; }
.author-info strong { display: block; font-size: 15px; color: var(--cream); }
.author-info small { color: var(--gold-light); font-size: 13px; }

/* ============================================ CTA FINAL */
.cta-final { padding: 100px 0; background: var(--cream); }
.cta-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 56px 48px; display: grid;
  grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center;
  box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.cta-box::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--navy), var(--gold), var(--navy));
}
.cta-box h2 { font-size: clamp(28px, 3.5vw, 38px); margin-bottom: 16px; }
.cta-box > div > p { color: var(--muted); font-size: 16px; margin-bottom: 28px; }

/* ============================================ FORMS */
.form {
  display: flex; flex-direction: column; gap: 12px;
  background: var(--cream-warm); padding: 28px; border-radius: var(--r-lg);
}
.form--light { background: var(--white); border: 1px solid var(--border); }
.form label { font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: -6px; }
.form input, .form select, .form textarea {
  background: var(--white); border: 1px solid var(--border); color: var(--ink);
  padding: 13px 16px; border-radius: var(--r-sm); font-size: 14px; font-family: inherit;
  transition: all 0.2s; width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 166, 107, 0.15); }
.form textarea { resize: vertical; min-height: 80px; }
.form .sla { font-size: 12px; color: var(--muted); text-align: center; margin-top: 4px; }
.form-success {
  padding: 16px 20px; background: rgba(16, 185, 129, 0.1);
  border: 1px solid var(--success); color: var(--success);
  border-radius: var(--r-md); text-align: center; font-weight: 600;
  display: none;
}
.form-success.show { display: block; }

/* ============================================ CONTACT PAGE */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }
.contact-info-card {
  background: var(--navy); color: var(--cream); padding: 40px;
  border-radius: var(--r-xl); box-shadow: var(--shadow-lg);
}
.contact-info-card h3 { color: var(--cream); font-size: 28px; margin-bottom: 24px; }
.contact-info-item {
  display: flex; gap: 16px; padding: 16px 0;
  border-bottom: 1px solid rgba(201, 166, 107, 0.2);
}
.contact-info-item:last-of-type { border-bottom: none; }
.contact-icon {
  width: 52px; height: 52px; flex-shrink: 0; border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: grid; place-items: center; font-size: 22px;
  color: var(--navy);
}
.contact-icon svg { width: 26px; height: 26px; stroke: var(--navy); }
.contact-info-item strong { display: block; color: var(--gold-light); font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 4px; }
.contact-info-item a, .contact-info-item span { color: var(--cream); font-size: 16px; }
.contact-info-item a:hover { color: var(--gold-light); }
.social-links { display: flex; gap: 12px; margin-top: 24px; }
.social-links a {
  display: flex; align-items: center; gap: 10px;
  color: var(--gold-light); text-decoration: none;
  font-size: 14px; transition: color 0.2s;
  width: auto; height: auto; border-radius: 0; background: none;
}
.social-links a:hover { color: var(--gold); background: none; transform: none; }
.social-links a svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ============================================ VALUES (about page) */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card {
  padding: 36px 28px; background: var(--white);
  border: 1px solid var(--border); border-radius: var(--r-lg);
  text-align: center; transition: all 0.3s;
}
.value-card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.value-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  display: grid; place-items: center; font-size: 28px;
  margin: 0 auto 20px; overflow: hidden;
}
.value-icon img { border-radius: 50%; }
.value-card h3 { font-family: 'Inter', sans-serif; font-size: 19px; font-weight: 700; margin-bottom: 10px; color: var(--navy); }
.value-card p { color: var(--muted); font-size: 14px; }

/* ============================================ TIMELINE (about page) */
.timeline { position: relative; max-width: 760px; margin: 0 auto; }
.timeline::before {
  content: ''; position: absolute; left: 50%; top: 0; bottom: 0;
  width: 2px; background: var(--gold); transform: translateX(-50%);
}
.timeline-item {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 40px;
  margin-bottom: 48px; align-items: center;
}
.timeline-year {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--navy); color: var(--gold-light);
  display: grid; place-items: center; font-family: 'Playfair Display', serif;
  font-size: 20px; font-weight: 700; position: relative; z-index: 1;
  border: 4px solid var(--cream); box-shadow: var(--shadow-sm);
}
.timeline-content { padding: 24px; background: var(--white); border-radius: var(--r-md); border: 1px solid var(--border); }
.timeline-content h4 { font-family: 'Inter', sans-serif; font-size: 17px; color: var(--navy); margin-bottom: 6px; font-weight: 700; }
.timeline-content p { color: var(--muted); font-size: 14px; }
/* Odd items: content on RIGHT (default) */
.timeline-item:nth-child(odd) .timeline-spacer { order: 1; }
.timeline-item:nth-child(odd) .timeline-year { order: 2; }
.timeline-item:nth-child(odd) .timeline-content { order: 3; text-align: left; }
/* Even items: content on LEFT */
.timeline-item:nth-child(even) .timeline-content { order: 1; text-align: right; }
.timeline-item:nth-child(even) .timeline-year { order: 2; }
.timeline-item:nth-child(even) .timeline-spacer { order: 3; }

/* ============================================ FOOTER */
footer.site-footer { padding: 60px 0 32px; background: var(--navy); color: var(--cream); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand-link { display: block; margin-bottom: 16px; }
.footer-logo-img { height: auto; width: 100%; max-width: 320px; filter: brightness(1.6) contrast(1.1); transition: opacity 0.2s; }
.footer-logo-img:hover { opacity: 0.9; }

/* Footer icon+text logo (matches nav style) */
.footer-logo-link {
  display: flex !important;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  margin-bottom: 16px;
  transition: opacity 0.2s;
}
.footer-logo-link:hover { opacity: 0.85; }
.footer-nav-icon {
  height: 60px;
  width: auto;
  filter: brightness(1.1) drop-shadow(0 2px 6px rgba(0,0,0,0.25));
  flex-shrink: 0;
}
.footer-logo-text {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.footer-logo-name {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--cream);
  line-height: 1.1;
}
.footer-logo-sub {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  line-height: 1.2;
  margin-top: 2px;
}
.footer-brand p { color: rgba(245, 241, 232, 0.7); font-size: 14px; margin-top: 16px; max-width: 320px; }
footer h4 { font-family: 'Inter', sans-serif; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 16px; font-weight: 700; }
footer ul { list-style: none; }
footer ul li { margin-bottom: 10px; }
footer ul li a { color: rgba(245, 241, 232, 0.8); font-size: 14px; transition: color 0.2s; }
footer ul li a:hover { color: var(--gold-light); }
.footer-bottom {
  display: flex; justify-content: space-between; padding-top: 24px;
  border-top: 1px solid rgba(201, 166, 107, 0.2); color: rgba(245, 241, 232, 0.6); font-size: 13px;
  flex-wrap: wrap; gap: 12px;
}

/* ============================================ SCROLL REVEAL */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-36px); transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(36px); transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.reveal-scale { opacity: 0; transform: scale(0.92); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.reveal-scale.visible { opacity: 1; transform: scale(1); }

/* Stagger children */
.stagger > * { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease-out, transform 0.5s ease-out; }
.stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.stagger.visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger.visible > *:nth-child(3) { transition-delay: 0.2s; }
.stagger.visible > *:nth-child(4) { transition-delay: 0.3s; }
.stagger.visible > *:nth-child(5) { transition-delay: 0.4s; }
.stagger.visible > *:nth-child(6) { transition-delay: 0.5s; }
.stagger.visible > * { opacity: 1; transform: translateY(0); }

/* ============================================ ENHANCED MARKETING ELEMENTS */

/* Gold shimmer on CTA buttons */
.btn-gold {
  position: relative; overflow: hidden;
}
.btn-gold::after {
  content: ''; position: absolute; top: 0; left: -100%; width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s ease;
}
.btn-gold:hover::after { left: 120%; }

/* Gradient line above section headers */
.section-head h2::after {
  content: ''; display: block; width: 60px; height: 3px; margin: 16px auto 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  border-radius: 2px;
}
.story-content h2::after {
  content: ''; display: block; width: 60px; height: 3px; margin: 16px 0 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  border-radius: 2px;
}

/* Stats counter emphasis — 100% orange/gold */
.stat-number {
  color: var(--gold) !important;
  -webkit-text-fill-color: var(--gold);
}
.stat-number .suffix {
  color: var(--gold) !important;
  -webkit-text-fill-color: var(--gold);
}

/* Service card professional polish */
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--navy), var(--gold));
  opacity: 0; transition: opacity 0.3s;
}
.service-card { position: relative; overflow: hidden; }
.service-card:hover::before { opacity: 1; }

/* Testimonial section polish */
.testimonial-section::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light), var(--gold-dark));
}

/* Professional nav shadow on scroll (added via JS) */
nav.site-nav.scrolled {
  box-shadow: 0 4px 20px rgba(15, 45, 92, 0.12);
  border-bottom-color: transparent;
}

/* Hero visual floating animation */
.hero-visual-quote { animation: float 4s ease-in-out infinite; }

/* Value card icon pulse on hover */
.value-card:hover .value-icon { animation: pulse 0.6s ease-in-out; }

/* ============================================ FLOATING ACTION BUTTONS */
.fab-container {
  position: fixed;
  bottom: 28px;
  right: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 9999;
}
.fab {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(15, 45, 92, 0.3), 0 2px 4px rgba(0,0,0,0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: none;
  cursor: pointer;
}
.fab:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 24px rgba(15, 45, 92, 0.4), 0 3px 8px rgba(0,0,0,0.15);
}
.fab:active { transform: scale(1.04); }
.fab svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.fab--call {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
}
.fab--sms {
  background: linear-gradient(135deg, var(--navy), var(--navy-soft));
  color: var(--white);
}

/* Tooltip labels */
.fab-label {
  position: absolute;
  right: 68px;
  background: var(--navy);
  color: var(--cream);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(8px);
  transition: opacity 0.25s, transform 0.25s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.fab-label::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: var(--navy);
}
.fab:hover .fab-label {
  opacity: 1;
  transform: translateX(0);
}

/* Pulse animation on call button */
.fab--call::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--gold-light);
  animation: fab-pulse 2.5s ease-in-out infinite;
}
@keyframes fab-pulse {
  0%, 100% { opacity: 0; transform: scale(0.95); }
  50% { opacity: 0.6; transform: scale(1.1); }
}

/* ============================================ UTILITY */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }

/* ============================================ GLOBAL OVERFLOW SAFETY */
html, body { overflow-x: hidden; }
img, video, iframe { max-width: 100%; height: auto; }

/* ============================================ RESPONSIVE — TABLET (max 900px) */
@media (max-width: 900px) {
  .hero-grid, .story-grid, .cta-box, .service-detailed, .contact-grid { grid-template-columns: 1fr !important; gap: 40px; }
  .service-detailed:nth-child(even) { direction: ltr; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute;
    top: 100%; left: 0; right: 0; background: var(--cream);
    padding: 20px; border-bottom: 1px solid var(--border);
    gap: 16px; z-index: 999;
  }
  .nav-mobile-toggle { display: block; }
  .cta-box { padding: 40px 28px; }
  .timeline::before { left: 30px; }
  .timeline-item { grid-template-columns: 60px 1fr; gap: 24px; }
  .timeline-year { width: 60px; height: 60px; font-size: 16px; }
  .timeline-item:nth-child(even) .timeline-content { order: initial; text-align: left; }
  .timeline-item:nth-child(even) .timeline-year { order: initial; }
  .timeline-item:nth-child(even) .timeline-spacer { order: initial; }
  .timeline-item .timeline-spacer { display: none; }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* Service detail: limit image height on stack */
  .service-detailed-visual { aspect-ratio: 16/10; max-height: 320px; }
  .service-detailed { padding: 32px; }
  .service-detailed h3 { font-size: 26px; }

  /* Story visual: cap height */
  .story-visual { aspect-ratio: 16/10; max-height: 360px; }

  /* Hero visual: cap height */
  .hero-visual-inner { max-height: 360px; }

  /* Testimonial tighter */
  .testimonial-quote { font-size: 20px; }
}

/* ============================================ RESPONSIVE — MOBILE (max 600px) */
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .section { padding: 48px 0; }
  .hero { padding: 36px 0 48px; }
  h1 { font-size: clamp(28px, 7vw, 40px) !important; }
  .hero-sub { font-size: 15px; }
  .hero-cta { flex-direction: column; gap: 12px; }
  .hero-cta .btn { width: 100%; text-align: center; justify-content: center; }
  .hero-trust { flex-direction: column; gap: 8px; }
  .hero-badge { font-size: 12px; }

  /* Stats: 1 column */
  .stats-grid { grid-template-columns: 1fr; }
  .stat-card { padding: 28px 24px; }
  .stat-number { font-size: 44px; }

  /* Services: 1 column */
  .services-grid { grid-template-columns: 1fr; }
  .service-card-img { height: 200px; }

  /* Service detailed */
  .service-detailed { padding: 20px; margin-bottom: 16px; }
  .service-detailed-visual { aspect-ratio: 16/10; max-height: 240px; }
  .service-detailed h3 { font-size: 22px; }
  .service-detailed ul li { font-size: 14px; }

  /* Values: 1 column */
  .values-grid { grid-template-columns: 1fr; }

  /* Story */
  .story-visual { aspect-ratio: 16/10; max-height: 260px; }
  .story-content h2 { font-size: 28px; }
  .story-grid { gap: 32px; }

  /* CTA */
  .cta-box { padding: 28px 16px; }
  .cta-box h2 { font-size: 24px; }

  /* Testimonial */
  .testimonial-section { padding: 60px 0; }
  .testimonial-quote { font-size: 18px; padding: 0; }

  /* Timeline */
  .timeline-item { gap: 16px; }
  .timeline-content h4 { font-size: 16px; }
  .timeline-content p { font-size: 14px; }

  /* Contact */
  .contact-info-card { padding: 28px 20px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-logo-name { font-size: 22px; }
  .footer-nav-icon { height: 48px; }

  /* Logos bar */
  .logos-row { flex-wrap: wrap; gap: 16px; justify-content: center; }
  .logo-item { font-size: 15px; }

  /* Page header */
  .page-header { padding: 40px 0 48px; }
  .page-header p { font-size: 15px; }

  /* Buttons */
  .btn-large { padding: 14px 24px; font-size: 14px; }

  /* Section heads */
  .section-head { margin-bottom: 40px; }
  .section-head p { font-size: 15px; }

  /* FABs */
  .fab-container { bottom: 20px; right: 16px; gap: 12px; }
  .fab { width: 50px; height: 50px; }
  .fab svg { width: 22px; height: 22px; }
  .fab-label { display: none; }

  /* Form */
  .form input, .form select, .form textarea { font-size: 16px; } /* prevents iOS zoom */
}

/* ============================================ RESPONSIVE — SMALL MOBILE (max 380px) */
@media (max-width: 380px) {
  .container { padding: 0 12px; }
  .stat-number { font-size: 38px; }
  .hero-visual-quote { font-size: 13px; padding: 14px 16px; }
  .footer-logo-name { font-size: 20px; }
  .service-detailed { padding: 16px; }
  .cta-box { padding: 24px 12px; }
}
