/* ==========================================================================
   RINCON & PARTNER: LEGAL & CAPITAL
   Premium Law Firm Landing Page - Luxury Design System
   Mobile-First | Bilingual Ready | Executive Authority
   ========================================================================== */

/* ==================== CSS CUSTOM PROPERTIES ==================== */
:root {
  --mahogany: #3d2314;
  --mahogany-light: #5a3420;
  --mahogany-dark: #2a180e;
  --charcoal: #1a1a2e;
  --charcoal-light: #252540;
  --charcoal-lighter: #32325a;
  --gold: #D4AF37;
  --gold-light: #E8C84A;
  --gold-dark: #B8962E;
  --gold-muted: rgba(212, 175, 55, 0.15);
  --cream: #F5F0E8;
  --cream-warm: #EDE7DC;
  --white: #FFFFFF;
  --text-primary: #1A1A1A;
  --text-secondary: #4A4A4A;
  --text-muted: #7A7A7A;
  --text-light: rgba(255, 255, 255, 0.85);
  --text-dim: rgba(255, 255, 255, 0.5);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.12);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.18);
  --shadow-lg: 0 16px 50px rgba(0, 0, 0, 0.25);
  --shadow-xl: 0 24px 70px rgba(0, 0, 0, 0.30);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --header-height: 76px;
  --header-height-mobile: 68px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text-primary);
  background: var(--cream);
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-base);
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
}

ul, ol { list-style: none; }

/* ==================== CONTAINER ==================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 768px) {
  .container { padding: 0 40px; }
}

/* ==================== BUTTONS ==================== */
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 36px;
  background: var(--gold);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: var(--radius-xl);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.35);
  transition: all var(--transition-base);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-gold::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.25) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.45);
}

.btn-gold:hover::before {
  transform: translateX(100%);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: transparent;
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 1px;
  border: 1.5px solid rgba(212, 175, 55, 0.5);
  border-radius: var(--radius-xl);
  transition: all var(--transition-base);
  backdrop-filter: blur(4px);
}

.btn-outline:hover {
  background: rgba(212, 175, 55, 0.12);
  border-color: var(--gold);
}

.btn-consultation {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--gold);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.btn-consultation:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

/* ==================== SHIMMER EFFECT ==================== */
.shimmer-border {
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  overflow: hidden;
  pointer-events: none;
}

.shimmer-border::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.4), transparent);
  animation: shimmerSweep 3s ease-in-out infinite;
}

@keyframes shimmerSweep {
  0% { left: -100%; }
  100% { left: 200%; }
}

/* ==================== SECTION HEADERS ==================== */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header.light { color: var(--white); }

.section-label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--mahogany-light);
  margin-bottom: 12px;
}

.section-label.gold { color: var(--gold); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 5vw, 46px);
  font-weight: 600;
  color: var(--charcoal);
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-header.light .section-title { color: var(--white); }

.section-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.section-header.light .section-subtitle { color: var(--text-dim); }

/* ==================== HEADER ==================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height-mobile);
  background: rgba(26, 26, 46, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 1000;
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
  transition: all var(--transition-base);
}

.header.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  background: rgba(26, 26, 46, 0.98);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  font-size: 26px;
  color: var(--gold);
  line-height: 1;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: 0.5px;
}

.logo-tagline {
  font-family: var(--font-body);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
}

/* Main Navigation */
.main-nav {
  display: none;
  align-items: center;
  gap: 36px;
}

.main-nav a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.8);
  position: relative;
  padding: 4px 0;
  text-transform: uppercase;
  transition: color var(--transition-base);
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition-base);
}

.main-nav a:hover {
  color: var(--gold);
}

.main-nav a:hover::after {
  width: 100%;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Language Toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(212, 175, 55, 0.1);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(212, 175, 55, 0.2);
  transition: all var(--transition-base);
}

.lang-toggle:hover {
  background: rgba(212, 175, 55, 0.2);
}

.lang-flag {
  font-size: 16px;
  line-height: 1;
}

.lang-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.5px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ==================== MOBILE MENU ==================== */
.mobile-menu {
  position: fixed;
  top: var(--header-height-mobile);
  left: 0;
  right: 0;
  background: rgba(26, 26, 46, 0.98);
  backdrop-filter: blur(24px);
  z-index: 999;
  padding: 28px 20px;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-slow);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.mobile-menu.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 20px;
}

.mobile-menu nav a {
  padding: 16px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.mobile-menu nav a:hover {
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold);
}

.mobile-menu .btn-consultation.mobile {
  width: 100%;
  justify-content: center;
  padding: 16px;
  font-size: 14px;
}

/* ==================== HERO SECTION ==================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.8s ease-in-out;
  will-change: opacity;
}

.hero-slide.active { opacity: 1; }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(26, 26, 46, 0.4) 0%,
    rgba(26, 26, 46, 0.65) 50%,
    rgba(26, 26, 46, 0.85) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 760px;
  padding: 0 24px;
  animation: heroFadeIn 1.2s ease-out 0.3s both;
}

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 10px 28px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius-xl);
  margin-bottom: 28px;
  overflow: hidden;
}

.hero-badge span:not(.shimmer-border) {
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 600;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 7vw, 62px);
  font-weight: 600;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.3);
}

.hero-description {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.85;
  margin-bottom: 40px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}

.hero-dots {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 2;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: all var(--transition-base);
}

.dot.active {
  background: var(--gold);
  width: 32px;
  border-radius: 5px;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
  color: var(--text-dim);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

.scroll-mouse {
  width: 20px;
  height: 32px;
  border: 1.5px solid rgba(212, 175, 55, 0.35);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-wheel {
  width: 3px;
  height: 6px;
  background: var(--gold);
  border-radius: 2px;
  animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(6px); opacity: 0.3; }
}

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

/* ==================== SPECIALTIES SECTION ==================== */
.specialties {
  padding: 90px 0;
  background: var(--cream);
}

.specialties-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.specialty-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-slow);
  cursor: pointer;
  border: 1px solid rgba(61, 35, 20, 0.06);
}

.specialty-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(212, 175, 55, 0.25);
}

.specialty-image {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.specialty-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.specialty-card:hover .specialty-image img {
  transform: scale(1.08);
}

.specialty-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 46, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.specialty-card:hover .specialty-overlay {
  opacity: 1;
}

.btn-view {
  padding: 12px 28px;
  background: var(--white);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  transform: translateY(10px);
  transition: all var(--transition-base);
}

.specialty-card:hover .btn-view {
  transform: translateY(0);
}

.btn-view:hover {
  background: var(--gold);
  color: var(--charcoal);
}

.specialty-number {
  position: absolute;
  bottom: 16px;
  right: 16px;
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  color: rgba(212, 175, 55, 0.5);
  line-height: 1;
  pointer-events: none;
  transition: color var(--transition-base);
}

.specialty-card:hover .specialty-number {
  color: var(--gold);
}

.specialty-info {
  padding: 28px;
}

.specialty-info h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 10px;
  line-height: 1.3;
}

.specialty-info p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ==================== TRUST METRICS SECTION ==================== */
.trust-metrics {
  position: relative;
  padding: 90px 0;
  background: var(--charcoal);
  overflow: hidden;
}

.trust-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.trust-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.12;
  animation: orbFloat 10s ease-in-out infinite;
}

.orb-1 {
  width: 350px;
  height: 350px;
  background: var(--gold);
  top: -120px;
  left: -60px;
}

.orb-2 {
  width: 280px;
  height: 280px;
  background: var(--mahogany);
  bottom: -100px;
  right: -40px;
  animation-delay: -4s;
}

.orb-3 {
  width: 220px;
  height: 220px;
  background: var(--gold-light);
  top: 50%;
  left: 50%;
  animation-delay: -7s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.1); }
  66% { transform: translate(-30px, 20px) scale(0.95); }
}

/* Metrics Ribbon */
.metrics-ribbon {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 72px;
  position: relative;
  z-index: 1;
}

.metric-item {
  text-align: center;
  padding: 28px;
}

.metric-number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(44px, 8vw, 64px);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 10px;
}

.metric-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
}

.metric-divider {
  display: none;
  width: 1px;
  background: rgba(212, 175, 55, 0.2);
}

/* Testimonials */
.testimonials-section {
  position: relative;
  z-index: 1;
}

.testimonials-slider {
  position: relative;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  transition: transform var(--transition-slow);
}

.testimonial-card {
  flex: 0 0 100%;
  padding: 32px 24px;
  text-align: center;
}

.testimonial-stars {
  color: var(--gold);
  font-size: 20px;
  letter-spacing: 4px;
  margin-bottom: 20px;
}

.testimonial-text {
  font-family: var(--font-display);
  font-size: 18px;
  font-style: italic;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.8;
  margin-bottom: 24px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.testimonial-author strong {
  display: block;
  color: var(--white);
  font-weight: 600;
  margin-bottom: 4px;
  font-size: 15px;
}

.testimonial-author span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

/* Testimonials Navigation */
.testimonials-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}

.testimonial-prev,
.testimonial-next {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.testimonial-prev:hover,
.testimonial-next:hover {
  background: var(--gold);
  color: var(--charcoal);
}

.testimonials-dots {
  display: flex;
  gap: 8px;
}

.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all var(--transition-base);
}

.testimonial-dot.active {
  background: var(--gold);
  width: 24px;
  border-radius: 4px;
}

/* Google Reviews */
.google-reviews {
  text-align: center;
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.google-reviews > p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.google-links {
  display: flex;
  justify-content: center;
}

.google-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--radius-xl);
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  transition: all var(--transition-base);
}

.google-link:hover {
  background: rgba(212, 175, 55, 0.18);
  border-color: var(--gold);
}

/* ==================== ABOUT SECTION ==================== */
.about {
  padding: 90px 0;
  background: var(--cream);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

.about-image {
  position: relative;
  max-width: 420px;
  margin: 0 auto;
}

.about-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-image-frame {
  position: absolute;
  inset: -14px;
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  opacity: 0.3;
  pointer-events: none;
}

.about-badge {
  position: absolute;
  bottom: 24px;
  right: -16px;
  background: var(--charcoal);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  text-align: center;
  border: 1px solid rgba(212, 175, 55, 0.25);
}

.about-badge-icon {
  display: block;
  font-size: 24px;
  color: var(--gold);
  margin-bottom: 4px;
}

.about-badge-text {
  font-size: 10px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
}

.about-content .section-label {
  margin-bottom: 4px;
}

.about-content .section-title {
  margin-bottom: 4px;
}

.about-subtitle {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.about-divider {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin-bottom: 24px;
  border-radius: 2px;
}

.about-content p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 16px;
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 28px 0;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid rgba(61, 35, 20, 0.08);
  box-shadow: var(--shadow-sm);
}

.value-icon {
  font-size: 18px;
  color: var(--gold);
}

.value-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--charcoal);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.about-content .btn-gold {
  margin-top: 8px;
}

/* ==================== CONTACT SECTION ==================== */
.contact {
  padding: 90px 0;
  background: var(--cream-warm);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(61, 35, 20, 0.06);
}

.contact-icon {
  font-size: 36px;
  color: var(--gold);
  margin-bottom: 16px;
}

.contact-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 20px;
}

.contact-card p {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 14px;
  line-height: 1.6;
}

.contact-card p span:first-child {
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--gold);
}

.contact-card a {
  color: var(--mahogany-light);
  font-weight: 500;
}

.contact-card a:hover {
  color: var(--gold);
}

/* Urgency Card */
.contact-urgency {
  background: var(--charcoal);
  border-radius: var(--radius-lg);
  padding: 36px;
  text-align: center;
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.urgency-icon {
  font-size: 36px;
  color: var(--gold);
  margin-bottom: 12px;
}

.contact-urgency h4 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
}

.contact-urgency p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  margin-bottom: 24px;
}

/* Contact Form */
.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(61, 35, 20, 0.06);
}

.form-group {
  position: relative;
  margin-bottom: 20px;
}

.form-input {
  width: 100%;
  padding: 16px 18px;
  border: 1.5px solid rgba(61, 35, 20, 0.12);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-primary);
  background: var(--white);
  outline: none;
  transition: all var(--transition-base);
}

.form-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-input:not(:placeholder-shown) + .form-label,
.form-input:focus + .form-label {
  transform: translateY(-28px) scale(0.82);
  color: var(--gold);
  background: var(--white);
  padding: 0 6px;
}

.form-label {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: var(--text-muted);
  pointer-events: none;
  transition: all var(--transition-base);
  transform-origin: left center;
}

.form-textarea + .form-label {
  top: 24px;
  transform: translateY(-50%);
}

.form-textarea:not(:placeholder-shown) + .form-label,
.form-textarea:focus + .form-label {
  transform: translateY(-36px) scale(0.82);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.form-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23D4AF37' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-submit {
  width: 100%;
  margin-top: 8px;
}

/* ==================== FOOTER ==================== */
.footer {
  background: var(--charcoal);
  color: var(--white);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.footer-logo .logo-icon { color: var(--gold); }
.footer-logo .logo-name { color: var(--white); }

.footer-brand > p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  margin: 16px 0 20px;
  line-height: 1.7;
  max-width: 300px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--gold);
  transition: all var(--transition-base);
  border: 1px solid rgba(212, 175, 55, 0.15);
}

.footer-social a:hover {
  background: var(--gold);
  color: var(--charcoal);
  transform: translateY(-2px);
}

.footer-links h4,
.footer-contact h4,
.footer-booking h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--white);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--transition-base);
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 12px;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-contact a:hover {
  color: var(--gold);
}

.footer-booking > p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-btn {
  width: 100%;
  justify-content: center;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
}

.footer-credit span:first-child {
  color: var(--gold);
  margin-right: 4px;
}

/* ==================== SPECIALTY MODAL ==================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 26, 46, 0.8);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-container {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 660px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(30px) scale(0.95);
  transition: transform var(--transition-slow);
  box-shadow: var(--shadow-xl);
}

.modal-overlay.active .modal-container {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--charcoal);
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.modal-close:hover {
  background: var(--gold);
  color: var(--charcoal);
  transform: rotate(90deg);
}

.modal-image {
  height: 260px;
  overflow: hidden;
}

.modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-body {
  padding: 36px;
}

.modal-category {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.modal-body h2 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 12px;
  line-height: 1.2;
}

.modal-divider {
  width: 50px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin-bottom: 20px;
}

.modal-description {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 24px;
}

.modal-areas {
  margin-bottom: 24px;
}

.modal-areas h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 12px;
}

.modal-areas ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.modal-areas li {
  padding: 8px 16px;
  background: var(--gold-muted);
  color: var(--mahogany-light);
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-xl);
  letter-spacing: 0.3px;
}

.modal-assurance {
  display: flex;
  gap: 14px;
  padding: 20px;
  background: var(--charcoal);
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  border-left: 3px solid var(--gold);
}

.assurance-icon {
  font-size: 28px;
  color: var(--gold);
  flex-shrink: 0;
}

.modal-assurance p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  font-style: italic;
}

.modal-book {
  width: 100%;
  justify-content: center;
}

/* ==================== CHAT WIDGET ==================== */
.chat-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1500;
}

.chat-window {
  position: absolute;
  bottom: 72px;
  right: 0;
  width: calc(100vw - 48px);
  max-width: 400px;
  height: 540px;
  max-height: calc(100vh - 120px);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  pointer-events: none;
  transition: all var(--transition-slow);
  border: 1px solid rgba(212, 175, 55, 0.15);
}

.chat-window.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--charcoal);
  flex-shrink: 0;
  border-bottom: 2px solid var(--gold);
}

.chat-avatar {
  position: relative;
  flex-shrink: 0;
}

.chat-avatar img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
}

.chat-status {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--white);
}

.chat-status.online { background: #4CAF50; }

.chat-info {
  flex: 1;
  min-width: 0;
}

.chat-info h4 {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2px;
}

.chat-info span {
  font-size: 11px;
  color: var(--gold);
}

.chat-minimize {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-base);
}

.chat-minimize:hover {
  background: rgba(212, 175, 55, 0.3);
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  scroll-behavior: smooth;
  background: var(--cream);
}

.chat-message {
  display: flex;
  gap: 10px;
  animation: messageSlide 0.3s ease-out;
}

@keyframes messageSlide {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.chat-message.bot { align-self: flex-start; }
.chat-message.user { align-self: flex-end; flex-direction: row-reverse; }

.chat-bubble {
  max-width: 300px;
  padding: 14px 18px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.65;
}

.chat-message.bot .chat-bubble {
  background: var(--white);
  color: var(--text-primary);
  border-bottom-left-radius: 4px;
  border: 1px solid rgba(61, 35, 20, 0.08);
}

.chat-message.user .chat-bubble {
  background: var(--charcoal);
  color: var(--white);
  border-bottom-right-radius: 4px;
}

.chat-bubble strong { font-weight: 700; }
.chat-bubble a {
  color: var(--gold-dark);
  text-decoration: underline;
  font-weight: 700;
}

.chat-typing {
  display: flex;
  gap: 4px;
  padding: 12px 18px;
  align-self: flex-start;
}

.chat-typing span {
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  animation: typingBounce 1.4s ease-in-out infinite;
}

.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-6px); }
}

.chat-input-area {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-top: 1px solid rgba(212, 175, 55, 0.12);
  background: var(--white);
  flex-shrink: 0;
}

.chat-input {
  flex: 1;
  padding: 12px 16px;
  border: 1.5px solid rgba(61, 35, 20, 0.15);
  border-radius: var(--radius-xl);
  font-family: var(--font-body);
  font-size: 14px;
  background: var(--cream);
  outline: none;
  transition: border-color var(--transition-base);
}

.chat-input:focus {
  border-color: var(--gold);
}

.chat-send {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  transition: all var(--transition-base);
}

.chat-send:hover {
  background: var(--gold-dark);
  transform: scale(1.05);
}

.chat-footer {
  padding: 6px 16px;
  background: var(--charcoal);
  text-align: center;
  border-top: 1px solid rgba(212, 175, 55, 0.1);
  flex-shrink: 0;
}

.chat-footer span {
  font-size: 10px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.7;
}

/* Chat Toggle */
.chat-toggle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--charcoal);
  color: var(--gold);
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-base);
  position: relative;
  border: 2px solid var(--gold);
}

.chat-toggle:hover {
  transform: scale(1.08);
  box-shadow: var(--shadow-xl);
  background: var(--gold);
  color: var(--charcoal);
}

.chat-toggle .chat-toggle-close {
  display: none;
  font-size: 24px;
}

.chat-toggle.active .chat-toggle-open { display: none; }
.chat-toggle.active .chat-toggle-close { display: block; }

/* ==================== RESPONSIVE BREAKPOINTS ==================== */
@media (min-width: 768px) {
  :root { --header-height: 76px; }

  .header { height: var(--header-height); }
  .header-inner { padding: 0 32px; }

  .mobile-menu-toggle { display: none; }
  .main-nav { display: flex; }
  .mobile-menu { display: none !important; }

  .hero-actions {
    flex-direction: row;
    justify-content: center;
  }

  .specialties-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .metrics-ribbon {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }

  .metric-divider { display: block; }
  .metric-item { padding: 32px; }

  .testimonial-card {
    flex: 0 0 50%;
    padding: 32px;
  }

  .about-grid {
    grid-template-columns: 2fr 3fr;
    gap: 64px;
  }

  .about-image {
    max-width: none;
    margin: 0;
  }

  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .chat-window { width: 400px; }
}

@media (min-width: 1024px) {
  .specialties-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }

  .specialty-image { height: 220px; }

  .testimonial-card {
    flex: 0 0 33.333%;
    padding: 40px;
  }

  .about-grid { gap: 80px; }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
  }

  .modal-image { height: 300px; }
}

/* ==================== ACCESSIBILITY ==================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ==================== SCROLLBAR ==================== */
.chat-messages::-webkit-scrollbar,
.modal-container::-webkit-scrollbar {
  width: 6px;
}

.chat-messages::-webkit-scrollbar-track,
.modal-container::-webkit-scrollbar-track {
  background: transparent;
}

.chat-messages::-webkit-scrollbar-thumb,
.modal-container::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 55, 0.25);
  border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-thumb:hover,
.modal-container::-webkit-scrollbar-thumb:hover {
  background: rgba(212, 175, 55, 0.4);
}

/* ==================== SCROLL ANIMATIONS ==================== */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-children > *:nth-child(1) { transition-delay: 0.08s; }
.stagger-children > *:nth-child(2) { transition-delay: 0.16s; }
.stagger-children > *:nth-child(3) { transition-delay: 0.24s; }
.stagger-children > *:nth-child(4) { transition-delay: 0.32s; }
.stagger-children > *:nth-child(5) { transition-delay: 0.40s; }
.stagger-children > *:nth-child(6) { transition-delay: 0.48s; }
