/* ============================================
   Kamala Oil Mill - Stylesheet
   ============================================
   Mobile-first, fully responsive across ALL devices
   (Smartphones 280px-430px, Foldables, Tablets,
   Laptops, 1080p, Ultrawide, and 4K displays).
   
   Design: Warm golden royal palette inspired by
   100% pure cold-pressed groundnut oil and the
   heritage lotus (कमल) emblem since 1952.
   ============================================ */

/* --- CSS Custom Properties (Design Tokens) --- */
:root {
  /* Colour palette - warm golds and earthy tones */
  --clr-primary:         #B8860B;
  --clr-primary-light:   #D4A017;
  --clr-primary-dark:    #8B6914;
  --clr-primary-glow:    rgba(184, 134, 11, 0.28);

  --clr-secondary:       #3E2723;
  --clr-secondary-light: #5D4037;

  --clr-accent:          #E8A317;
  --clr-accent-soft:     rgba(232, 163, 23, 0.12);
  --clr-accent-glow:     rgba(232, 163, 23, 0.35);

  --clr-lotus-pink:      #F56086;
  --clr-lotus-soft:      #FFF0F4;

  --clr-bg:              #FFFBF0;
  --clr-bg-alt:          #FFF3D6;
  --clr-bg-dark:         #2C1810;

  --clr-text:            #2C1810;
  --clr-text-light:      #5D4037;
  --clr-text-muted:      #8D6E63;
  --clr-text-on-dark:    #FFF8E7;

  --clr-white:           #FFFFFF;
  --clr-border:          rgba(184, 134, 11, 0.18);
  --clr-border-subtle:   rgba(184, 134, 11, 0.10);

  --clr-whatsapp:        #25D366;
  --clr-whatsapp-dark:   #128C7E;
  --clr-call:            #E65100;
  --clr-call-dark:       #BF360C;

  /* Typography - Fluid Clamp Scales for ALL Screen Dimensions */
  --ff-heading: 'Playfair Display', 'Noto Sans Devanagari', Georgia, serif;
  --ff-body:    'Inter', 'Noto Sans Devanagari', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --fs-xs:   clamp(0.72rem, 0.25vw + 0.68rem, 0.8rem);
  --fs-sm:   clamp(0.82rem, 0.35vw + 0.74rem, 0.92rem);
  --fs-base: clamp(0.95rem, 0.45vw + 0.84rem, 1.05rem);
  --fs-md:   clamp(1.05rem, 0.65vw + 0.90rem, 1.2rem);
  --fs-lg:   clamp(1.2rem,  0.95vw + 0.98rem, 1.45rem);
  --fs-xl:   clamp(1.35rem, 1.5vw  + 1.02rem, 1.85rem);
  --fs-2xl:  clamp(1.75rem, 2.5vw  + 1.25rem, 2.45rem);
  --fs-3xl:  clamp(2.15rem, 3.8vw  + 1.40rem, 3.25rem);
  --fs-4xl:  clamp(2.65rem, 5.2vw  + 1.50rem, 4.40rem);

  --fw-normal: 400;
  --fw-medium: 500;
  --fw-semi:   600;
  --fw-bold:   700;
  --fw-extra:  800;

  --lh-tight:  1.2;
  --lh-snug:   1.38;
  --lh-normal: 1.62;
  --lh-loose:  1.85;

  /* Universal Fluid Spacing Scale */
  --sp-container: clamp(1rem, 3.8vw, 2.25rem);
  --sp-1:  0.25rem;
  --sp-2:  0.5rem;
  --sp-3:  0.75rem;
  --sp-4:  1rem;
  --sp-5:  1.25rem;
  --sp-6:  1.5rem;
  --sp-8:  clamp(1.5rem, 3vw, 2rem);
  --sp-10: clamp(2rem, 4vw, 2.5rem);
  --sp-12: clamp(2.5rem, 5vw, 3rem);
  --sp-16: clamp(3rem, 6vw, 4rem);
  --sp-20: clamp(3.75rem, 7vw, 5rem);
  --sp-24: clamp(4.5rem, 8vw, 6rem);

  /* Borders & Radius */
  --radius-sm:   0.375rem;
  --radius-md:   0.625rem;
  --radius-lg:   1rem;
  --radius-xl:   1.5rem;
  --radius-full: 9999px;

  /* Premium Shadows */
  --shadow-sm:   0 1px 3px rgba(44, 24, 16, 0.07), 0 1px 2px rgba(44, 24, 16, 0.04);
  --shadow-md:   0 4px 14px rgba(44, 24, 16, 0.09), 0 2px 5px rgba(44, 24, 16, 0.05);
  --shadow-lg:   0 12px 32px rgba(44, 24, 16, 0.12), 0 4px 10px rgba(44, 24, 16, 0.06);
  --shadow-xl:   0 22px 55px rgba(44, 24, 16, 0.17), 0 8px 18px rgba(44, 24, 16, 0.08);
  --shadow-glow: 0 0 32px var(--clr-primary-glow);
  --shadow-lotus: 0 4px 20px rgba(245, 96, 134, 0.25);

  /* Transitions */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast:    150ms;
  --dur-normal:  300ms;
  --dur-slow:    500ms;

  /* Layout Boundaries */
  --max-width:   1240px;
  --nav-height:  72px;

  /* Safe Area Insets for Modern Mobile Screens */
  --safe-top:    env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left:   env(safe-area-inset-left, 0px);
  --safe-right:  env(safe-area-inset-right, 0px);
}

/* --- Universal Reset & Base Layout --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 10px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  color: var(--clr-text);
  background-color: var(--clr-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--clr-primary);
  text-decoration: none;
  transition: color var(--dur-fast) ease;
  touch-action: manipulation;
}

a:hover,
a:focus-visible {
  color: var(--clr-primary-dark);
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
  touch-action: manipulation;
}

input, select, textarea {
  font-family: inherit;
  font-size: 16px !important;
  color: var(--clr-text);
}

/* Accessibility Skip Link */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--sp-4);
  background: var(--clr-primary);
  color: var(--clr-white);
  padding: var(--sp-3) var(--sp-6);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  font-weight: var(--fw-semi);
  z-index: 10000;
  transition: top var(--dur-normal) var(--ease-out);
}

.skip-link:focus {
  top: 0;
}

:focus-visible {
  outline: 3px solid var(--clr-primary);
  outline-offset: 3px;
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--sp-container);
  padding-right: var(--sp-container);
}

/* --- Section Base --- */
.section {
  padding: var(--sp-16) 0;
  position: relative;
}

@media (min-width: 768px) {
  .section {
    padding: var(--sp-20) 0;
  }
}

@media (min-width: 1200px) {
  .section {
    padding: var(--sp-24) 0;
  }
}

.section-header {
  text-align: center;
  margin-bottom: var(--sp-12);
  padding: 0 var(--sp-2);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semi);
  color: var(--clr-primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--sp-3);
}

.section-title {
  font-family: var(--ff-heading);
  font-size: var(--fs-3xl);
  font-weight: var(--fw-bold);
  color: var(--clr-secondary);
  line-height: var(--lh-tight);
  margin-bottom: var(--sp-4);
}

.section-subtitle {
  font-size: var(--fs-md);
  color: var(--clr-text-light);
  max-width: min(640px, 100%);
  margin: 0 auto;
  line-height: var(--lh-normal);
}

/* --- Buttons & Touch Targets --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-6);
  min-height: 48px;
  border-radius: var(--radius-full);
  font-weight: var(--fw-semi);
  font-size: var(--fs-base);
  line-height: 1;
  text-decoration: none;
  transition: all var(--dur-normal) var(--ease-out);
  white-space: nowrap;
  touch-action: manipulation;
  user-select: none;
}

.btn-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.btn-primary {
  background: linear-gradient(135deg, var(--clr-primary-light), var(--clr-primary));
  color: var(--clr-white);
  box-shadow: var(--shadow-md), 0 0 0 0 var(--clr-primary-glow);
}

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover {
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-primary-dark));
    color: var(--clr-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
  }
}

.btn-primary:active {
  transform: translateY(1px);
}

.btn-whatsapp {
  background: linear-gradient(135deg, var(--clr-whatsapp), var(--clr-whatsapp-dark));
  color: var(--clr-white);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

@media (hover: hover) and (pointer: fine) {
  .btn-whatsapp:hover {
    background: linear-gradient(135deg, #2ee06e, var(--clr-whatsapp));
    color: var(--clr-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  }
}

.btn-whatsapp:active {
  transform: translateY(1px);
}

.btn-call {
  background: linear-gradient(135deg, var(--clr-call), var(--clr-call-dark));
  color: var(--clr-white);
  box-shadow: 0 4px 14px rgba(230, 81, 0, 0.35);
}

@media (hover: hover) and (pointer: fine) {
  .btn-call:hover {
    background: linear-gradient(135deg, #f4511e, var(--clr-call));
    color: var(--clr-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(230, 81, 0, 0.45);
  }
}

.btn-call:active {
  transform: translateY(1px);
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: background-color var(--dur-normal) var(--ease-out),
              box-shadow var(--dur-normal) var(--ease-out),
              backdrop-filter var(--dur-normal) var(--ease-out);
  padding-top: var(--safe-top);
  padding-left: var(--safe-left);
  padding-right: var(--safe-right);
}

.site-header.scrolled {
  background: rgba(255, 251, 240, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--clr-border);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--sp-container);
  height: 100%;
  gap: var(--sp-2);
}

/* Brand Logo (Lotus Emblem) */
.nav-logo {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 2vw, 0.85rem);
  text-decoration: none;
  color: var(--clr-white);
  transition: color var(--dur-fast) ease;
  z-index: 10;
  min-width: 0;
  flex-shrink: 1;
}

.site-header.scrolled .nav-logo {
  color: var(--clr-secondary);
}

.brand-logo-frame {
  width: clamp(38px, 9vw, 46px);
  height: clamp(38px, 9vw, 46px);
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.98), rgba(255, 243, 214, 0.92));
  border: 1.5px solid rgba(232, 163, 23, 0.6);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15), 0 0 12px rgba(232, 163, 23, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  transition: transform var(--dur-normal) var(--ease-spring),
              box-shadow var(--dur-normal) ease;
}

@media (hover: hover) and (pointer: fine) {
  .nav-logo:hover .brand-logo-frame {
    transform: scale(1.08) rotate(3deg);
    box-shadow: 0 4px 16px rgba(232, 163, 23, 0.45), 0 0 20px rgba(184, 134, 11, 0.35);
  }
}

.brand-logo-img {
  width: 78%;
  height: 78%;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(44, 24, 16, 0.18));
}

.logo-text {
  font-family: var(--ff-heading);
  font-size: clamp(0.92rem, 3.6vw, 1.25rem);
  font-weight: var(--fw-bold);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.01em;
}

/* Nav links - hidden on mobile/small tablets, revealed on 1024px+ */
.nav-links {
  display: none;
  gap: var(--sp-1);
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
    align-items: center;
  }
}

.nav-links a {
  color: var(--clr-white);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--radius-sm);
  transition: all var(--dur-fast) ease;
  white-space: nowrap;
}

.site-header.scrolled .nav-links a {
  color: var(--clr-text-light);
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.active {
  color: var(--clr-primary);
  background: var(--clr-accent-soft);
}

.site-header.scrolled .nav-links a:hover,
.site-header.scrolled .nav-links a:focus-visible,
.site-header.scrolled .nav-links a.active {
  color: var(--clr-primary);
  background: var(--clr-accent-soft);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: clamp(0.4rem, 1.5vw, 0.75rem);
  z-index: 10;
  flex-shrink: 0;
}

/* Language toggle button */
.lang-toggle {
  background: rgba(255, 255, 255, 0.18);
  color: var(--clr-white);
  padding: var(--sp-2) clamp(0.6rem, 2vw, 0.9rem);
  min-height: 40px;
  border-radius: var(--radius-full);
  font-weight: var(--fw-semi);
  font-size: var(--fs-sm);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all var(--dur-fast) ease;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  white-space: nowrap;
}

.site-header.scrolled .lang-toggle {
  background: var(--clr-accent-soft);
  color: var(--clr-primary);
  border-color: var(--clr-border);
}

@media (hover: hover) and (pointer: fine) {
  .lang-toggle:hover {
    background: rgba(255, 255, 255, 0.28);
    transform: scale(1.04);
  }
  .site-header.scrolled .lang-toggle:hover {
    background: var(--clr-primary);
    color: var(--clr-white);
  }
}

/* Mobile menu button */
.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: var(--radius-sm);
  z-index: 15;
}

@media (min-width: 1024px) {
  .mobile-menu-btn {
    display: none;
  }
}

.hamburger-line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--clr-white);
  border-radius: 2px;
  transition: all var(--dur-normal) var(--ease-out);
}

.site-header.scrolled .hamburger-line {
  background: var(--clr-secondary);
}

/* Hamburger to X animation */
.mobile-menu-btn[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background: var(--clr-white);
}
.mobile-menu-btn[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.mobile-menu-btn[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background: var(--clr-white);
}

/* Mobile navigation drawer / overlay */
.nav-links.mobile-open {
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: 0;
  background: rgba(44, 24, 16, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  justify-content: center;
  align-items: center;
  gap: clamp(0.75rem, 2vh, 1.5rem);
  z-index: 5;
  padding: max(4rem, calc(var(--safe-top) + 2rem)) 1.5rem max(2rem, calc(var(--safe-bottom) + 1.5rem));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  animation: fadeIn var(--dur-normal) var(--ease-out);
}

.nav-links.mobile-open a {
  color: var(--clr-text-on-dark);
  font-size: clamp(1.2rem, 3.5vh, 1.6rem);
  font-weight: var(--fw-semi);
  padding: var(--sp-2) var(--sp-6);
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-links.mobile-open a:hover,
.nav-links.mobile-open a:focus-visible {
  color: var(--clr-accent);
  background: rgba(255, 255, 255, 0.08);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: calc(var(--nav-height) + 1rem) 0 3rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(44, 24, 16, 0.58) 0%,
    rgba(44, 24, 16, 0.68) 50%,
    rgba(44, 24, 16, 0.85) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: var(--sp-4) var(--sp-container);
  width: 100%;
  max-width: min(780px, 100%);
  margin: 0 auto;
  animation: heroFadeIn 1s var(--ease-out) both;
}

/* Hero Lotus Brand Crest */
.hero-crest {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: var(--sp-4);
  animation: heroFadeIn 1s var(--ease-out) 0.1s both;
}

.hero-crest-img {
  width: clamp(60px, 14vw, 78px);
  height: clamp(60px, 14vw, 78px);
  object-fit: contain;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.96), rgba(255, 243, 214, 0.9));
  padding: 7px;
  border: 2px solid rgba(232, 163, 23, 0.75);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3), 0 0 25px rgba(232, 163, 23, 0.4);
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--clr-accent);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semi);
  padding: var(--sp-2) clamp(0.75rem, 3vw, 1.25rem);
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: var(--sp-4);
  animation: heroFadeIn 1s var(--ease-out) 0.2s both;
}

.hero-headline {
  font-family: var(--ff-heading);
  font-size: var(--fs-4xl);
  font-weight: var(--fw-extra);
  color: var(--clr-white);
  line-height: var(--lh-tight);
  margin-bottom: var(--sp-5);
  animation: heroFadeIn 1s var(--ease-out) 0.4s both;
  white-space: pre-line;
}

.hero-sub {
  font-size: var(--fs-md);
  color: rgba(255, 248, 231, 0.9);
  margin-bottom: var(--sp-8);
  line-height: var(--lh-normal);
  animation: heroFadeIn 1s var(--ease-out) 0.6s both;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  align-items: center;
  justify-content: center;
  width: 100%;
  animation: heroFadeIn 1s var(--ease-out) 0.8s both;
}

.hero-ctas .btn {
  width: 100%;
  max-width: 320px;
  padding: var(--sp-4) var(--sp-6);
  font-size: var(--fs-base);
}

@media (min-width: 520px) {
  .hero-ctas {
    flex-direction: row;
    gap: var(--sp-4);
  }
  .hero-ctas .btn {
    width: auto;
    min-width: 190px;
  }
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: max(var(--sp-4), calc(var(--safe-bottom) + 0.5rem));
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-1);
  font-size: var(--fs-xs);
  animation: bounce 2s ease-in-out infinite;
  text-decoration: none;
}

.scroll-indicator:hover {
  color: var(--clr-accent);
}

.scroll-arrow {
  width: 18px;
  height: 18px;
}

/* ============================================
   ABOUT / OUR STORY
   ============================================ */
.section-about {
  background: var(--clr-bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
  align-items: center;
}

@media (min-width: 860px) {
  .about-grid {
    grid-template-columns: 1.25fr 1fr;
    gap: var(--sp-12);
  }
}

.about-text {
  max-width: 640px;
}

.about-lead {
  font-size: var(--fs-lg);
  font-weight: var(--fw-medium);
  color: var(--clr-primary-dark);
  margin-bottom: var(--sp-4);
  line-height: var(--lh-snug);
}

.about-body {
  font-size: var(--fs-base);
  color: var(--clr-text-light);
  margin-bottom: var(--sp-6);
  line-height: var(--lh-loose);
}

.about-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-3);
  margin-bottom: var(--sp-8);
}

@media (min-width: 480px) {
  .about-features {
    grid-template-columns: 1fr 1fr;
  }
}

.about-feature {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semi);
  color: var(--clr-secondary);
}

.about-feature-icon {
  width: 20px;
  height: 20px;
  color: var(--clr-primary);
  flex-shrink: 0;
}

/* Heritage timeline card */
.heritage-card {
  background: linear-gradient(135deg, var(--clr-bg-alt), var(--clr-bg));
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-xl);
  padding: var(--sp-8) var(--sp-6);
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.heritage-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, var(--clr-primary-glow) 0%, transparent 60%);
  opacity: 0.4;
  pointer-events: none;
}

.heritage-year {
  font-family: var(--ff-heading);
  font-size: var(--fs-4xl);
  font-weight: var(--fw-extra);
  color: var(--clr-primary);
  line-height: 1;
}

.heritage-line {
  width: 3px;
  height: 50px;
  background: linear-gradient(180deg, var(--clr-primary), var(--clr-accent));
  margin: var(--sp-4) auto;
  border-radius: var(--radius-full);
  position: relative;
}

.heritage-line::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background: var(--clr-accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--clr-primary-glow);
  animation: pulse 2s ease-in-out infinite;
}

.heritage-now {
  font-family: var(--ff-heading);
  font-size: var(--fs-4xl);
  font-weight: var(--fw-extra);
  color: var(--clr-secondary);
  line-height: 1;
}

.heritage-label {
  margin-top: var(--sp-4);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semi);
  color: var(--clr-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ============================================
   WHY CHOOSE US
   ============================================ */
.section-why-us {
  background: var(--clr-bg-alt);
}

.reasons-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
}

@media (min-width: 560px) {
  .reasons-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .reasons-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.reason-card {
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-8) var(--sp-5);
  text-align: center;
  transition: all var(--dur-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.reason-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--clr-primary), var(--clr-accent));
  opacity: 0;
  transition: opacity var(--dur-normal) ease;
}

@media (hover: hover) and (pointer: fine) {
  .reason-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--clr-primary-glow);
  }
  .reason-card:hover::before {
    opacity: 1;
  }
}

.reason-icon {
  font-size: 2.5rem;
  margin-bottom: var(--sp-4);
  display: block;
}

.reason-title {
  font-family: var(--ff-heading);
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--clr-secondary);
  margin-bottom: var(--sp-3);
}

.reason-desc {
  font-size: var(--fs-sm);
  color: var(--clr-text-light);
  line-height: var(--lh-normal);
}

/* ============================================
   PROCESS
   ============================================ */
.section-process {
  background: var(--clr-bg);
  overflow: hidden;
}

.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
  max-width: 820px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .process-steps {
    gap: 0;
  }
}

.process-step {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
  padding: var(--sp-5);
  border-radius: var(--radius-lg);
  transition: all var(--dur-normal) var(--ease-out);
  position: relative;
}

@media (hover: hover) and (pointer: fine) {
  .process-step:hover {
    background: var(--clr-bg-alt);
    transform: translateX(8px);
  }
}

@media (min-width: 768px) {
  .process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 42px;
    top: 68px;
    bottom: -8px;
    width: 2px;
    background: linear-gradient(180deg, var(--clr-primary), var(--clr-border));
  }
}

.step-num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--clr-primary-light), var(--clr-primary));
  color: var(--clr-white);
  font-family: var(--ff-heading);
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  border-radius: 50%;
  box-shadow: var(--shadow-md), var(--shadow-glow);
  position: relative;
  z-index: 1;
}

.step-content {
  flex: 1;
  padding-top: var(--sp-1);
}

.step-title {
  font-family: var(--ff-heading);
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--clr-secondary);
  margin-bottom: var(--sp-2);
}

.step-desc {
  font-size: var(--fs-base);
  color: var(--clr-text-light);
  line-height: var(--lh-normal);
}

/* ============================================
   PRICES (Ultra-Responsive Table)
   ============================================ */
.section-prices {
  background: var(--clr-bg-alt);
}

.price-toggle-wrap {
  text-align: center;
  margin-bottom: var(--sp-8);
  padding: 0 var(--sp-2);
}

.toggle-label {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  font-weight: var(--fw-medium);
  font-size: var(--fs-sm);
  color: var(--clr-text-light);
  cursor: pointer;
  user-select: none;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
  flex-shrink: 0;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  inset: 0;
  background: #ccc;
  border-radius: var(--radius-full);
  transition: background var(--dur-fast) ease;
  cursor: pointer;
}

.toggle-slider::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  left: 3px;
  bottom: 3px;
  background: var(--clr-white);
  border-radius: 50%;
  transition: transform var(--dur-fast) var(--ease-spring);
  box-shadow: var(--shadow-sm);
}

.toggle-switch input:checked + .toggle-slider {
  background: var(--clr-primary);
}

.toggle-switch input:checked + .toggle-slider::after {
  transform: translateX(22px);
}

.toggle-switch input:focus-visible + .toggle-slider {
  outline: 3px solid var(--clr-primary);
  outline-offset: 3px;
}

.price-table-wrap {
  width: 100%;
  max-width: 860px;
  margin: 0 auto var(--sp-6);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  background: var(--clr-white);
  scrollbar-width: thin;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 420px;
}

.price-table thead {
  background: linear-gradient(135deg, var(--clr-secondary), var(--clr-secondary-light));
}

.price-table th {
  color: var(--clr-text-on-dark);
  font-weight: var(--fw-semi);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: var(--sp-4) clamp(0.75rem, 3vw, 1.5rem);
  text-align: left;
}

.price-table td {
  padding: var(--sp-4) clamp(0.75rem, 3vw, 1.5rem);
  border-bottom: 1px solid var(--clr-border);
  font-size: var(--fs-base);
  color: var(--clr-text);
}

.price-table tbody tr {
  transition: background var(--dur-fast) ease;
}

@media (hover: hover) and (pointer: fine) {
  .price-table tbody tr:hover {
    background: var(--clr-accent-soft);
  }
}

.price-table tbody tr:last-child td {
  border-bottom: none;
}

.price-value {
  font-weight: var(--fw-bold);
  color: var(--clr-primary);
  font-size: var(--fs-md);
}

.price-call-rate {
  color: var(--clr-primary);
  font-weight: var(--fw-semi);
  font-style: italic;
}

.price-note-badge {
  display: inline-block;
  background: var(--clr-accent-soft);
  color: var(--clr-primary-dark);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semi);
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.price-note {
  text-align: center;
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  font-style: italic;
  margin-bottom: var(--sp-6);
  padding: 0 var(--sp-2);
}

.price-ctas {
  text-align: center;
}

.price-ctas .btn {
  padding: var(--sp-3) var(--sp-8);
  min-width: 220px;
}

/* ============================================
   GALLERY
   ============================================ */
.section-gallery {
  background: var(--clr-bg);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
}

@media (min-width: 560px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--clr-bg-alt);
  box-shadow: var(--shadow-sm);
  transition: all var(--dur-normal) var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
  }
  .gallery-item:hover img {
    transform: scale(1.05);
  }
  .gallery-item:hover .gallery-caption {
    opacity: 1;
    transform: translateY(0);
  }
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--sp-8) var(--sp-4) var(--sp-4);
  background: linear-gradient(180deg, transparent, rgba(44, 24, 16, 0.75));
  color: var(--clr-white);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  transition: all var(--dur-normal) var(--ease-out);
}

@media (hover: none) or (pointer: coarse) {
  .gallery-caption {
    opacity: 1;
    transform: translateY(0);
  }
}

.gallery-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--clr-bg-alt), var(--clr-bg));
  border: 2px dashed var(--clr-border);
  color: var(--clr-text-muted);
  font-size: var(--fs-sm);
  text-align: center;
  padding: var(--sp-4);
}

.gallery-placeholder-icon {
  font-size: 2rem;
  margin-bottom: var(--sp-2);
  opacity: 0.5;
}

/* ============================================
   CONTACT
   ============================================ */
.section-contact {
  background: var(--clr-bg-alt);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
  margin-bottom: var(--sp-10);
}

@media (min-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-10);
  }
}

.contact-info {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
}

@media (min-width: 480px) {
  .contact-info {
    grid-template-columns: 1fr 1fr;
  }
}

.info-card {
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  transition: all var(--dur-normal) var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .info-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
  }
}

.info-icon {
  font-size: 1.5rem;
  margin-bottom: var(--sp-3);
}

.info-label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semi);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--clr-text-muted);
  margin-bottom: var(--sp-2);
}

.info-value {
  font-size: var(--fs-base);
  color: var(--clr-text);
  line-height: var(--lh-snug);
  word-break: break-word;
}

a.info-value {
  color: var(--clr-primary);
  font-weight: var(--fw-semi);
}

@media (hover: hover) and (pointer: fine) {
  a.info-value:hover {
    color: var(--clr-primary-dark);
    text-decoration: underline;
  }
}

.directions-link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  margin-top: var(--sp-3);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semi);
  color: var(--clr-primary);
}

.directions-link::after {
  content: ' ->';
  transition: transform var(--dur-fast) ease;
}

@media (hover: hover) and (pointer: fine) {
  .directions-link:hover::after {
    transform: translateX(4px);
  }
}

/* Enquiry form */
.contact-form-wrap {
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-xl);
  padding: clamp(1.25rem, 4vw, 2rem);
  box-shadow: var(--shadow-md);
}

.form-title {
  font-family: var(--ff-heading);
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--clr-secondary);
  margin-bottom: var(--sp-6);
}

.form-group {
  margin-bottom: var(--sp-5);
}

.form-group label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semi);
  color: var(--clr-text-light);
  margin-bottom: var(--sp-2);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  min-height: 48px;
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-md);
  background: var(--clr-bg);
  color: var(--clr-text);
  font-size: 16px !important;
  transition: all var(--dur-fast) ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 3px var(--clr-primary-glow);
  background: var(--clr-white);
}

.form-group textarea {
  resize: vertical;
  min-height: 90px;
}

.btn-submit {
  width: 100%;
  padding: var(--sp-4);
  font-size: var(--fs-md);
  border-radius: var(--radius-md);
}

/* Google Maps */
.map-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--clr-border);
  height: clamp(280px, 42vh, 400px);
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--clr-bg-dark);
  color: var(--clr-text-on-dark);
  padding: var(--sp-10) 0 max(var(--sp-6), calc(var(--safe-bottom) + 1rem));
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-6);
  text-align: center;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
}

@media (min-width: 768px) {
  .footer-brand {
    align-items: flex-start;
  }
}

.footer-brand-title {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.brand-logo-frame--footer {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.98), rgba(255, 243, 214, 0.92));
  border: 1.5px solid rgba(232, 163, 23, 0.7);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-logo-img {
  width: 80%;
  height: 80%;
  object-fit: contain;
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
}

.footer-name {
  font-family: var(--ff-heading);
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--clr-text-on-dark);
}

.footer-tagline {
  font-size: var(--fs-xs);
  color: rgba(255, 248, 231, 0.75);
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  justify-content: center;
}

.footer-link {
  color: rgba(255, 248, 231, 0.85);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--radius-sm);
  transition: color var(--dur-fast) ease;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.footer-link:hover {
  color: var(--clr-accent);
}

.footer-copy {
  font-size: var(--fs-xs);
  color: rgba(255, 248, 231, 0.55);
}

/* ============================================
   FLOATING WHATSAPP BUTTON (FAB)
   ============================================ */
.fab-whatsapp {
  position: fixed;
  bottom: max(1.25rem, calc(var(--safe-bottom) + 0.75rem));
  right: max(1.25rem, calc(var(--safe-right) + 0.75rem));
  width: clamp(52px, 12vw, 62px);
  height: clamp(52px, 12vw, 62px);
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: var(--clr-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4), 0 2px 6px rgba(0, 0, 0, 0.2);
  z-index: 999;
  transition: all var(--dur-normal) var(--ease-spring);
  animation: fabPop 0.6s var(--ease-spring) 1s both;
  touch-action: manipulation;
}

.fab-whatsapp svg {
  width: 58%;
  height: 58%;
}

@media (hover: hover) and (pointer: fine) {
  .fab-whatsapp:hover {
    transform: scale(1.12);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.55), 0 4px 10px rgba(0, 0, 0, 0.25);
  }
}

.fab-whatsapp:active {
  transform: scale(0.95);
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   KEYFRAME ANIMATIONS
   ============================================ */
@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-8px);
  }
  60% {
    transform: translateX(-50%) translateY(-4px);
  }
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 10px var(--clr-primary-glow);
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    box-shadow: 0 0 22px var(--clr-primary-glow);
    transform: translate(-50%, -50%) scale(1.25);
  }
}

@keyframes fabPop {
  from {
    opacity: 0;
    transform: scale(0) rotate(-90deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ============================================
   SPECIALIZED DEVICE COMPATIBILITY
   ============================================ */

/* 1. Ultra-Narrow Devices (Galaxy Z Fold cover screen, iPhone SE 1st gen: 280px - 340px) */
@media (max-width: 340px) {
  :root {
    --sp-container: 0.75rem;
  }
  .nav-container {
    padding: 0 0.5rem;
  }
  .brand-logo-frame {
    width: 34px;
    height: 34px;
  }
  .logo-text {
    font-size: 0.9rem;
    max-width: 140px;
  }
  .lang-toggle {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
  }
  .hero-headline {
    font-size: 2rem;
  }
  .price-table {
    min-width: 360px;
  }
}

/* 2. Mobile Landscape Posture (Phones held horizontally: height <= 520px) */
@media (orientation: landscape) and (max-height: 520px) {
  .hero-section {
    min-height: auto;
    padding-top: calc(var(--nav-height) + 2rem);
    padding-bottom: 3rem;
  }
  .hero-crest-img {
    width: 52px;
    height: 52px;
    padding: 4px;
  }
  .hero-headline {
    font-size: 2rem;
    margin-bottom: 0.75rem;
  }
  .hero-sub {
    margin-bottom: 1.25rem;
  }
  .nav-links.mobile-open {
    justify-content: flex-start;
    padding-top: calc(var(--nav-height) + 1rem);
    gap: 0.5rem;
  }
  .nav-links.mobile-open a {
    font-size: 1.1rem;
    min-height: 40px;
  }
}

/* 3. Ultra-Wide & 4K Displays (>= 1920px) */
@media (min-width: 1920px) {
  :root {
    --max-width: 1360px;
  }
  .hero-content {
    max-width: 880px;
  }
}

/* 4. Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .scroll-indicator {
    animation: none;
  }
  .heritage-line::after {
    animation: none;
  }
  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* 5. High Contrast Mode Preference */
@media (prefers-contrast: more) {
  :root {
    --clr-border: #3E2723;
    --clr-primary: #7A5805;
  }
  .btn, .reason-card, .info-card, .price-table-wrap, .contact-form-wrap {
    border: 2px solid #000;
  }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
  .site-header,
  .fab-whatsapp,
  .scroll-indicator,
  .hero-ctas,
  .price-ctas,
  .btn-submit,
  .map-wrap {
    display: none !important;
  }

  body {
    font-size: 11pt;
    color: #000;
    background: #fff;
  }

  .hero-section {
    min-height: auto;
    padding: 2em 0;
  }

  .section {
    padding: 1.5em 0;
    page-break-inside: avoid;
  }

  .price-table {
    border: 1px solid #ddd;
  }

  .price-table th,
  .price-table td {
    border: 1px solid #ddd;
    color: #000;
  }
}
