/* ============================================================
   ADVAIT RAKHI — STYLESHEET
   ============================================================ */

/* ── DESIGN TOKENS ────────────────────────────────────────── */
:root {
  --primary:        #950002;
  --primary-dark:   #6b0001;
  --primary-deeper: #2a0001;
  --gold:           #B79158;
  --gold-light:     #DCB57A;
  --gold-pale:      #f8f0aa;
  --bg:             #FFFAF5;
  --bg-section:     #FFF7EF;
  --white:          #FFFFFF;
  --dark:           #1a1a1a;
  --dark-mid:       #333333;
  --grey:           #636E71;
  --grey-light:     #f4f4f4;

  --font-body:      'Poppins', sans-serif;
  --font-script:    'Dancing Script', cursive;

  --announcement-h: 44px;
  --nav-h:          80px;
  --nav-h-scrolled: 62px;
  --radius-sm:      8px;
  --radius-md:      16px;
  --radius-lg:      24px;
  --radius-xl:      40px;
  --shadow-sm:      0 2px 12px rgba(0,0,0,0.08);
  --shadow-md:      0 6px 28px rgba(0,0,0,0.12);
  --shadow-lg:      0 16px 48px rgba(0,0,0,0.18);
  --transition:     0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
}

body.loading { overflow: hidden; }

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

.container {
  width: min(1200px, 90%);
  margin: 0 auto;
}

/* ── UTILITY: GOLD DOTS ───────────────────────────────────── */
.gold-dots {
  z-index: 0;
}

.gold-dot {
  position: absolute;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
  animation: floatDot var(--dur, 6s) ease-in-out infinite alternate;
  animation-delay: var(--delay, 0s);
}

@keyframes floatDot {
  0%   { transform: translateY(0) scale(1); opacity: 0.15; }
  100% { transform: translateY(-18px) scale(1.15); opacity: 0.28; }
}

/* ── UTILITY: SCROLL REVEAL ───────────────────────────────── */
.reveal-up,
.reveal-left,
.reveal-right,
.reveal-card {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: calc(var(--i, 0) * 0.1s);
}

.reveal-left  { transform: translateX(-48px); }
.reveal-right { transform: translateX(48px); }
.reveal-card  { transform: translateY(32px) scale(0.96); }

.reveal-up.in-view,
.reveal-left.in-view,
.reveal-right.in-view,
.reveal-card.in-view {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* ── PAGE LOADER ──────────────────────────────────────────── */
#loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
}

.loader-curtain {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  background: var(--primary-deeper);
  z-index: 1;
  transition: transform 0.9s cubic-bezier(0.77, 0, 0.18, 1);
}
.loader-curtain--left  { left: 0; transform-origin: left; }
.loader-curtain--right { right: 0; transform-origin: right; }

#loader.open .loader-curtain--left  { transform: translateX(-100%); }
#loader.open .loader-curtain--right { transform: translateX(100%); }
#loader.open .loader-inner          { opacity: 0; transform: scale(0.85); transition: opacity 0.5s ease, transform 0.5s ease; }
#loader.hidden { pointer-events: none; display: none; }

.loader-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.loader-logo {
  width: clamp(140px, 20vw, 220px);
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

#loader.active .loader-logo {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.loader-bar-wrap {
  width: 180px;
  height: 2px;
  background: rgba(255,255,255,0.15);
  border-radius: 2px;
  overflow: hidden;
}

.loader-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-pale), var(--gold));
  border-radius: 2px;
  transition: width 0.05s linear;
}

.loader-tagline {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  opacity: 0;
  transition: opacity 0.5s ease 0.3s;
}

#loader.active .loader-tagline { opacity: 1; }

/* ── ANNOUNCEMENT BAR ─────────────────────────────────────── */
#announcement-bar {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--primary);
  height: var(--announcement-h);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.announcement-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--white);
  white-space: nowrap;
}

.announcement-emoji { font-size: 14px; }
.announcement-sep  { opacity: 0.5; margin: 0 4px; }

#countdown {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cd-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.1;
}

.cd-num {
  font-size: 15px;
  font-weight: 700;
  color: var(--gold-pale);
}

.cd-label {
  font-size: 8px;
  letter-spacing: 1px;
  opacity: 0.7;
}

.cd-colon {
  font-size: 16px;
  font-weight: 700;
  color: var(--gold-pale);
  margin-top: -4px;
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

/* ── NAVBAR ───────────────────────────────────────────────── */
#navbar {
  position: sticky;
  top: var(--announcement-h);
  z-index: 800;
  background: var(--white);
  height: var(--nav-h);
  transition: height var(--transition), box-shadow var(--transition), padding var(--transition);
}

#navbar.scrolled {
  height: var(--nav-h-scrolled);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.nav-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  transition: transform var(--transition);
}

.nav-logo img {
  height: 54px;
  width: auto;
  transition: height var(--transition);
}

#navbar.scrolled .nav-logo img { height: 42px; }

.hamburger {
  display: none !important;
}

.ham-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.open .ham-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open .ham-line:nth-child(2) { opacity: 0; }
.hamburger.open .ham-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO SECTION ─────────────────────────────────────────── */
#hero {
  position: relative;
  /* Full remaining viewport after sticky announcement bar + navbar */
  min-height: calc(100svh - var(--announcement-h) - var(--nav-h));
  padding-bottom: 52px; /* reserve space for the ticker pinned at bottom */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  will-change: transform;
}


/* BG elements SVG — left mandala (Figma: x:38, y:39, 672×672) */
.hero-mandala {
  position: absolute;
  left: -4%;
  top: -5%;
  width: clamp(260px, 47vw, 680px);
  opacity: 0.12;
  z-index: 1;
  will-change: transform;
  pointer-events: none;
}

/* Layer_1 — bottom-right gold ornament (Figma: x:822/1440, y:269/750, 608×664 — bleeds past bottom) */
.hero-layer1 {
  position: absolute;
  right: 0;
  top: 36%;
  width: clamp(220px, 42vw, 608px);
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: color-dodge;
}

/* Gold particles */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: var(--gold);
  animation: particleFloat var(--dur) ease-in-out infinite alternate;
  animation-delay: var(--delay);
  will-change: transform, opacity;
}

@keyframes particleFloat {
  0%   { transform: translateY(0) scale(1);    opacity: var(--op-low); }
  50%  { opacity: var(--op-high); }
  100% { transform: translateY(-24px) scale(1.2); opacity: var(--op-low); }
}

/* Hero circular stamp — fades out smoothly after loader */
.hero-bg-stamp {
  position: absolute;
  left: -4%;
  top: 10%;
  width: clamp(260px, 38vw, 550px);
  opacity: 0.25;
  z-index: 2;
  pointer-events: none;
  will-change: opacity, transform;
}

.hero-bg-stamp img {
  width: 100%;
  height: auto;
  animation: rotateSlow 40s linear infinite;
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 60px 24px 80px;
  max-width: 900px;
  width: 100%;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(20px);
}

.eyebrow-dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
}

.hero-title {
  font-size: clamp(32px, 3.8vw, 56px);
  font-weight: 600;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: -0.03em;
  text-align: center;
}

.hero-title-line {
  display: block;
  opacity: 0;
  transform: translateY(30px);
}

/* Second line: italic gold accent for visual hierarchy */
.hero-title-line--accent {
  font-style: italic;
  color: var(--gold-light);
  font-size: 1.08em;
}

.hero-subtitle {
  font-size: clamp(15px, 1.6vw, 20px);
  font-weight: 400;
  color: rgba(255,255,255,0.72);
  max-width: 680px;
  margin: 0 auto 44px;
  line-height: 1.75;
  letter-spacing: -0.01em;
  opacity: 0;
  transform: translateY(20px);
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 16px 36px;
  border-radius: 14px;
  border: 2px solid transparent;
  transition: background var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  opacity: 0;
  transform: translateY(20px) scale(0.96);
  box-shadow: 0 4px 24px rgba(149,0,2,0.5);
}

.btn-hero:hover {
  background: transparent;
  border-color: var(--gold);
  color: var(--gold-light);
  transform: translateY(-3px) scale(1);
  box-shadow: 0 8px 32px rgba(183,145,88,0.35);
}

.btn-hero .btn-arrow {
  width: 18px;
  height: 18px;
  transition: transform var(--transition);
}

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

/* ── MARQUEE TICKER — pinned to bottom of hero ───────────── */
.hero-ticker {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--gold);
  height: 52px;
  display: flex;
  align-items: center;
  overflow: hidden;
  z-index: 10;
}

/* Fade-out edges */
.hero-ticker::before,
.hero-ticker::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.hero-ticker::before { left: 0;  background: linear-gradient(to right, #B79158, transparent); }
.hero-ticker::after  { right: 0; background: linear-gradient(to left,  #B79158, transparent); }

.ticker-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  /* width: exactly 2x content so seamless loop */
  animation: tickerScroll 30s linear infinite;
  will-change: transform;
}

.ticker-track:hover { animation-play-state: paused; }

.ticker-item {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  padding: 0 28px;
  flex-shrink: 0;
}

.ticker-flower {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding: 0 14px;
}

.ticker-flower img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

@keyframes tickerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── SECTION SHARED ───────────────────────────────────────── */
section {
  position: relative;
  padding: clamp(64px, 8vw, 120px) 0;
  overflow: hidden;
}

.section-label-wrap {
  text-align: center;
  margin-bottom: 12px;
}

.section-label-svg {
  height: clamp(32px, 4vw, 48px);
  width: auto;
  display: inline-block;
}

.section-label-svg--red { filter: invert(8%) sepia(95%) saturate(7477%) hue-rotate(358deg) brightness(84%) contrast(112%); }
.section-label-svg--white { filter: brightness(0) invert(1); }

.section-heading {
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 600;
  color: var(--dark);
  text-align: center;
  line-height: 1.2;
  margin-bottom: 20px;
}

.section-heading--white { color: var(--white); }
.section-heading--gold  { color: var(--gold); }
.section-heading--upper { text-transform: uppercase; letter-spacing: 1px; }

.section-subtitle {
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--grey);
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
  line-height: 1.7;
}

/* ── FLORAL DECORATIONS ───────────────────────────────────── */
.section-floral {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

.section-floral img {
  width: clamp(100px, 14vw, 200px);
  height: auto;
}

/* New section flowers — left (194×284) and right (107×116) have very different natural sizes */
#expertise .section-floral--tl img,
.social-canvas .section-floral--tl img,
.social-mobile-top .section-floral--tl img {
  width: clamp(60px, 11.11vw, 160px);  /* left flower */
}
#expertise .section-floral--tr img,
#story .section-floral--tr img,
.social-canvas .section-floral--tr img,
.social-mobile-top .section-floral--tr img {
  width: clamp(35px, 6.25vw, 90px);    /* right flower — naturally smaller */
}

.section-floral--tl { top: 0; left: 0; transform: rotate(-10deg) translate(-10%, -10%); }
.section-floral--tr { top: 0; right: 0; transform: rotate(10deg) translate(10%, -10%); }
.section-floral--bl { bottom: 0; left: 0; transform: rotate(10deg) translate(-10%, 10%); }
.section-floral--br { bottom: 0; right: 0; transform: rotate(-10deg) translate(10%, 10%); }

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary);
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 15px 32px;
  border-radius: 60px;
  border: 2px solid var(--primary);
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 20px rgba(149,0,2,0.3);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(149,0,2,0.4);
}

.btn-primary .btn-arrow {
  width: 16px;
  height: 16px;
  transition: transform var(--transition);
}

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

/* ── OUR STORY ────────────────────────────────────────────── */
#story {
  background: var(--bg);
  position: relative;
  z-index: 0;
}

.story-grid {
  display: grid;
  grid-template-columns: 60fr 40fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
  margin-top: 48px;
  position: relative;
  z-index: 1;
}

.story-text p {
  font-size: clamp(14px, 1.5vw, 16px);
  color: var(--dark-mid);
  text-align: justify;
  line-height: 1.85;
  margin-bottom: 18px;
}

.story-text p strong { color: var(--primary); font-weight: 600; }
.story-text p em     { color: var(--gold); font-style: italic; }

.story-video-wrap {
  position: relative;
}

.story-video-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--grey-light);
  aspect-ratio: 9 / 16;
  box-shadow: var(--shadow-lg);
}

.story-video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Placeholder when video not loaded */
.story-video-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #f0e8dc, #e8d5b7);
  z-index: 0;
}

.story-video-frame video { position: relative; z-index: 1; }

.video-mute-btn {
  position: absolute;
  bottom: 14px;
  right: 14px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,0.5);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: background var(--transition), transform var(--transition);
  backdrop-filter: blur(4px);
}

.video-mute-btn:hover {
  background: rgba(0,0,0,0.8);
  transform: scale(1.1);
}

@keyframes rotateSlow { 100% { transform: rotate(360deg); } }

/* ── OUR EXPERTISE ────────────────────────────────────────── */
#expertise { background: var(--bg-section); }

.expertise-cards-desktop {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.expertise-swiper { display: none; }

.product-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  cursor: pointer;
}

.product-card-arch {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 120px 120px 12px 12px;
  overflow: hidden;
  background: linear-gradient(135deg, #f0e8dc, #e0c99a);
  border: 2px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  position: relative;
}

.product-card-arch.no-img::after {
  content: '🪡';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
}

.product-card-arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .product-card-arch {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(183,145,88,0.2), var(--shadow-md);
  transform: translateY(-6px);
}

.product-card:hover .product-card-arch img { transform: scale(1.06); }

.product-card-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--dark);
  text-align: center;
  letter-spacing: 0.2px;
}

/* ── OUR DESIGNS ──────────────────────────────────────────── */
#designs { background: var(--white); }

/* ── DESIGNS MARQUEE ──────────────────────────────────────── */
.designs-marquee {
  width: 100%;
  overflow: hidden;
  margin-top: 48px;
  padding: 12px 0 40px;
  position: relative;
  z-index: 1;
  /* edge fade masks */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}

.designs-track {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  width: max-content;
  animation: designsScroll 32s linear infinite;
  will-change: transform;
}

.designs-track:hover { animation-play-state: paused; }

@keyframes designsScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.design-card {
  width: 260px;
  flex-shrink: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--grey-light);
  aspect-ratio: 3 / 4;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-md);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Alternate card heights for a staggered look */
.design-card:nth-child(odd)  { margin-bottom: 24px; }
.design-card:nth-child(even) { margin-top: 24px; }

.design-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

.design-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── OUR IMPACT ───────────────────────────────────────────── */
#impact {
  background: var(--primary);
  overflow: hidden;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.impact-card {
  background: #9B0C0C;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: clamp(24px, 3vw, 40px) 24px;
  text-align: center;
  transition: background var(--transition), transform var(--transition), border-color var(--transition);
}

.impact-card:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-4px);
  border-color: rgba(183,145,88,0.4);
}

.impact-number {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}

.impact-label {
  font-size: clamp(12px, 1.2vw, 15px);
  font-weight: 400;
  color: rgba(223, 164, 140, 0.94);
  line-height: 1.4;
  letter-spacing: -0.03em;
}

/* ── WHY ADVAIT ───────────────────────────────────────────── */
#why { background: var(--bg); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.why-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: clamp(24px, 3vw, 36px);
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px;
  height: 0;
  background: linear-gradient(180deg, var(--gold), var(--primary));
  transition: height 0.4s ease;
  border-radius: 0 0 2px 2px;
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(183,145,88,0.3);
}

.why-card:hover::before { height: 100%; }

.why-card-icon {
  width: 56px;
  height: 56px;
  background: rgba(149,0,2,0.06);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
}

.why-card:hover .why-card-icon { transform: scale(1.15); }

.why-card-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.why-card-title {
  font-size: clamp(15px, 1.5vw, 17px);
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}

.why-card-sub {
  font-size: 13px;
  color: var(--grey);
  line-height: 1.5;
}

/* ── B2B / PARTNER ────────────────────────────────────────── */
#partner {
  background: var(--white);
  /* Override global section padding — this section is more compact */
  padding: clamp(32px, 4vw, 60px) 0;
}

.partner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
}

.partner-heading {
  margin-bottom: 28px;
  line-height: 1.15;
}

.partner-heading-line {
  display: block;
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 600;
  color: var(--dark);
}

.partner-heading-accent {
  display: block;
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.partner-body {
  font-size: clamp(14px, 1.4vw, 16px);
  color: var(--grey);
  line-height: 1.8;
  margin-bottom: 16px;
  max-width: 520px;
}

.partner-body:last-of-type { margin-bottom: 36px; }

.partner-img-wrap {
  display: flex;
  justify-content: flex-end;  /* push image to right edge */
  align-items: center;
  /* Let image bleed slightly beyond container right padding */
  margin-right: calc(-1 * (100vw - min(1200px, 90%)) / 2);
  padding-right: calc((100vw - min(1200px, 90%)) / 2);
}

.partner-img {
  width: 100%;
  max-width: 580px;
  transition: transform 0.5s ease, filter 0.5s ease;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.12));
}

.partner-img:hover {
  transform: scale(1.03) translateY(-6px);
  filter: drop-shadow(0 28px 50px rgba(0,0,0,0.18));
}

/* ── INSTAGRAM / SOCIAL ───────────────────────────────────── */
#social {
  background: var(--bg-section);
  overflow: hidden;
  padding: 0;
  position: relative;
}

/* Single canvas: matches Figma 1440×1031 section exactly.
   All child positions (heading + phones) share the same origin. */
.social-canvas {
  position: relative;
  width: 100%;
  aspect-ratio: 1440 / 1031;
  overflow: visible;
}

/* Heading — absolutely positioned from canvas top, centered */
.insta-heading-link {
  position: absolute;
  top: 4.17vw;   /* ~60px at 1440 */
  left: 0;
  right: 0;
  text-align: center;
  text-decoration: none;
  z-index: 10;
}

.insta-heading {
  font-size: clamp(22px, 2.5vw, 36px);
  font-weight: 700;
  color: #333;
  line-height: 1.2;
  transition: color var(--transition);
}

.insta-heading-link:hover .insta-heading { color: var(--primary); }

/* Arrow + icon row — absolutely positioned below heading */
.insta-arrow-row {
  position: absolute;
  top: 8.33vw;   /* ~120px at 1440 */
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  z-index: 10;
}

.insta-arrow-svg {
  width: clamp(80px, 8.75vw, 126px);
  height: auto;
  flex-shrink: 0;
}

.insta-icon-badge {
  font-size: clamp(38px, 4.2vw, 60px);
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  transition: transform 0.3s ease;
}

.insta-arrow-row:hover .insta-icon-badge { transform: scale(1.08); }

/* Flowers inside canvas — sit behind phones */
.social-canvas .section-floral { z-index: 0; }

/* Wax seal — Figma: x≈50, y≈350, size≈220 on 1440px canvas */
.wax-seal {
  position: absolute;
  left: 3.47vw;    /* 50/1440  */
  top:  24.3vw;    /* 350/1440 */
  width: 15.28vw;  /* 220/1440 */
  height: 15.28vw;
  z-index: 6;
}

.wax-seal-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: waxSealSpin 12s linear infinite;
  display: block;
}

@keyframes waxSealSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ── PHONE FAN ─────────────────────────────────────────────────
   All coordinates are from Figma 1440×1031 section top-left.
   Converted: x / 1440 * 100vw, y / 1440 * 100vw
   Phones are upright (no rotation), top-anchored.
──────────────────────────────────────────────────────────────── */
.reel-phone {
  position: absolute;
  transition: box-shadow 0.3s ease;
}

.reel-phone:hover { z-index: 10 !important; }

.reel-phone--far-left  {
  left: -2.64vw;   /* -38/1440 */
  top:  40.76vw;   /* 587/1440 */
  width: 19.44vw;  /* 280/1440 */
  z-index: 1;
}
.reel-phone--left {
  left: 17.78vw;   /* 256/1440 */
  top:  28.75vw;   /* 414/1440 */
  width: 20.83vw;  /* 300/1440 */
  z-index: 3;
}
.reel-phone--center {
  left: 39.58vw;   /* 570/1440 */
  top:  19.44vw;   /* 280/1440 */
  width: 20.83vw;  /* 300/1440 */
  z-index: 5;
}
.reel-phone--right {
  left: 61.39vw;   /* 884/1440 */
  top:  16.53vw;   /* 238/1440 */
  width: 20.83vw;  /* 300/1440 */
  z-index: 4;
}
.reel-phone--far-right {
  left: 83.19vw;   /* 1198/1440 */
  top:  33.75vw;   /* 486/1440 */
  width: 19.44vw;  /* 280/1440 */
  z-index: 2;
}

/* Side images: natural dimensions, no phone frame */
.reel-side-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* All phone frames use phone aspect ratio 300:572 */
.reel-phone .phone-frame {
  width: 100%;
  height: auto;
  aspect-ratio: 300 / 572;
}

.reel-phone:hover .phone-frame {
  box-shadow: 0 28px 64px rgba(0,0,0,0.38);
}

.phone-frame {
  border-radius: 36px;
  background: #111;
  border: 3px solid #1c1c1e;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.45),
              0 4px 16px rgba(0,0,0,0.25),
              inset 0 0 0 1px rgba(255,255,255,0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Dynamic island notch */
.phone-frame::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 30%;
  height: 6px;
  background: #000;
  border-radius: 20px;
  z-index: 3;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #111;
  overflow: hidden;
  position: relative;
}

.phone-screen img,
.phone-screen video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.reels-swiper { display: none; }

/* Mobile-only Instagram header — hidden on desktop */
.social-mobile-top { display: none; }

/* When shown (mobile/tablet breakpoints) */
.social-mobile-top {
  position: relative;
  padding: 64px 24px 40px;
  text-align: center;
  overflow: hidden;
}

.social-mobile-heading-link {
  display: block;
  text-decoration: none;
  position: relative;
  z-index: 2;
}

.social-mobile-heading-link .insta-heading {
  font-size: clamp(22px, 6vw, 32px);
  font-weight: 700;
  color: #333;
  line-height: 1.3;
  margin-bottom: 20px;
  transition: color 0.2s;
}

.social-mobile-heading-link:hover .insta-heading { color: var(--primary); }

.social-mobile-icon-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.social-mobile-icon-row .insta-arrow-svg {
  width: 80px;
  height: auto;
}

.social-mobile-icon-row .insta-icon-badge {
  font-size: 48px;
}

/* Swiper layout for mobile — centered phone with peek on sides */
.reels-swiper {
  padding: 0 0 52px;
}

.reels-swiper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px 0;
}

.reels-swiper .swiper-pagination-bullet {
  background: var(--gold);
  opacity: 0.4;
}

.reels-swiper .swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--primary);
}

/* ── FOOTER ───────────────────────────────────────────────── */
#footer {
  background: var(--gold);
  padding: 64px 0 0;
  position: relative;
  overflow: hidden;
  min-height: 400px;
}

.footer-floral {
  position: absolute;
  pointer-events: none;
  opacity: 0.35;
}

.footer-floral--bl {
  bottom: 0;
  left: 0;
}

.footer-floral--bl img { width: clamp(280px, 32vw, 480px); }

.footer-floral--br {
  bottom: 0;
  right: 0;
  opacity: 1;
}

.footer-floral--br img {
  height: 224px;
  width: auto;
  mix-blend-mode: color-dodge;
}

.footer-watermark {
  position: absolute;
  bottom: 20px;
  right: -20px;
  font-family: var(--font-script);
  font-size: clamp(60px, 10vw, 130px);
  font-weight: 700;
  color: rgba(255,255,255,0.06);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  letter-spacing: -2px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr auto;
  gap: 64px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.footer-col-heading {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.3px;
  margin-bottom: 20px;
}

.footer-links { display: flex; flex-direction: column; gap: 12px; }

.footer-link {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  transition: color var(--transition);
  line-height: 1.5;
}

.footer-link:hover { color: var(--white); }
.footer-link i { margin-top: 3px; flex-shrink: 0; font-size: 14px; }
.footer-link--addr { cursor: default; }
.footer-link--addr span { max-width: 280px; }

.footer-col--center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.footer-logo img {
  height: 64px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  border: 1px solid rgba(255,255,255,0.2);
  transition: background var(--transition), transform var(--transition), border-color var(--transition);
}

.social-btn:hover {
  background: rgba(255,255,255,0.9);
  color: var(--gold);
  transform: scale(1.1) translateY(-2px);
  border-color: transparent;
}

.footer-col--right { text-align: right; }
.footer-col--right .footer-links { align-items: flex-end; }
.footer-col--right .footer-link { flex-direction: row-reverse; }
.footer-col--right .footer-link i { margin-top: 3px; }

.footer-col--center.footer-col--right { align-items: flex-end; }

.footer-divider {
  height: 1px;
  background: rgba(255,255,255,0.2);
  margin: 48px 0 0;
  position: relative;
  z-index: 1;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0 24px;
  position: relative;
  z-index: 1;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: rgba(255,255,255,0.6);
}

.footer-legal-link {
  color: rgba(255,255,255,0.7);
  transition: color var(--transition);
}

.footer-legal-link:hover { color: var(--white); }
.footer-legal-sep { opacity: 0.4; }

.footer-copy {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  white-space: nowrap;
}

/* ── WHATSAPP FLOAT ───────────────────────────────────────── */
/* SVG already contains green gradient + white phone icon + drop shadow — display raw */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 700;
  width: 80px;
  height: 80px;
  display: block;
  transition: transform 0.3s ease;
}

.whatsapp-float img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.whatsapp-float:hover { transform: scale(1.1); }

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

/* ── TABLET ── */
@media (max-width: 1024px) {
  .expertise-cards-desktop { grid-template-columns: repeat(3, 1fr); }
  .impact-grid             { grid-template-columns: repeat(2, 1fr); }
  .why-grid                { grid-template-columns: repeat(2, 1fr); }
  .footer-grid             { grid-template-columns: 1fr 1fr; }
  .footer-col--center      { order: -1; grid-column: 1 / -1; }
  .footer-col--right       { text-align: left; }
  .footer-col--right .footer-links { align-items: flex-start; }
  .footer-col--right .footer-link  { flex-direction: row; }

  .social-canvas      { display: none; }
  .social-mobile-top  { display: block; }
  .reels-swiper       { display: block; }
}

/* ── MOBILE ── */
@media (max-width: 768px) {

  /* Announcement bar */
  .announcement-text { display: none; }
  .announcement-sep  { display: none; }
  #announcement-bar  { height: 36px; }
  :root { --announcement-h: 36px; }
  .announcement-inner { gap: 6px; font-size: 10px; }
  .cd-num { font-size: 13px; }

  /* Navbar */
  #navbar          { height: 60px; }
  :root            { --nav-h: 60px; }
  /* hamburger removed — no nav links in this site */
  .nav-logo img    { height: 34px; }

  /* Hero */
  .hero-content { padding: 80px 20px 80px; }
  .btn-hero     { padding: 14px 28px; font-size: 14px; }

  /* Story */
  .story-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .story-video-wrap { order: 2; }
  .story-text       { order: 1; }

  .story-stamp {
    width: 70px;
    height: 70px;
    bottom: -16px;
    left: -10px;
  }

  /* Expertise */
  .expertise-cards-desktop { display: none; }
  .expertise-swiper        { display: block; margin-top: 40px; }

  /* Designs */
  .designs-swiper .swiper-slide { width: 220px; }

  /* Impact */
  .impact-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  /* Why */
  .why-grid { grid-template-columns: 1fr; }

  /* Partner */
  .partner-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Reset the bleed trick on mobile — image aligned right */
  .partner-img-wrap {
    margin-right: 0;
    padding-right: 0;
    justify-content: flex-end;
  }

  .partner-img { max-width: 90%; }

  .partner-heading-line   { font-size: clamp(20px, 5vw, 28px); }
  .partner-heading-accent { font-size: clamp(24px, 6vw, 36px); }

  /* Instagram mobile */
  .social-canvas      { display: none; }
  .social-mobile-top  { display: block; }
  .reels-swiper       { display: block; }

  .reels-swiper .phone-frame {
    width: 200px;
    aspect-ratio: 300 / 572;
    height: auto;
    margin: 0 auto;
    box-shadow: none;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-col--right { text-align: center; }
  .footer-col--right .footer-links { align-items: center; }
  .footer-col--right .footer-link  { flex-direction: row; justify-content: center; }
  .footer-col--center { order: unset; grid-column: unset; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  /* WhatsApp */
  .whatsapp-float { bottom: 20px; right: 20px; width: 64px; height: 64px; }
  .whatsapp-float img { width: 64px; height: 64px; }
}

@media (max-width: 480px) {
  .impact-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .impact-number { font-size: 36px; }
}
