/* ============================================================
   Azena Creative — Global Styles
   Palette: Charcoal #2B2B2B · White #FFFFFF · Gold #C4964A
   Type: Playfair Display (headings) · Inter (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&display=swap');

/* ── Custom Properties ── */
:root {
  --charcoal:        #2B2B2B;
  --charcoal-light:  #3C3C3C;
  --charcoal-dark:   #1A1A1A;
  --white:           #FFFFFF;
  --off-white:       #F7F6F3;
  --grey-100:        #F2F1EE;
  --grey-200:        #E4E3DF;
  --grey-300:        #C8C7C3;
  --grey-400:        #A8A7A3;
  --grey-500:        #888783;
  --grey-600:        #686763;
  --grey-700:        #484743;
  --gold:            #C4964A;
  --gold-light:      #D4AF73;
  --gold-dark:       #A87C35;
  --text:            #1C1C1A;
  --text-muted:      #686763;
  --radius-sm:       4px;
  --radius-md:       8px;
  --radius-lg:       16px;
  --radius-xl:       24px;
  --shadow-sm:       0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:       0 4px 12px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.05);
  --shadow-lg:       0 12px 40px rgba(0,0,0,.10), 0 4px 12px rgba(0,0,0,.06);
  --shadow-xl:       0 24px 64px rgba(0,0,0,.14);
  --transition:      all .3s cubic-bezier(.4,0,.2,1);
  --transition-slow: all .6s cubic-bezier(.4,0,.2,1);
  --nav-h:           80px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; }

/* ── Accessibility ── */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border-width: 0;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ── Typography ── */
h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.2;
  color: var(--charcoal-dark);
  font-weight: 600;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.5rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.75rem); }
h4 { font-size: clamp(1.1rem, 1.6vw, 1.3rem); }
p { color: var(--text-muted); line-height: 1.75; }

/* ── Layout Utilities ── */
.container {
  width: 100%; max-width: 1200px;
  margin: 0 auto; padding: 0 24px;
}
.section { padding: 100px 0; }
.section-sm { padding: 64px 0; }
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .section-sm { padding: 40px 0; }
}

/* ── Section Labels ── */
.section-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .75rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 20px;
}
.section-label::before {
  content: ''; display: block;
  width: 28px; height: 1px; background: var(--gold);
}

.section-header { max-width: 640px; }
.section-header.centered { max-width: 700px; margin: 0 auto; text-align: center; }
.section-header h2 { margin-bottom: 16px; }
.section-header p { font-size: 1.05rem; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 3px;
  font-size: .875rem; font-weight: 600; letter-spacing: .05em;
  text-transform: uppercase; transition: var(--transition);
  cursor: pointer; white-space: nowrap;
}
.btn-primary {
  background: var(--charcoal-dark); color: var(--white);
  border: 2px solid var(--charcoal-dark);
}
.btn-primary:hover {
  background: var(--gold); border-color: var(--gold);
  transform: translateY(-1px); box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent; color: var(--charcoal-dark);
  border: 2px solid var(--charcoal-dark);
}
.btn-outline:hover {
  background: var(--charcoal-dark); color: var(--white);
  transform: translateY(-1px);
}
.btn-outline-white {
  background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,.5);
}
.btn-outline-white:hover {
  background: var(--white); color: var(--charcoal-dark);
  border-color: var(--white);
}
.btn-gold {
  background: var(--gold); color: var(--white);
  border: 2px solid var(--gold);
}
.btn-gold:hover {
  background: var(--gold-dark); border-color: var(--gold-dark);
  transform: translateY(-1px); box-shadow: 0 8px 24px rgba(196,150,74,.3);
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ── Navigation ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: var(--transition);
}
.nav.scrolled {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--grey-200);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px;
}
.nav-logo {
  display: flex; align-items: center;
  transition: var(--transition);
}
.nav-logo:hover { opacity: .8; }
.nav-logo-wrap {
  display: flex; align-items: center; justify-content: center;
}
.nav-logo-img {
  height: 120px; width: auto; display: block;
  margin-left: -24px;
  filter: brightness(0) invert(1);
  transition: filter .3s ease;
}
.nav.scrolled .nav-logo-img {
  filter: brightness(0);
}
/* Footer logo image */
.footer-logo-img {
  height: 48px; width: auto; display: block; margin-bottom: 16px;
}

.nav-links {
  display: flex; align-items: center; gap: 36px;
}
.nav-link {
  font-size: .8rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--grey-600);
  transition: var(--transition); position: relative; padding: 4px 0;
}
.nav-link::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s ease;
}
.nav-link:hover, .nav-link.active { color: var(--charcoal-dark); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

.nav-cta { margin-left: 12px; }
.nav-cta .btn { padding: 10px 22px; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  width: 28px; cursor: pointer; padding: 4px;
}
.nav-toggle span {
  display: block; height: 2px; background: var(--charcoal-dark);
  transition: var(--transition); border-radius: 2px;
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.nav-mobile {
  display: none; position: fixed; inset: 0; z-index: 99;
  background: var(--white); padding: 120px 24px 40px;
  flex-direction: column; gap: 32px;
  transform: translateX(100%); transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.nav-mobile.open { transform: translateX(0); }
.nav-mobile .nav-link {
  font-size: 1.5rem; letter-spacing: .04em; color: var(--charcoal-dark);
}

@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-mobile { display: flex; }
}

/* ── Hero shared ── */
.hero-dark {
  background: var(--charcoal-dark);
  min-height: 100vh; padding-top: var(--nav-h);
  display: flex; align-items: center;
  position: relative; overflow: hidden;
}
.hero-dark h1, .hero-dark h2, .hero-dark h3, .hero-dark h4 { color: var(--white); }
.hero-dark p { color: rgba(255,255,255,.65); }

.noise-overlay {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px;
}
.grid-overlay {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* ── Gold Divider ── */
.gold-line {
  display: block; width: 48px; height: 2px;
  background: var(--gold); margin-bottom: 24px;
}
.gold-line.centered { margin: 0 auto 24px; }

/* ── Cards ── */
.card {
  background: var(--white); border: 1px solid var(--grey-200);
  border-radius: var(--radius-md); padding: 40px;
  transition: var(--transition); box-shadow: var(--shadow-sm);
}
.card:hover {
  box-shadow: var(--shadow-lg); border-color: transparent;
  transform: translateY(-4px);
}

/* ── Feature Icon ── */
.feature-icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: var(--grey-100); border-radius: var(--radius-md);
  margin-bottom: 24px; transition: var(--transition);
  color: var(--charcoal);
}
.card:hover .feature-icon {
  background: var(--gold); color: var(--white);
}
.feature-icon svg { width: 24px; height: 24px; }

/* ── Stat Numbers ── */
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 3rem; font-weight: 700;
  color: var(--charcoal-dark); line-height: 1;
}
.stat-label {
  font-size: .875rem; color: var(--text-muted);
  margin-top: 6px; font-weight: 500;
}

/* ── Scroll Animations ── */
.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-left {
  opacity: 0; transform: translateX(-32px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0; transform: translateX(32px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ── Stagger delays ── */
.delay-1 { transition-delay: .1s !important; }
.delay-2 { transition-delay: .2s !important; }
.delay-3 { transition-delay: .3s !important; }
.delay-4 { transition-delay: .4s !important; }
.delay-5 { transition-delay: .5s !important; }
.delay-6 { transition-delay: .6s !important; }

/* ── Testimonial Card ── */
.testimonial-card {
  background: var(--white); padding: 40px;
  border: 1px solid var(--grey-200); border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm); position: relative;
}
.testimonial-quote {
  font-family: 'Playfair Display', serif;
  font-size: 3rem; line-height: 1; color: var(--gold);
  margin-bottom: 16px;
}
.testimonial-text {
  font-size: 1.05rem; color: var(--text-muted);
  line-height: 1.75; margin-bottom: 28px;
  font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--grey-200); overflow: hidden; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem; font-weight: 600; color: var(--grey-500);
}
.testimonial-name { font-weight: 600; font-size: .9rem; color: var(--charcoal-dark); }
.testimonial-role { font-size: .8rem; color: var(--text-muted); margin-top: 2px; }
.stars { display: flex; gap: 3px; margin-bottom: 16px; }
.star { color: var(--gold); font-size: .9rem; }

/* ── Footer ── */
.footer {
  background: var(--charcoal-dark); color: rgba(255,255,255,.7);
  padding: 80px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 64px;
}
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem; font-weight: 700; color: var(--white);
  margin-bottom: 16px; display: block;
}
.footer-logo span { color: var(--gold); }
.footer-tagline { font-size: .9rem; line-height: 1.7; margin-bottom: 24px; }
.footer-social { display: flex; gap: 12px; }
.social-link {
  width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.15);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6); transition: var(--transition);
}
.social-link:hover {
  border-color: var(--gold); color: var(--gold);
  background: rgba(196,150,74,.1);
}
.social-link svg { width: 16px; height: 16px; }
.footer-heading {
  font-size: .75rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--white); margin-bottom: 20px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-link {
  font-size: .875rem; color: rgba(255,255,255,.6);
  transition: color .25s ease;
}
.footer-link:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 24px 0; display: flex;
  align-items: center; justify-content: space-between;
}
.footer-copy { font-size: .8rem; color: rgba(255,255,255,.4); }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-link {
  font-size: .8rem; color: rgba(255,255,255,.4);
  transition: color .25s ease;
}
.footer-bottom-link:hover { color: rgba(255,255,255,.8); }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

/* ── Process Steps ── */
.process-step {
  display: flex; gap: 28px; align-items: flex-start;
  padding: 36px 0; border-bottom: 1px solid var(--grey-200);
}
.process-step:last-child { border-bottom: none; }
.process-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem; font-weight: 700; color: var(--grey-200);
  line-height: 1; flex-shrink: 0; width: 60px; text-align: right;
  transition: color .3s ease;
}
.process-step:hover .process-num { color: var(--gold); }
.process-content h4 { margin-bottom: 8px; color: var(--charcoal-dark); }

/* ── Industry Tags ── */
.industry-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border: 1px solid var(--grey-200);
  border-radius: 100px; font-size: .85rem; font-weight: 500;
  color: var(--grey-700); background: var(--white);
  transition: var(--transition); cursor: default;
}
.industry-pill:hover {
  border-color: var(--gold); color: var(--gold);
  background: rgba(196,150,74,.04);
  transform: translateY(-2px);
}
.industry-pill svg { width: 16px; height: 16px; }

/* ── Portfolio Grid ── */
.portfolio-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
@media (max-width: 900px) { .portfolio-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .portfolio-grid { grid-template-columns: 1fr; } }

.portfolio-item {
  position: relative; overflow: hidden; border-radius: var(--radius-md);
  aspect-ratio: 4/3; background: var(--grey-100); cursor: pointer;
}
.portfolio-img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s cubic-bezier(.4,0,.2,1);
}
.portfolio-item:hover .portfolio-img { transform: scale(1.06); }
.portfolio-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,26,26,.92) 0%, rgba(26,26,26,.3) 60%, transparent 100%);
  opacity: 0; transition: opacity .4s ease;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 28px;
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-cat {
  font-size: .7rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 6px;
}
.portfolio-title { font-family: 'Playfair Display', serif; font-size: 1.2rem; color: var(--white); font-weight: 600; }
.portfolio-desc { font-size: .8rem; color: rgba(255,255,255,.7); margin-top: 6px; }

/* ── Filter Tabs ── */
.filter-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 40px; }
.filter-tab {
  padding: 8px 20px; border: 1px solid var(--grey-200);
  border-radius: 100px; font-size: .8rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--grey-600); background: var(--white);
  cursor: pointer; transition: var(--transition);
}
.filter-tab:hover { border-color: var(--charcoal-dark); color: var(--charcoal-dark); }
.filter-tab.active {
  background: var(--charcoal-dark); color: var(--white);
  border-color: var(--charcoal-dark);
}

/* ── Service Cards (Services Page) ── */
.service-section {
  padding: 80px 0; border-bottom: 1px solid var(--grey-200);
  scroll-margin-top: var(--nav-h);
}
.service-section:last-of-type { border-bottom: none; }
.service-num {
  font-family: 'Playfair Display', serif;
  font-size: 5rem; font-weight: 700; color: var(--grey-100);
  line-height: 1; margin-bottom: -16px; display: block;
}

/* ── Contact Form ── */
.form-group { margin-bottom: 24px; }
.form-label {
  display: block; font-size: .8rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--charcoal-dark); margin-bottom: 8px;
}
.form-control {
  width: 100%; padding: 14px 18px;
  border: 1px solid var(--grey-200); border-radius: var(--radius-sm);
  font-size: .9375rem; color: var(--text);
  background: var(--white); transition: var(--transition);
  appearance: none;
}
.form-control:focus {
  outline: none; border-color: var(--charcoal-dark);
  box-shadow: 0 0 0 3px rgba(43,43,43,.06);
}
.form-control::placeholder { color: var(--grey-400); }
textarea.form-control { resize: vertical; min-height: 140px; }
select.form-control { cursor: pointer; }

/* ── CTA Banner ── */
.cta-banner {
  background: var(--charcoal-dark); padding: 100px 0;
  text-align: center; position: relative; overflow: hidden;
}
.cta-banner h2, .cta-banner h3 { color: var(--white); }
.cta-banner p { color: rgba(255,255,255,.65); }

/* ── Checklist items ── */
.check-list { display: flex; flex-direction: column; gap: 12px; }
.check-item {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: .9375rem; color: var(--text-muted);
}
.check-icon {
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(196,150,74,.1); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px;
}
.check-icon svg { width: 11px; height: 11px; }

/* ── Page Hero (inner pages) ── */
.page-hero {
  background: var(--charcoal-dark); padding: 160px 0 100px;
  position: relative; overflow: hidden;
}
.page-hero h1, .page-hero h2 { color: var(--white); }
.page-hero p { color: rgba(255,255,255,.6); }

/* ── Hover arrow link ── */
.arrow-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--charcoal-dark);
  transition: var(--transition);
}
.arrow-link svg {
  width: 18px; height: 18px;
  transition: transform .25s ease;
}
.arrow-link:hover { color: var(--gold); }
.arrow-link:hover svg { transform: translateX(4px); }

/* ── Marquee ── */
.marquee-track {
  overflow: hidden; white-space: nowrap;
  border-top: 1px solid var(--grey-200);
  border-bottom: 1px solid var(--grey-200);
  padding: 18px 0;
}
.marquee-inner {
  display: inline-flex; gap: 56px;
  animation: marquee 22s linear infinite;
}
.marquee-inner:hover { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.marquee-item {
  font-size: .75rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--grey-400);
  display: flex; align-items: center; gap: 20px; flex-shrink: 0;
}
.marquee-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }

/* ── Placeholder image ── */
.placeholder-img {
  width: 100%; aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--grey-100) 0%, var(--grey-200) 100%);
  border-radius: var(--radius-md); display: flex;
  align-items: center; justify-content: center;
  color: var(--grey-400); font-size: .8rem; font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase;
}

/* ── Two-col layout util ── */
.two-col {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.two-col.gap-sm { gap: 40px; }
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 40px; }
}

/* ── Three-col ── */
.three-col {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 28px;
}
@media (max-width: 900px) { .three-col { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .three-col { grid-template-columns: 1fr; } }

/* ── Four-col ── */
.four-col {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 24px;
}
@media (max-width: 1000px) { .four-col { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .four-col { grid-template-columns: 1fr; } }
