/* =============================================
   SABA — MAIN CSS
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=DM+Sans:wght@300;400;500&display=swap');

:root {
  --navy:       #0D1B3E;
  --navy-deep:  #080F22;
  --gold:       #B8975A;
  --gold-light: #D4B07A;
  --cream:      #F2EDE4;
  --white:      #FFFFFF;
  --gray-mid:   #8A8A9A;
  --gray-dim:   #3A3A4A;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --section-pad: clamp(72px, 10vw, 140px);
  --container:   1200px;
  --ease:        cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--navy-deep);
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a  { color: inherit; text-decoration: none; }

.container {
  width: min(var(--container), 100% - 48px);
  margin-inline: auto;
}

/* =============================================
   NAVIGATION
   ============================================= */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: padding 0.4s var(--ease), background 0.4s var(--ease);
}
nav.scrolled {
  padding: 12px 0;
  background: rgba(8,15,34,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(184,151,90,0.12);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo img {
  height: 64px;
  width: auto;
  mix-blend-mode: screen;
}
.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}
.nav-links a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray-mid);
  transition: color 0.3s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover { color: var(--cream); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(184,151,90,0.4);
  padding: 10px 24px;
  transition: all 0.3s var(--ease);
}
.nav-cta:hover {
  background: var(--gold);
  color: var(--navy-deep);
  border-color: var(--gold);
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
}
.nav-toggle svg {
  width: 24px;
  height: 24px;
  display: block;
  color: var(--gold);
}

/* Mobile nav drawer */
.mobile-nav {
  display: flex;
  visibility: hidden;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 101;
  background: rgba(8,15,34,0.98);
  backdrop-filter: blur(16px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
}
.mobile-nav.open {
  visibility: visible;
  opacity: 1;
  pointer-events: all;
}
.mobile-nav-close {
  position: absolute;
  top: 24px; right: 24px;
  background: none;
  border: none;
  color: var(--gray-mid);
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}
.mobile-nav-close:hover { color: var(--cream); }
.mobile-nav a {
  font-family: var(--font-display);
  font-size: clamp(28px, 6vw, 48px);
  font-weight: 300;
  color: var(--cream);
  letter-spacing: 0.04em;
  padding: 12px 0;
  transition: color 0.3s;
}
.mobile-nav a:hover { color: var(--gold-light); }
.mobile-nav-cta {
  margin-top: 24px;
  font-family: var(--font-body) !important;
  font-size: 12px !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase;
  color: var(--gold) !important;
  border: 1px solid rgba(184,151,90,0.4);
  padding: 14px 36px !important;
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--navy-deep) 0%, #0A1428 60%, #0D1B3E 100%);
}
.hero-bg::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(184,151,90,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184,151,90,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
}
.hero-content {
  position: relative; z-index: 2;
  padding: 120px 0 80px clamp(24px, 6vw, 100px);
}
.hero-eyebrow {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 32px;
  display: flex; align-items: center; gap: 16px;
  opacity: 0; transform: translateY(20px);
  animation: fadeUp 0.8s var(--ease-out) 0.2s forwards;
}
.hero-eyebrow::before {
  content: ''; display: block;
  width: 40px; height: 1px;
  background: var(--gold); opacity: 0.6;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(44px, 6vw, 88px);
  font-weight: 300; line-height: 1.05; letter-spacing: -0.02em;
  color: var(--white); margin-bottom: 8px;
  opacity: 0; transform: translateY(30px);
  animation: fadeUp 0.9s var(--ease-out) 0.35s forwards;
}
.hero-headline-2 {
  font-family: var(--font-display);
  font-size: clamp(44px, 6vw, 88px);
  font-weight: 300; line-height: 1.05; letter-spacing: -0.02em;
  color: var(--white); margin-bottom: 40px;
  opacity: 0; transform: translateY(30px);
  animation: fadeUp 0.9s var(--ease-out) 0.5s forwards;
}
.hero-headline-2 em, .hero-headline em { font-style: italic; color: var(--gold-light); }
.hero-sub {
  font-size: 15px; color: var(--gray-mid);
  max-width: 380px; line-height: 1.8; margin-bottom: 56px;
  opacity: 0; transform: translateY(20px);
  animation: fadeUp 0.8s var(--ease-out) 0.65s forwards;
}
.hero-actions {
  display: flex; gap: 20px; align-items: center;
  opacity: 0; transform: translateY(20px);
  animation: fadeUp 0.8s var(--ease-out) 0.8s forwards;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--gold); color: var(--navy-deep);
  font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 16px 32px; transition: all 0.3s var(--ease);
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-secondary {
  font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gray-mid); display: flex; align-items: center; gap: 8px; transition: color 0.3s;
}
.btn-secondary:hover { color: var(--cream); }
.btn-secondary svg { transition: transform 0.3s var(--ease); }
.btn-secondary:hover svg { transform: translateX(4px); }

.hero-image {
  position: relative; z-index: 2;
  height: 100vh; overflow: hidden;
  opacity: 0; animation: fadeIn 1.2s var(--ease-out) 0.4s forwards;
}
.hero-image img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  filter: brightness(0.75) contrast(1.1);
}
.hero-image::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to right, var(--navy-deep) 0%, transparent 30%),
              linear-gradient(to top, var(--navy-deep) 0%, transparent 40%);
}
.hero-stats {
  position: absolute; bottom: 48px;
  left: clamp(24px, 6vw, 100px); z-index: 3;
  display: flex; gap: 48px;
  opacity: 0; animation: fadeUp 0.8s var(--ease-out) 1s forwards;
}
.stat-number {
  font-family: var(--font-display);
  font-size: 36px; font-weight: 300; color: var(--white); line-height: 1;
}
.stat-number span { color: var(--gold); }
.stat-label {
  font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--gray-mid); margin-top: 4px;
}
.scroll-indicator {
  position: absolute; bottom: 48px; right: 48px; z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  opacity: 0; animation: fadeIn 1s var(--ease-out) 1.2s forwards;
}
.scroll-line {
  width: 1px; height: 60px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
.scroll-text {
  font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gray-mid); writing-mode: vertical-lr;
}

/* =============================================
   ABOUT
   ============================================= */
.about { padding: var(--section-pad) 0; }
.about .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 8vw, 120px);
  align-items: center;
}
.about-image-wrap { position: relative; }
.about-img-main {
  width: 100%; aspect-ratio: 3/4;
  object-fit: cover; object-position: center top;
}
.about-image-wrap::before {
  content: ''; position: absolute;
  top: -16px; left: -16px; right: 16px; bottom: 16px;
  border: 1px solid rgba(184,151,90,0.22); z-index: -1;
}
.section-eyebrow {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 24px;
  display: flex; align-items: center; gap: 16px;
}
.section-eyebrow::before {
  content: ''; display: block;
  width: 32px; height: 1px; background: var(--gold); opacity: 0.6;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 56px); font-weight: 300;
  line-height: 1.1; color: var(--white); margin-bottom: 32px;
}
.section-title em { font-style: italic; color: var(--gold-light); }
.about-text { font-size: 15px; color: var(--gray-mid); line-height: 1.9; margin-bottom: 16px; }
.about-text strong { color: var(--cream); font-weight: 400; }
.about-divider { width: 40px; height: 1px; background: rgba(184,151,90,0.4); margin: 32px 0; }

/* =============================================
   SERVICES
   ============================================= */
.services {
  padding: var(--section-pad) 0;
  border-top: 1px solid rgba(184,151,90,0.08);
}
.services-header {
  display: flex; justify-content: space-between;
  align-items: flex-end; margin-bottom: clamp(40px,6vw,80px);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(184,151,90,0.1);
}
.service-card {
  background: var(--navy-deep);
  padding: 40px 32px; transition: background 0.4s var(--ease);
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px; background: var(--gold);
  transition: width 0.4s var(--ease);
}
.service-card:hover { background: rgba(13,27,62,0.8); }
.service-card:hover::before { width: 100%; }
.service-num {
  font-family: var(--font-display); font-size: 44px; font-weight: 300;
  color: rgba(184,151,90,0.15); line-height: 1; margin-bottom: 20px;
  transition: color 0.4s;
}
.service-card:hover .service-num { color: rgba(184,151,90,0.35); }
.service-name {
  font-family: var(--font-display); font-size: 20px; font-weight: 400;
  color: var(--cream); margin-bottom: 14px; line-height: 1.2;
}
.service-desc { font-size: 13px; color: var(--gray-mid); line-height: 1.8; }

/* =============================================
   WORKS
   ============================================= */
.works {
  padding: var(--section-pad) 0;
  border-top: 1px solid rgba(184,151,90,0.08);
}
.works-header {
  display: flex; justify-content: space-between;
  align-items: flex-end; margin-bottom: clamp(40px,6vw,80px);
}
.works-grid {
  display: grid; grid-template-columns: repeat(12,1fr); gap: 16px;
}
.work-card {
  position: relative; overflow: hidden; cursor: pointer; background: var(--navy);
}
.work-card:nth-child(1) { grid-column: span 7; }
.work-card:nth-child(2) { grid-column: span 5; }
.work-card:nth-child(3) { grid-column: span 5; }
.work-card:nth-child(4) { grid-column: span 7; }
.work-card-img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  transition: transform 0.7s var(--ease), filter 0.5s;
  filter: brightness(0.85);
}
.work-card:hover .work-card-img { transform: scale(1.04); filter: brightness(0.6); }
.work-card-placeholder {
  width: 100%; aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--navy), var(--gray-dim));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 14px;
  color: rgba(184,151,90,0.3); letter-spacing: 0.1em;
}
.work-card-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 28px;
  background: linear-gradient(to top, rgba(8,15,34,0.9) 0%, transparent 60%);
}
.work-card-category {
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 8px;
}
.work-card-title {
  font-family: var(--font-display); font-size: 22px; font-weight: 400; color: var(--white);
}
.work-card-arrow {
  position: absolute; top: 28px; right: 28px;
  width: 40px; height: 40px;
  border: 1px solid rgba(184,151,90,0.5);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(8px); transition: all 0.3s var(--ease);
}
.work-card:hover .work-card-arrow { opacity: 1; transform: translateY(0); }
.work-placeholder {
  width: 100%; aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--navy), var(--gray-dim));
  display: flex; align-items: center; justify-content: center;
}
.work-placeholder-text {
  font-family: var(--font-display); font-size: 14px;
  color: rgba(184,151,90,0.3); letter-spacing: 0.1em;
}
.works-cta { margin-top: 56px; text-align: center; }
.btn-outline {
  display: inline-flex; align-items: center; gap: 12px;
  border: 1px solid rgba(184,151,90,0.35); color: var(--gold);
  font-size: 12px; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase;
  padding: 16px 40px; transition: all 0.35s var(--ease);
}
.btn-outline:hover { background: rgba(184,151,90,0.08); border-color: var(--gold); gap: 20px; }

/* =============================================
   CONTACT
   ============================================= */
.contact {
  padding: var(--section-pad) 0;
  border-top: 1px solid rgba(184,151,90,0.08);
  text-align: center;
}
.contact-headline {
  font-family: var(--font-display);
  font-size: clamp(44px, 7vw, 96px); font-weight: 300; line-height: 1;
  color: var(--white); margin-bottom: 8px;
}
.contact-headline em { font-style: italic; color: var(--gold-light); }
.contact-sub {
  font-size: 15px; color: var(--gray-mid);
  max-width: 400px; margin: 0 auto 48px; line-height: 1.8;
}
.contact-form-wrap {
  max-width: 640px; margin: 0 auto 56px; text-align: left;
}
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-field { display: flex; flex-direction: column; gap: 8px; }
.contact-field label {
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gray-mid);
}
.contact-field input,
.contact-field textarea {
  background: rgba(184,151,90,0.04);
  border: 1px solid rgba(184,151,90,0.15);
  color: var(--cream); font-family: var(--font-body);
  font-size: 14px; font-weight: 300; padding: 14px 18px; outline: none;
  transition: border-color 0.25s; width: 100%;
}
.contact-field input::placeholder,
.contact-field textarea::placeholder { color: rgba(138,138,154,0.5); }
.contact-field input:focus,
.contact-field textarea:focus { border-color: rgba(184,151,90,0.5); }
.contact-field textarea { min-height: 140px; resize: vertical; }
.contact-form-footer { display: flex; justify-content: flex-end; margin-top: 8px; }
.contact-submit {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--gold); color: var(--navy-deep);
  border: none; font-family: var(--font-body);
  font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 16px 32px; cursor: pointer; transition: all 0.3s var(--ease);
}
.contact-submit:hover { background: var(--gold-light); gap: 18px; }
.contact-submit:disabled { opacity: 0.5; cursor: not-allowed; }
.cf-success, .cf-error {
  display: none; font-size: 13px; padding: 14px 18px; margin-top: 4px;
}
.cf-success { color: #6fcf97; border: 1px solid rgba(111,207,151,0.25); background: rgba(111,207,151,0.05); }
.cf-error   { color: #e05252; border: 1px solid rgba(224,82,82,0.25);   background: rgba(224,82,82,0.05); }
.cf-success.show, .cf-error.show { display: block; }
.contact-socials {
  display: flex; justify-content: center; gap: 32px; list-style: none;
}
.contact-socials a {
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gray-mid); transition: color 0.3s;
}
.contact-socials a:hover { color: var(--gold); }

/* =============================================
   FOOTER
   ============================================= */
footer {
  padding: 28px 0;
  border-top: 1px solid rgba(184,151,90,0.08);
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: center;
}
.footer-copy { font-size: 12px; color: var(--gray-mid); }
.footer-logo img { height: 28px; mix-blend-mode: screen; opacity: 0.6; }

/* =============================================
   REVEAL ANIMATIONS
   ============================================= */
.reveal {
  opacity: 0; transform: translateY(36px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* =============================================
   KEYFRAMES
   ============================================= */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  to { opacity: 1; }
}
@keyframes scrollPulse {
  0%,100% { opacity:0.4; transform:scaleY(1); }
  50%      { opacity:1;   transform:scaleY(1.3); }
}

/* =============================================
   RESPONSIVE
   ============================================= */

/* Tablet: 768–1024px */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-image { height: 55vw; max-height: 520px; order: -1; }
  .hero-image img { object-position: center 20%; }
  .hero-content { padding: 56px 24px 80px; }
  .hero-stats { position: static; margin-top: 32px; }
  .scroll-indicator { display: none; }
  .about .container { grid-template-columns: 1fr; }
  .about-image-wrap { max-width: 440px; }
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .services-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .works-header { flex-direction: column; align-items: flex-start; gap: 20px; }
  .works-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .work-card:nth-child(n) { grid-column: span 1; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* Mobile: up to 767px */
@media (max-width: 767px) {
  :root { --section-pad: 64px; }
  .container { width: min(var(--container), 100% - 32px); }
  .hero-image { height: 70vw; max-height: 380px; }
  .hero-headline, .hero-headline-2 { font-size: clamp(36px, 9vw, 52px); }
  .hero-sub { font-size: 14px; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 16px; }
  .hero-stats { flex-wrap: wrap; gap: 24px; }
  .services-grid { grid-template-columns: 1fr; }
  .works-grid { grid-template-columns: 1fr; gap: 10px; }
  .contact-form-row { grid-template-columns: 1fr; }
  .contact-submit { width: 100%; justify-content: center; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
  .contact-socials { flex-wrap: wrap; gap: 20px; }
}

/* Small mobile: up to 400px */
@media (max-width: 400px) {
  .nav-logo img { height: 44px; }
  .hero-content { padding: 48px 16px 72px; }
  .container { width: min(var(--container), 100% - 24px); }
}
