/* ============================================
   VERTEX MEDIA GROUP — Design System
   Premium luxury / dark editorial
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Jost:wght@300;400;500;600;700&family=Noto+Sans+Arabic:wght@300;400;500;600;700&family=Noto+Serif:wght@400;500;600;700&display=swap');

/* --------- DESIGN TOKENS --------- */
/* Brand colors: Black · Gold · White */
:root {
  /* Colors */
  --bg: #0A0A0A;
  --surface: #141414;
  --elevated: #1F1F1F;
  --gold: #D4AF37;          /* Metallic gold — matches the logo */
  --gold-deep: #A8862B;
  --gold-light: #E8C863;
  --white: #FFFFFF;          /* Brand pure white (logo wordmark) */
  --text: #F5F1E8;
  --text-muted: #A8A8A8;
  --text-dim: #6B6B6B;
  --border: rgba(212, 175, 55, 0.18);
  --border-hover: rgba(212, 175, 55, 0.45);
  --accent-red: #C04848;

  /* Typography */
  --font-display: 'Bodoni Moda', 'Noto Serif', Georgia, serif;
  --font-body: 'Jost', 'Noto Sans Arabic', system-ui, sans-serif;

  /* Spacing scale (8px base) */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4rem;
  --space-7: 6rem;
  --space-8: 8rem;
  --space-9: 12rem;

  /* Container */
  --container-max: 1400px;
  --container-padding: clamp(1.5rem, 4vw, 4rem);

  /* Animations */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-slow: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast: 200ms;
  --dur-base: 400ms;
  --dur-slow: 700ms;

  /* Layers */
  --z-base: 1;
  --z-elevated: 10;
  --z-overlay: 20;
  --z-nav: 30;
  --z-modal: 50;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}

img, video { max-width: 100%; height: auto; display: block; }
button { background: none; border: none; font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

/* RTL support */
[dir="rtl"] body { font-family: 'Noto Sans Arabic', var(--font-body); }
[dir="rtl"] .reverse-on-rtl { flex-direction: row-reverse; }

/* --------- TYPOGRAPHY --------- */
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.eyebrow::before {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--gold);
}

h1, .h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 7vw, 6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-style: italic;
}

h2, .h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  font-style: italic;
}

h3, .h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h4 {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1.125rem;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.body-lg {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 60ch;
}

p { color: var(--text-muted); max-width: 65ch; }

.gold-accent { color: var(--gold); }
.italic-accent { font-style: italic; color: var(--gold); }

/* --------- LAYOUT --------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-inline: var(--container-padding);
}

section {
  padding-block: clamp(4rem, 10vw, 8rem);
  position: relative;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: var(--space-6);
  max-width: 800px;
}

/* --------- BUTTONS --------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: all var(--dur-base) var(--ease);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gold);
  color: var(--bg);
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -8px rgba(201, 169, 97, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.btn-text {
  padding: 0;
  background: transparent;
  color: var(--gold);
  position: relative;
}

.btn-text::after {
  content: '';
  position: absolute;
  bottom: -4px;
  inset-inline-start: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(1);
  transform-origin: left;
  transition: transform var(--dur-base) var(--ease);
}

.btn-text:hover::after { transform: scaleX(0); transform-origin: right; }

.btn-arrow {
  display: inline-block;
  transition: transform var(--dur-base) var(--ease);
}

.btn:hover .btn-arrow { transform: translateX(4px); }

/* --------- NAVIGATION --------- */
.nav {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: var(--z-nav);
  transition: all var(--dur-base) var(--ease);
  background: rgba(10, 10, 10, 0);
  backdrop-filter: blur(0);
}

.nav.scrolled {
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 1.25rem var(--container-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  font-style: italic;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-logo-mark {
  width: 34px;
  height: 34px;
  display: inline-block;
  flex-shrink: 0;
}

/* Full circular logo image (used in nav + footer) */
.nav-logo-image {
  height: 52px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .nav-logo-image { height: 44px; }
}

.brand-logo-image {
  height: 80px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  align-items: center;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  position: relative;
  padding: 0.5rem 0;
  transition: color var(--dur-base) var(--ease);
}

.nav-link:hover, .nav-link.active { color: var(--text); }

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--dur-base) var(--ease);
}

.nav-link:hover::after, .nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-toggle {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  transition: all var(--dur-base) var(--ease);
}

.lang-toggle:hover { color: var(--gold); border-color: var(--gold); }

.menu-toggle {
  display: none;
  width: 32px;
  height: 32px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 0;
}

.menu-toggle span {
  width: 24px;
  height: 1px;
  background: var(--text);
  transition: all var(--dur-base) var(--ease);
}

.menu-toggle.active span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--dur-base) var(--ease);
  }
  .nav-links.open { opacity: 1; pointer-events: auto; }
  .nav-link { font-size: 1.5rem; font-family: var(--font-display); font-style: italic; }
  .menu-toggle { display: flex; }
  .nav-cta-btn { display: none; }
}

/* --------- HERO --------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-block: clamp(8rem, 14vw, 12rem) clamp(4rem, 8vw, 6rem);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 30%, rgba(201, 169, 97, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 70%, rgba(139, 115, 85, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  width: 100%;
}

.hero-eyebrow {
  margin-bottom: var(--space-3);
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.75rem, 9vw, 8rem);
  line-height: 0.95;
  letter-spacing: -0.025em;
  margin-bottom: var(--space-4);
}

.hero-title .line {
  display: block;
  overflow: hidden;
}

.hero-title .word-italic {
  font-style: italic;
  color: var(--gold);
  display: inline-block;
}

.hero-sub {
  font-size: clamp(1.05rem, 1.8vw, 1.4rem);
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 50ch;
  margin-bottom: var(--space-5);
  font-weight: 300;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.hero-meta {
  display: flex;
  gap: clamp(2rem, 5vw, 4rem);
  margin-top: clamp(3rem, 6vw, 5rem);
  position: relative;
  z-index: 2;
  flex-wrap: wrap;
}

.hero-meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.hero-meta-num {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-style: italic;
  color: var(--gold);
  line-height: 1;
}

.hero-meta-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* Floating geometric accent */
.hero-accent {
  position: absolute;
  width: clamp(300px, 40vw, 600px);
  aspect-ratio: 1;
  inset-inline-end: -10%;
  top: 15%;
  border: 1px solid var(--border);
  border-radius: 50%;
  opacity: 0.6;
  pointer-events: none;
}

.hero-accent::before {
  content: '';
  position: absolute;
  inset: 15%;
  border: 1px solid var(--border);
  border-radius: 50%;
}

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

/* --------- MARQUEE / LOGO STRIP --------- */
.marquee {
  border-block: 1px solid var(--border);
  padding-block: 1.5rem;
  overflow: hidden;
  background: var(--surface);
}

.marquee-inner {
  display: flex;
  align-items: center;
  gap: 4rem;
  white-space: nowrap;
  animation: scroll 40s linear infinite;
}

.marquee-item {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--text-dim);
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 4rem;
}

.marquee-item::after {
  content: '\002B';
  color: var(--gold);
  font-size: 0.9rem;
}

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

[dir="rtl"] .marquee-inner { animation-direction: reverse; }

/* --------- SERVICES --------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  margin-top: var(--space-5);
}

@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
}

.service-card {
  padding: clamp(2rem, 3vw, 3rem);
  background: var(--bg);
  position: relative;
  transition: background var(--dur-slow) var(--ease);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-height: 320px;
}

.service-card:hover { background: var(--surface); }

.service-num {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-style: italic;
  color: var(--gold);
  letter-spacing: 0.1em;
}

.service-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 1.875rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--text);
}

.service-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: auto;
}

.service-arrow {
  position: absolute;
  top: clamp(2rem, 3vw, 3rem);
  inset-inline-end: clamp(2rem, 3vw, 3rem);
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--dur-base) var(--ease);
}

.service-card:hover .service-arrow {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
  transform: rotate(-45deg);
}

[dir="rtl"] .service-card:hover .service-arrow { transform: rotate(-135deg) scaleX(-1); }

/* --------- WORK / CASE STUDIES --------- */
.work-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  margin-top: var(--space-5);
}

@media (min-width: 900px) {
  .work-grid { grid-template-columns: 1fr 1fr; }
  .work-item:nth-child(even) { transform: translateY(60px); }
}

.work-item {
  position: relative;
  cursor: pointer;
}

.work-image {
  aspect-ratio: 16/10;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  transition: all var(--dur-slow) var(--ease);
}

/* Screenshot inside a work tile — falls back to the gold letter placeholder if missing */
.work-image-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  z-index: 2;
  transition: transform var(--dur-slow) var(--ease);
  background: var(--surface);
}

.work-item:hover .work-image-photo {
  transform: scale(1.02);
}

.work-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--elevated) 0%, var(--surface) 100%);
}

.work-image-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 6rem);
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
  opacity: 0.2;
  transition: opacity var(--dur-slow) var(--ease);
}

.work-item:hover .work-image-content { opacity: 0.4; }
.work-item:hover .work-image { border-color: var(--gold); }

.work-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 1.5rem;
  gap: 1rem;
}

.work-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 500;
  font-style: italic;
}

.work-tag {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--border);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  white-space: nowrap;
}

.work-result {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* --------- PROCESS / STEPS --------- */
.process-list {
  display: grid;
  gap: 1px;
  background: var(--border);
  margin-top: var(--space-5);
  border-block: 1px solid var(--border);
}

.process-step {
  background: var(--bg);
  display: grid;
  grid-template-columns: 80px 1fr 2fr;
  gap: 2rem;
  padding: clamp(2rem, 3vw, 3rem) var(--container-padding);
  align-items: start;
  transition: background var(--dur-base) var(--ease);
}

.process-step:hover { background: var(--surface); }

.process-num {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2vw, 2rem);
  font-style: italic;
  color: var(--gold);
}

.process-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 500;
  line-height: 1.2;
}

.process-desc {
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .process-step { grid-template-columns: 1fr; gap: 1rem; }
  .process-num { color: var(--gold); }
}

/* --------- STATS --------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border-block: 1px solid var(--border);
  margin-top: var(--space-5);
}

@media (max-width: 900px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 500px) {
  .stats { grid-template-columns: 1fr; }
}

.stat {
  background: var(--bg);
  padding: clamp(2rem, 4vw, 4rem) clamp(1.5rem, 3vw, 3rem);
  text-align: start;
}

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
  line-height: 0.9;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.4;
  max-width: 30ch;
}

/* --------- TESTIMONIAL --------- */
.testimonial {
  position: relative;
  padding-block: clamp(5rem, 10vw, 8rem);
}

.testimonial-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.5rem, 3.5vw, 3rem);
  line-height: 1.3;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: var(--space-5);
  max-width: 1100px;
  position: relative;
}

.testimonial-quote::before {
  content: '"';
  font-family: var(--font-display);
  font-size: clamp(6rem, 12vw, 10rem);
  color: var(--gold);
  position: absolute;
  top: -3rem;
  inset-inline-start: -1rem;
  line-height: 1;
  opacity: 0.3;
  pointer-events: none;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  color: var(--bg);
  font-weight: 500;
  font-style: italic;
  font-size: 1.25rem;
}

.testimonial-name {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
}

.testimonial-role {
  font-size: 0.875rem;
  color: var(--text-dim);
  margin-top: 0.25rem;
}

/* --------- CTA --------- */
.cta-section {
  background: var(--surface);
  border-block: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(201, 169, 97, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4rem);
  font-style: italic;
  line-height: 1.1;
  margin-bottom: var(--space-3);
}

.cta-sub {
  color: var(--text-muted);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  margin: 0 auto var(--space-4);
  max-width: 50ch;
}

/* --------- FOOTER --------- */
.footer {
  background: var(--bg);
  padding-block: clamp(4rem, 7vw, 6rem) clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  margin-bottom: var(--space-6);
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

.footer-brand-logo {
  font-family: var(--font-display);
  font-size: 2rem;
  font-style: italic;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.footer-brand-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 35ch;
  line-height: 1.6;
}

.footer-heading {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.footer-list { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.footer-link { color: var(--text-muted); font-size: 0.95rem; transition: color var(--dur-base) var(--ease); }
.footer-link:hover { color: var(--gold); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-4);
  border-top: 1px solid var(--border);
  font-size: 0.825rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 1rem;
}

/* --------- FORM --------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  margin-top: var(--space-5);
}

@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}

.form-input,
.form-textarea,
.form-select {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 1rem 1.25rem;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  border-radius: 4px;
  transition: all var(--dur-base) var(--ease);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--elevated);
}

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

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.contact-info-block { padding-bottom: var(--space-3); border-bottom: 1px solid var(--border); }
.contact-info-block:last-child { border-bottom: none; }

.contact-info-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.contact-info-value {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-style: italic;
  color: var(--text);
}

/* --------- ANIMATIONS UTILITIES --------- */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
}

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

.fade-in-delay-1 { transition-delay: 100ms; }
.fade-in-delay-2 { transition-delay: 200ms; }
.fade-in-delay-3 { transition-delay: 300ms; }
.fade-in-delay-4 { transition-delay: 400ms; }

.split-line {
  overflow: hidden;
  display: block;
}

.split-line-inner {
  display: inline-block;
  transform: translateY(100%);
  transition: transform var(--dur-slow) var(--ease-slow);
}

.split-line.visible .split-line-inner { transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .marquee-inner { animation: none; }
  .fade-in, .split-line-inner { opacity: 1; transform: none; }
}

/* --------- FLOATING WHATSAPP --------- */
.whatsapp-fab {
  position: fixed;
  bottom: 1.5rem;
  inset-inline-end: 1.5rem;
  z-index: var(--z-modal);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px -8px rgba(37, 211, 102, 0.55), 0 0 0 0 rgba(37, 211, 102, 0.5);
  transition: all var(--dur-base) var(--ease);
  animation: wa-pulse 2.4s var(--ease) infinite;
}

.whatsapp-fab:hover {
  transform: translateY(-3px) scale(1.05);
  animation-play-state: paused;
}

.whatsapp-fab svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 10px 30px -8px rgba(37, 211, 102, 0.55), 0 0 0 0 rgba(37, 211, 102, 0.5); }
  50% { box-shadow: 0 10px 30px -8px rgba(37, 211, 102, 0.55), 0 0 0 16px rgba(37, 211, 102, 0); }
}

@media (max-width: 600px) {
  .whatsapp-fab { width: 54px; height: 54px; bottom: 1rem; inset-inline-end: 1rem; }
  .whatsapp-fab svg { width: 26px; height: 26px; }
}

/* --------- ACCESSIBILITY --------- */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --------- PAGE HEADER (inner pages) --------- */
.page-header {
  padding-block: clamp(10rem, 16vw, 14rem) clamp(4rem, 7vw, 6rem);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(201, 169, 97, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.page-header-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-block: 1.5rem 2rem;
  font-style: italic;
}

.page-subtitle {
  font-size: clamp(1.1rem, 1.7vw, 1.35rem);
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 65ch;
  font-weight: 300;
}

/* --------- ABOUT PAGE --------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }

.about-image {
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--elevated) 0%, var(--surface) 100%);
  background-size: cover;
  background-position: center;
  border: 1px solid var(--border);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  transition: transform var(--dur-slow) var(--ease);
}

.about-image::after {
  content: 'V';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: clamp(8rem, 20vw, 16rem);
  font-style: italic;
  color: var(--gold);
  opacity: 0.15;
}

/* When an inline background-image is set, hide the V watermark and add a subtle dark overlay so the design language stays consistent. */
.about-image[style*="background-image"]::after {
  display: none;
}

.about-image[style*="background-image"]::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.25) 0%, rgba(10, 10, 10, 0.55) 100%);
  pointer-events: none;
  z-index: 1;
}

.about-image[style*="background-image"]:hover {
  transform: scale(1.01);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: var(--space-5);
}

.value-card {
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: all var(--dur-base) var(--ease);
}

.value-card:hover {
  border-color: var(--gold);
  background: var(--surface);
}

.value-num {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.value-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-style: italic;
  margin-bottom: 1rem;
}

.value-desc { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }
