/* ============================================
   THE WEDDING BANGERS — GLOBAL STYLESHEET
   Blush & Gold Premium Design System
   ============================================ */

/* ─── Google Fonts Import ─── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@300;400;500;600;700&family=Cormorant+Garamond:ital,wght@0,400;0,500;1,400&display=swap');

/* ─── CSS Custom Properties (Design Tokens) ─── */
:root {
  /* Colors */
  --blush: #E8A4B8;
  --blush-light: #F5D5DF;
  --blush-pale: #FDF0F4;
  --gold: #C9A84C;
  --gold-dark: #A8893A;
  --gold-light: #E8D5A0;
  --gold-pale: #FBF7EC;
  --cream: #FAF7F2;
  --ivory: #F7F3EE;
  --white: #FFFFFF;
  --text-dark: #1A1A2E;
  --text-mid: #4A4558;
  --text-light: #8A849C;
  --divider: #EDE8E0;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-sub: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;

  /* Spacing */
  --section-pad: 100px 0;
  --section-pad-sm: 60px 0;
  --container-width: 1180px;

  /* Shadows */
  --shadow-card: 0 4px 24px rgba(26, 26, 46, 0.07);
  --shadow-card-hover: 0 12px 40px rgba(26, 26, 46, 0.14);
  --shadow-nav: 0 2px 20px rgba(26, 26, 46, 0.08);

  /* Transitions */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition: 0.35s var(--ease);
  --transition-fast: 0.2s var(--ease);

  /* Border radius */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 24px;
  --radius-pill: 50px;
}

/* ─── Base Reset ─── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ─── Typography Scale ─── */
h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--text-dark);
  font-weight: 700;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
}

h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
}

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1rem;
}

p {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.75;
}

/* ─── Container ─── */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Gold Accent Line ─── */
.gold-line {
  display: block;
  width: 64px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--blush));
  border-radius: 2px;
  margin: 16px auto 0;
}

.gold-line.left {
  margin: 16px 0 0;
}

/* ─── Section Header ─── */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header .eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* ─── Button Components ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.35);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(201, 168, 76, 0.5);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--gold);
  color: var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--text-dark);
  box-shadow: 0 4px 20px rgba(26, 26, 46, 0.12);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(26, 26, 46, 0.18);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(4px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

/* ─── Navbar ─── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 24px;
  height: 76px;
  display: flex;
  align-items: center;
  transition: background var(--transition), box-shadow var(--transition), height var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-nav);
  height: 64px;
}

.nav-inner {
  max-width: var(--container-width);
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-logo .logo-main {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-dark);
  transition: color var(--transition-fast);
}

.navbar.scrolled .nav-logo .logo-main {
  color: var(--text-dark);
}

.navbar:not(.scrolled) .nav-logo .logo-main {
  color: var(--white);
}

.nav-logo .logo-sub {
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  position: relative;
  transition: color var(--transition-fast);
  padding-bottom: 4px;
}

.navbar.scrolled .nav-links a {
  color: var(--text-dark);
}

.navbar:not(.scrolled) .nav-links a {
  color: rgba(255, 255, 255, 0.9);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width var(--transition-fast);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold) !important;
}

.nav-cta {
  font-size: 0.84rem !important;
  padding: 10px 24px !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  border: none;
  background: transparent;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 2px;
  transition: var(--transition);
}

.navbar.scrolled .hamburger span {
  background: var(--text-dark);
}

.navbar:not(.scrolled) .hamburger span {
  background: var(--white);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav Drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: min(340px, 85vw);
  height: 100vh;
  background: var(--white);
  z-index: 999;
  padding: 100px 36px 40px;
  box-shadow: -8px 0 40px rgba(26, 26, 46, 0.12);
  transition: right var(--transition);
  overflow-y: auto;
}

.mobile-nav.open {
  right: 0;
}

.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(26, 26, 46, 0.4);
  z-index: 998;
  opacity: 0;
  transition: opacity var(--transition);
}

.mobile-nav-overlay.open {
  opacity: 1;
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.mobile-nav ul a {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--text-dark);
  transition: color var(--transition-fast);
}

.mobile-nav ul a:hover {
  color: var(--gold);
}

.mobile-nav .mobile-cta {
  margin-top: 40px;
  display: block;
  text-align: center;
}

/* ─── Hero Section ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.05);
  transition: transform 8s ease;
}

.hero.loaded .hero-bg {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg,
      rgba(26, 26, 46, 0.72) 0%,
      rgba(26, 26, 46, 0.45) 50%,
      rgba(168, 137, 58, 0.2) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 0 24px;
  max-width: 820px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 24px;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  display: block;
  width: 30px;
  height: 1px;
  background: var(--gold-light);
}

.hero-content h1 {
  color: var(--white);
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  margin-bottom: 20px;
  line-height: 1.1;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-content h1 em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.6), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

  0%,
  100% {
    opacity: 0.4;
    transform: scaleY(1);
  }

  50% {
    opacity: 1;
    transform: scaleY(1.15);
  }
}

/* ─── Page Hero (Inner Pages) ─── */
.page-hero {
  padding: 160px 0 80px;
  background: linear-gradient(135deg, var(--cream) 0%, var(--blush-pale) 50%, var(--gold-pale) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--blush-light) 0%, transparent 70%);
  opacity: 0.5;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold-pale) 0%, transparent 70%);
  opacity: 0.6;
}

.page-hero .eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.page-hero h1 {
  margin-bottom: 16px;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
}

.page-hero p {
  max-width: 520px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--text-light);
}

.breadcrumb a {
  color: var(--gold);
  transition: opacity var(--transition-fast);
}

.breadcrumb a:hover {
  opacity: 0.75;
}

.breadcrumb span {
  color: var(--text-light);
}

/* ─── Service Card ─── */
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--divider);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--blush), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--blush-pale), var(--gold-pale));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.8rem;
  transition: transform var(--transition);
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ─── Stats Row ─── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: linear-gradient(135deg, var(--text-dark) 0%, #2D2D4E 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.stat-item {
  padding: 48px 32px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  transition: background var(--transition);
}

.stat-item:last-child {
  border-right: none;
}

.stat-item:hover {
  background: rgba(255, 255, 255, 0.04);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ─── Testimonials ─── */
.testimonials {
  background: var(--cream);
  padding: var(--section-pad);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.testimonial-card .quote-mark {
  font-family: var(--font-heading);
  font-size: 4.5rem;
  color: var(--blush-light);
  line-height: 0.8;
  margin-bottom: 16px;
  font-style: italic;
}

.testimonial-card p.review-text {
  font-size: 0.97rem;
  font-style: italic;
  color: var(--text-mid);
  margin-bottom: 24px;
  line-height: 1.75;
}

.reviewer-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.reviewer-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--blush-light);
}

.reviewer-avatar-placeholder {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blush), var(--gold-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}

.reviewer-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.reviewer-role {
  font-size: 0.8rem;
  color: var(--text-light);
}

.stars {
  color: var(--gold);
  font-size: 0.9rem;
  margin-bottom: 4px;
  letter-spacing: 2px;
}

/* ─── Gallery Grid ─── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  background: var(--divider);
}

.gallery-item img,
.gallery-item .gallery-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.gallery-item .gallery-bg {
  background-size: cover;
  background-position: center;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(26, 26, 46, 0.7) 100%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item:hover img,
.gallery-item:hover .gallery-bg {
  transform: scale(1.06);
}

.gallery-overlay .gallery-label {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
}

.gallery-zoom-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.7);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  opacity: 0;
  transition: opacity var(--transition), transform var(--transition);
}

.gallery-item:hover .gallery-zoom-icon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* ─── Filter Tabs ─── */
.filter-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.filter-btn {
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  background: transparent;
  border: 1.5px solid var(--divider);
  color: var(--text-mid);
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

/* ─── Lightbox ─── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(10, 10, 20, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
  padding: 20px;
}

.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox-inner {
  position: relative;
  max-width: 900px;
  width: 100%;
  max-height: 85vh;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition);
  transform: scale(0.92);
}

.lightbox.open .lightbox-inner {
  transform: scale(1);
}

.lightbox-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
  border: none;
  cursor: pointer;
  color: var(--white);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* ─── Blog Cards ─── */
.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.blog-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
  background: var(--divider);
}

.blog-card-img img,
.blog-card-img .blog-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.blog-card-img .blog-bg {
  background-size: cover;
  background-position: center;
}

.blog-card:hover .blog-card-img img,
.blog-card:hover .blog-card-img .blog-bg {
  transform: scale(1.06);
}

.blog-tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  background: var(--blush-pale);
  color: var(--gold-dark);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: absolute;
  top: 16px;
  left: 16px;
}

.blog-card-body {
  padding: 28px;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--text-light);
  margin-bottom: 14px;
}

.blog-meta svg,
.blog-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.blog-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  transition: color var(--transition-fast);
}

.blog-card:hover h3 {
  color: var(--gold-dark);
}

.blog-card p {
  font-size: 0.93rem;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold);
  transition: gap var(--transition-fast), color var(--transition-fast);
}

.read-more:hover {
  gap: 14px;
  color: var(--gold-dark);
}

/* ─── Theme Cards ─── */
.theme-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  aspect-ratio: 3/4;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
}

.theme-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.theme-card img,
.theme-card .theme-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s var(--ease);
}

.theme-card:hover img,
.theme-card:hover .theme-bg {
  transform: scale(1.06);
}

.theme-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, transparent 35%, rgba(26, 26, 46, 0.88) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
}

.theme-badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  background: var(--gold);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
  align-self: flex-start;
}

.theme-overlay h3 {
  color: var(--white);
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.theme-overlay p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* ─── About Page ─── */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}

.about-img-wrap {
  position: relative;
}

.about-img-wrap img,
.about-img-wrap .about-bg {
  border-radius: var(--radius-lg);
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  background-size: cover;
  background-position: center;
}

.about-img-badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow-card-hover);
  text-align: center;
  border: 1px solid var(--divider);
}

.about-img-badge .badge-num {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.about-img-badge .badge-text {
  font-size: 0.78rem;
  color: var(--text-mid);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Team Cards */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.team-card {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 20px;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--divider);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.team-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  margin: 0 auto 20px;
  object-fit: cover;
  border: 3px solid var(--blush-light);
  transition: border-color var(--transition-fast);
}

.team-card:hover .team-avatar {
  border-color: var(--gold);
}

.team-avatar-placeholder {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--blush), var(--gold-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  border: 3px solid transparent;
  transition: border-color var(--transition-fast);
}

.team-card:hover .team-avatar-placeholder {
  border-color: var(--gold);
}

.team-card h4 {
  margin-bottom: 4px;
}

.team-card .team-role {
  font-size: 0.82rem;
  color: var(--gold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 14px;
}

.team-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.team-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-mid);
  font-size: 0.9rem;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.team-social a:hover {
  background: var(--gold);
  color: var(--white);
}

/* Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.value-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--divider);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.value-card:hover {
  border-color: var(--gold-light);
  box-shadow: var(--shadow-card);
}

.value-card .value-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.value-card h4 {
  margin-bottom: 10px;
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 36px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--blush), var(--gold));
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -41px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 3px var(--gold-light);
}

.timeline-year {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.timeline-item h4 {
  margin-bottom: 6px;
}

/* ─── Contact Page ─── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}

.contact-info-card {
  background: linear-gradient(135deg, var(--text-dark) 0%, #2D2D4E 100%);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  color: var(--white);
}

.contact-info-card h3 {
  color: var(--white);
  margin-bottom: 12px;
}

.contact-info-card>p {
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 40px;
  font-size: 0.95rem;
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
  align-items: flex-start;
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: var(--radius-sm);
  background: rgba(201, 168, 76, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: var(--gold-light);
}

.contact-item-text .label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 4px;
}

.contact-item-text .value {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
}

.wa-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  border-radius: var(--radius-pill);
  background: #25D366;
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 36px;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
}

.wa-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.5);
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--divider);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--divider);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--cream);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.12);
  background: var(--white);
}

.form-group textarea {
  height: 140px;
  resize: vertical;
}

.form-group select {
  cursor: pointer;
}

/* ─── CTA Strip ─── */
.cta-strip {
  background: linear-gradient(135deg, var(--text-dark) 0%, #2D2D4E 60%, #3D2A4A 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(232, 164, 184, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(201, 168, 76, 0.12) 0%, transparent 60%);
}

.cta-strip h2,
.cta-strip p {
  color: var(--white);
  position: relative;
}

.cta-strip p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 500px;
  margin: 0 auto 36px;
}

.cta-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
}

/* ─── Map ─── */
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 380px;
  box-shadow: var(--shadow-card);
  margin-top: 60px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ─── Footer ─── */
.footer {
  background: var(--text-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand .logo-main {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
}

.footer-brand .logo-sub {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.92rem;
  line-height: 1.75;
  margin-bottom: 24px;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.social-link:hover {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

.footer-col h5 {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul a {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.footer-col ul a:hover {
  color: var(--gold);
  padding-left: 6px;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-contact-list li span:first-child {
  color: var(--gold);
  min-width: 16px;
  margin-top: 1px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
  color: var(--gold);
  transition: opacity var(--transition-fast);
}

.footer-bottom a:hover {
  opacity: 0.75;
}

/* ─── Scroll Animations ─── */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger children */
.stagger>*:nth-child(1) {
  transition-delay: 0.05s;
}

.stagger>*:nth-child(2) {
  transition-delay: 0.15s;
}

.stagger>*:nth-child(3) {
  transition-delay: 0.25s;
}

.stagger>*:nth-child(4) {
  transition-delay: 0.35s;
}

.stagger>*:nth-child(5) {
  transition-delay: 0.45s;
}

.stagger>*:nth-child(6) {
  transition-delay: 0.55s;
}

/* ─── Section Utilities ─── */
.section {
  padding: var(--section-pad);
}

.section-alt {
  padding: var(--section-pad);
  background: var(--cream);
}

.section-ivory {
  padding: var(--section-pad);
  background: var(--ivory);
}

/* ─── Decorative Divider ─── */
.divider-ornament {
  text-align: center;
  margin: 60px 0;
  color: var(--gold-light);
  font-size: 1.4rem;
  letter-spacing: 12px;
}

/* ─── Blog Detail ─── */
.blog-detail-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 60px;
  align-items: start;
}

.article-header {
  margin-bottom: 40px;
}

.article-hero {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 40px;
  background: var(--divider);
}

.article-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-body h2,
.article-body h3 {
  margin-top: 36px;
  margin-bottom: 16px;
}

.article-body p {
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.article-body ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 20px;
}

.article-body ul li {
  margin-bottom: 8px;
  color: var(--text-mid);
  font-size: 1.02rem;
}

.blog-sidebar {
  position: sticky;
  top: 90px;
}

.sidebar-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--divider);
  margin-bottom: 28px;
}

.sidebar-card h4 {
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--divider);
  font-size: 1rem;
}

/* ─── Gallery Landing (Masonry-ish) ─── */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.portfolio-grid .gallery-item:nth-child(4n+1) {
  grid-row: span 2;
  aspect-ratio: 3/4;
}

/* ─── WhatsApp Float ─── */
.wa-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 900;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}

.wa-float:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.6);
}

.wa-float-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.4);
  animation: waPulse 2.5s ease infinite;
}

@keyframes waPulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }

  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-detail-layout {
    grid-template-columns: 1fr;
  }

  .blog-sidebar {
    position: static;
  }

  .about-story {
    gap: 48px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --section-pad: 70px 0;
    --section-pad-sm: 50px 0;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-nav {
    display: block;
  }

  .mobile-nav-overlay {
    display: block;
  }

  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-story {
    grid-template-columns: 1fr;
  }

  .about-img-badge {
    bottom: -16px;
    right: -10px;
    padding: 14px 18px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 32px 24px;
  }

  .contact-info-card {
    padding: 32px 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-grid .gallery-item:nth-child(4n+1) {
    grid-row: span 1;
    aspect-ratio: 4/3;
  }

  .section-header {
    margin-bottom: 40px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .filter-tabs {
    gap: 6px;
  }

  .filter-btn {
    padding: 8px 18px;
    font-size: 0.82rem;
  }

  .stat-item {
    padding: 32px 20px;
  }

  .stat-number {
    font-size: 2.2rem;
  }
}

/* ─── FAQ Accordion ─── */
.faq-section {
  background: var(--cream);
  padding: var(--section-pad);
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--divider);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-fast);
}

.faq-item:hover {
  box-shadow: var(--shadow-card);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.4;
  transition: color var(--transition-fast);
}

.faq-question:hover {
  color: var(--gold);
}

.faq-question[aria-expanded="true"] {
  color: var(--gold);
}

.faq-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--cream);
  border: 1px solid var(--divider);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--gold);
  transition: transform var(--transition-med), background var(--transition-fast), color var(--transition-fast);
}

.faq-question[aria-expanded="true"] .faq-icon {
  background: linear-gradient(135deg, var(--blush), var(--gold));
  color: var(--white);
  border-color: transparent;
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding var(--transition-fast);
  padding: 0 28px;
  font-size: 0.97rem;
  color: var(--text-mid);
  line-height: 1.75;
}

.faq-answer.open {
  max-height: 600px;
  padding: 0 28px 24px;
}

.faq-answer p {
  margin: 0;
}

@media (max-width: 600px) {
  .faq-question {
    padding: 20px 20px;
    font-size: 1rem;
  }

  .faq-answer {
    padding: 0 20px;
  }

  .faq-answer.open {
    padding: 0 20px 20px;
  }
}

/* ═══════════════════════════════════════════════
   GLOBAL MOBILE FIX — prevents horizontal overflow
   ═══════════════════════════════════════════════ */
html,
body {
  overflow-x: hidden;
  width: 100%;
}

/* ═══════════════════════════════════════════════
   ABOUT PAGE — grid definitions + mobile overrides
   ═══════════════════════════════════════════════ */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

/* ═══════════════════════════════════════════════
   SERVICES PAGE — grid definitions
   ═══════════════════════════════════════════════ */
.services-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.trust-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.services-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.custom-plan-checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
}

/* ═══════════════════════════════════════════════
   BLOGS PAGE — grid definitions
   ═══════════════════════════════════════════════ */
.blogs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* ═══════════════════════════════════════════════
   OUR WORK PAGE — grid definitions
   ═══════════════════════════════════════════════ */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

/* ═══════════════════════════════════════════════
   TRENDING THEMES PAGE — grid definitions
   ═══════════════════════════════════════════════ */
.themes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.theme-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* ═══════════════════════════════════════════════
   CONTACT PAGE — grid definitions
   ═══════════════════════════════════════════════ */
.quick-contact-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}


/* ═══════════════════════════════════════════════
   @media ≤ 900px — tablet adjustments
   ═══════════════════════════════════════════════ */
@media (max-width: 900px) {
  .trust-strip-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blogs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .themes-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ═══════════════════════════════════════════════
   @media ≤ 768px — mobile core fixes
   ═══════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* Typography */
  h1 {
    font-size: clamp(1.8rem, 7vw, 2.4rem) !important;
  }

  h2 {
    font-size: clamp(1.5rem, 6vw, 2rem) !important;
  }

  /* Container */
  .container {
    max-width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
  }

  /* Section padding */
  .section,
  .section-alt,
  .section-ivory,
  .faq-section {
    padding: 60px 0 !important;
  }

  .page-hero {
    padding: 120px 0 60px !important;
  }

  /* About page */
  .about-story {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  .about-img-wrap,
  .about-bg {
    width: 100% !important;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .values-grid {
    grid-template-columns: 1fr !important;
  }

  /* Services page */
  .services-detail-grid {
    grid-template-columns: 1fr !important;
  }

  .trust-strip-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .services-testimonials-grid {
    grid-template-columns: 1fr !important;
  }

  .process-steps {
    grid-template-columns: 1fr !important;
  }

  .custom-plan-checklist {
    grid-template-columns: 1fr !important;
  }

  /* Blogs page */
  .blogs-grid {
    grid-template-columns: 1fr !important;
  }

  /* Our Work page */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .filter-btn {
    font-size: 0.78rem;
    padding: 8px 14px;
  }

  /* Trending themes */
  .themes-grid {
    grid-template-columns: 1fr !important;
  }

  .theme-detail-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  /* Contact page */
  .quick-contact-strip {
    grid-template-columns: 1fr !important;
  }

  .contact-layout {
    grid-template-columns: 1fr !important;
  }

  /* Blog detail */
  .blog-detail-layout {
    grid-template-columns: 1fr !important;
  }

  .blog-sidebar {
    position: static !important;
  }

  /* Stats */
  .stats-row {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* ═══════════════════════════════════════════════
   @media ≤ 480px — smallest phone fixes
   ═══════════════════════════════════════════════ */
@media (max-width: 480px) {
  h1 {
    font-size: clamp(1.6rem, 8vw, 2rem) !important;
  }

  h2 {
    font-size: clamp(1.3rem, 7vw, 1.8rem) !important;
  }

  .team-grid {
    grid-template-columns: 1fr !important;
  }

  .trust-strip-grid {
    grid-template-columns: 1fr !important;
  }

  .gallery-grid {
    grid-template-columns: 1fr !important;
  }

  .btn {
    padding: 12px 22px;
    font-size: 0.85rem;
  }

  .hero-btns {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .hero-btns .btn {
    width: 100%;
    justify-content: center;
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .portfolio-grid {
    grid-template-columns: 1fr !important;
  }
}