/* ============================================
   VANITY J LUXBAR SALON — STYLESHEET
   Classic & Elegant | Teal + Slate Grey
   ============================================ */

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

:root {
  --teal-50:  #f0fdfa;
  --teal-100: #ccfbf1;
  --teal-200: #99f6e4;
  --teal-300: #5eead4;
  --teal-400: #2dd4bf;
  --teal-500: #14b8a6;
  --teal-600: #0d9488;
  --teal-700: #0f766e;
  --teal-800: #115e59;
  --teal-900: #134e4a;
  --teal-950: #042f2e;

  --slate-50:  #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --slate-950: #020617;

  --cream: #faf9f7;
  --warm-white: #fefcf8;
  --gold: #c9a96e;

  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --shadow-sm: 0 1px 2px rgba(2, 6, 23, 0.05);
  --shadow-md: 0 4px 16px rgba(2, 6, 23, 0.08);
  --shadow-lg: 0 8px 32px rgba(2, 6, 23, 0.12);
  --shadow-xl: 0 16px 48px rgba(2, 6, 23, 0.16);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font-body);
  color: var(--slate-800);
  background-color: var(--warm-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

ul {
  list-style: none;
}

/* --- UTILITIES --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- NAVBAR --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(254, 252, 248, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--slate-900);
  letter-spacing: -0.01em;
}

.nav-logo .logo-accent {
  color: var(--teal-700);
  font-style: italic;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--slate-600);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--teal-700);
  background: var(--teal-50);
}

.nav-cta {
  padding: 10px 22px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  background: var(--teal-700);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  margin-left: 8px;
}

.nav-cta:hover {
  background: var(--teal-800);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-toggle:hover {
  background: var(--slate-100);
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--slate-700);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
}

.hamburger::before {
  top: -6px;
}

.hamburger::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .hamburger {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
  top: 0;
  transform: rotate(-45deg);
}

/* --- HERO --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--slate-900);
  overflow: hidden;
  padding: 72px 0 0;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.6;
  pointer-events: none;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-content {
  padding: 60px 0 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(20, 184, 166, 0.12);
  border: 1px solid rgba(20, 184, 166, 0.25);
  border-radius: 100px;
  color: var(--teal-300);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  line-height: 1.1;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.hero-headline .text-accent {
  color: var(--teal-400);
  font-style: italic;
}

.hero-sub {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--slate-300);
  max-width: 480px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--slate-400);
  letter-spacing: 0.02em;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--slate-700);
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  color: #fff;
  background: var(--teal-700);
  border: 1.5px solid var(--teal-700);
}

.btn-primary:hover {
  background: var(--teal-800);
  border-color: var(--teal-800);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 118, 110, 0.3);
}

.btn-outline {
  color: var(--slate-300);
  background: transparent;
  border: 1.5px solid var(--slate-600);
}

.btn-outline:hover {
  border-color: var(--teal-400);
  color: var(--teal-300);
  background: rgba(20, 184, 166, 0.08);
}

.btn-accent {
  color: var(--slate-900);
  background: var(--teal-400);
  border: 1.5px solid var(--teal-400);
}

.btn-accent:hover {
  background: var(--teal-300);
  border-color: var(--teal-300);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(45, 212, 191, 0.3);
}

.btn-outline-light {
  color: #fff;
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.btn-outline-light:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

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

/* --- HERO IMAGE --- */
.hero-image {
  position: relative;
  flex-shrink: 0;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-image-accent {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.hero-floating-card {
  position: absolute;
  bottom: -24px;
  left: -32px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 22px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 2;
}

.floating-card-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--teal-50);
  border-radius: var(--radius-sm);
  color: var(--teal-700);
  flex-shrink: 0;
}

.floating-card-title {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate-800);
}

.floating-card-sub {
  display: block;
  font-size: 0.78rem;
  color: var(--slate-500);
}

/* --- SECTION HEADERS --- */
.section-header {
  max-width: 640px;
  margin-bottom: 56px;
}

.section-header--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-700);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--slate-900);
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.section-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--slate-500);
}

/* --- SERVICES --- */
.services {
  padding: 100px 0;
  background: var(--warm-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  padding: 36px 28px;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  transition: var(--transition);
}

.service-card:hover {
  border-color: var(--teal-200);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--teal-50);
  border-radius: var(--radius-md);
  color: var(--teal-700);
  margin-bottom: 22px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--teal-700);
  color: #fff;
}

.service-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--slate-900);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.service-desc {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--slate-500);
}

/* --- ABOUT --- */
.about {
  padding: 100px 0;
  background: var(--slate-50);
}

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

.about-images {
  position: relative;
}

.about-img-main {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-img-secondary {
  position: absolute;
  bottom: -32px;
  right: -32px;
  width: 55%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 4px solid var(--slate-50);
}

.about-img-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-img-accent {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100px;
  height: 100px;
  background: var(--teal-100);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.about-content {
  padding: 20px 0;
}

.about-text {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--slate-600);
  margin-bottom: 18px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
  margin: 32px 0;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--slate-700);
}

.feature-check {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--teal-50);
  border-radius: 50%;
  color: var(--teal-700);
  flex-shrink: 0;
}

/* --- GALLERY --- */
.gallery {
  padding: 100px 0;
  background: var(--warm-white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
}

.gallery-item:nth-child(1) {
  grid-column: span 5;
  grid-row: span 2;
}

.gallery-item:nth-child(2) {
  grid-column: span 4;
}

.gallery-item:nth-child(3) {
  grid-column: span 3;
}

.gallery-item:nth-child(4) {
  grid-column: span 4;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2, 6, 23, 0.6) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 24px;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay span {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
}

/* --- TESTIMONIALS --- */
.testimonials {
  padding: 100px 0;
  background: var(--slate-900);
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal-700), transparent);
}

.testimonials .section-tag {
  color: var(--teal-400);
}

.testimonials .section-title {
  color: #fff;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  padding: 36px 28px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.testimonial-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(20, 184, 166, 0.3);
  transform: translateY(-4px);
}

.testimonial-quote {
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1;
  color: var(--teal-600);
  opacity: 0.4;
  margin-bottom: -8px;
}

.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--slate-300);
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--teal-800);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--teal-300);
  flex-shrink: 0;
}

.author-name {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
}

.author-detail {
  display: block;
  font-size: 0.78rem;
  color: var(--slate-400);
}

/* --- CTA BANNER --- */
.cta-banner {
  position: relative;
  padding: 96px 0;
  background: var(--teal-800);
  overflow: hidden;
}

.cta-bg-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  line-height: 1.2;
}

.cta-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--teal-200);
  margin-bottom: 36px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

/* --- CONTACT --- */
.contact {
  padding: 100px 0;
  background: var(--warm-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-desc {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--slate-500);
  margin-bottom: 36px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--teal-50);
  border-radius: var(--radius-md);
  color: var(--teal-700);
  flex-shrink: 0;
}

.contact-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-400);
  margin-bottom: 4px;
}

.contact-value {
  display: block;
  font-size: 0.95rem;
  color: var(--slate-700);
  line-height: 1.6;
}

.contact-value a {
  color: var(--teal-700);
  transition: var(--transition);
}

.contact-value a:hover {
  color: var(--teal-600);
  text-decoration: underline;
}

/* --- FORM --- */
.contact-form-wrapper {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--slate-200);
}

.form-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--slate-900);
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--slate-700);
  margin-bottom: 7px;
  letter-spacing: 0.02em;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--slate-800);
  background: var(--slate-50);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  outline: none;
}

.form-input::placeholder {
  color: var(--slate-400);
}

.form-input:focus {
  border-color: var(--teal-500);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.12);
}

.form-select {
  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' fill='none'%3E%3Cpath d='M2.5 4.5L6 8L9.5 4.5' stroke='%2394a3b8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

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

/* --- FORM SUCCESS --- */
.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px;
  animation: fadeIn 0.4s ease;
}

.success-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--teal-50);
  border-radius: 50%;
  color: var(--teal-700);
  margin-bottom: 20px;
}

.success-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--slate-900);
  margin-bottom: 10px;
}

.success-text {
  font-size: 0.95rem;
  color: var(--slate-500);
  line-height: 1.6;
}

/* --- FOOTER --- */
.footer {
  background: var(--slate-950);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.footer-brand {
  max-width: 280px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
}

.footer-logo .logo-accent {
  color: var(--teal-400);
  font-style: italic;
}

.footer-desc {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--slate-400);
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 20px;
}

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

.footer-links a {
  font-size: 0.88rem;
  color: var(--slate-400);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--teal-400);
  padding-left: 4px;
}

.footer-address {
  font-size: 0.88rem;
  color: var(--slate-400);
  line-height: 1.7;
  font-style: normal;
  margin-bottom: 14px;
}

.footer-phone,
.footer-email {
  font-size: 0.88rem;
  margin-bottom: 8px;
}

.footer-phone a,
.footer-email a {
  color: var(--teal-400);
  transition: var(--transition);
}

.footer-phone a:hover,
.footer-email a:hover {
  color: var(--teal-300);
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--slate-500);
}

.footer-location {
  font-size: 0.82rem;
  color: var(--slate-500);
}

/* --- ANIMATIONS --- */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Scroll reveal (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- MOBILE MENU --- */
.nav-links.mobile-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 72px;
  left: 0;
  right: 0;
  background: rgba(254, 252, 248, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 16px 24px 24px;
  border-bottom: 1px solid var(--slate-200);
  box-shadow: var(--shadow-lg);
  gap: 4px;
}

.nav-links.mobile-open .nav-link {
  padding: 12px 16px;
  width: 100%;
}

.nav-links.mobile-open .nav-cta {
  margin-left: 0;
  margin-top: 8px;
  text-align: center;
  width: 100%;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    padding: 80px 0 60px;
    order: 2;
  }

  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-image {
    order: 1;
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
  }

  .hero-floating-card {
    left: 50%;
    transform: translateX(-50%);
    bottom: -20px;
  }

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

  .about-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .about-images {
    max-width: 520px;
    margin: 0 auto;
  }

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

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

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

  .footer-brand {
    grid-column: span 2;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding: 100px 0 60px;
  }

  .hero-content {
    padding: 0 0 40px;
  }

  .hero-floating-card {
    display: none;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .about-img-secondary {
    right: -16px;
    bottom: -20px;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 1;
  }

  .gallery-item:nth-child(2),
  .gallery-item:nth-child(3),
  .gallery-item:nth-child(4) {
    grid-column: span 1;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-wrapper {
    padding: 28px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: span 1;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 18px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

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

  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }

  .hero-stat-divider {
    width: 40px;
    height: 1px;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

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

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item:nth-child(1) {
    grid-column: span 1;
  }
}
