/* 
  Pandit Ji Krishna Vedic Pujan
  Static multi-page website styles
  - Premium spiritual look
  - Fully responsive
  - Pure HTML/CSS (no framework)
*/

/* ==========
   RESET
   ========== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Lato", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

@media (max-width: 767px) {
  body {
    font-size: 16px; /* Prevent iOS zoom on input focus */
  }
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button {
  font: inherit;
}

/* ==========
   THEME TOKENS (WCAG-friendly, consistent palette)
   ========== */
:root {
  /* Primary palette */
  --color-primary: #d96a00;
  --color-primary-hover: #c25e00;
  --color-primary-soft: #ff9f4d;
  --color-secondary: #2d1f14;
  --color-accent: #e8a92a;

  /* Backgrounds */
  --color-bg: #faf5ee;
  --color-bg-alt: #fff9f2;
  --color-bg-section: #f5efe6;
  --color-bg-deep: #1a120d;

  /* Text (WCAG AA contrast) */
  --color-text: #1f1610;
  --color-text-heading: #1a140f;
  --color-muted: #5a4838;

  /* UI accents */
  --color-saffron: #e87500;
  --color-saffron-soft: #ffb347;
  --color-gold: #d4a84b;
  --color-cream: #fff8f0;
  --color-brown: #2d1f14;

  /* Shape & depth */
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-soft: 0 4px 20px rgba(45, 31, 20, 0.08);
  --shadow-card: 0 8px 32px rgba(45, 31, 20, 0.12);
  --shadow-elevated: 0 12px 40px rgba(45, 31, 20, 0.15);

  /* Transitions */
  --transition-fast: 200ms ease-out;
  --transition-med: 280ms ease-out;
}

.page-bg {
  background:
    radial-gradient(circle at top left, rgba(232, 169, 42, 0.12), transparent 50%),
    radial-gradient(circle at bottom right, rgba(217, 106, 0, 0.08), transparent 50%),
    var(--color-bg);
}

.gradient-saffron {
  background-image: linear-gradient(135deg, var(--color-primary), var(--color-saffron-soft));
}

.text-gold-gradient {
  background-image: linear-gradient(135deg, #d4a84b, var(--color-saffron-soft));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ==========
   LAYOUT
   ========== */
.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

main {
  padding-top: 0;
}

section {
  padding-block: 3rem;
  transition: background-color var(--transition-fast);
}

/* First section after header - ensure content clears sticky header */
main > section:first-of-type:not(.hero) {
  padding-top: 5.5rem;
}

/* Section separation with alternating backgrounds */
section:nth-of-type(even) {
  background-color: var(--color-bg-section);
}
section:nth-of-type(odd) {
  background-color: transparent;
}

@media (min-width: 768px) {
  section {
    padding-block: 4rem;
  }

  main > section:first-of-type:not(.hero) {
    padding-top: 6rem;
  }
}

.section-heading {
  text-align: center;
  margin-bottom: 2rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8b4513;
  background: rgba(217, 106, 0, 0.12);
  border: 1px solid rgba(217, 106, 0, 0.2);
}

.section-title {
  margin: 0.7rem 0 0.4rem;
  font-family: "Playfair Display", "Times New Roman", serif;
  font-weight: 700;
  font-size: clamp(1.9rem, 2.5vw, 2.4rem);
  color: var(--color-text-heading);
}

.section-subtitle {
  margin: 0.4rem auto 0;
  max-width: 620px;
  color: var(--color-muted);
  font-size: 1rem;
  line-height: 1.75;
  font-weight: 500;
}

/* ==========
   HEADER & NAV
   ========== */
.topbar {
  background: linear-gradient(90deg, var(--color-primary), var(--color-saffron-soft));
  color: #fffaf5;
  font-size: 0.82rem;
  font-weight: 500;
  box-shadow: 0 2px 12px rgba(217, 106, 0, 0.25);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-block: 0.35rem;
}

.topbar-contact {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.topbar-contact span {
  opacity: 0.92;
}

.topbar-mantra {
  display: none;
}

@media (min-width: 640px) {
  .topbar-mantra {
    display: inline-block;
    opacity: 0.9;
  }
}

header.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(250, 245, 238, 0.94);
  border-bottom: 1px solid rgba(90, 72, 56, 0.15);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.65rem;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 6px 18px rgba(127, 74, 18, 0.45);
}

.brand-text-title {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.25;
}

.brand-text-sub {
  font-size: 0.76rem;
  color: var(--color-muted);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  position: relative;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-secondary);
  letter-spacing: 0.02em;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  transition: width var(--transition-fast);
}

.nav-link:hover::after,
.nav-link--active::after {
  width: 20px;
}

.nav-link--active {
  color: var(--color-primary);
}

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

.nav-actions {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

.nav-call {
  font-size: 0.9rem;
  color: var(--color-muted);
}

.nav-call strong {
  color: var(--color-primary);
  font-weight: 700;
}

.nav-toggle {
  background: transparent;
  border: none;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  color: var(--color-secondary);
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

.nav-toggle:hover {
  background-color: rgba(217, 106, 0, 0.08);
  color: var(--color-primary);
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }

  .nav-actions {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }
}

.nav-mobile {
  display: none;
  border-top: 1px solid rgba(186, 148, 104, 0.25);
  background: rgba(248, 243, 232, 0.97);
}

.nav-mobile.open {
  display: block;
}

.nav-mobile-inner {
  padding: 1rem 0 1.2rem;
}

.nav-mobile-link {
  display: block;
  padding-block: 0.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-secondary);
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.nav-mobile-link:hover {
  color: var(--color-primary);
  padding-left: 0.25rem;
}

.nav-mobile-link + .nav-mobile-link {
  border-top: 1px dashed rgba(186, 148, 104, 0.25);
}

/* ==========
   BUTTONS
   ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.82rem 1.75rem;
  border-radius: var(--radius-md);
  border: none;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-med);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-saffron-soft) 100%);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(217, 106, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(217, 106, 0, 0.45);
  background: linear-gradient(135deg, var(--color-primary-hover) 0%, var(--color-primary-soft) 100%);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--color-secondary);
  color: var(--color-secondary);
}

.btn-outline:hover {
  background-color: rgba(45, 31, 20, 0.06);
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* Hero outline buttons - white on dark background for visibility */
.hero .btn-outline {
  border-color: rgba(255, 255, 255, 0.8);
  color: #ffffff;
}

.hero .btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: #ffffff;
  color: #ffffff;
}

.btn-full {
  width: 100%;
}

.btn-sm {
  padding: 0.6rem 1.35rem;
  font-size: 0.88rem;
}

/* ==========
   HERO
   ========== */
.hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  color: #fffaf5;
  overflow: hidden;
  padding-top: 5.5rem; /* space for sticky header + topbar */
  padding-bottom: 3rem;
  margin-top: 0;
}

@media (min-width: 768px) {
  .hero {
    min-height: 520px;
    padding-top: 6rem;
  }
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(26, 18, 13, 0.92), rgba(45, 28, 15, 0.88)),
    url("../assets/images/hero-temple.jpg") center/cover no-repeat;
  transform: scale(1.02);
  transform-origin: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 25%, rgba(232, 169, 42, 0.25), transparent 50%),
    radial-gradient(circle at 85% 75%, rgba(255, 159, 77, 0.2), transparent 55%);
  mix-blend-mode: overlay;
  opacity: 0.9;
}

/* Vedic Om symbols - subtle ambient animation */
.hero-vedic-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.hero-om {
  position: absolute;
  font-size: clamp(4rem, 12vw, 8rem);
  font-family: "Times New Roman", serif;
  font-weight: 400;
  color: rgba(255, 235, 200, 0.06);
  user-select: none;
  animation: hero-om-float 18s ease-in-out infinite;
}

.hero-om--1 { left: 5%; top: 15%; animation-delay: 0s; }
.hero-om--2 { right: 8%; top: 25%; animation-delay: -4.5s; }
.hero-om--3 { left: 15%; bottom: 20%; animation-delay: -9s; }
.hero-om--4 { right: 12%; bottom: 15%; animation-delay: -13.5s; }

@keyframes hero-om-float {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.06; }
  25% { transform: translate(8px, -12px) scale(1.02); opacity: 0.08; }
  50% { transform: translate(-5px, 8px) scale(0.98); opacity: 0.05; }
  75% { transform: translate(12px, 5px) scale(1.01); opacity: 0.07; }
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding-block: 2rem 2.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: center;
}

.hero-kicker {
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff8f0;
  opacity: 0.95;
  margin-bottom: 0.8rem;
}

.hero-title {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-weight: 800;
  font-size: clamp(2.6rem, 4.2vw, 3.6rem);
  line-height: 1.08;
  margin: 0 0 0.9rem;
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.hero-highlight {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.9rem;
  border-radius: var(--radius-md);
  font-size: 0.78rem;
  font-weight: 600;
  background-color: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  margin-bottom: 0.7rem;
}

.hero-text {
  font-size: 1.05rem;
  max-width: 520px;
  line-height: 1.8;
  color: #fef6eb;
  opacity: 0.95;
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  margin-top: 1.6rem;
  font-size: 0.9rem;
  opacity: 0.9;
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.hero-meta-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background-color: #ffd46b;
  box-shadow: 0 0 12px rgba(255, 212, 107, 0.85);
}

.hero-card {
  background: rgba(255, 250, 242, 0.18);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.6rem;
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 235, 200, 0.6);
  transition: transform var(--transition-med), box-shadow var(--transition-med);
}

.hero-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.35);
}

.hero-card-title {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin-top: 0.3rem;
  color: #ffffff;
}

.hero-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.8rem;
}

.hero-badge {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.2rem 0.75rem;
  border-radius: var(--radius-sm);
  background-color: rgba(26, 18, 13, 0.85);
  border: 1px solid rgba(255, 210, 140, 0.5);
  color: #fff8f0;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  margin-top: 1.3rem;
}

.hero-stat {
  font-size: 0.86rem;
}

.hero-stat strong {
  display: block;
  font-size: 1.35rem;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-card {
    max-width: 420px;
    margin-inline: auto;
  }
}

@media (max-width: 767px) {
  /* Hero - center align for mobile */
  .hero-grid > div:first-child {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-kicker {
    text-align: center;
  }

  .hero-highlight {
    justify-content: center;
  }

  .hero-title {
    text-align: center;
  }

  .hero-text {
    text-align: center;
    margin-inline: auto;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 320px;
    margin-inline: auto;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-meta {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .hero-meta-item {
    flex: 0 0 auto;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 420px;
    padding-top: 5rem;
  }

  .hero-inner {
    padding-block: 1.75rem 2rem;
  }

  .hero-title {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
  }

  .hero-text {
    font-size: 1rem;
    line-height: 1.75;
  }

  .hero-actions {
    gap: 0.75rem;
  }

  .hero-actions .btn {
    padding: 0.9rem 1.5rem;
    font-size: 1rem;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  }

  .hero-actions .btn-primary {
    box-shadow: 0 6px 24px rgba(217, 106, 0, 0.4);
  }

  /* Service cards - center link on mobile */
  .card {
    text-align: center;
  }

  .card .card-icon {
    margin-inline: auto;
  }

  .card .card-link {
    display: inline-flex;
  }
}

/* ==========
   GRID UTILITIES
   ========== */
.grid-3 {
  display: grid;
  gap: 1.25rem;
}

.grid-4 {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ==========
   SERVICE CARDS
   ========== */
.card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.4rem 1.6rem;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(90, 72, 56, 0.12);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-med);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(217, 106, 0, 0.04) 0%, transparent 40%);
  opacity: 0;
  transition: opacity var(--transition-med);
}

.card-inner {
  position: relative;
  z-index: 1;
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.9rem;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  box-shadow: 0 6px 20px rgba(217, 106, 0, 0.3);
  color: #ffffff;
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text-heading);
}

.card p {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: var(--color-muted);
  line-height: 1.7;
}

.card-service-list {
  margin: 0 0 1rem;
  padding-left: 0;
  list-style: none;
  list-style-type: none;
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.8;
  text-align: center;
}

@media (min-width: 640px) {
  .card-service-list {
    text-align: left;
  }
}

.card-service-list li {
  margin-bottom: 0.25rem;
  list-style: none;
  list-style-type: none;
}

.card-service-list li {
  margin-bottom: 0.25rem;
}

.card-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: color var(--transition-fast), gap var(--transition-fast);
}

.card-link:hover {
  color: var(--color-primary-hover);
  gap: 0.5rem;
}

.card-link span {
  font-size: 1rem;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-elevated);
  border-color: rgba(217, 106, 0, 0.25);
}

.card:hover::before {
  opacity: 1;
}

/* ==========
   FEATURE LIST (WHY CHOOSE US)
   ========== */
.feature-list {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .feature-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.feature-item {
  text-align: center;
  padding: 1.25rem 1rem;
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid rgba(90, 72, 56, 0.08);
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.feature-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.feature-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.7rem;
  background: rgba(217, 106, 0, 0.12);
  color: var(--color-primary);
}

.feature-item h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-heading);
}

.feature-item p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--color-muted);
  line-height: 1.6;
}

/* ==========
   TESTIMONIALS
   ========== */
.testimonials {
  background-color: var(--color-bg-alt);
}

.testimonial-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .testimonial-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.testimonial-card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.4rem 1.6rem;
  border: 1px solid rgba(90, 72, 56, 0.12);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.testimonial-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-elevated);
}

.testimonial-stars {
  color: var(--color-accent);
  margin-bottom: 0.65rem;
  font-size: 1rem;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--color-muted);
  line-height: 1.75;
  margin-bottom: 0.9rem;
}

.testimonial-name {
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--color-text-heading);
}

.testimonial-location {
  font-size: 0.84rem;
  color: var(--color-muted);
}

.testimonial-google {
  margin-top: 1.75rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.testimonial-google-card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.4rem 1.6rem;
  border: 1px solid rgba(90, 72, 56, 0.12);
  box-shadow: var(--shadow-card);
  text-align: center;
}

.testimonial-google-title {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text-heading);
}

.testimonial-google-desc {
  margin: 0 0 1.25rem;
  font-size: 0.92rem;
  color: var(--color-muted);
  line-height: 1.6;
}

.testimonial-map-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-soft);
}

.testimonial-map-wrap iframe {
  display: block;
  width: 100%;
  height: 300px;
}

/* ==========
   CTA STRIP
   ========== */
.cta-strip {
  text-align: center;
  color: #1f1610;
}

.cta-strip-inner {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-saffron-soft) 100%);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.5rem;
  box-shadow: 0 12px 40px rgba(217, 106, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-strip h2 {
  margin: 0 0 0.6rem;
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: clamp(1.9rem, 2.4vw, 2.3rem);
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.cta-strip p {
  margin: 0 0 1.35rem;
  font-size: 1.02rem;
  color: #fff8f0;
  opacity: 0.95;
}

.cta-strip-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
}

.cta-strip .btn-primary {
  background: #ffffff;
  color: var(--color-primary);
  border: none;
}

.cta-strip .btn-primary:hover {
  background: #fff8f0;
  color: var(--color-primary-hover);
}

.cta-strip .btn-outline {
  border-color: rgba(255, 255, 255, 0.8);
  color: #ffffff;
}

.cta-strip .btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
  color: #ffffff;
}

/* ==========
   ABOUT PAGE
   ========== */
.about-hero {
  text-align: center;
  color: var(--color-text-heading);
}

.about-hero-inner {
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.5rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(90, 72, 56, 0.1);
}

/* Gradient hero inner - ensure white text for contrast */
.about-hero-inner.gradient-saffron,
.page-hero-inner.gradient-saffron {
  color: #ffffff;
}

.about-hero-inner.gradient-saffron .section-title,
.page-hero-inner.gradient-saffron .section-title {
  color: #ffffff;
}

.about-hero-inner.gradient-saffron .section-subtitle,
.page-hero-inner.gradient-saffron .section-subtitle {
  color: #fff8f0;
}

.about-hero-inner.gradient-saffron .badge-pill,
.page-hero-inner.gradient-saffron .badge-pill {
  background: rgba(255, 255, 255, 0.28);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.5);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.about-hero-inner.gradient-saffron .badge-pill i,
.page-hero-inner.gradient-saffron .badge-pill i {
  opacity: 1;
  color: #ffffff;
}

.about-layout {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}

@media (min-width: 880px) {
  .about-layout {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  }
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-elevated);
}

.about-points {
  display: grid;
  gap: 0.6rem;
  margin-top: 1.2rem;
}

@media (min-width: 576px) {
  .about-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.about-point {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.about-point-check {
  width: 20px;
  height: 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-primary);
}

/* ==========
   SERVICES PAGE
   ========== */
.page-hero {
  text-align: center;
  color: var(--color-text-heading);
}

.page-hero-inner {
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.5rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(90, 72, 56, 0.1);
}

.services-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ==========
   PACKAGES PAGE
   ========== */
.packages-grid {
  display: grid;
  gap: 1.4rem;
  max-width: 760px;
  margin-inline: auto;
}

@media (min-width: 768px) {
  .packages-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.package-card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.5rem 1.7rem;
  background-color: #ffffff;
  border: 1px solid rgba(90, 72, 56, 0.12);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.package-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-elevated);
}

.package-card--highlight {
  border-color: var(--color-primary);
  box-shadow: 0 12px 36px rgba(135, 80, 21, 0.25);
}

.package-badge {
  position: absolute;
  top: -0.85rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 1rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--color-primary), var(--color-saffron-soft));
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(217, 106, 0, 0.4);
}

.package-title {
  margin: 0 0 0.45rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text-heading);
}

.package-desc {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  color: var(--color-muted);
  line-height: 1.6;
}

.package-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.4rem;
}

.package-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.package-list li::before {
  content: "✓";
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-primary);
}

/* ==========
   CONTACT PAGE
   ========== */
.contact-layout {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 880px) {
  .contact-layout {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
    align-items: flex-start;
  }
}

.contact-card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.6rem;
  border: 1px solid rgba(90, 72, 56, 0.12);
  box-shadow: var(--shadow-card);
}

.contact-map-card {
  margin-top: 1.5rem;
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.4rem;
  border: 1px solid rgba(90, 72, 56, 0.12);
  box-shadow: var(--shadow-card);
}

.contact-map-card .contact-info-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.map-frame--contact {
  margin-top: 1rem;
  margin-bottom: 0;
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.contact-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(217, 106, 0, 0.12);
  color: var(--color-primary);
  flex-shrink: 0;
}

.contact-info-title {
  font-size: 0.96rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
  color: var(--color-text-heading);
}

.contact-info-text {
  margin: 0;
  font-size: 0.92rem;
  color: var(--color-muted);
  line-height: 1.6;
}

.contact-phones {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.8rem;
}

.contact-phone-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-primary);
  font-weight: 600;
  transition: color var(--transition-fast);
}

.contact-phone-link:hover {
  color: var(--color-primary-hover);
}

.social-row {
  margin-top: 1rem;
  display: flex;
  gap: 0.6rem;
}

.social-pill {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(45, 31, 20, 0.08);
  color: var(--color-secondary);
  transition: all var(--transition-fast);
  border: 1px solid transparent;
}

.social-pill:hover {
  background-color: rgba(217, 106, 0, 0.15);
  color: var(--color-primary);
  transform: translateY(-2px);
}

/* Footer social icons - light on dark background for visibility */
.site-footer .social-pill {
  background-color: rgba(255, 228, 181, 0.18);
  color: #ffe4b5;
  border: 1px solid rgba(255, 228, 181, 0.25);
}

.site-footer .social-pill:hover {
  background-color: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}

.whatsapp-panel {
  background: linear-gradient(160deg, #0d2e14 0%, #153819 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem 1.9rem;
  box-shadow: 0 12px 36px rgba(16, 34, 19, 0.5);
  border: 1px solid rgba(37, 187, 78, 0.35);
}

.whatsapp-panel h2 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
}

.whatsapp-panel p {
  margin: 0 0 1.1rem;
  font-size: 0.94rem;
  color: #e8f5eb;
  line-height: 1.6;
}

.whatsapp-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.2rem 0.8rem;
  border-radius: var(--radius-md);
  background-color: rgba(37, 187, 78, 0.25);
  color: #b8f0c4;
  margin-bottom: 0.65rem;
}

.whatsapp-panel .btn-outline {
  border-color: rgba(255, 255, 255, 0.6);
  color: #ffffff;
}

.whatsapp-panel .btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #ffffff;
  color: #ffffff;
}

/* Form labels - light text on dark green WhatsApp panel */
.whatsapp-panel .field-label {
  color: #e8f5eb;
  font-weight: 600;
}

.whatsapp-panel .field-input,
.whatsapp-panel .field-textarea {
  background-color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--color-text);
}

.whatsapp-panel .field-input::placeholder,
.whatsapp-panel .field-textarea::placeholder {
  color: #8a9a8e;
}

.map-frame {
  margin-top: 1.4rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(90, 72, 56, 0.15);
  box-shadow: var(--shadow-card);
}

.contact-form {
  margin-top: 1.2rem;
  display: grid;
  gap: 0.85rem;
}

.field-row {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.field-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text-heading);
}

.field-input,
.field-textarea {
  border-radius: var(--radius-md);
  border: 1px solid rgba(90, 72, 56, 0.2);
  padding: 0.7rem 1rem;
  font-size: 0.92rem;
  font-family: inherit;
  background-color: #ffffff;
  color: var(--color-text);
  outline: none;
  transition: all var(--transition-fast);
}

.field-textarea {
  min-height: 100px;
  border-radius: var(--radius-md);
  resize: vertical;
}

.field-input:focus,
.field-textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(217, 106, 0, 0.2);
  background-color: #ffffff;
}

/* ==========
   FOOTER
   ========== */
.site-footer {
  background: linear-gradient(180deg, #1f1610 0%, #261a12 100%);
  color: #fef6eb;
  margin-top: 2rem;
  border-top: 1px solid rgba(90, 72, 56, 0.2);
}

.footer-main {
  padding-block: 2.25rem;
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  }
}

.site-footer .brand-text-title {
  color: #ffe4b5;
  font-weight: 700;
}

.footer-heading {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #ffe4b5;
}

.footer-text {
  font-size: 0.92rem;
  color: #f5e6d3;
  line-height: 1.75;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.92rem;
}

.footer-link {
  color: #f5e6d3;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.footer-link:hover {
  color: #ffe4b5;
  transform: translateX(3px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  font-size: 0.92rem;
  color: #f5e6d3;
}

.footer-contact-item + .footer-contact-item {
  margin-top: 0.5rem;
}

.footer-contact-icon {
  margin-top: 0.2rem;
  font-size: 0.9rem;
  color: var(--color-accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 228, 181, 0.12);
  padding-block: 1rem;
  text-align: center;
  font-size: 0.86rem;
  color: #e8dcc8;
}

.footer-badge {
  display: inline-block;
  margin-top: 0.3rem;
}

/* Footer buttons - light on dark for visibility, compact width */
.site-footer .btn-outline {
  border-color: rgba(255, 228, 181, 0.6);
  color: #ffe4b5;
  width: fit-content;
  min-width: auto;
}

.site-footer .btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #ffe4b5;
  color: #ffffff;
}

.site-footer .mt-3 .btn {
  width: fit-content;
}

/* Compact, centered footer on small screens */
@media (max-width: 768px) {
  .site-footer {
    margin-top: 1rem;
    text-align: center;
  }

  .footer-main {
    padding-block: 0.9rem;
  }

  /* Stack all sections vertically, full width */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .footer-grid > * {
    padding-top: 0.4rem;
  }

  /* subtle dividers between sections */
  .footer-grid > * + * {
    border-top: 1px solid rgba(255, 228, 181, 0.12);
  }

  .footer-heading {
    font-size: 0.9rem;
    margin-bottom: 0.35rem;
  }

  .footer-text {
    font-size: 0.84rem;
    line-height: 1.45;
  }

  .footer-links {
    align-items: center;
    gap: 0.18rem;
    font-size: 0.84rem;
  }

  .footer-contact-item {
    justify-content: center;
    font-size: 0.84rem;
    gap: 0.3rem;
  }

  .footer-contact-item + .footer-contact-item {
    margin-top: 0.25rem;
  }

  .footer-contact-icon {
    font-size: 0.8rem;
    margin-top: 0.08rem;
  }

  .footer-contact-item a {
    display: block;
    margin-bottom: 0.1rem;
  }

  .site-footer .social-row {
    justify-content: center;
    gap: 0.4rem;
    margin-top: 0.5rem;
  }

  .site-footer .social-pill {
    width: 30px;
    height: 30px;
    border-radius: 10px;
  }

  .site-footer .mt-3 {
    margin-top: 0.5rem;
  }

  /* WhatsApp & email buttons – smaller, premium pill style */
  .site-footer .btn-outline,
  .site-footer .mt-3 .btn {
    width: auto;
    min-width: 0;
    font-size: 0.82rem;
    padding: 0.5rem 1.2rem;
    border-radius: 999px;
  }

  .footer-bottom {
    padding-block: 0.55rem;
    font-size: 0.78rem;
    line-height: 1.4;
  }

  .footer-badge {
    margin-top: 0.15rem;
  }
}

/* ==========
   ANIMATIONS
   ========== */
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-up {
  opacity: 0;
  animation: fade-up 0.6s ease-out forwards;
}

@media (max-width: 767px) {
  .fade-up {
    animation: fade-up 0.5s ease-out forwards;
  }
}

.fade-up-delayed-1 {
  animation-delay: 0.12s;
}

.fade-up-delayed-2 {
  animation-delay: 0.22s;
}

.fade-up-delayed-3 {
  animation-delay: 0.32s;
}

/* ==========
   UTILITIES
   ========== */
.mt-0 {
  margin-top: 0;
}

.mt-1 {
  margin-top: 0.25rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-3 {
  margin-top: 1rem;
}

.mt-4 {
  margin-top: 1.5rem;
}

.mb-0 {
  margin-bottom: 0;
}

.mb-1 {
  margin-bottom: 0.25rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-3 {
  margin-bottom: 1rem;
}

.text-center {
  text-align: center;
}

.text-muted {
  color: var(--color-muted);
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.8rem;
  border-radius: var(--radius-md);
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(217, 106, 0, 0.12);
  color: var(--color-primary);
}

.hidden {
  display: none !important;
}

@media (min-width: 768px) {
  .hidden-md-up {
    display: none !important;
  }
}

/* ==========
   MOBILE OPTIMIZATION (< 768px)
   ========== */
@media (max-width: 767px) {
  .container {
    width: min(100% - 1.5rem, 480px);
    margin-inline: auto;
    padding-inline: 0.75rem;
  }

  section {
    padding-block: 2.5rem;
  }

  .section-heading {
    margin-bottom: 1.5rem;
  }

  .section-title {
    font-size: 1.85rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
  }

  .section-subtitle {
    font-size: 0.98rem;
    line-height: 1.7;
  }

  /* Footer - center align, symmetrical */
  .site-footer .footer-grid {
    text-align: center;
    gap: 2rem;
  }

  .site-footer .footer-grid > div {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .site-footer .footer-heading {
    text-align: center;
    width: 100%;
  }

  .site-footer .footer-links {
    align-items: center;
  }

  .site-footer .footer-contact-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .site-footer .footer-contact-icon {
    margin-top: 0;
  }

  .site-footer .social-row {
    justify-content: center;
  }

  .site-footer .mt-3 {
    display: flex;
    justify-content: center;
  }

  /* Card symmetry */
  .card {
    text-align: center;
  }

  .card-icon {
    margin-inline: auto;
  }

  .card-link {
    justify-content: center;
    margin-inline: auto;
  }

  /* Feature list - center on mobile */
  .feature-item {
    text-align: center;
  }

  .feature-icon {
    margin-inline: auto;
  }

  /* CTA strip buttons - center stack */
  .cta-strip-actions {
    flex-direction: column;
    align-items: center;
  }

  .cta-strip .btn {
    width: 100%;
    max-width: 280px;
  }

  /* Page hero (about, services, etc.) - already centered */
  .about-hero-inner,
  .page-hero-inner {
    text-align: center;
  }

  .about-layout {
    text-align: center;
  }

  .about-layout .section-subtitle {
    text-align: center !important;
  }

  .about-points {
    justify-content: center;
    justify-items: center;
  }

  .about-point {
    justify-content: center;
  }

  .about-layout .mt-4 {
    display: flex;
    justify-content: center;
  }

  /* Contact page - center layout on mobile */
  .contact-card {
    text-align: center;
  }

  .contact-card .contact-row {
    flex-direction: column;
    align-items: center;
  }

  .contact-phones {
    align-items: center;
  }

  .contact-map-card {
    text-align: center;
  }

  /* Testimonials - centered on mobile */
  .testimonial-google {
    text-align: center;
  }

  .testimonial-google .btn {
    margin-inline: auto;
  }

  /* Package cards - center on mobile */
  .packages-grid {
    text-align: center;
  }

  .package-card {
    text-align: center;
  }

  .package-list {
    align-items: center;
  }

  .package-list li {
    justify-content: center;
  }
}

/* Small phones (< 480px) */
@media (max-width: 480px) {
  .container {
    width: 100%;
    padding-inline: 1rem;
  }

  .section-title {
    font-size: 1.65rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-actions {
    max-width: 100%;
  }
}
