/* =========================================================
   Upamanyu Creation — Global Stylesheet
   Sections:
     1. Reset & base
     2. Theme variables (dark / light)
     3. Typography
     4. Layout primitives (.container, .section)
     5. Buttons & links
     6. Navbar
     7. Footer
     8. Floating WhatsApp
     9. Devanagari motif utilities
    10. Animations / scroll reveals
    11. Page-specific (home / work / services / about / blog / contact)
    12. Responsive breakpoints
   ========================================================= */

/* 1. Reset & base ----------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  transition: background 0.3s ease, color 0.3s ease;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
ul, ol { list-style: none; }

/* 2. Theme variables -------------------------------------- */
:root,
[data-theme="dark"] {
  --bg: #0F1419;
  --bg-elevated: #181F26;
  --bg-card: #1F272F;
  --text: #F2EFEA;
  --text-muted: #8B9199;
  --teal: #2B6B6F;
  --teal-bright: #3D8E93;
  --orange: #C85A3F;
  --orange-bright: #E27355;
  --border: #2A323B;
  --shadow: 0 10px 30px rgba(0,0,0,0.4);
  --overlay: rgba(15,20,25,0.7);
}
[data-theme="light"] {
  --bg: #FAF7F2;
  --bg-elevated: #FFFFFF;
  --bg-card: #FFFFFF;
  --text: #1A1F24;
  --text-muted: #6B7280;
  --teal: #2B6B6F;
  --teal-bright: #1F4F52;
  --orange: #C85A3F;
  --orange-bright: #A8492F;
  --border: #E5E0D7;
  --shadow: 0 10px 30px rgba(0,0,0,0.08);
  --overlay: rgba(255,255,255,0.85);
}

/* 3. Typography ------------------------------------------- */
h1, h2, h3, h4 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.25rem, 5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.125rem; }
.devanagari { font-family: 'Noto Sans Devanagari', 'Plus Jakarta Sans', sans-serif; }
.text-muted { color: var(--text-muted); }
.text-teal { color: var(--teal-bright); }
.text-orange { color: var(--orange); }

/* 4. Layout primitives ------------------------------------ */
.container { width: min(1200px, 92%); margin: 0 auto; }
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-title {
  text-align: center;
  margin-bottom: 3rem;
}
.section-title .devanagari {
  display: block;
  color: var(--orange);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

/* 5. Buttons --------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-bright); transform: translateY(-2px); }
.btn-secondary {
  background: transparent; color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover { border-color: var(--teal-bright); color: var(--teal-bright); }
.btn-whatsapp { background: #25D366; color: #fff; }
.btn-whatsapp:hover { background: #1EB855; transform: translateY(-2px); }

/* Theme toggle button ------------------------------------ */
.theme-toggle {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  transition: background 0.2s, transform 0.2s;
}
.theme-toggle:hover { background: var(--bg-elevated); transform: rotate(15deg); }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="light"] .theme-toggle .icon-sun { display: block; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }

/* 6. Navbar ---------------------------------------------- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1rem 0;
  background: transparent;
  transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}
.navbar.scrolled {
  background: var(--bg);
  padding: 0.6rem 0;
  box-shadow: var(--shadow);
}
.navbar .container {
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: inline-flex; align-items: center; }
.nav-logo img {
  height: 80px;
  background: transparent;
  padding: 0;
  transition: transform 0.2s, height 0.2s ease;
}
.nav-logo img:hover { transform: scale(1.04); }
.navbar.scrolled .nav-logo img { height: 60px; }
.nav-links {
  display: flex; gap: 2rem; align-items: center;
}
.nav-links a {
  font-weight: 500; font-size: 0.95rem;
  position: relative;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--teal-bright); }
.nav-links a.active { color: var(--orange); }
.nav-actions {
  display: flex; gap: 0.75rem; align-items: center;
}
.nav-whatsapp {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.5rem 1rem;
  background: #25D366; color: #fff;
  border-radius: 999px;
  font-size: 0.85rem; font-weight: 600;
  transition: transform 0.2s;
}
.nav-whatsapp:hover { transform: translateY(-2px); }
.hamburger {
  display: none;
  width: 28px; height: 22px;
  flex-direction: column; justify-content: space-between;
}
.hamburger span {
  display: block; height: 2px; background: var(--text);
  transition: transform 0.3s, opacity 0.2s;
}
.hamburger.active span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }
body.no-scroll { overflow: hidden; }

/* 7. Footer ---------------------------------------------- */
.footer {
  background: var(--bg-elevated);
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand img {
  height: 88px;
  margin-bottom: 1rem;
  background: transparent;
  padding: 0;
  display: inline-block;
}
.footer-brand p { color: var(--text-muted); max-width: 320px; }
.footer-col h4 { margin-bottom: 1rem; font-size: 1rem; color: var(--orange); }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col a { color: var(--text-muted); transition: color 0.2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
  color: var(--text-muted); font-size: 0.875rem;
}
.social-icons { display: flex; gap: 1rem; }
.social-icons a {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; border: 1px solid var(--border);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.social-icons a:hover { background: var(--orange); color: #fff; border-color: var(--orange); }

/* 8. Floating WhatsApp ----------------------------------- */
.float-whatsapp {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 90;
  width: 56px; height: 56px;
  background: #25D366; color: #fff;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,0.45);
  animation: pulse 2s infinite;
}
.float-whatsapp:hover { transform: scale(1.08); }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.7); }
  70% { box-shadow: 0 0 0 18px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* 9. Section divider ------------------------------------- */
.section-divider {
  text-align: center; padding: 2rem 0;
  font-size: 1.25rem; color: var(--orange);
  opacity: 0.6; letter-spacing: 0.5em;
}

/* Active nav link by page ------------------------------- */
[data-page="home"]     .nav-links a[href="index.html"],
[data-page="work"]     .nav-links a[href="work.html"],
[data-page="services"] .nav-links a[href="services.html"],
[data-page="about"]    .nav-links a[href="about.html"],
[data-page="blog"]     .nav-links a[href="blog.html"],
[data-page="contact"]  .nav-links a[href="contact.html"] {
  color: var(--orange);
}

/* 11a. Home page ----------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
  padding-top: 5rem;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(135deg, var(--bg) 0%, var(--bg-elevated) 100%);
}
.hero-bg::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(43,107,111,0.18), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(200,90,63,0.18), transparent 40%);
}
.hero .hero-bg-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -1;
}
.hero .hero-bg-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,20,25,0.55) 0%, rgba(15,20,25,0.85) 100%);
  z-index: 0;
}
.hero > .container { position: relative; z-index: 1; }
.hero-watermark {
  position: absolute; right: -2rem; bottom: -4rem; z-index: -1;
  font-family: 'Noto Sans Devanagari', sans-serif;
  font-size: clamp(20rem, 40vw, 36rem);
  color: var(--orange);
  opacity: 0.05;
  line-height: 1;
  user-select: none;
}
.hero-content { max-width: 760px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 1rem;
  border: 1px solid var(--border); border-radius: 999px;
  font-size: 0.85rem; color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.hero-eyebrow .devanagari { color: var(--orange); }
.hero h1 { margin-bottom: 1.5rem; }
.hero h1 .accent { color: var(--orange); }
.hero p.lead {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 600px;
}
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Hero text + buttons stay light in BOTH themes (video bg is always dark) */
.hero h1,
[data-theme="light"] .hero h1 { color: #fff !important; }
.hero h1 .accent,
[data-theme="light"] .hero h1 .accent { color: var(--orange-bright) !important; }
.hero p.lead,
[data-theme="light"] .hero p.lead { color: rgba(255, 255, 255, 0.9) !important; }
.hero .hero-eyebrow,
[data-theme="light"] .hero .hero-eyebrow {
  color: rgba(255, 255, 255, 0.92) !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
  background: rgba(255, 255, 255, 0.06) !important;
}
.hero .btn-secondary,
[data-theme="light"] .hero .btn-secondary {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
  background: transparent !important;
}
.hero .btn-secondary:hover,
[data-theme="light"] .hero .btn-secondary:hover {
  border-color: var(--orange-bright) !important;
  color: var(--orange-bright) !important;
}

/* Service teaser grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  display: flex; flex-direction: column;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--teal-bright);
  box-shadow: var(--shadow);
}
.service-card .thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, var(--teal), var(--orange));
}
.service-card .thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.service-card:hover .thumb img { transform: scale(1.06); }
.service-card .thumb::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.35), transparent 60%);
  pointer-events: none;
}
.service-card .body { padding: 1.5rem 1.75rem 1.75rem; flex: 1; display: flex; flex-direction: column; }
.service-card h3 { margin-bottom: 0.6rem; color: var(--text); }
.service-card p { color: var(--text-muted); margin-bottom: 1rem; flex: 1; }
.service-card .body span { color: var(--teal-bright); font-weight: 600; font-size: 0.9rem; }
a.service-card { color: inherit; text-decoration: none; }

/* Featured work */
.work-preview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
.work-preview .card {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
}
.work-preview .card img,
.work-preview .card video {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s;
}
.work-preview .card:hover img,
.work-preview .card:hover video { transform: scale(1.06); }
.work-preview .card .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent 60%);
  display: flex; align-items: flex-end;
  padding: 1.25rem;
  color: #fff;
  opacity: 0; transition: opacity 0.3s;
}
.work-preview .card:hover .overlay { opacity: 1; }
.work-preview .card .overlay span { font-size: 0.8rem; color: var(--orange-bright); }
.work-preview .card .overlay h4 { color: #fff; }

/* Stats strip */
.stats-strip {
  background: linear-gradient(135deg, var(--teal) 0%, #1F4F52 100%);
  border-radius: 20px;
  padding: 3rem 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  text-align: center;
  color: #fff;
}
.stats-strip .stat-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  color: var(--orange-bright);
  display: block;
  margin-bottom: 0.5rem;
}
.stats-strip .stat-label { font-size: 0.95rem; opacity: 0.85; }

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.testimonial {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--border);
}
.testimonial .quote-mark { font-size: 3rem; color: var(--orange); line-height: 0.5; margin-bottom: 1rem; }
.testimonial p { color: var(--text); margin-bottom: 1.5rem; font-style: italic; }
.testimonial .author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial .avatar {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--teal), var(--orange));
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700;
}
.testimonial .author .name { font-weight: 600; }
.testimonial .author .role { color: var(--text-muted); font-size: 0.85rem; }

/* Final CTA band */
.cta-band {
  text-align: center;
  background: var(--bg-elevated);
  padding: 4rem 2rem;
  border-radius: 20px;
  border: 1px solid var(--border);
}
.cta-band h2 { margin-bottom: 1rem; }
.cta-band h2 .accent { color: var(--orange); }

/* 11b. Work page ----------------------------------------- */
.page-hero {
  padding: 8rem 0 3rem;
  text-align: center;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { margin-bottom: 1rem; }
.page-hero p { color: var(--text-muted); max-width: 580px; margin: 0 auto; }

/* Page hero with video background */
.page-hero-video {
  position: relative;
  overflow: hidden;
  padding: 9rem 0 5rem;
  background: var(--bg);
}
.page-hero-video .hero-bg-video,
.page-hero-video .hero-bg-poster {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.page-hero-video .hero-bg-poster { z-index: 0; }
.page-hero-video .hero-bg-video { z-index: 1; }
.page-hero-video .hero-bg-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,20,25,0.55) 0%, rgba(15,20,25,0.9) 100%);
  z-index: 2;
}
.page-hero-video > .container { position: relative; z-index: 3; }
.page-hero-video h1,
[data-theme="light"] .page-hero-video h1 { color: #fff; }
.page-hero-video p,
[data-theme="light"] .page-hero-video p { color: rgba(255,255,255,0.85); }

/* Page hero with logo watermark background */
.page-hero-logo {
  position: relative;
  overflow: hidden;
  padding: 9rem 0 5rem;
  background:
    radial-gradient(circle at 50% 50%, rgba(43,107,111,0.10), transparent 65%),
    linear-gradient(135deg, #FAF7F2 0%, #FFFFFF 50%, #FAF7F2 100%);
  border-bottom: 1px solid var(--border);
}
[data-theme="dark"] .page-hero-logo {
  background:
    radial-gradient(circle at 50% 50%, rgba(43,107,111,0.18), transparent 65%),
    linear-gradient(135deg, #181F26 0%, #2A323B 50%, #181F26 100%);
}
.page-hero-logo .logo-watermark {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 80%; max-width: 720px;
  opacity: 0.16;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}
[data-theme="dark"] .page-hero-logo .logo-watermark { opacity: 0.22; mix-blend-mode: screen; }
.page-hero-logo .logo-watermark img { width: 100%; height: auto; }
.page-hero-logo > .container { position: relative; z-index: 1; }
.page-hero-logo h1 { color: #1A1F24; }
[data-theme="dark"] .page-hero-logo h1 { color: #F2EFEA; }
.page-hero-logo p { color: #4B5563; }
[data-theme="dark"] .page-hero-logo p { color: rgba(242,239,234,0.8); }

.work-filters {
  display: flex; gap: 0.6rem; justify-content: center;
  flex-wrap: wrap; margin: 2rem 0 3rem;
}
.work-filters button {
  padding: 0.6rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.9rem; font-weight: 500;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.work-filters button:hover { border-color: var(--teal-bright); color: var(--teal-bright); }
.work-filters button.active { background: var(--orange); color: #fff; border-color: var(--orange); }

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}
.work-grid .item {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-card);
  cursor: pointer;
}
.work-grid .item.video { aspect-ratio: 9 / 16; }
.work-grid .item.poster { aspect-ratio: 3 / 4; }
.work-grid .item.campaign { aspect-ratio: 16 / 11; }
.work-grid .item img,
.work-grid .item video { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.work-grid .item:hover img,
.work-grid .item:hover video { transform: scale(1.05); }
.work-grid .item .meta {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
  color: #fff;
  transform: translateY(100%); transition: transform 0.3s;
}
.work-grid .item:hover .meta { transform: translateY(0); }
.work-grid .item.video::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 60px; height: 60px;
  margin: -30px 0 0 -30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='%23C85A3F'><path d='M8 5v14l11-7z'/></svg>");
  background-repeat: no-repeat;
  background-position: 56% 50%;
  background-size: 28px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  transition: transform 0.3s, background 0.2s;
  pointer-events: none;
}
.work-grid .item.video:hover::after {
  transform: scale(1.1);
  background-color: #fff;
}
.work-grid .item .meta span { color: var(--orange-bright); font-size: 0.78rem; }
.work-grid .item.hidden { display: none; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,0.92);
  display: none;
  align-items: center; justify-content: center;
  padding: 2rem;
}
.lightbox.open { display: flex; }
.lightbox-content {
  max-width: 90vw; max-height: 90vh;
  position: relative;
}
.lightbox img,
.lightbox video { max-width: 90vw; max-height: 90vh; border-radius: 8px; }
.lightbox .close, .lightbox .nav-btn {
  position: absolute;
  background: rgba(255,255,255,0.1); color: #fff;
  width: 44px; height: 44px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  transition: background 0.2s;
}
.lightbox .close:hover, .lightbox .nav-btn:hover { background: rgba(255,255,255,0.2); }
.lightbox .close { top: -3rem; right: 0; }
.lightbox .prev { top: 50%; left: -3.5rem; transform: translateY(-50%); }
.lightbox .next { top: 50%; right: -3.5rem; transform: translateY(-50%); }
@media (max-width: 768px) {
  .lightbox .close { top: -2.5rem; right: 0; }
  .lightbox .prev { left: 0.5rem; }
  .lightbox .next { right: 0.5rem; }
}
.cta-band p { color: var(--text-muted); margin-bottom: 2rem; max-width: 540px; margin-left: auto; margin-right: auto; }

/* 11c. Services page ------------------------------------- */
.services-2col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-block {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.service-block:hover {
  transform: translateY(-4px);
  border-color: var(--teal-bright);
  box-shadow: var(--shadow);
}
.service-block > div:not(.visual) { padding: 1.25rem 1.5rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
.service-block h2 { font-size: 1.35rem; margin-bottom: 0.5rem; }
.service-block > div:not(.visual) > p { font-size: 0.92rem; margin-bottom: 0.75rem; }
.service-block ul { flex: 1; margin: 0.5rem 0 1rem !important; font-size: 0.88rem; }
.service-block ul li { padding-left: 1.4rem; margin-bottom: 0.35rem; }
.service-block .btn { padding: 0.6rem 1.2rem; font-size: 0.85rem; }
@media (max-width: 1024px) {
  .services-2col { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .services-2col { grid-template-columns: 1fr; gap: 1.25rem; }
}
.service-block .visual {
  aspect-ratio: 16 / 9;
  border-radius: 0;
  background: linear-gradient(135deg, var(--teal), var(--orange));
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem;
  position: relative;
  overflow: hidden;
}
.service-block .visual::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.18), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(0,0,0,0.15), transparent 50%);
  pointer-events: none;
}
.service-block .visual img,
.service-block .visual video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
}
.service-block .visual .badge {
  position: absolute; bottom: 1rem; left: 1rem;
  z-index: 2;
  padding: 0.4rem 0.85rem;
  background: rgba(15, 20, 25, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  border-radius: 999px;
  font-size: 0.78rem; font-weight: 600;
  display: inline-flex; align-items: center; gap: 0.4rem;
}
.service-block .visual .badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--orange-bright);
  animation: pulse-dot 1.6s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}
.service-block ul { margin: 1.5rem 0; }
.service-block ul li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}
.service-block ul li::before {
  content: '▸';
  position: absolute; left: 0;
  color: var(--orange);
  font-weight: 700;
}
/* 11d. About page ---------------------------------------- */
.about-intro {
  max-width: 760px; margin: 0 auto;
  text-align: center; font-size: 1.15rem;
  color: var(--text-muted);
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.value-card {
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  text-align: center;
}
.value-card .num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2.5rem; font-weight: 800;
  background: linear-gradient(135deg, var(--teal-bright), var(--orange));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block; margin-bottom: 0.5rem;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.team-card {
  text-align: center;
  padding: 2rem 1rem;
}
.team-photo {
  width: 130px; height: 130px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--orange));
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-size: 2.5rem; font-weight: 700;
  margin-bottom: 1rem;
}
.team-card .role { color: var(--text-muted); font-size: 0.9rem; }

/* 11e. Blog ---------------------------------------------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s;
  display: flex; flex-direction: column;
  position: relative;
}
.blog-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.blog-card .thumb {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--teal), var(--orange));
  position: relative;
  overflow: hidden;
}
.blog-card .thumb::before {
  content: attr(data-category);
  position: absolute;
  top: 1rem; left: 1rem; right: 1rem;
  background: rgba(0,0,0,0.5);
  color: #fff;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-block;
  width: fit-content;
  backdrop-filter: blur(8px);
}
.blog-card .thumb::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 25% 25%, rgba(255,255,255,0.2), transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(0,0,0,0.15), transparent 50%);
}
.blog-card .body { padding: 1.75rem; flex: 1; display: flex; flex-direction: column; }
.blog-card .meta { color: var(--text-muted); font-size: 0.8rem; margin-bottom: 0.75rem; letter-spacing: 0.03em; }
.blog-card .meta span { display: inline-block; margin-right: 1rem; }
.blog-card h3 { margin-bottom: 0.75rem; font-size: 1.25rem; line-height: 1.4; }
.blog-card p { color: var(--text-muted); margin-bottom: 1.25rem; flex: 1; font-size: 0.95rem; line-height: 1.6; }
.blog-card a.read-more { color: var(--orange); font-weight: 600; font-size: 0.9rem; display: inline-flex; align-items: center; }
.blog-card a.read-more:hover { color: var(--orange-bright); }

/* Single post */
.post-hero {
  padding: 8rem 0 3rem;
  text-align: center;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
}
.post-hero .meta { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1rem; letter-spacing: 0.03em; }
.post-hero .meta span { display: inline-block; margin-right: 1.5rem; }
.post-hero h1 { max-width: 800px; margin: 0 auto 1rem; }
.post-hero .author { color: var(--text-muted); font-size: 0.95rem; margin-top: 1rem; }
.post-content {
  max-width: 740px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.8;
}
.post-content h2 { margin: 2.5rem 0 1rem; font-size: 1.75rem; }
.post-content h3 { margin: 2rem 0 0.75rem; font-size: 1.4rem; }
.post-content p, .post-content ul, .post-content ol { margin-bottom: 1.25rem; }
.post-content ul li, .post-content ol li { margin-bottom: 0.75rem; padding-left: 1.75rem; position: relative; }
.post-content ul li::before {
  content: '\25B8';
  color: var(--orange); position: absolute; left: 0; font-size: 0.8rem;
}
.post-content blockquote {
  margin: 2.5rem 0;
  padding: 1.75rem 2rem;
  border-left: 4px solid var(--orange);
  background: var(--bg-elevated);
  font-style: italic;
  color: var(--text-muted);
  border-radius: 4px;
}
.related-posts {
  margin-top: 5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}
.related-posts h3 { margin-bottom: 2rem; font-size: 1.5rem; }
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.related-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  transition: transform 0.3s, box-shadow 0.3s;
}
.related-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.related-card a {
  display: block;
  color: inherit;
}
.related-card h4 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.related-card .meta { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 0.75rem; }

/* 11f. Contact ------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-channels { display: grid; gap: 1rem; }
.channel {
  display: flex; gap: 1rem; align-items: center;
  padding: 1.25rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: border-color 0.2s, transform 0.2s;
}
.channel:hover { border-color: var(--orange); transform: translateX(4px); }
.channel .icon {
  width: 44px; height: 44px;
  background: var(--bg-elevated);
  border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
}
.channel.whatsapp .icon { background: #25D366; color: #fff; }
.channel .label { font-size: 0.78rem; color: var(--text-muted); }
.channel .value { font-weight: 600; }

.contact-form-card {
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
}
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.4rem; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 10px;
  font: inherit;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--teal-bright); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-status {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  font-size: 0.9rem;
  display: none;
}
.form-status.success {
  display: block;
  background: rgba(43,107,111,0.15);
  color: var(--teal-bright);
  border: 1px solid rgba(43,107,111,0.35);
}
.form-status.error {
  display: block;
  background: rgba(200,90,63,0.12);
  color: var(--orange-bright);
  border: 1px solid rgba(200,90,63,0.35);
}
@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* 10. Animations / scroll reveals ------------------------ */
.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) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* 12. Responsive breakpoints ----------------------------- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  /* Mobile menu */
  .nav-links {
    position: fixed; top: 0; right: -100%;
    width: 80%; max-width: 360px; height: 100vh;
    background: var(--bg-elevated);
    border-left: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 6rem 2rem 2rem;
    gap: 1.25rem;
    transition: right 0.3s ease;
    box-shadow: var(--shadow);
  }
  .nav-links.active { right: 0; }
  .nav-links a { font-size: 1.15rem; }
  .hamburger { display: flex; }
  .nav-whatsapp { display: none; }

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

  /* Hero */
  .hero { min-height: 90vh; padding-top: 6rem; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { justify-content: center; }

  /* Stats */
  .stats-strip { padding: 2rem 1rem; gap: 1.5rem; }

  /* Floating WhatsApp — smaller on mobile */
  .float-whatsapp { width: 50px; height: 50px; bottom: 1rem; right: 1rem; }
}

@media (max-width: 480px) {
  .container { width: 92%; }
  .section { padding: 3rem 0; }
  .page-hero { padding: 6rem 0 2.5rem; }
  .hero-eyebrow { font-size: 0.78rem; }
  .nav-logo img { height: 56px; padding: 0; }
  .navbar.scrolled .nav-logo img { height: 48px; }
  .work-grid { grid-template-columns: 1fr 1fr; gap: 0.6rem; }
}
