/* ==========================================================================
   Dinesh Tiwari | IP & Trademark Advocate — styles.css
   ========================================================================== */

:root {
  --cream: #FAF7F2;
  --warm-white: #FFFFFF;
  --gold: #B8923A;
  --gold-light: #D4A853;
  --dark: #1A1A1A;
  --charcoal: #2D2D2D;
  --mid: #5C5C5C;
  --light-border: #E8E2D9;
  --section-bg: #F5F1EB;
  --whatsapp: #25D366;
  --whatsapp-dark: #1DA851;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--dark);
  overflow-x: hidden;
  max-width: 100vw;
}
img { max-width: 100%; display: block; }

/* global responsive helpers */
.hero-left, .hero-right, .about-img-wrap, .service-card, .client-card, .tm-item, .testi-card, .contact-detail, .form-row > *, .footer-links, .social-row {
  min-width: 0;
}

/* ==========================================================================
   NAV
   ========================================================================== */
.site-nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 999;
  background: rgba(250,247,242,0.95); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--light-border);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  gap: 1rem; padding: 0 5%; height: 72px;
}
.nav-logo {
  justify-self: start;
  font-family: 'Cormorant Garamond', serif; font-size: 1.35rem; font-weight: 600;
  color: var(--dark); letter-spacing: 0.04em; text-decoration: none; white-space: nowrap;
}
.nav-logo span { color: var(--gold); }
.nav-links {
  justify-self: start;
  margin-left: 1rem;
  display: flex; gap: 0; list-style: none;
  align-items: center;
}
.nav-links > li {
  position: relative;
  padding: 0 1.35rem;
}
.nav-links a {
  text-decoration: none; font-size: 0.8rem; font-weight: 500; color: var(--mid);
  letter-spacing: 0.08em; text-transform: uppercase; transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-dropdown .dropdown-menu {
  position: absolute; top: calc(100% + 0.75rem); left: 50%; transform: translateX(-50%) translateY(6px);
  min-width: 220px; padding: 0.7rem 0; background: var(--warm-white);
  border: 1px solid var(--light-border); border-radius: 6px; box-shadow: 0 16px 36px rgba(0,0,0,0.08);
  opacity: 0; visibility: hidden; pointer-events: none; transition: all 0.2s ease;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
.dropdown-menu a {
  display: block; padding: 0.7rem 1rem; font-size: 0.76rem; color: var(--charcoal);
}
.dropdown-menu a:hover { color: var(--gold); background: var(--cream); }
.nav-actions {
  justify-self: end; display: flex; align-items: center; gap: 0.75rem; flex-wrap: nowrap;
}
.nav-contact-link {
  display: inline-flex; align-items: center; gap: 0.35rem; color: var(--mid);
  text-decoration: none; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  white-space: nowrap;
}
.nav-contact-link svg { width: 14px; height: 14px; fill: currentColor; }
.nav-cta {
  background: var(--gold); color: #fff; padding: 0.55rem 1.4rem; border-radius: 2px;
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.07em; text-transform: uppercase;
  text-decoration: none; transition: background 0.2s; white-space: nowrap;
}
.nav-cta:hover { background: #9a7a2f; }

/* Mobile nav toggle (checkbox hack — no JS required) */
.nav-toggle-input { display: none; }
.nav-toggle-label {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  z-index: 1001;
}
.nav-toggle-label span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--dark);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

@media (max-width: 1024px) {
  .site-nav {
    grid-template-columns: 1fr auto;
    align-items: center;
    height: 68px;
    padding: 0 clamp(1rem, 4vw, 2rem);
    gap: 0;
  }
  .nav-toggle-label {
    display: flex;
    width: 48px;
    height: 48px;
    align-items: center;
    padding: 0.75rem;
    margin-right: -0.75rem;
  }
  .nav-toggle-label span { width: 100%; }
  .nav-links,
  .nav-actions {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    z-index: 998;
    background: rgba(250,247,242,0.98);
    backdrop-filter: blur(14px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  }
  .nav-links {
    top: 68px;
    max-height: calc(100vh - 68px - 88px);
    margin-left: 0;
    padding: 0.75rem clamp(1rem, 4vw, 2rem) 0.35rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    border-top: 1px solid rgba(232,226,217,0.72);
  }
  .nav-actions {
    top: auto;
    bottom: 0;
    padding: 0.85rem clamp(1rem, 4vw, 2rem);
    justify-content: stretch;
    gap: 0.75rem;
    border-top: 1px solid var(--light-border);
    box-shadow: 0 -12px 28px rgba(0,0,0,0.05);
  }
  .nav-toggle-input:checked ~ .nav-links,
  .nav-toggle-input:checked ~ .nav-actions {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
  .nav-toggle-input:checked ~ .nav-toggle-label span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle-input:checked ~ .nav-toggle-label span:nth-child(2) { opacity: 0; }
  .nav-toggle-input:checked ~ .nav-toggle-label span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-links > li {
    width: 100%;
    padding: 0;
  }
  .nav-links a {
    display: flex;
    align-items: center;
    min-height: 48px;
    width: 100%;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(232,226,217,0.72);
  }
  .nav-dropdown .dropdown-menu {
    position: static;
    display: grid;
    gap: 0.15rem;
    min-width: 0;
    padding: 0.35rem 0 0.65rem 0.9rem;
    margin: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }
  .dropdown-menu a {
    min-height: 44px;
    padding: 0.65rem 0;
    border-bottom: 0;
    color: var(--mid);
    white-space: normal;
  }
  .nav-contact-link,
  .nav-cta {
    min-height: 48px;
    justify-content: center;
  }
  .nav-contact-link {
    flex: 0 0 48px;
    border: 1px solid var(--light-border);
    background: var(--warm-white);
    border-radius: 2px;
  }
  .nav-contact-link span:last-child { display: none; }
  .nav-contact-link svg { width: 18px; height: 18px; }
  .nav-cta {
    display: inline-flex;
    flex: 1 1 auto;
    align-items: center;
    padding: 0.85rem 1rem;
    text-align: center;
  }
}

/* ==========================================================================
   HERO
   ========================================================================== */
#hero {
  min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr;
  padding-top: 72px; overflow: hidden;
}
.hero-left {
  display: flex; flex-direction: column; justify-content: center;
  padding: 7% 6% 7% 8%; animation: fadeUp 0.9s ease both;
  min-width: 0;
}
.hero-tag {
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); font-weight: 500; margin-bottom: 1.2rem;
}
.hero-title {
  font-family: 'Cormorant Garamond', serif; font-size: clamp(2.4rem, 4.5vw, 4.2rem);
  font-weight: 300; line-height: 1.15; color: var(--dark); margin-bottom: 1.2rem;
}
.hero-title em { font-style: italic; color: var(--gold); }
.hero-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  color: var(--charcoal);
  border-left: 3px solid var(--gold);
  padding-left: 1rem;
  line-height: 1.5;
  margin-bottom: 1.6rem;
  max-width: 460px;
}
.hero-sub {
  font-size: 1rem; color: var(--mid); line-height: 1.75; max-width: 420px;
  margin-bottom: 2.5rem; font-weight: 300;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary {
  background: var(--dark); color: #fff; padding: 0.85rem 2rem; font-size: 0.82rem;
  letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none;
  border-radius: 2px; transition: background 0.2s; display: inline-block;
}
.btn-primary:hover { background: var(--gold); }
.btn-outline {
  border: 1px solid var(--dark); color: var(--dark); padding: 0.85rem 2rem;
  font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none; border-radius: 2px; transition: all 0.2s; display: inline-block;
}
.btn-outline:hover { background: var(--dark); color: #fff; }
.hero-stats {
  display: flex; gap: 2.5rem; margin-top: 3rem; padding-top: 2rem;
  border-top: 1px solid var(--light-border); flex-wrap: wrap;
}
.stat-num {
  font-family: 'Cormorant Garamond', serif; font-size: 2rem; font-weight: 600;
  color: var(--dark); display: block;
}
.stat-lbl { font-size: 0.72rem; color: var(--mid); letter-spacing: 0.1em; text-transform: uppercase; }
.hero-right {
  background: var(--dark); position: relative; overflow: hidden;
  display: flex; align-items: flex-end; justify-content: center; min-height: 320px;
  min-width: 0; padding: 1.5rem 1rem 1.5rem;
}
.hero-img-wrap {
  width: min(100%, 380px); height: 100%; display: flex; align-items: flex-end; justify-content: center;
}
.hero-photo {
  width: 100%; max-width: 320px; height: auto; object-fit: cover;
  filter: grayscale(20%) contrast(1.05);
  border-top-left-radius: 200px; border-top-right-radius: 200px;
  display: block; margin-top: auto;
}
.hero-overlay-badge {
  position: absolute; top: 1.5rem; right: 1.5rem; background: var(--gold); color: #fff;
  padding: 0.9rem 1rem; border-radius: 4px; text-align: center; z-index: 2;
  max-width: calc(100% - 2rem);
  width: auto;
}
.badge-num { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 600; display: block; line-height: 1.1; }
.badge-txt { font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.92; }

/* ==========================================================================
   VIDEO
   ========================================================================== */
#video { background: var(--dark); padding: 6rem 8%; text-align: center; position: relative; overflow: hidden; }
#video::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2510 100%); opacity: 0.8;
}
.vid-inner { position: relative; z-index: 2; }
.section-tag-light {
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1rem; display: block;
}
.vid-title {
  font-family: 'Cormorant Garamond', serif; font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 300; color: #fff; margin-bottom: 1rem; line-height: 1.2;
}
.vid-sub {
  color: rgba(255,255,255,0.55); max-width: 500px; margin: 0 auto 2.5rem;
  font-weight: 300; line-height: 1.7;
}
.video-container {
  max-width: 800px; margin: 0 auto; border-radius: 6px; overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5); position: relative; aspect-ratio: 16/9;
}
.video-placeholder {
  width: 100%; height: 100%; background: linear-gradient(135deg, #1e1e1e, #2a2010);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  cursor: pointer; border: 1px solid rgba(184,146,58,0.3);
}
.play-btn {
  width: 72px; height: 72px; border-radius: 50%; border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center; color: var(--gold);
  font-size: 1.6rem; margin-bottom: 1.2rem; transition: all 0.3s; cursor: pointer;
  background: rgba(184,146,58,0.1);
}
.play-btn:hover { background: var(--gold); color: #fff; transform: scale(1.1); }
.vid-label { color: rgba(255,255,255,0.5); font-size: 0.82rem; letter-spacing: 0.1em; padding: 0 1rem; }

/* ==========================================================================
   ABOUT
   ========================================================================== */
#about { padding: 7rem 8%; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 6rem; align-items: start; }
.about-img-wrap { position: relative; min-width: 0; width: min(420px, 100%); margin: 0 auto; }
.about-img-bg {
  position: absolute; top: 1.5rem; left: 1.5rem; right: -1.5rem; bottom: -1.5rem;
  background: var(--section-bg); border-radius: 4px; z-index: 0;
}
.about-photo-box {
  position: relative; z-index: 1; border-radius: 28px; overflow: hidden;
  box-shadow: 0 28px 72px rgba(0,0,0,0.16);
  aspect-ratio: 4/5;
  width: 100%;
  max-width: 360px;
}
.about-photo-box::before {
  content: '';
  position: absolute;
  inset: -16px;
  border: 2px solid rgba(184,146,58,0.22);
  border-radius: 32px;
  transform: rotate(-3deg);
  pointer-events: none;
}
.about-photo-box img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.about-accent-line {
  position: absolute; bottom: 2rem; left: -2rem; background: var(--gold);
  height: 3px; width: 80px; z-index: 2;
}
.section-tag {
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1rem; display: block;
}
.section-title {
  font-family: 'Cormorant Garamond', serif; font-size: clamp(1.9rem, 3vw, 2.8rem);
  font-weight: 300; line-height: 1.2; margin-bottom: 1.5rem;
}
.about-body { color: var(--mid); line-height: 1.85; font-weight: 300; margin-bottom: 1.2rem; }
.edu-tag {
  display: inline-flex; align-items: center; gap: 0.5rem; background: var(--section-bg);
  padding: 0.5rem 1rem; border-radius: 2px; font-size: 0.78rem; color: var(--mid);
  border-left: 2px solid var(--gold); flex-wrap: wrap;
}

#client-work { padding: 5rem 8%; background: var(--warm-white); }
.client-work-inner { max-width: 1100px; margin: 0 auto; }
.client-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.client-card {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem;
  background: #fff; border: 1px solid rgba(33,33,33,0.08);
  padding: 1rem 1.1rem; border-radius: 14px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.04);
  min-width: 0;
}
.client-logo {
  width: 40px; height: 40px; display: grid; place-items: center;
  background: rgba(184,146,58,0.12); color: var(--gold); font-weight: 700;
  border-radius: 10px; font-size: 0.85rem; letter-spacing: 0.08em;
}
.client-note {
  margin-top: 1.75rem; color: var(--mid); font-size: 0.95rem;
  font-weight: 400; letter-spacing: 0.02em;
}

/* ==========================================================================
   PAGE HEADER (sub-pages)
   ========================================================================== */
.page-header {
  padding: 11rem 8% 5rem; text-align: center; background: var(--section-bg);
  border-bottom: 1px solid var(--light-border);
}
.page-header .section-tag { justify-content: center; display: flex; }
.page-header .section-title { margin-bottom: 0.8rem; }
.page-header p { color: var(--mid); font-weight: 300; max-width: 560px; margin: 0 auto; line-height: 1.7; }

/* ==========================================================================
   SERVICES
   ========================================================================== */
#services { background: var(--section-bg); padding: 7rem 8%; }
#services.page-services-main { padding-top: 6rem; }
.services-header { text-align: center; margin-bottom: 4rem; }
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5px;
  background: var(--light-border); border: 1px solid var(--light-border);
  border-radius: 4px; overflow: hidden;
}
.service-card {
  background: var(--warm-white); padding: 2.5rem 2rem; transition: all 0.3s;
  cursor: default; position: relative; overflow: hidden; min-width: 0;
}
.service-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; height: 2px; width: 0;
  background: var(--gold); transition: width 0.4s ease;
}
.service-card:hover { background: var(--cream); }
.service-card:hover::after { width: 100%; }
.service-icon { font-size: 1.8rem; margin-bottom: 1.2rem; display: block; }
.service-name {
  font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; font-weight: 600;
  margin-bottom: 0.8rem; color: var(--dark);
}
.service-desc { font-size: 0.84rem; color: var(--mid); line-height: 1.7; font-weight: 300; }

/* ==========================================================================
   TM SERVICES
   ========================================================================== */
#tm { padding: 7rem 8%; }
.tm-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 5rem; align-items: start; }
.tm-intro { position: sticky; top: 100px; min-width: 0; }
.tm-intro p { color: var(--mid); line-height: 1.85; font-weight: 300; margin-bottom: 2rem; }
.tm-list { display: flex; flex-direction: column; gap: 0.8rem; min-width: 0; }
.tm-item {
  display: flex; align-items: flex-start; gap: 1rem; padding: 1.4rem 1.6rem;
  background: var(--warm-white); border: 1px solid var(--light-border);
  border-radius: 3px; transition: all 0.2s;
}
.tm-item:hover { border-color: var(--gold); transform: translateX(4px); box-shadow: 0 4px 20px rgba(184,146,58,0.08); }
.tm-bullet { width: 8px; height: 8px; background: var(--gold); border-radius: 50%; margin-top: 6px; flex-shrink: 0; }
.tm-item-text { font-size: 0.9rem; color: var(--charcoal); line-height: 1.5; font-weight: 400; min-width: 0; }
.tm-item-text strong { display: block; font-weight: 500; margin-bottom: 0.2rem; font-size: 0.92rem; }
.tm-item-text span { color: var(--mid); font-size: 0.83rem; font-weight: 300; }

/* ==========================================================================
   SOCIAL PROOF / TESTIMONIALS
   ========================================================================== */
#social-proof { background: var(--dark); padding: 6rem 8%; }
.proof-header { text-align: center; margin-bottom: 3.5rem; }
.proof-header .section-title { color: #fff; }
.proof-header .section-tag { color: var(--gold-light); }
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  justify-content: center;
  gap: 1.4rem;
  margin-bottom: 4rem;
  align-items: start;
}
.testi-card {
  width: min(100%, 320px);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  padding: 1.65rem 1.4rem;
  border-radius: 22px;
  box-shadow: 0 18px 42px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.testi-card:hover { transform: translateY(-6px); border-color: rgba(184,146,58,0.45); box-shadow: 0 26px 55px rgba(0,0,0,0.14); }
.testimonials.single-review {
  justify-items: center;
}
.testimonials.single-review .testi-card {
  margin: 0 auto;
}
.testimonials .testi-card:nth-child(5n+2) { margin-top: 16px; }
.testimonials .testi-card:nth-child(5n+3) { margin-top: 10px; }
.testimonials .testi-card:nth-child(5n+4) { margin-top: 20px; }
.testimonials .testi-card:nth-child(5n+5) { margin-top: 8px; }
.stars { color: var(--gold); font-size: 0.85rem; letter-spacing: 2px; margin-bottom: 1rem; }
.testi-text {
  color: rgba(255,255,255,0.8); font-size: 0.88rem; line-height: 1.8;
  font-weight: 300; font-style: italic; margin-bottom: 1.3rem;
}
.testi-author { color: #fff; font-size: 0.88rem; font-weight: 500; }
.testi-role { color: rgba(255,255,255,0.45); font-size: 0.78rem; margin-top: 0.3rem; }
.logos-row {
  display: flex; align-items: center; justify-content: center; gap: 3rem;
  flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 3rem;
}
.logo-item {
  color: rgba(255,255,255,0.25); font-size: 0.75rem; letter-spacing: 0.18em;
  text-transform: uppercase; font-weight: 500;
}

/* ==========================================================================
   OTHER SERVICES
   ========================================================================== */
#other-services { padding: 7rem 8%; background: var(--section-bg); }
.other-services-header { text-align: center; margin-bottom: 4rem; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
#contact { padding: 7rem 8%; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 5rem; align-items: start; }
.contact-info { min-width: 0; }
.contact-info p { color: var(--mid); line-height: 1.85; font-weight: 300; margin-bottom: 2.5rem; }
.contact-detail { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }
.contact-icon {
  width: 40px; height: 40px; border: 1px solid var(--light-border); border-radius: 2px;
  display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0;
}
.contact-detail-text { font-size: 0.83rem; color: var(--mid); font-weight: 300; min-width: 0; }
.contact-detail-text strong { display: block; color: var(--dark); font-weight: 500; font-size: 0.88rem; margin-bottom: 0.2rem; }
.contact-detail-text a { color: var(--mid); text-decoration: none; word-break: break-word; }
.contact-detail-text a:hover { color: var(--gold); }

.contact-form { display: flex; flex-direction: column; gap: 1.2rem; min-width: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; min-width: 0; }
.form-label { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mid); }
.form-input, .form-textarea {
  background: var(--cream); border: 1px solid var(--light-border); padding: 0.85rem 1rem;
  font-size: 0.88rem; color: var(--dark); border-radius: 2px; font-family: 'DM Sans', sans-serif;
  outline: none; transition: border-color 0.2s; width: 100%;
}
.form-input:focus, .form-textarea:focus { border-color: var(--gold); }
.form-textarea { resize: vertical; min-height: 130px; }
.form-submit {
  background: var(--dark); color: #fff; border: none; padding: 1rem 2.5rem;
  font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer;
  border-radius: 2px; font-family: 'DM Sans', sans-serif; font-weight: 500;
  transition: background 0.2s; align-self: flex-start;
}
.form-submit:hover { background: var(--gold); }

/* ==========================================================================
   SOCIAL PROFILES (Contact page)
   ========================================================================== */
#socials { padding: 0 8% 7rem; }
.socials-card {
  background: var(--section-bg); border: 1px solid var(--light-border); border-radius: 6px;
  padding: 3rem 3rem; text-align: center;
}
.socials-card .section-tag { justify-content: center; display: flex; }
.socials-card h3 {
  font-family: 'Cormorant Garamond', serif; font-size: 1.7rem; font-weight: 300;
  margin-bottom: 0.6rem;
}
.socials-card > p { color: var(--mid); font-weight: 300; margin-bottom: 2.2rem; }
.social-row { display: flex; align-items: center; justify-content: center; gap: 1.2rem; flex-wrap: wrap; }
.social-link {
  display: flex; align-items: center; gap: 0.6rem; background: var(--warm-white);
  border: 1px solid var(--light-border); padding: 0.8rem 1.4rem; border-radius: 30px;
  text-decoration: none; color: var(--dark); font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.04em; transition: all 0.25s ease;
}
.social-link svg { width: 18px; height: 18px; flex-shrink: 0; }
.social-link:hover {
  background: var(--dark); color: #fff; border-color: var(--dark);
  transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* ==========================================================================
   WHATSAPP CTA
   ========================================================================== */
.whatsapp-cta-wrap { padding: 0 8% 5rem; }
.whatsapp-cta {
  display: flex; align-items: center; justify-content: center; gap: 0.85rem;
  background: var(--whatsapp); color: #fff; text-decoration: none;
  padding: 1.15rem 2rem; border-radius: 8px; font-size: 0.95rem; font-weight: 500;
  letter-spacing: 0.02em; max-width: 480px; margin: 0 auto;
  box-shadow: 0 12px 30px rgba(37,211,102,0.35);
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.whatsapp-cta:hover {
  background: var(--whatsapp-dark); transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(37,211,102,0.45);
}
.whatsapp-cta svg { width: 26px; height: 26px; flex-shrink: 0; }
.whatsapp-cta-sub {
  text-align: center; color: var(--mid); font-size: 0.78rem; margin-top: 0.9rem;
  letter-spacing: 0.04em;
}

/* Floating WhatsApp button (all pages) */
.whatsapp-float {
  position: fixed; bottom: 1.6rem; right: 1.6rem; z-index: 998;
  width: 58px; height: 58px; border-radius: 50%; background: var(--whatsapp);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,0.5); transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.whatsapp-float:hover { transform: scale(1.08); box-shadow: 0 10px 28px rgba(37,211,102,0.6); }
.whatsapp-float svg { width: 30px; height: 30px; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
  background: var(--charcoal); padding: 3rem 8%; display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
.footer-logo { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; color: #fff; }
.footer-logo span { color: var(--gold); }
.footer-logo .footer-role { font-size: 0.75rem; color: rgba(255,255,255,0.3); font-family: 'DM Sans', sans-serif; font-weight: 300; }
.footer-links { display: flex; gap: 2rem; flex-wrap: wrap; }
.footer-links a {
  color: rgba(255,255,255,0.4); font-size: 0.75rem; text-decoration: none;
  letter-spacing: 0.08em; text-transform: uppercase; transition: color 0.2s;
}
.footer-links a:hover, .footer-links a.active { color: var(--gold); }
.footer-copy { color: rgba(255,255,255,0.25); font-size: 0.72rem; }

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-left { animation: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  #hero { min-height: auto; }
  .hero-left { padding: 6rem 5% 5rem 6%; }
  .hero-title { font-size: clamp(2.45rem, 5vw, 3.45rem); }
  .hero-tagline { font-size: clamp(1.08rem, 2.2vw, 1.28rem); }
  .hero-stats { gap: 1.7rem; }

  #about {
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
    gap: 3.5rem;
    padding: 6rem 6%;
  }
  .about-img-wrap { width: min(360px, 100%); }

  #client-work { padding: 4.5rem 6%; }
  .client-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .client-card {
    min-height: 86px;
    align-content: center;
  }

  #services,
  #other-services,
  #tm,
  #contact,
  #video,
  #social-proof { padding-left: 6%; padding-right: 6%; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-card {
    min-height: 220px;
    display: flex;
    flex-direction: column;
  }

  .tm-layout { grid-template-columns: 1fr; gap: 3rem; }
  .tm-intro {
    position: static;
    max-width: 720px;
  }

  .testimonials { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .testi-card {
    width: 100%;
    max-width: none;
  }
  .testimonials .testi-card:nth-child(n) { margin-top: 0; }

  .contact-grid { grid-template-columns: 1fr; gap: 3.25rem; }
  .contact-info { max-width: 680px; }

  footer {
    align-items: flex-start;
    gap: 1.25rem 2rem;
  }
}

@media (max-width: 768px) {
  body { font-size: 16px; }
  img {
    max-width: 100%;
    height: auto;
  }

  .site-nav {
    height: 64px;
    padding: 0 5%;
  }
  .nav-links {
    top: 64px;
    max-height: calc(100vh - 64px - 88px);
    padding-left: 5%;
    padding-right: 5%;
  }
  .nav-actions {
    padding-left: 5%;
    padding-right: 5%;
  }

  #hero {
    grid-template-columns: 1fr;
    padding-top: 64px;
    min-height: auto;
    align-items: stretch;
  }
  .hero-right {
    order: 1;
    min-height: 0;
    padding: 2rem 6% 0;
    align-items: flex-end;
  }
  .hero-img-wrap {
    width: min(100%, 330px);
    height: auto;
    min-height: 280px;
  }
  .hero-photo {
    width: 100%;
    max-width: 310px;
    max-height: 390px;
    object-fit: cover;
  }
  .hero-overlay-badge {
    top: 1.2rem;
    right: 6%;
    padding: 0.65rem 0.85rem;
    max-width: min(230px, 62vw);
  }
  .badge-num { font-size: clamp(1.1rem, 4.2vw, 1.35rem); }
  .badge-txt {
    font-size: 0.58rem;
    letter-spacing: 0.1em;
  }
  .hero-left {
    order: 2;
    align-items: center;
    text-align: center;
    padding: 2.6rem 6% 4.2rem;
  }
  .hero-tag {
    font-size: 0.68rem;
    line-height: 1.6;
    margin-bottom: 1rem;
  }
  .hero-title {
    font-size: clamp(2.25rem, 9vw, 3.1rem);
    line-height: 1.08;
    margin-bottom: 1rem;
  }
  .hero-tagline {
    max-width: 35rem;
    padding-left: 0;
    padding-top: 1rem;
    border-left: 0;
    border-top: 3px solid var(--gold);
    font-size: clamp(1.05rem, 4.2vw, 1.22rem);
  }
  .hero-sub { max-width: 100%; }
  .hero-btns {
    width: min(100%, 430px);
    justify-content: center;
  }
  .hero-btns a,
  .btn-primary,
  .btn-outline,
  .tm-intro .btn-primary,
  .about-body .btn-outline {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .hero-stats {
    width: min(100%, 480px);
    justify-content: center;
    gap: 1rem;
    margin-top: 2.2rem;
    padding-top: 1.5rem;
  }
  .hero-stats > div {
    flex: 1 1 135px;
    min-width: 0;
  }
  .stat-num { font-size: clamp(1.65rem, 7vw, 2rem); }
  .stat-lbl {
    display: block;
    line-height: 1.45;
  }

  #video,
  #services,
  #other-services,
  #tm,
  #contact,
  #social-proof {
    padding: 4.25rem 6%;
  }
  .vid-title,
  .section-title {
    font-size: clamp(1.85rem, 7vw, 2.35rem);
  }
  .play-btn {
    width: 60px;
    height: 60px;
  }

  #about {
    grid-template-columns: 1fr;
    padding: 4.5rem 6%;
    gap: 3rem;
    text-align: left;
  }
  .about-img-wrap {
    order: -1;
    width: min(340px, 88vw);
  }
  .about-img-bg,
  .about-accent-line { display: none; }
  .about-photo-box {
    max-width: 330px;
    margin: 0 auto;
    border-radius: 22px;
  }

  #client-work { padding: 4rem 6%; }
  .client-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
  .client-card {
    min-height: 80px;
    flex-wrap: nowrap;
    align-items: center;
    padding: 1rem;
    border-radius: 10px;
  }
  .client-card > span:last-child {
    min-width: 0;
    overflow-wrap: anywhere;
    line-height: 1.45;
  }
  .client-logo {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
  }

  .page-header {
    padding: 8.5rem 6% 3.5rem;
  }
  .page-header p { font-size: 0.95rem; }

  .services-header,
  .other-services-header,
  .proof-header {
    margin-bottom: 2.5rem;
  }
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1px;
  }
  .service-card {
    min-height: auto;
    padding: 2rem 1.45rem;
  }
  .service-name {
    font-size: clamp(1.18rem, 5vw, 1.35rem);
    line-height: 1.25;
  }

  .tm-layout { gap: 2rem; }
  .tm-item {
    padding: 1.15rem 1.15rem;
    gap: 0.85rem;
  }
  .tm-item:hover { transform: none; }
  .tm-item-text,
  .tm-item-text strong,
  .tm-item-text span {
    overflow-wrap: anywhere;
  }

  .testimonials {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 3rem;
  }
  .testi-card {
    padding: 1.45rem 1.25rem;
    border-radius: 16px;
    text-align: left;
  }
  .testi-text { font-size: 0.9rem; }
  .logos-row {
    gap: 1rem 1.35rem;
    padding-top: 2rem;
  }
  .logo-item {
    text-align: center;
    line-height: 1.6;
  }

  .contact-grid { gap: 2.5rem; }
  .contact-detail {
    gap: 0.85rem;
    margin-bottom: 1.25rem;
  }
  .contact-icon {
    width: 38px;
    height: 38px;
  }
  .form-row { grid-template-columns: 1fr; }
  .form-input,
  .form-textarea,
  .form-submit {
    width: 100%;
    min-height: 48px;
  }
  .form-submit {
    align-self: stretch;
    padding: 1rem 1.4rem;
  }

  #socials { padding: 0 6% 4rem; }
  .socials-card { padding: 2.25rem 1.5rem; }
  .social-row { gap: 0.8rem; }
  .social-link {
    min-height: 48px;
    justify-content: center;
  }

  .whatsapp-cta-wrap { padding: 0 6% 3.5rem; }
  .whatsapp-cta {
    min-height: 52px;
    padding: 1rem 1.3rem;
    width: 100%;
  }
  .whatsapp-float {
    width: 52px;
    height: 52px;
    right: max(1rem, env(safe-area-inset-right));
    bottom: max(1rem, env(safe-area-inset-bottom));
  }
  .whatsapp-float svg {
    width: 27px;
    height: 27px;
  }

  footer {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2.6rem 6% calc(2.6rem + env(safe-area-inset-bottom));
    gap: 1.35rem;
  }
  .footer-logo {
    line-height: 1.5;
  }
  .footer-links {
    justify-content: center;
    gap: 0.45rem 1.2rem;
  }
  .footer-links a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .nav-logo { font-size: clamp(1rem, 5vw, 1.15rem); }
  .nav-actions { gap: 0.6rem; }
  .nav-cta { font-size: 0.74rem; }

  .hero-right { padding: 1.4rem 5% 0; }
  .hero-img-wrap {
    width: min(100%, 280px);
    min-height: 245px;
  }
  .hero-photo { max-width: 260px; }
  .hero-overlay-badge {
    position: static;
    align-self: center;
    order: -1;
    width: fit-content;
    max-width: 100%;
    margin-bottom: 0.9rem;
  }
  .hero-left {
    padding: 2.25rem 5% 3.5rem;
  }
  .hero-title { font-size: clamp(2rem, 12vw, 2.65rem); }
  .hero-btns { gap: 0.75rem; }
  .hero-btns a {
    width: 100%;
    flex: 1 1 100%;
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }
  .btn-primary,
  .btn-outline {
    width: 100%;
    text-align: center;
  }
  .hero-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

  #video,
  #about,
  #client-work,
  #services,
  #other-services,
  #tm,
  #contact,
  #social-proof {
    padding-left: 5%;
    padding-right: 5%;
  }
  .section-tag,
  .section-tag-light,
  .hero-tag {
    letter-spacing: 0.14em;
  }
  .section-title,
  .vid-title {
    font-size: clamp(1.65rem, 9vw, 2.05rem);
  }
  .about-body,
  .tm-intro p,
  .contact-info p,
  .vid-sub {
    font-size: 0.95rem;
    line-height: 1.78;
  }
  .edu-tag {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .client-card {
    padding: 0.95rem;
    gap: 0.85rem;
  }
  .service-card { padding: 1.75rem 1.25rem; }
  .tm-item { padding: 1rem; }

  .contact-detail-text {
    font-size: 0.85rem;
    line-height: 1.55;
  }
  .form-input,
  .form-textarea {
    font-size: 16px;
  }

  .socials-card { padding: 2rem 1.15rem; }
  .social-link {
    width: 100%;
    border-radius: 24px;
  }

  .whatsapp-cta {
    font-size: 0.86rem;
    gap: 0.6rem;
  }
  .whatsapp-float {
    width: 50px;
    height: 50px;
  }
  footer { padding-left: 5%; padding-right: 5%; }
  .footer-links {
    width: 100%;
    gap: 0.2rem 1rem;
  }
}

@media (max-width: 340px) {
  .nav-logo { font-size: 0.98rem; }
  .nav-toggle-label {
    width: 44px;
    height: 44px;
  }
  .hero-title { font-size: 1.92rem; }
  .stat-num { font-size: 1.55rem; }
  .service-card,
  .testi-card,
  .socials-card { padding-left: 1rem; padding-right: 1rem; }
}
