/* ===== THE PANDIT — Distinctive Traditional Design ===== */

/* --- Color System --- */
:root {
  /* Rich Traditional Palette */
  --maroon: #8B1538;
  --maroon-deep: #5C0D24;
  --maroon-light: #A6193F;
  --saffron: #FF9933;
  --saffron-light: #FFB366;
  --gold: #D4A017;
  --gold-light: #E8C547;
  --page: #f7f8fa;
  --surface-soft: #eef2f5;
  --line: #dce3e8;

  /* Supporting Colors */
  --indigo: #1A2332;
  --indigo-light: #2D3A52;
  --sage: #4A6741;
  --terra: #8B5A3C;

  /* Neutrals */
  --ink: #1A1514;
  --ink-light: #3D3533;
  --muted: #6B5F5C;
  --muted-light: #8A7D7A;

  /* Semantic */
  --bg: var(--page);
  --surface: #FFFFFF;
  --text: var(--ink);
  --text-light: var(--muted);
  --accent: var(--maroon);
  --highlight: var(--saffron);

  /* Spacing */
  --max-width: 1200px;
  --content-width: 720px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(27, 18, 16, 0.08);
  --shadow-md: 0 8px 32px rgba(27, 18, 16, 0.12);
  --shadow-lg: 0 16px 64px rgba(27, 18, 16, 0.16);
  --shadow-glow: 0 0 40px rgba(255, 153, 51, 0.3);
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Removed noise overlay - user feedback */

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

a {
  color: inherit;
  text-decoration: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.5rem;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.5rem, 10vw, 4.5rem);
}

h2 {
  font-size: clamp(1.8rem, 5vw, 3rem);
}

h3 {
  font-size: 1.4rem;
  font-weight: 600;
}

p {
  margin: 0 0 1rem;
  color: var(--text-light);
}

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0.72rem 2rem;
  background: rgba(247, 248, 250, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(139, 21, 56, 0.1);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: Georgia, "Times New Roman", serif;
}

.brand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  aspect-ratio: 1 / 1;
  background: transparent;
  background-color: var(--saffron);
  border-radius: 50%;
  overflow: hidden;
}

.brand-icon::before {
  content: "";
  display: block;
  width: 72%;
  height: 72%;
  background: url("om-symbol.svg") center / contain no-repeat;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-subtitle {
  font-size: 0.75rem;
  color: var(--muted);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.nav {
  display: none;
  gap: 2rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
  font-weight: 500;
}

.nav a {
  position: relative;
  padding: 0.5rem 0;
  color: var(--text-light);
  transition: color 0.2s;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--maroon);
  transition: width 0.3s;
}

.nav a:hover {
  color: var(--maroon);
}

.nav a:hover::after {
  width: 100%;
}

.cta-small {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--maroon);
  background: var(--saffron);
  border-radius: 100px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.cta-small:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(212, 160, 23, 0.4);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: min(680px, calc(100dvh - 80px));
  padding: clamp(2rem, 5vw, 3.25rem) 2rem;
  background: var(--maroon);
  color: white;
  overflow: hidden;
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: 1fr 0.85fr;
    gap: clamp(2.5rem, 5vw, 4rem);
    padding: clamp(2.5rem, 5vw, 3.75rem) 4rem;
    align-items: center;
  }
}

.hero-pattern {
  display: none;
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: none;
  background-size: 40px 40px;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  min-width: 0;
}

.hero h1 {
  margin: 0.65rem 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.45rem, 5.8vw, 4rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

.hero h1 .line {
  display: block;
}

.hero h1 .highlight {
  display: inline-block;
  padding: 0 0.5rem;
  margin: 0 -0.5rem;
  color: var(--saffron);
}

.hero-lead {
  max-width: 32rem;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  overflow-wrap: break-word;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.75rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  cursor: pointer;
  border: none;
  text-align: center;
  line-height: 1.2;
}

.btn:hover {
  transform: translateY(-2px);
}

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

.btn-primary {
  color: var(--maroon-deep);
  background: var(--saffron);
  box-shadow: 0 8px 24px rgba(139, 21, 56, 0.18);
}

.btn-primary:hover {
  background: var(--saffron-light);
  box-shadow: 0 10px 28px rgba(139, 21, 56, 0.2);
}

.btn-gold {
  color: white;
  background: var(--maroon);
  border: 2px solid var(--maroon);
  backdrop-filter: none;
}

.btn-gold:hover {
  background: var(--maroon-deep);
  border-color: var(--maroon-deep);
}

.hero-actions .btn-gold {
  color: white;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px);
}

.hero-actions .btn-gold:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.35);
}

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

.btn-outline:hover {
  background: rgba(139, 21, 56, 0.08);
}

.btn-large {
  min-height: 60px;
  padding: 1.25rem 2.5rem;
  font-size: 1.25rem;
}

.btn-small {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

.stars {
  letter-spacing: -2px;
  color: #ffd8a8;
}

/* --- Hero Image --- */
.hero-image-wrapper {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.hero-image-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 32px 96px rgba(0, 0, 0, 0.4);
  max-width: 480px;
  margin-left: auto;
}

.hero-image-frame img {
  width: 100%;
  height: min(620px, calc(100dvh - 190px));
  min-height: 500px;
  object-fit: cover;
  object-position: 50% 68%;
}

.frame-corner {
  position: absolute;
  width: 32px;
  height: 32px;
  border-color: var(--gold);
  border-style: solid;
}

.frame-corner.tl { top: 12px; left: 12px; border-width: 3px 0 0 3px; }
.frame-corner.tr { top: 12px; right: 12px; border-width: 3px 3px 0 0; }
.frame-corner.bl { bottom: 12px; left: 12px; border-width: 0 0 3px 3px; }
.frame-corner.br { bottom: 12px; right: 12px; border-width: 0 3px 3px 0; }

.hero-blessing {
  margin-top: 1rem;
  padding: 0.7rem 1rem;
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  color: var(--saffron-light);
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
}

/* --- Trust Bar --- */
.trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(139, 21, 56, 0.15);
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 2rem 1rem;
  text-align: center;
  background: var(--surface);
  transition: background 0.2s;
}

.trust-item:hover {
  background: var(--surface-soft);
}

.trust-icon {
  font-size: 1.5rem;
  color: var(--maroon);
}

.trust-value {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--maroon);
}

.trust-label {
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --- Section Badges --- */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--maroon);
  background: rgba(139, 21, 56, 0.07);
  border: 1px solid rgba(139, 21, 56, 0.1);
  border-radius: 100px;
}

/* --- Intro Section --- */
.intro-section {
  display: grid;
  gap: 3rem;
  max-width: var(--max-width);
  margin: 5rem auto;
  padding: 0 2rem;
}

@media (min-width: 800px) {
  .intro-section {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

.intro-visual {
  position: relative;
}

.intro-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.intro-frame img {
  width: 100%;
  height: auto;
}

.intro-border {
  position: absolute;
  inset: 8px;
  border: 1px solid var(--gold);
  border-radius: var(--radius-md);
  pointer-events: none;
}

.intro-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
}

.intro-content h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.feature-list {
  display: grid;
  gap: 0.75rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.check {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  font-size: 0.9rem;
  color: var(--maroon);
  background: rgba(139, 21, 56, 0.1);
  border-radius: 50%;
}

/* --- Services Section --- */
.services-section {
  max-width: var(--max-width);
  margin: 6rem auto;
  padding: 0 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header p {
  max-width: 42rem;
  margin: 0 auto;
}

.seo-support {
  margin-top: 0.6rem;
  font-size: 0.95rem;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

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

.service-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid rgba(139, 21, 56, 0.1);
  border-top: 3px solid var(--maroon);
  border-radius: var(--radius-md);
  transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(139, 21, 56, 0.2);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  color: var(--maroon);
  background: rgba(139, 21, 56, 0.08);
  border: 1px solid rgba(139, 21, 56, 0.14);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.service-card h3 {
  font-size: 1.1rem;
  color: var(--maroon);
}

.service-card p {
  font-size: 0.9rem;
  line-height: 1.6;
}

/* --- Areas Section --- */
.areas-section {
  max-width: var(--max-width);
  margin: 6rem auto;
  padding: 0 2rem;
}

.areas-section .section-header {
  max-width: 900px;
  margin-right: auto;
  margin-left: auto;
}

.areas-section .section-header h2 {
  max-width: 18ch;
  margin-right: auto;
  margin-left: auto;
  font-size: clamp(2rem, 4.5vw, 3.35rem);
}

.areas-section .section-header p {
  max-width: 760px;
}

.area-panel {
  display: grid;
  gap: 1.75rem;
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--surface);
  border: 1px solid rgba(139, 21, 56, 0.1);
  border-top: 4px solid var(--maroon);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

@media (min-width: 850px) {
  .area-panel {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.95fr);
    align-items: center;
  }
}

.area-kicker {
  display: inline-block;
  margin-bottom: 0.7rem;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--maroon);
}

.area-copy h3 {
  margin-bottom: 0.75rem;
  color: var(--maroon);
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
}

.area-copy p {
  margin-bottom: 0;
}

.area-summary {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--page);
  border: 1px solid rgba(139, 21, 56, 0.1);
  border-radius: var(--radius-md);
}

.area-summary-item {
  display: grid;
  gap: 0.2rem;
  padding: 0.25rem 0;
}

.area-summary-item strong {
  font-size: 0.78rem;
  color: var(--maroon);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.area-summary-item span {
  color: var(--ink-light);
  line-height: 1.55;
}

.area-cta {
  width: 100%;
  margin-top: 0.35rem;
}

/* --- About Split --- */
.about-split {
  display: grid;
  gap: 3rem;
  max-width: var(--max-width);
  margin: 6rem auto;
  padding: 0 2rem;
}

@media (min-width: 800px) {
  .about-split {
    grid-template-columns: 0.45fr 1fr;
    align-items: center;
  }
}

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

.about-image img {
  width: 100%;
  height: auto;
}

.about-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: rgba(26, 21, 20, 0.72);
  color: white;
  text-align: center;
}

.sanskrit {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
}

.translation {
  display: block;
  font-size: 0.85rem;
  opacity: 0.9;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
}

/* --- Reviews Section --- */
.reviews-section {
  max-width: var(--max-width);
  margin: 6rem auto;
  padding: 0 2rem;
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

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

.review-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid rgba(139, 21, 56, 0.08);
  border-radius: var(--radius-md);
  transition: transform 0.2s;
}

.review-card:hover {
  transform: translateY(-2px);
}

.review-stars {
  letter-spacing: -2px;
  color: #8a6500;
  font-size: 0.9rem;
}

.review-card blockquote {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--ink);
}

.review-card figcaption {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.9rem;
}

.review-card figcaption strong {
  color: var(--maroon);
}

.review-card figcaption span {
  color: var(--muted);
}

.review-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* --- FAQ Section --- */
.faq-section {
  max-width: var(--max-width);
  margin: 6rem auto;
  padding: 0 2rem;
}

.faq-list {
  display: grid;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid rgba(139, 21, 56, 0.1);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-item {
  padding: 1.4rem 1.6rem;
  border-bottom: 1px solid var(--line);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item h3 {
  color: var(--maroon);
  font-size: 1.15rem;
}

.faq-item p {
  margin-bottom: 0;
}

.faq-item a {
  color: var(--maroon);
  font-weight: 700;
}

/* --- Gallery Section --- */
.gallery-section {
  max-width: var(--max-width);
  margin: 6rem auto;
  padding: 0 2rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: transform 0.2s;
}

.gallery-item:hover {
  transform: scale(1.02);
}

.gallery-item img {
  width: 100%;
  height: auto;
}

.gallery-item figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem 1rem;
  background: rgba(26, 21, 20, 0.72);
  color: white;
  font-size: 0.85rem;
  text-align: center;
}

/* --- Contact Section --- */
.contact-section {
  position: relative;
  padding: clamp(2.75rem, 5vw, 4rem) 2rem;
  background: var(--maroon);
  color: white;
  overflow: hidden;
}

.contact-pattern {
  display: none;
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: none;
  background-size: 60px 60px;
}

.contact-content {
  position: relative;
  z-index: 2;
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
  max-width: 1040px;
  margin: 0 auto;
}

@media (min-width: 800px) {
  .contact-content {
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.75fr);
    align-items: center;
  }
}

.contact-main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
}

.contact-main h2 {
  max-width: 13ch;
  color: white;
  font-size: clamp(2rem, 4vw, 3rem);
}

.contact-main p {
  max-width: 42rem;
  color: rgba(255, 255, 255, 0.85);
}

.contact-section .section-badge {
  color: var(--maroon-deep);
  background: var(--saffron-light);
  border-color: transparent;
}

.contact-main .btn {
  margin-top: 0.5rem;
}

.contact-info {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-icon {
  display: none;
  place-items: center;
  flex: 0 0 auto;
  width: 2.5rem;
  height: 2.5rem;
  color: var(--maroon-deep);
  background: var(--saffron);
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.contact-item strong {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--saffron-light);
}

.contact-item a,
.contact-item span {
  color: white;
  font-weight: 500;
}

.contact-item a:hover {
  color: var(--saffron-light);
}

/* --- Footer --- */
.site-footer {
  display: grid;
  gap: 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 2rem;
  border-top: 1px solid rgba(139, 21, 56, 0.1);
}

@media (min-width: 700px) {
  .site-footer {
    grid-template-columns: 1fr auto;
    align-items: start;
  }
}

.footer-main {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.footer-brand small {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
}

.footer-company {
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.footer-links a,
.footer-links button {
  color: var(--muted);
  font: inherit;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}

.footer-links a:hover,
.footer-links button:hover {
  color: var(--maroon);
}

/* --- Floating WhatsApp --- */
.floating-whatsapp {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 56px;
  height: 56px;
  min-width: 56px;
  min-height: 56px;
  padding: 0;
  color: white;
  background: #1fa855;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(20, 83, 45, 0.28);
  font-weight: 800;
  line-height: 1;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.floating-whatsapp span {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.floating-whatsapp:hover {
  background: #168947;
  box-shadow: 0 18px 42px rgba(20, 83, 45, 0.34);
  transform: translateY(-2px);
}

.floating-whatsapp:focus-visible {
  outline: 3px solid var(--saffron);
  outline-offset: 3px;
}

/* --- Cookie Banner --- */
.cookie-banner {
  position: fixed;
  right: auto;
  bottom: max(1.25rem, env(safe-area-inset-bottom));
  left: max(1.25rem, env(safe-area-inset-left));
  z-index: 1000;
  width: min(390px, calc(100vw - 2.5rem));
  padding: 1rem;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(139, 21, 56, 0.14);
  border-top: 4px solid var(--saffron);
  border-radius: var(--radius-md);
  box-shadow: 0 18px 50px rgba(27, 18, 16, 0.2);
  backdrop-filter: blur(10px);
}

.cookie-banner strong {
  color: var(--maroon-deep);
}

.cookie-banner p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.cookie-banner p + p {
  margin-top: 0.35rem;
}

.cookie-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.6rem;
  margin-top: 0.85rem;
}

.cookie-banner .btn {
  min-height: 44px;
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  box-shadow: none;
}

.cookie-banner .btn-outline {
  color: var(--maroon);
  background: transparent;
  border-color: rgba(139, 21, 56, 0.35);
}

.cookie-banner .btn-outline:hover {
  background: rgba(139, 21, 56, 0.07);
}

.cookie-banner .btn-small {
  color: var(--maroon-deep);
  background: var(--saffron);
}

.cookie-banner .btn-small:hover {
  background: var(--saffron-light);
}

/* --- Animations --- */
.fade-in {
  animation: fade-in 0.8s ease forwards;
}

.fade-in-delay-1 {
  opacity: 0;
  animation: fade-in 0.8s ease 0.15s forwards;
}

.fade-in-delay-2 {
  opacity: 0;
  animation: fade-in 0.8s ease 0.3s forwards;
}

.fade-in-delay-3 {
  opacity: 0;
  animation: fade-in 0.8s ease 0.45s forwards;
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Legal Pages --- */
.legal-page {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 4rem 2rem;
}

.legal-page h1 {
  color: var(--maroon);
  margin-bottom: 2rem;
}

.legal-page h2 {
  color: var(--indigo);
  margin-top: 2.5rem;
}

.legal-page a {
  color: var(--maroon);
  font-weight: 600;
}

.legal-list {
  display: grid;
  gap: 0.5rem;
  margin: 1rem 0 1.5rem 1rem;
  padding-left: 1rem;
  border-left: 3px solid var(--maroon);
  list-style: none;
}

/* --- Mobile Tweaks --- */
@media (max-width: 768px) {
  .site-header {
    padding: 0.72rem 1rem;
  }

  .hero {
    padding: 3rem 1.5rem;
    min-height: auto;
  }

  .hero-content,
  .hero-actions,
  .hero-lead,
  .hero h1 {
    width: min(100%, calc(100vw - 3rem));
    max-width: calc(100vw - 3rem);
  }

  .hero h1 {
    font-size: clamp(2.05rem, 8.5vw, 2.75rem);
  }

  .hero-image-frame {
    max-width: 420px;
    margin-right: auto;
  }

  .hero-image-frame img {
    height: min(540px, 132vw);
    min-height: 390px;
  }

  .hero-actions {
    flex-direction: column;
  }

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

  .trust-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-item:nth-child(n+3) {
    border-top: 1px solid rgba(139, 21, 56, 0.1);
  }

  .intro-section,
  .services-section,
  .areas-section,
  .about-split,
  .reviews-section,
  .faq-section,
  .gallery-section {
    margin: 4rem auto;
    padding: 0 1.25rem;
  }

  .area-panel {
    padding: 1.25rem;
  }

  .faq-item {
    padding: 1.2rem;
  }

  .contact-section {
    padding: 3rem 1.25rem;
  }

  .contact-main h2 {
    max-width: none;
  }

  .contact-main .btn {
    width: 100%;
  }

  .site-footer {
    padding: 2.5rem 1.25rem;
  }

  .cookie-banner {
    right: 1rem;
    bottom: calc(5.25rem + env(safe-area-inset-bottom));
    left: 1rem;
    width: auto;
  }

  .floating-whatsapp {
    right: max(0.9rem, env(safe-area-inset-right));
    bottom: max(0.9rem, env(safe-area-inset-bottom));
  }
}

@media (max-width: 420px) {
  body {
    font-size: 16px;
  }

  .brand-name {
    font-size: 1.12rem;
  }

  .brand-icon {
    flex-basis: 36px;
    width: 36px;
    height: 36px;
  }

  .hero {
    padding: 2.5rem 1rem;
  }

  .hero-content,
  .hero-actions,
  .hero-lead,
  .hero h1 {
    width: min(100%, calc(100vw - 2rem));
    max-width: calc(100vw - 2rem);
  }

  .hero h1 {
    font-size: clamp(2rem, 9vw, 2.25rem);
  }

  .hero-actions .btn,
  .btn-large {
    padding: 0.95rem 1rem;
    font-size: 1rem;
  }

  .trust-value {
    font-size: 1.55rem;
  }

  .trust-label {
    font-size: 0.72rem;
  }

  .cookie-actions {
    flex-direction: row;
  }

  .cookie-actions .btn {
    flex: 1;
    width: auto;
  }
}

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

  .cta-small {
    display: inline-flex;
  }
}
