/*
Theme Name: Digital Pro – Royal Gold Edition
Theme URI: https://amitjaiswal.me
Author: Amit Jaiswal
Description: Premium Dark Luxury Gold Portfolio for Amit Jaiswal – Digital Marketing Strategist
Version: 3.0.0
License: GNU General Public License v2 or later
Text Domain: digitalpro
Tags: portfolio, dark, gold, luxury, marketing, personal
*/

/* =============================================
   DESIGN SYSTEM — LUXURY GOLD DARK
   Royal Gold #D4AF37 on Deep Black #080808
============================================= */
:root {
  /* Primary Gold Palette */
  --gold:        #D4AF37;
  --gold-h:      #F5C542;
  --gold-dim:    #A8892A;
  --gold-dark:   #8B6B1F;
  --gold-glow:   rgba(212,175,55,0.35);
  --gold-glow2:  rgba(212,175,55,0.18);
  --gold-glow3:  rgba(212,175,55,0.08);
  --gold-tint:   rgba(212,175,55,0.06);

  /* Secondary warm accents */
  --amber:       #F0A500;
  --amber-glow:  rgba(240,165,0,0.15);
  --cream:       #FFF8E7;
  --champagne:   rgba(255,248,220,0.08);

  /* Backgrounds — deep cinematic black */
  --bg0:  #080808;
  --bg1:  #0D0D0D;
  --bg2:  #111111;
  --bg3:  #171717;
  --bg4:  #1E1E1E;

  /* Glass surfaces */
  --glass-bg:       rgba(255,255,255,0.03);
  --glass-bg-h:     rgba(255,255,255,0.055);
  --glass-border:   1px solid rgba(212,175,55,0.12);
  --glass-border-h: 1px solid rgba(212,175,55,0.40);
  --glass-blur:     blur(20px);
  --glass-blur-lg:  blur(32px);

  /* Text */
  --white:  #FFFFFF;
  --w90:    rgba(255,255,255,0.92);
  --w80:    rgba(255,255,255,0.80);
  --w70:    rgba(255,255,255,0.70);
  --w50:    rgba(255,255,255,0.48);
  --w30:    rgba(255,255,255,0.28);
  --w15:    rgba(255,255,255,0.12);
  --w08:    rgba(255,255,255,0.06);
  --w04:    rgba(255,255,255,0.03);

  /* Typography — luxury serif + refined sans */
  --font-h: 'Cormorant Garamond', 'Playfair Display', 'Times New Roman', serif;
  --font-b: 'Jost', 'Montserrat', 'Segoe UI', sans-serif;

  /* Motion */
  --ease:        cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --t3: all 0.3s var(--ease);
  --t5: all 0.5s var(--ease);
}

/* =============================================
   RESET
============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-b);
  background: var(--bg0);
  color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--t3); }
ul { list-style: none; }
button { font-family: var(--font-b); }

/* =============================================
   GLOBAL BACKGROUND — LUXURY GOLD RADIAL ATMOSPHERE
============================================= */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 1000px 800px at 12% 8%,  rgba(212,175,55,0.055) 0%, transparent 55%),
    radial-gradient(ellipse 700px 600px at 88% 22%,  rgba(212,175,55,0.035) 0%, transparent 55%),
    radial-gradient(ellipse 600px 500px at 50% 88%,  rgba(240,165,0,0.030)  0%, transparent 60%),
    radial-gradient(ellipse 400px 400px at 70% 55%,  rgba(212,175,55,0.020) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* Fine noise texture overlay for luxury depth */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.025'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

/* =============================================
   LAYOUT
============================================= */
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; position: relative; z-index: 1; }
.section-pad { padding: 120px 0; }
section { position: relative; z-index: 1; }

/* =============================================
   TYPOGRAPHY
============================================= */
h1, h2, h3, h4 {
  font-family: var(--font-h);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: 0.01em;
  color: var(--white);
}
h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
p  { color: var(--w70); font-size: 1rem; line-height: 1.85; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.section-tag::before {
  content: '';
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), var(--amber));
  box-shadow: 0 0 8px var(--gold-glow);
}

.neon-bar {
  width: 52px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--amber), var(--gold-h));
  margin: 18px 0 28px;
  border-radius: 2px;
  box-shadow: 0 0 20px rgba(212,175,55,0.6), 0 0 40px rgba(212,175,55,0.25);
}

.section-desc { color: var(--w50); max-width: 560px; font-size: 0.97rem; line-height: 1.9; }
.section-header { margin-bottom: 64px; }

/* =============================================
   BUTTONS — LUXURY GOLD
============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 38px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--t3);
  border: none;
  border-radius: 2px;
  line-height: 1;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Primary — gold fill */
.btn-neon {
  background: linear-gradient(135deg, var(--gold), var(--amber));
  color: var(--bg0);
  font-weight: 700;
}
.btn-neon::before {
  background: linear-gradient(135deg, rgba(255,255,255,0.25), transparent);
}
.btn-neon:hover {
  background: linear-gradient(135deg, var(--gold-h), var(--gold));
  transform: translateY(-2px);
  box-shadow: 0 14px 45px rgba(212,175,55,0.45), 0 0 80px rgba(212,175,55,0.15), inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn-neon:hover::before { opacity: 1; }

/* Ghost — glass gold outline */
.btn-ghost {
  background: var(--glass-bg);
  color: var(--gold);
  border: 1px solid rgba(212,175,55,0.40);
  backdrop-filter: var(--glass-blur);
}
.btn-ghost:hover {
  background: rgba(212,175,55,0.10);
  border-color: var(--gold);
  color: var(--gold-h);
  box-shadow: 0 8px 30px var(--gold-glow), inset 0 1px 0 rgba(212,175,55,0.2);
  transform: translateY(-2px);
}

/* Dark CTA */
.btn-dark {
  background: var(--glass-bg);
  color: var(--gold);
  border: 1px solid rgba(212,175,55,0.30);
  backdrop-filter: var(--glass-blur);
}
.btn-dark:hover {
  background: rgba(212,175,55,0.10);
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--gold-glow);
}

/* =============================================
   GLASS CARD
============================================= */
.glass {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  border-radius: 4px;
  transition: var(--t3);
}
.glass:hover {
  background: var(--glass-bg-h);
  border: var(--glass-border-h);
  box-shadow: 0 8px 48px rgba(212,175,55,0.08), inset 0 1px 0 rgba(212,175,55,0.06);
}

/* =============================================
   PRELOADER
============================================= */
#preloader {
  position: fixed; inset: 0;
  background: var(--bg0);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  transition: opacity 0.9s ease, visibility 0.9s ease;
}
#preloader.gone { opacity: 0; visibility: hidden; pointer-events: none; }
/* Safety: agar gone class na lage tab bhi after 3s hide ho jaye */
@keyframes preloaderAutoHide {
  0%, 90% { opacity: 1; visibility: visible; }
  100%     { opacity: 0; visibility: hidden; pointer-events: none; }
}
#preloader { animation: preloaderAutoHide 3s forwards; }

.pre-name {
  font-family: var(--font-h);
  font-size: 3.4rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.08em;
  animation: pulse 1.6s ease infinite;
  text-shadow: 0 0 60px rgba(212,175,55,0.20);
}
.pre-name em { color: var(--gold); font-style: normal; }
.pre-track { width: 200px; height: 1px; background: var(--w08); position: relative; overflow: hidden; }
.pre-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-h)); animation: preBar 1.4s var(--ease-out) forwards; box-shadow: 0 0 16px var(--gold-glow); }
@keyframes preBar  { to { width: 100%; } }
@keyframes pulse   { 0%,100% { opacity:.25; } 50% { opacity:1; } }

/* =============================================
   HEADER
============================================= */
#site-header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  padding: 18px 0;
  background: rgba(8,8,8,0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(212,175,55,0.14);
  box-shadow: 0 2px 40px rgba(0,0,0,0.6);
  transition: var(--t3);
}
#site-header.sticky {
  padding: 12px 0;
  border-bottom: 1px solid rgba(212,175,55,0.20);
  box-shadow: 0 4px 50px rgba(0,0,0,0.8), 0 0 0 1px rgba(212,175,55,0.06);
}
.hdr-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-logo { display: flex; flex-direction: column; gap: 1px; }
.logo-name {
  font-family: var(--font-h);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.05em;
  line-height: 1;
}
.logo-tag {
  font-size: 0.52rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.7;
}
.main-nav ul { display: flex; align-items: center; gap: 40px; }
.main-nav a {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--w50);
  position: relative;
  padding-bottom: 3px;
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: linear-gradient(90deg, var(--gold), var(--amber));
  transition: var(--t3);
  box-shadow: 0 0 6px var(--gold-glow);
}
.main-nav a:hover,
.main-nav a.active { color: var(--gold); }
.main-nav a:hover::after,
.main-nav a.active::after { width: 100%; }
.hdr-cta .btn { padding: 10px 24px; font-size: 0.72rem; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 3px; background: none; border: none; }
.hamburger span { display: block; width: 24px; height: 1.5px; background: var(--w70); transition: var(--t3); }
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); background: var(--gold); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); background: var(--gold); }

/* =============================================
   MOBILE MENU
============================================= */
.mob-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.85); z-index: 997; opacity: 0; visibility: hidden; transition: var(--t3); }
.mob-overlay.open { opacity: 1; visibility: visible; }
.mob-menu {
  position: fixed; top: 0; right: 0;
  width: 300px; height: 100%;
  background: rgba(10,10,10,0.98);
  backdrop-filter: var(--glass-blur-lg);
  z-index: 998;
  transform: translateX(100%);
  transition: transform .5s var(--ease);
  padding: 100px 36px 52px;
  border-left: 1px solid rgba(212,175,55,0.12);
  display: flex; flex-direction: column; gap: 24px;
}
.mob-menu.open { transform: translateX(0); }
.mob-nav li { border-bottom: 1px solid rgba(212,175,55,0.07); }
.mob-nav a { display: block; padding: 14px 0; font-size: 0.9rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--w70); transition: var(--t3); }
.mob-nav a:hover { color: var(--gold); padding-left: 8px; }
.mob-menu .btn { margin-top: auto; justify-content: center; }

/* =============================================
   HERO
============================================= */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--bg0);
}

/* Subtle grid */
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(212,175,55,0.020) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,175,55,0.020) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 40%, transparent 100%);
}

/* Gold cinematic glow */
.hero-glow {
  position: absolute;
  top: -20%; right: -10%;
  width: 800px; height: 800px;
  background: radial-gradient(ellipse at 65% 25%,
    rgba(212,175,55,0.12) 0%,
    rgba(240,165,0,0.07) 35%,
    transparent 65%);
  pointer-events: none;
  animation: glowPulse 7s ease infinite alternate;
}
/* Second ambient glow left */
.hero-glow::after {
  content: '';
  position: absolute;
  bottom: -30%; left: -20%;
  width: 600px; height: 600px;
  background: radial-gradient(ellipse, rgba(212,175,55,0.06) 0%, transparent 60%);
  border-radius: 50%;
}
@keyframes glowPulse {
  from { transform: scale(1) rotate(0deg); opacity: 0.7; }
  to   { transform: scale(1.12) rotate(3deg); opacity: 1; }
}

.hero-inner { position: relative; z-index: 2; }

/* Eyebrow */
.hero-eyebrow { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; opacity: 0; animation: up 0.8s 0.3s var(--ease-out) forwards; }
.eyebrow-line { width: 42px; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); box-shadow: 0 0 6px var(--gold-glow); }
.eyebrow-txt { font-size: 0.68rem; letter-spacing: 0.4em; text-transform: uppercase; color: var(--gold); font-weight: 600; }

/* Main heading */
.hero-h1 { margin-bottom: 12px; opacity: 0; animation: up 0.8s 0.5s var(--ease-out) forwards; }
.hero-hello { display: block; font-size: clamp(1rem, 2vw, 1.3rem); font-weight: 400; font-family: var(--font-b); letter-spacing: 0.16em; color: var(--w50); margin-bottom: 6px; }
.hero-name { display: block; line-height: 1.04; }
.hero-name em { color: var(--gold); font-style: normal; text-shadow: 0 0 80px rgba(212,175,55,0.35), 0 0 160px rgba(212,175,55,0.15); }

.hero-desig { font-size: 0.82rem; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(212,175,55,0.75); font-weight: 500; margin-bottom: 30px; opacity: 0; animation: up 0.8s 0.7s var(--ease-out) forwards; }
.hero-desig span { color: var(--w30); margin: 0 10px; }
.hero-desc { max-width: 580px; margin-bottom: 50px; opacity: 0; animation: up 0.8s 0.9s var(--ease-out) forwards; color: var(--w70); font-size: 1.02rem; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; opacity: 0; animation: up 0.8s 1.1s var(--ease-out) forwards; }

/* Stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: start;
  gap: 0;
  margin-top: 86px;
  opacity: 0;
  animation: up 0.8s 1.3s var(--ease-out) forwards;
}
.stat-item {
  padding: 28px 44px 28px 0;
  border-right: 1px solid rgba(212,175,55,0.10);
  margin-right: 44px;
}
.stat-item:last-child { border-right: none; margin-right: 0; }
.stat-num { font-family: var(--font-h); font-size: 3.2rem; font-weight: 700; color: var(--gold); line-height: 1; margin-bottom: 6px; text-shadow: 0 0 30px rgba(212,175,55,0.30); }
.stat-lbl { font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--w50); }

/* Scroll indicator */
.hero-scroll { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--w30); font-size: 0.6rem; letter-spacing: 0.28em; text-transform: uppercase; z-index: 2; opacity: 0; animation: fadeIn 1s 2.2s forwards; }
.scroll-wire { width: 1px; height: 50px; background: linear-gradient(to bottom, var(--gold), transparent); animation: wire 2s ease infinite; box-shadow: 0 0 8px var(--gold-glow); }
@keyframes wire { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 50.01% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@keyframes up     { from { opacity:0; transform:translateY(32px); } to { opacity:1; transform:none; } }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }

/* =============================================
   ABOUT
============================================= */
#about { background: var(--bg0); }
#about::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(212,175,55,0.25), transparent); }
.about-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 90px; align-items: center; }

.about-img-wrap { position: relative; }
.about-img-frame {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  z-index: 1;
  border: 1px solid rgba(212,175,55,0.15);
}
.about-img-frame::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,8,8,0.50) 0%, transparent 50%);
  pointer-events: none;
}
.about-img-frame img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(15%); transition: filter .7s ease, transform .9s ease; }
.about-img-frame:hover img { filter: grayscale(0%); transform: scale(1.04); }

/* Luxury corner border accent */
.about-img-border {
  position: absolute;
  bottom: -22px; right: -22px;
  width: 60%; height: 60%;
  border: 1px solid rgba(212,175,55,0.20);
  z-index: 0;
}

.about-badge {
  position: absolute; bottom: 30px; left: -28px;
  background: linear-gradient(135deg, var(--gold), var(--amber));
  color: var(--bg0);
  padding: 22px 26px;
  z-index: 2;
  box-shadow: 0 14px 45px rgba(212,175,55,0.40), 0 0 0 1px rgba(212,175,55,0.25);
}
.badge-n { font-family: var(--font-h); font-size: 2.7rem; font-weight: 700; line-height: 1; display: block; }
.badge-t { font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; display: block; margin-top: 4px; opacity: 0.85; }

.about-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 34px 0; }
.meta-lbl { font-size: 0.61rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin-bottom: 5px; }
.meta-val { font-size: 0.9rem; color: var(--w90); }

.skills-wrap { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.skill-chip {
  padding: 7px 16px;
  background: var(--glass-bg);
  border: 1px solid rgba(212,175,55,0.12);
  backdrop-filter: blur(10px);
  font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--w50);
  transition: var(--t3); border-radius: 2px;
}
.skill-chip:hover { border-color: rgba(212,175,55,0.35); color: var(--gold); background: var(--gold-tint); }

.advantage-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: rgba(212,175,55,0.07); margin-top: 36px; }
.adv-box {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  padding: 26px 18px; text-align: center; transition: var(--t3);
}
.adv-box:hover { background: var(--glass-bg-h); }
.adv-pct { font-family: var(--font-h); font-size: 2.4rem; font-weight: 700; color: var(--gold); display: block; text-shadow: 0 0 25px var(--gold-glow); }
.adv-lbl { font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--w50); margin-top: 5px; display: block; }

/* =============================================
   COMPANIES (marquee)
============================================= */
#companies { background: var(--bg0); }
.marquee-outer { overflow: hidden; margin-top: 50px; border-top: 1px solid rgba(212,175,55,0.08); border-bottom: 1px solid rgba(212,175,55,0.08); }
.marquee-track { display: flex; width: max-content; animation: scroll 30s linear infinite; }
.marquee-track:hover { animation-play-state: paused; }
.co-logo { display: flex; align-items: center; justify-content: center; min-width: 200px; height: 80px; padding: 0 30px; border-right: 1px solid rgba(212,175,55,0.07); filter: grayscale(1) opacity(.30) sepia(.3); transition: var(--t3); cursor: pointer; }
.co-logo:hover { filter: grayscale(0) opacity(1) sepia(0) drop-shadow(0 0 12px rgba(212,175,55,0.3)); }
.co-logo span { font-family: var(--font-h); font-size: 1rem; letter-spacing: 0.12em; white-space: nowrap; color: var(--gold); }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* =============================================
   SERVICES — LUXURY GOLD GLASS CARDS
============================================= */
#services { background: var(--bg0); }
.svc-tabs { display: flex; border-bottom: 1px solid rgba(212,175,55,0.08); margin-bottom: 50px; }
.tab-btn { padding: 12px 28px; background: none; border: none; font-family: var(--font-b); font-size: 0.73rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--w50); cursor: pointer; transition: var(--t3); position: relative; bottom: -1px; }
.tab-btn.active, .tab-btn:hover { color: var(--gold); }
.tab-btn.active { border-bottom: 2px solid var(--gold); }

.tab-panel { display: none; }
.tab-panel.active { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }

.svc-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  border-radius: 6px;
  padding: 44px 36px;
  transition: var(--t3);
  position: relative;
  overflow: hidden;
}
.svc-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,0.0), transparent);
  transition: var(--t3);
}
.svc-card::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% -10%, rgba(212,175,55,0.06) 0%, transparent 70%);
  opacity: 0; transition: opacity 0.4s ease;
}
.svc-card:hover {
  background: var(--glass-bg-h);
  border: var(--glass-border-h);
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(0,0,0,0.5), 0 0 50px rgba(212,175,55,0.06), inset 0 1px 0 rgba(212,175,55,0.10);
}
.svc-card:hover::before { background: linear-gradient(90deg, transparent, rgba(212,175,55,0.30), transparent); }
.svc-card:hover::after { opacity: 1; }

.svc-icon {
  width: 58px; height: 58px;
  border: 1px solid rgba(212,175,55,0.28);
  background: rgba(212,175,55,0.06);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  margin-bottom: 30px;
  transition: var(--t3);
  border-radius: 4px;
}
.svc-card:hover .svc-icon { background: rgba(212,175,55,0.12); box-shadow: 0 0 24px var(--gold-glow); border-color: rgba(212,175,55,0.55); }
.svc-icon svg { width: 22px; height: 22px; }
.svc-title { font-family: var(--font-h); font-size: 1.35rem; margin-bottom: 14px; color: var(--white); }
.svc-desc  { font-size: 0.87rem; color: var(--w50); line-height: 1.88; }
.svc-more  { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.svc-more::after { content: '→'; transition: var(--t3); }
.svc-more:hover::after { transform: translateX(5px); }

/* =============================================
   EXPERIENCE TIMELINE — GOLD GLASS
============================================= */
#experience { background: var(--bg0); }
.timeline { position: relative; padding-left: 0; max-width: 900px; display: flex; flex-direction: column; gap: 16px; }

.tl-item {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  border-left: 2px solid rgba(212,175,55,0.35);
  border-radius: 6px;
  padding: 36px 40px;
  position: relative;
  opacity: 1;
  transform: none;
  transition: background .3s ease, border .3s ease, box-shadow .3s ease;
  overflow: hidden;
}
.tl-item::before {
  content: '';
  position: absolute; top: 0; left: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), var(--amber));
  opacity: 0;
  transition: opacity 0.3s ease;
}
.tl-item.show, .tl-item.on { opacity: 1; transform: none; }
.tl-item:hover { background: var(--glass-bg-h); border-left-color: var(--gold); box-shadow: 0 14px 50px rgba(0,0,0,0.35), 0 0 25px rgba(212,175,55,0.05); }
.tl-item:hover::before { opacity: 1; }
.tl-dot { display: none; }
.tl-year { display: inline-flex; align-items: center; gap: 10px; font-size: 0.66rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.tl-role { font-family: var(--font-h); font-size: 1.7rem; margin-bottom: 6px; color: var(--white); }
.tl-org  { font-size: 0.83rem; color: var(--w50); margin-bottom: 16px; letter-spacing: 0.06em; }
.tl-desc { font-size: 0.88rem; color: var(--w70); line-height: 1.85; }
.tl-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tl-tag  { padding: 4px 14px; background: var(--glass-bg); border: 1px solid rgba(212,175,55,0.12); font-size: 0.65rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--w50); transition: var(--t3); border-radius: 2px; }
.tl-tag:hover { border-color: rgba(212,175,55,0.35); color: var(--gold); }

/* =============================================
   PORTFOLIO — GOLD GLASS GRID
============================================= */
#portfolio { background: var(--bg0); }
.pf-filter { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 50px; }
.filter-btn { padding: 8px 20px; background: var(--glass-bg); backdrop-filter: blur(10px); border: var(--glass-border); color: var(--w50); font-family: var(--font-b); font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; cursor: pointer; transition: var(--t3); border-radius: 2px; }
.filter-btn.active, .filter-btn:hover { border-color: rgba(212,175,55,0.35); color: var(--gold); background: rgba(212,175,55,0.06); }

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

.pf-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  border-radius: 6px;
  padding: 40px;
  position: relative; overflow: hidden; transition: var(--t3); cursor: pointer;
}
.pf-card::after { content: ''; position: absolute; top: 0; left: 0; width: 0; height: 1px; background: linear-gradient(90deg, var(--gold), var(--amber)); transition: width 0.4s ease; box-shadow: 0 0 12px var(--gold-glow); }
.pf-card:hover { background: var(--glass-bg-h); border-color: rgba(212,175,55,0.22); transform: translateY(-5px); box-shadow: 0 22px 55px rgba(0,0,0,0.45), 0 0 35px rgba(212,175,55,0.04); }
.pf-card:hover::after { width: 100%; }
.pf-num { font-family: var(--font-h); font-size: 3.8rem; font-weight: 700; color: rgba(255,255,255,0.025); line-height: 1; margin-bottom: 22px; transition: var(--t3); }
.pf-card:hover .pf-num { color: rgba(212,175,55,0.07); }
.pf-cat { font-size: 0.65rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.pf-title { font-family: var(--font-h); font-size: 1.35rem; margin-bottom: 12px; color: var(--white); }
.pf-result { display: inline-flex; align-items: center; gap: 7px; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-top: 16px; padding: 6px 14px; border: 1px solid rgba(212,175,55,0.22); background: rgba(212,175,55,0.06); border-radius: 2px; }
.pf-result::before { content: '↑'; font-size: 0.9rem; }

/* =============================================
   TESTIMONIALS — GOLD GLASS
============================================= */
#testimonials { background: var(--bg0); }
.testi-wrap { position: relative; overflow: hidden; }
.testi-track { display: flex; transition: transform .65s var(--ease); }
.testi-slide { min-width: 100%; padding: 0 10%; }
.testi-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  border-radius: 8px;
  padding: 62px 58px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 50px rgba(0,0,0,0.35);
}
.testi-card::before { content: '"'; position: absolute; top: -10px; left: 48px; font-family: var(--font-h); font-size: 9rem; color: var(--gold); opacity: 0.07; line-height: 1; }
.testi-card::after { content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 100%; background: linear-gradient(to bottom, var(--gold), var(--amber)); box-shadow: 0 0 20px var(--gold-glow); }
.testi-text { font-family: var(--font-h); font-size: 1.38rem; line-height: 1.75; color: var(--w90); font-style: italic; margin-bottom: 40px; text-align: center; }
.testi-author { display: flex; align-items: center; justify-content: center; gap: 18px; }
.author-av { width: 54px; height: 54px; border-radius: 50%; background: linear-gradient(135deg, var(--gold), var(--amber)); display: flex; align-items: center; justify-content: center; font-family: var(--font-h); font-size: 1.2rem; font-weight: 700; color: var(--bg0); flex-shrink: 0; box-shadow: 0 0 22px var(--gold-glow); }
.a-name { font-size: 0.95rem; font-weight: 600; color: var(--white); }
.a-role { font-size: 0.7rem; color: var(--gold); letter-spacing: 0.12em; }

.slider-ctrl { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 42px; }
.sl-btn { width: 46px; height: 46px; border: var(--glass-border); background: var(--glass-bg); backdrop-filter: blur(10px); cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--w50); font-size: 1rem; transition: var(--t3); border-radius: 2px; }
.sl-btn:hover { border-color: rgba(212,175,55,0.35); color: var(--gold); box-shadow: 0 0 16px var(--gold-glow); background: rgba(212,175,55,0.06); }
.sl-dots { display: flex; align-items: center; gap: 8px; }
.sl-dot { width: 6px; height: 6px; background: var(--w15); border: none; cursor: pointer; transition: var(--t3); border-radius: 1px; }
.sl-dot.on { background: var(--gold); width: 26px; box-shadow: 0 0 8px var(--gold-glow); }

/* =============================================
   PRICING — LUXURY GOLD GLASS CARDS
============================================= */
#pricing { background: var(--bg0); }
.price-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 56px; align-items: start; }

.price-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  border-radius: 8px;
  padding: 50px 40px;
  position: relative; transition: var(--t3);
  overflow: hidden;
}
.price-card:hover { background: var(--glass-bg-h); border-color: rgba(212,175,55,0.18); box-shadow: 0 22px 65px rgba(0,0,0,0.45); transform: translateY(-3px); }

.price-card.hot {
  background: rgba(212,175,55,0.04);
  border: 1px solid rgba(212,175,55,0.28);
  transform: translateY(-22px);
  box-shadow: 0 35px 90px rgba(0,0,0,0.55), 0 0 60px rgba(212,175,55,0.07), inset 0 1px 0 rgba(212,175,55,0.14);
}
.price-card.hot::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 40% at 50% -10%, rgba(212,175,55,0.08) 0%, transparent 60%); pointer-events: none; }
.price-card.hot:hover { transform: translateY(-25px); box-shadow: 0 40px 100px rgba(0,0,0,0.6), 0 0 70px rgba(212,175,55,0.10); }

.price-badge { position: absolute; top: -1px; left: 40px; background: linear-gradient(90deg, var(--gold), var(--amber)); color: var(--bg0); font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase; padding: 5px 16px; font-weight: 700; box-shadow: 0 4px 18px var(--gold-glow); }
.price-plan { font-size: 0.68rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin-bottom: 26px; }
.price-row { display: flex; align-items: flex-start; gap: 3px; margin-bottom: 6px; }
.price-sym { font-size: 1.1rem; color: var(--gold); margin-top: 10px; }
.price-big { font-family: var(--font-h); font-size: 4rem; font-weight: 700; line-height: 1; color: var(--white); }
.price-per { font-size: 0.76rem; color: var(--w50); margin-bottom: 38px; }
.price-div { height: 1px; background: rgba(212,175,55,0.08); margin: 28px 0; }
.price-list li { display: flex; align-items: center; gap: 10px; padding: 9px 0; font-size: 0.86rem; color: var(--w70); border-bottom: 1px solid rgba(255,255,255,0.03); }
.price-list li:last-child { border-bottom: none; }
.price-list li::before { content: '✓'; color: var(--gold); font-size: 0.72rem; flex-shrink: 0; }
.price-list li.no { color: var(--w30); text-decoration: line-through; }
.price-list li.no::before { content: '✕'; color: var(--w15); }
.price-card .btn { width: 100%; justify-content: center; margin-top: 34px; }

/* =============================================
   BLOG — GOLD GLASS CARDS
============================================= */
#blog { background: var(--bg0); }
.blog-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 18px; margin-top: 56px; }
.blog-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  border-radius: 6px;
  overflow: hidden; transition: var(--t3);
}
.blog-card:hover { background: var(--glass-bg-h); border-color: rgba(212,175,55,0.18); transform: translateY(-3px); box-shadow: 0 18px 55px rgba(0,0,0,0.45); }
.blog-thumb { aspect-ratio: 16/9; overflow: hidden; background: var(--bg3); position: relative; }
.blog-thumb-bg { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.blog-thumb-bg svg { width: 48px; height: 48px; opacity: 0.12; color: var(--gold); }
.blog-thumb img { width:100%;height:100%;object-fit:cover;transition:transform .65s ease;filter:grayscale(20%); }
.blog-card:hover .blog-thumb img { transform: scale(1.05); filter: grayscale(0%); }
.blog-body { padding: 30px; }
.blog-meta { display: flex; gap: 14px; margin-bottom: 12px; }
.blog-date,.blog-cat { font-size: 0.65rem; letter-spacing: 0.20em; text-transform: uppercase; }
.blog-date { color: var(--w50); }
.blog-cat  { color: var(--gold); }
.blog-title { font-family: var(--font-h); font-size: 1.2rem; margin-bottom: 10px; color: var(--white); transition: var(--t3); line-height: 1.3; }
.blog-card:hover .blog-title { color: var(--gold); }
.blog-excerpt { font-size: 0.84rem; color: var(--w50); line-height: 1.82; }
.blog-read { display:inline-flex;align-items:center;gap:7px;margin-top:18px;font-size:0.68rem;letter-spacing:0.2em;text-transform:uppercase;color:var(--gold);font-weight:600; }
.blog-read::after { content:'→'; transition:var(--t3); }
.blog-card:hover .blog-read::after { transform: translateX(4px); }

/* =============================================
   CTA STRIP — LUXURY GOLD
============================================= */
#cta-strip {
  background: var(--bg0);
  border-top: 1px solid rgba(212,175,55,0.08);
  border-bottom: 1px solid rgba(212,175,55,0.08);
  padding: 100px 0;
  position: relative; overflow: hidden;
}
#cta-strip::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 100% at 10% 50%, rgba(212,175,55,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 90% 50%, rgba(240,165,0,0.04) 0%, transparent 60%);
}
#cta-strip::after { content: 'GROW'; position: absolute; right: -10px; top: 50%; transform: translateY(-50%); font-family: var(--font-h); font-size: 13rem; font-weight: 700; color: rgba(212,175,55,0.028); white-space: nowrap; pointer-events: none; letter-spacing: -0.05em; }
.cta-row { display: flex; align-items: center; justify-content: space-between; gap: 36px; position: relative; z-index: 1; }
.cta-h2 { font-size: clamp(1.8rem,3.5vw,3rem); color: var(--white); }
.cta-p  { color: var(--w50); margin-top: 10px; }
.cta-row .btn-dark { flex-shrink: 0; padding: 16px 44px; }

/* =============================================
   CONTACT — LUXURY GOLD GLASS
============================================= */
#contact { background: var(--bg0); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; }
.ci-item { display: flex; gap: 18px; margin-bottom: 34px; }
.ci-icon { width: 50px; height: 50px; border: 1px solid rgba(212,175,55,0.28); background: rgba(212,175,55,0.05); backdrop-filter: blur(10px); display: flex; align-items: center; justify-content: center; color: var(--gold); flex-shrink: 0; transition: var(--t3); border-radius: 4px; }
.ci-icon:hover { background: rgba(212,175,55,0.12); box-shadow: 0 0 24px var(--gold-glow); }
.ci-lbl { font-size: 0.61rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.ci-val { color: rgba(255,255,255,0.8); font-size: 0.9rem; }
.ci-val a:hover { color: var(--gold); }
.socials { display: flex; gap: 10px; margin-top: 38px; }
.soc-btn { width: 46px; height: 46px; border: var(--glass-border); background: var(--glass-bg); backdrop-filter: blur(10px); display: flex; align-items: center; justify-content: center; color: var(--w50); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.04em; transition: var(--t3); border-radius: 4px; }
.soc-btn:hover { border-color: rgba(212,175,55,0.35); color: var(--gold); background: rgba(212,175,55,0.06); box-shadow: 0 0 16px rgba(212,175,55,0.15); }

/* Form */
.form-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.fgroup { margin-bottom: 18px; }
.fgroup label { display:block; font-size:0.61rem; letter-spacing:0.3em; text-transform:uppercase; color:var(--w50); margin-bottom:8px; }
.fgroup input, .fgroup textarea, .fgroup select {
  width: 100%;
  background: rgba(255,255,255,0.025);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(212,175,55,0.10);
  color: var(--white);
  padding: 14px 16px;
  font-family: var(--font-b);
  font-size: 0.9rem;
  transition: var(--t3);
  outline: none;
  resize: none;
  appearance: none;
  border-radius: 4px;
}
.fgroup input:focus, .fgroup textarea:focus, .fgroup select:focus { border-color: rgba(212,175,55,0.45); background: rgba(212,175,55,0.04); box-shadow: 0 0 24px rgba(212,175,55,0.08); }
.fgroup input::placeholder, .fgroup textarea::placeholder { color: var(--w30); }
.fgroup textarea { min-height: 130px; }
.fgroup select option { background: var(--bg2); }
.form-submit .btn { width: 100%; justify-content: center; }
#form-msg { margin-top: 14px; font-size: 0.88rem; display: none; }

/* =============================================
   FOOTER — LUXURY GOLD
============================================= */
#site-footer { background: rgba(6,6,6,0.99); border-top: 1px solid rgba(212,175,55,0.10); padding: 80px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 52px; padding-bottom: 52px; border-bottom: 1px solid rgba(212,175,55,0.07); }
.ft-logo { font-family: var(--font-h); font-size: 2.1rem; font-weight: 700; color: var(--white); letter-spacing: 0.05em; margin-bottom: 4px; }
.ft-tagline { font-size: 0.54rem; letter-spacing: 0.34em; text-transform: uppercase; color: var(--gold); opacity: 0.6; margin-bottom: 18px; }
.ft-about { font-size: 0.85rem; color: var(--w50); line-height: 1.88; }
.ft-col-title { font-size: 0.68rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 22px; opacity: 0.85; }
.ft-links li { margin-bottom: 11px; }
.ft-links a { font-size: 0.84rem; color: var(--w50); transition: var(--t3); display: flex; align-items: center; gap: 8px; }
.ft-links a::before { content: '—'; color: var(--gold); font-size: 0.62rem; opacity: 0.5; }
.ft-links a:hover { color: var(--gold); padding-left: 4px; }
.nl-form { display: flex; margin-top: 8px; border-radius: 4px; overflow: hidden; border: 1px solid rgba(212,175,55,0.12); }
.nl-form input { flex: 1; background: var(--glass-bg); border: none; color: var(--white); padding: 12px 14px; font-family: var(--font-b); font-size: 0.84rem; outline: none; }
.nl-form input:focus { background: var(--glass-bg-h); }
.nl-form button { background: linear-gradient(135deg, var(--gold), var(--amber)); border: none; color: var(--bg0); padding: 12px 18px; cursor: pointer; font-weight: 700; font-size: 0.85rem; transition: var(--t3); }
.nl-form button:hover { background: linear-gradient(135deg, var(--gold-h), var(--gold)); }
.footer-btm { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
.ft-copy { font-size: 0.74rem; color: var(--w50); }
.ft-copy span { color: var(--gold); }
.ft-btm-links { display: flex; gap: 24px; }
.ft-btm-links a { font-size: 0.70rem; color: var(--w50); letter-spacing: 0.08em; }
.ft-btm-links a:hover { color: var(--gold); }

/* =============================================
   BACK TO TOP
============================================= */
#btt { position: fixed; bottom: 38px; right: 38px; width: 50px; height: 50px; background: var(--glass-bg); backdrop-filter: var(--glass-blur); border: var(--glass-border); color: var(--gold); cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; font-weight: 700; opacity: 0; visibility: hidden; transition: var(--t3); z-index: 900; border-radius: 4px; }
#btt.show { opacity: 1; visibility: visible; }
#btt:hover { background: rgba(212,175,55,0.10); border-color: rgba(212,175,55,0.45); box-shadow: 0 8px 30px var(--gold-glow); transform: translateY(-3px); }

/* =============================================
   SCROLL REVEAL — safe defaults
   rv classes are removed from index.php
   These kept only for any leftover usage
============================================= */
.rv, .rv-l, .rv-r { opacity: 1; transform: none; }
.rv.anim   { opacity: 0; transform: translateY(28px);  transition: opacity .6s ease, transform .6s ease; }
.rv-l.anim { opacity: 0; transform: translateX(-28px); transition: opacity .6s ease, transform .6s ease; }
.rv-r.anim { opacity: 0; transform: translateX(28px);  transition: opacity .6s ease, transform .6s ease; }
.rv.anim.on, .rv-l.anim.on, .rv-r.anim.on { opacity: 1; transform: none; }
.tl-item { opacity: 1; transform: none; transition: background .3s ease, border .3s ease, box-shadow .3s ease; }
.d1 { transition-delay: .08s; } .d2 { transition-delay: .16s; }
.d3 { transition-delay: .24s; } .d4 { transition-delay: .32s; }

/* =============================================
   BREADCRUMBS
============================================= */
.breadcrumbs { font-size: 0.78rem; color: var(--w50); }
.breadcrumbs a { color: var(--gold); }
.breadcrumbs span { margin: 0 8px; }

/* =============================================
   ENTRY CONTENT
============================================= */
.entry-content h2, .entry-content h3 { margin: 2rem 0 1rem; }
.entry-content p { margin-bottom: 1.2rem; color: var(--w70); }
.entry-content a { color: var(--gold); border-bottom: 1px solid rgba(212,175,55,0.3); }
.entry-content a:hover { border-color: var(--gold); }

/* =============================================
   GOLD SPOTLIGHT — Mouse tracking on cards
============================================= */
.svc-card,
.pf-card,
.price-card,
.tl-item,
.blog-card,
.testi-card {
  --mouse-x: 50%;
  --mouse-y: 50%;
}

/* =============================================
   MOBILE RESPONSIVE — COMPLETE OVERHAUL
============================================= */

/* --- TABLET 768–1024px --- */
@media (max-width: 1024px) {
  .container { padding: 0 24px; }
  .main-nav ul { gap: 24px; }
  .main-nav a { font-size: 0.68rem; }
  .price-card.hot { transform: none; }
  .pf-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .blog-card:first-child { grid-column: span 2; }
  .tab-panel.active { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

/* --- MOBILE 768px --- */
@media (max-width: 768px) {
  html { font-size: 15px; }
  .container { padding: 0 20px; }
  .section-pad { padding: 70px 0; }

  /* Header */
  .main-nav, .hdr-cta { display: none !important; }
  .hamburger { display: flex !important; }
  #site-header { padding: 14px 0; }

  /* Hero — stack vertically */
  #hero .container > div {
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-start !important;
    min-height: 100vh !important;
    padding-top: 90px !important;
    padding-bottom: 40px !important;
    gap: 32px !important;
  }
  #hero .hero-inner { max-width: 100% !important; }
  /* Hero image below text on mobile */
  #hero .container > div > div:last-child {
    display: block !important;
    width: 100% !important;
    height: 280px !important;
    order: -1;
    align-self: center;
  }
  #hero .container > div > div:last-child img {
    height: 280px !important;
    border-radius: 4px;
  }
  .hero-eyebrow { margin-bottom: 16px; }
  .hero-h1 { margin-bottom: 8px; }
  h1 { font-size: clamp(2.4rem, 8vw, 3.5rem); }
  .hero-desig { font-size: 0.72rem; letter-spacing: 0.18em; }
  .hero-desc { font-size: 0.95rem; margin-bottom: 32px; }
  .hero-btns { gap: 12px; }
  .hero-btns .btn { padding: 12px 28px; font-size: 0.72rem; }
  .hero-stats {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0 !important;
    margin-top: 40px !important;
    width: 100%;
  }
  .stat-item {
    padding: 16px 0 !important;
    margin-right: 0 !important;
    border-right: none !important;
    border-bottom: 1px solid rgba(212,175,55,0.08) !important;
  }
  .stat-item:nth-child(odd)  { padding-right: 16px !important; border-right: 1px solid rgba(212,175,55,0.08) !important; }
  .stat-item:nth-child(3),
  .stat-item:nth-child(4) { border-bottom: none !important; }
  .stat-num { font-size: 2.2rem; }

  /* About */
  .about-grid { grid-template-columns: 1fr !important; gap: 36px !important; }
  .about-img-wrap { max-width: 100%; }
  .about-img-frame { aspect-ratio: 3/2 !important; }
  .about-badge { left: auto; right: 16px; bottom: -16px; }
  .about-img-border { display: none; }
  .advantage-row { grid-template-columns: repeat(3,1fr); }
  .about-meta { grid-template-columns: 1fr 1fr; }

  /* Services tabs */
  .svc-tabs { flex-wrap: wrap; gap: 4px; }
  .tab-btn { padding: 8px 16px; font-size: 0.68rem; }
  .tab-panel.active { grid-template-columns: 1fr !important; gap: 14px; }
  .svc-card { padding: 32px 24px; }

  /* Timeline */
  .timeline { gap: 12px; }
  .tl-item { padding: 28px 24px; }
  .tl-role { font-size: 1.3rem; }

  /* Portfolio */
  .pf-filter { gap: 6px; }
  .filter-btn { padding: 7px 14px; font-size: 0.66rem; }
  .pf-grid { grid-template-columns: 1fr !important; gap: 14px; }
  .pf-card { padding: 28px 24px; }

  /* Testimonials */
  .testi-slide { padding: 0 2%; }
  .testi-card { padding: 36px 24px; }
  .testi-text { font-size: 1.1rem; }

  /* Pricing */
  .price-grid { grid-template-columns: 1fr !important; max-width: 440px; margin-left: auto; margin-right: auto; }
  .price-card.hot { transform: none !important; }

  /* Blog */
  .blog-grid { grid-template-columns: 1fr !important; gap: 14px; }
  .blog-card:first-child { grid-column: span 1 !important; }

  /* CTA */
  .cta-row { flex-direction: column !important; text-align: center !important; gap: 24px !important; }
  .cta-h2 { font-size: clamp(1.5rem, 5vw, 2rem); }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr !important; gap: 40px !important; }
  .form-row2 { grid-template-columns: 1fr !important; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr !important; gap: 32px !important; }
  .footer-btm { flex-direction: column !important; gap: 14px !important; text-align: center !important; }
  .ft-btm-links { flex-wrap: wrap; justify-content: center; gap: 16px; }
}

/* --- SMALL MOBILE 480px --- */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  h2 { font-size: clamp(1.7rem, 6vw, 2.4rem); }
  .hero-btns { flex-direction: column; align-items: stretch; }
  .hero-btns .btn { text-align: center; justify-content: center; }
  .btn { padding: 13px 24px; font-size: 0.72rem; }
  .testi-card { padding: 30px 18px; }
  .testi-text { font-size: 1rem; }
  .price-grid { max-width: 100%; }
  .advantage-row { grid-template-columns: 1fr 1fr 1fr; }
  .about-meta { grid-template-columns: 1fr; gap: 14px; }
  .skills-wrap { gap: 8px; }
  .skill-chip { font-size: 0.65rem; padding: 6px 12px; }
  h3 { font-size: clamp(1.1rem, 4vw, 1.4rem); }
  .section-pad { padding: 60px 0; }
  .tl-item { padding: 22px 18px; }
  .svc-card { padding: 28px 20px; }
  .pf-card { padding: 24px 20px; }
  .cta-row .btn { width: 100%; justify-content: center; }
}