/* =========================================================
   KUDISAI — Traditional Tamil Hut Builders
   Stylesheet  ·  Pure CSS  (refined, icon-free, hut-themed)
   Palette: taupe #857058 · clay #d9a066 · brown #674c45 · earth #371802
   ========================================================= */

/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Mulish:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

/* ---------- Design tokens ---------- */
:root {
  --taupe:   #857058;
  --clay:    #d9a066;
  --clay-d:  #c4874a;
  --brown:   #674c45;
  --earth:   #371802;

  --cream:    #faf6ef;
  --cream-2:  #f4ecdd;
  --cream-3:  #ece0cb;
  --paper:    #fffdf8;

  --text:     #4a3528;
  --text-soft:#7a6757;
  --line:     rgba(103, 76, 69, 0.18);
  --line-soft:rgba(103, 76, 69, 0.10);

  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans:  'Mulish', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --maxw: 1200px;
  --radius: 10px;
  --shadow-sm: 0 4px 14px rgba(55, 24, 2, 0.08);
  --shadow-md: 0 14px 36px rgba(55, 24, 2, 0.12);
  --shadow-lg: 0 26px 60px rgba(55, 24, 2, 0.18);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;

  /* Hut-themed background: clean white base, hand-drawn hut sketches fixed at the left & right edges (not tiled) */
  background-color: #ffffff;
  background-image:
    url("../images/hut-sketch-left.png"),
    url("../images/hut-sketch-right.png");
  background-repeat: no-repeat, no-repeat;
  background-position: left -20px bottom, right -20px bottom;
  background-size: 300px auto, 300px auto;
  background-attachment: fixed, fixed;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--earth);
  line-height: 1.15;
  letter-spacing: 0.3px;
}

p { color: var(--text); }

::selection { background: var(--clay); color: #fff; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

main { flex: 1 0 auto; }

.section { padding: 92px 0; }
.section--tight { padding: 60px 0; }
/* fully white — no tint, no tiled pattern */
.section--alt { background-color: #ffffff; }
.hero-badge {
  position: absolute;
  left: -200px;
  bottom: 40px;
  width: 140px;
  height: auto;
  z-index: 3;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,.35));
}
@media (max-width: 768px) {
  .hero-badge {
    position: static;
    display: block;
    width: 90px;
    margin: 0 auto 20px;
    left: auto; bottom: auto;
  }
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--clay-d);
  margin-bottom: 18px;
}
.eyebrow::before,
.eyebrow::after {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--clay);
  opacity: .75;
}
.eyebrow.eyebrow--start::before { display: none; }
.eyebrow.eyebrow--center::after { display: none; }

.section-title {
  font-size: clamp(2.05rem, 4.6vw, 3.2rem);
  margin-bottom: 16px;
  letter-spacing: 0.4px;
}

.section-intro {
  max-width: 660px;
  color: var(--text-soft);
  font-size: 1.2rem;
}
.center { text-align: center; }
.center .section-intro { margin-left: auto; margin-right: auto; }

/* ---------- Hut roofline decorative shapes (thematic — kept) ---------- */
/* Triangle roof mark — used as a bullet / section accent (NOT an icon) */
.roof-mark {
  position: relative;
  display: inline-block;
  width: 0; height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-bottom: 20px solid var(--clay);
}
.roof-mark--sm {
  border-left-width: 9px; border-right-width: 9px;
  border-bottom-width: 13px;
}
.roof-mark--up {
  border-top: 14px solid var(--clay);
  border-bottom: none;
}

/* A full "roof band" with a pitched top edge */
.roof-band {
  position: relative;
  height: 70px;
  background: var(--brown);
  clip-path: polygon(0 100%, 50% 0, 100% 100%);
}

/* Coconut-thatch / haystack divider — a row of hand-drawn haystack shelters */
.thatch-divider {
  height: 78px;
  background-color: #ffffff;
  background-image: url('../images/haystack-thatch.png');
  background-repeat: repeat-x;
  background-position: bottom center;
  background-size: 62px 62px;
  border-top: none;
  border-bottom: none;
  box-shadow: none;
}
.thatch-divider--thin { height: 46px; background-size: 40px 40px; }

/* Soft wavy clay divider */
.wave-divider {
  height: 24px;
  background:
    radial-gradient(circle at 12px 0, var(--cream) 12px, transparent 13px) repeat-x;
  background-size: 24px 24px;
  background-color: var(--cream-3);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 15px 32px;
  border-radius: 999px;
  transition: all .35s var(--ease);
  cursor: pointer;
  text-align: center;
  border: 1.5px solid transparent;
}
.btn--primary {
  background: var(--clay);
  color: #fff;
  box-shadow: 0 8px 20px rgba(196,135,74,.35);
}
.btn--primary:hover {
  background: var(--brown);
  transform: translateY(-3px);
  box-shadow: 0 14px 26px rgba(103,76,69,.4);
}
.btn--ghost {
  background: transparent;
  color: var(--earth);
  border-color: var(--brown);
}
.btn--ghost:hover {
  background: var(--earth);
  color: #fff;
  transform: translateY(-3px);
}
.btn--light {
  background: rgba(255,255,255,.92);
  color: var(--earth);
}
.btn--light:hover { background: #fff; transform: translateY(-3px); }
.btn--block { width: 100%; }

/* ---------- Header / Navbar ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 239, 0.93);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .35s var(--ease), background .35s var(--ease);
}
.site-header.scrolled {
  box-shadow: 0 8px 30px rgba(55,24,2,.08);
  background: rgba(250, 246, 239, 0.97);
}
/* thin wood-grain bar under the header */
.site-header::after {
  content: "";
  display: block;
  height: 3px;
  background:
    repeating-linear-gradient(90deg,
      var(--clay) 0 14px, var(--brown) 14px 18px, var(--taupe) 18px 30px, var(--earth) 30px 34px);
  background-size: 60px 100%;
}
.navbar {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 100px;
  padding: 1px 24px;
  max-width: var(--maxw);
  margin: 0 auto;
  position: relative;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--earth);
}
.brand-mark {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.brand-mark svg { width: 100px; height: 100px; }
.brand-logo-img {
  height: 120px;
  width: auto;
  display: block;
}
.footer-brand .brand-logo-img { height: 90px; }
.footer-logo-circle {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--clay);
}
.brand-text { line-height: 1; }
.brand-name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--earth);
  letter-spacing: 0.5px;
}
.brand-tag {
  font-size: 0.62rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--clay-d);
  font-weight: 700;
  margin-top: 3px;
}
.nav-links {
  display: flex;
  align-items: left;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 6px;
}
.nav-links a {
  position: relative;
  padding: 8px 18px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brown);
  border-radius: 999px;
  transition: color .25s var(--ease), background .25s var(--ease);
  align-items: center;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 2px;
  width: 0; height: 2px;
  background: var(--clay);
  transition: width .3s var(--ease), left .3s var(--ease);
}
.nav-links a:hover { color: var(--earth); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 60%; left: 20%; }
.nav-links a.active { color: var(--earth); }
.nav-cta { margin-left: 10px; }
.nav-cta a { text-transform: none; letter-spacing: 0.05em; }

.nav-toggle {
  display: none;
  position: absolute;
  top: 16px; right: 18px;
  width: 44px; height: 44px;
  border-radius: 10px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border: 1px solid var(--line);
  background: var(--paper);
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--earth);
  border-radius: 2px;
  transition: all .3s var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero-slider { position: absolute; inset: 0; }
.hero-bg-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.8s ease-in-out;
}
.hero-bg-slide.active { opacity: 1; }
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(8, 4, 0, 0.8) 0%, rgba(12, 6, 2, 0.45) 45%, rgba(7, 3, 1, 0.12) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 80px 0;
  margin: 0 auto;
  text-align: center;
}

.hero .eyebrow { color: var(--clay); }
.hero .eyebrow::before, .hero .eyebrow::after { background: var(--clay); opacity: .8; }
.hero h1 {
  color: #fff;
  font-size: clamp(2.7rem, 6vw, 4.7rem);
  line-height: 1.06;
  margin-bottom: 22px;
  letter-spacing: 0.5px;
  text-shadow: 0 4px 24px rgba(0,0,0,.4);
}
.hero h1 em {
  font-style: italic;
  color: var(--clay);
}
.hero p {
  color: rgba(255,255,255,.92);
  font-size: 1.15rem;
  max-width: 640px;
  margin: 0 auto 34px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hero-scroll {
  position: absolute;
  left: 50%; bottom: 26px;
  transform: translateX(-50%);
  z-index: 3;
  color: rgba(255,255,255,.85);
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.hero-scroll .line {
  width: 1px; height: 38px;
  background: linear-gradient(to bottom, rgba(255,255,255,.85), transparent);
  position: relative;
  overflow: hidden;
}
.hero-scroll .line::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 40%;
  background: #fff;
  animation: scrollLine 1.8s infinite;
}
@keyframes scrollLine {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(280%); }
}

/* ---------- Highlight cards (Home) ---------- */
.highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.h-card {
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.h-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.h-card-img { height: 230px; overflow: hidden; position: relative; }
.h-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s var(--ease);
}
.h-card:hover .h-card-img img { transform: scale(1.08); }
.h-card-body { padding: 28px 28px 32px; }
.h-card-body h3 { font-size: 1.55rem; margin-bottom: 10px; }
.h-card-body p { color: var(--text-soft); font-size: 1.1rem; }
.h-card-num {
  position: absolute; top: 14px; left: 14px;
  background: var(--earth);
  color: var(--clay);
  font-family: var(--serif);
  font-weight: 700;
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 1.05rem;
}

/* ---------- Split feature (image + text) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split--reverse .split-img { order: 2; }

/* "Our Way" home layout: content stacked on top, centered, image below */
.split--center {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
  gap: 16px;
}
.split--center .split-content { max-width: 970px; }
.split--center .feature-list { display: inline-grid; text-align: left; }
.split--center .process { display: inline-grid; text-align: left; width: 100%; max-width: 850px; }
.split--center .process--img .process-step {
  display: block;
  padding: 0 0 30px;
}
.split--center .process--img .process-step:nth-child(even) {
  text-align: left;
}
.process-img {
  width: 100%;
}
.process-img img {
  width: 100%;
  aspect-ratio: 29/9;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.5);
  box-shadow: var(--shadow-md);
}.split--center .split-img { width: 100%; max-width: 950px; aspect-ratio: 16/7; }
.split-img {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/3;
}
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.split-img::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 6px;
  z-index: 2;
  pointer-events: none;
}
.split-content h2 { font-size: clamp(1.95rem, 3.7vw, 2.85rem); margin-bottom: 18px; }
.split-content p { color: var(--text-soft); margin-bottom: 16px; }
.split-content .lead { font-size: 1.74rem; color: var(--text); font-style: italic; font-family: var(--serif); }
.split-content .lead1 { font-size: 1.2rem; color: var(--text); }
.split-content .lead2 { font-size: 1.4rem; color: var(--text); }
.split-content .lead3 { font-size: 1.4rem; color: var(--text); }



/* feature list with roof marks (thematic, not icons) */
.feature-list { margin-top: 24px; display: grid; gap: 14px; }
.feature-list li {
  display: flex; gap: 14px; align-items: flex-start;
  font-size: 1.2rem; color: var(--text);
}
.feature-list .roof-mark {
  flex-shrink: 0; margin-top: 6px;
  border-bottom-color: var(--clay);
}

/* ---------- Stats band ---------- */
.stats {
  background: var(--earth);
  color: #fff;
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cg fill='%23d9a066' fill-opacity='0.06'%3E%3Cpath d='M30 86 L52 62 L74 86 L74 112 L30 112 Z'/%3E%3Cpath d='M124 96 L140 78 L156 96 L156 112 L124 112 Z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 180px 180px;
}
.stats-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 720px;
  margin: 0 auto;
  gap: 24px;
  text-align: center;
}
.stat-num {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--clay);
  line-height: 1;
}
.stat-label {
  margin-top: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.78);
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  color: #fff;
  text-align: center;
  padding: 110px 0;
  overflow: hidden;
}
.cta-band-bg {
  position: absolute; inset: 0;
  background: url('../images/home-cta.jpg') center/cover fixed no-repeat;
}
.cta-band::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(rgba(55,24,2,.72), rgba(55,24,2,.78));
}
.cta-band-inner { position: relative; z-index: 2; }
.cta-band h2 {
  color: #fff;
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  margin-bottom: 16px;
}
.cta-band p { color: rgba(255,255,255,.9); max-width: 560px; margin: 0 auto 30px; font-size: 1.08rem; }

/* ---------- About: story + philosophy ---------- */
.story-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.story-grid--center {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
  gap: 24px;
}
.story-grid--center .story-img { width: 100%; max-width: 990px; }
.story-grid--center .story-img img { aspect-ratio: 21/9; }
.story-grid--center .split-content { max-width: 900px; }
.story-img {
  position: relative;
}
.story-img img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/5;
  object-fit: cover;
}
.story-img .badge {
  position: absolute;
  bottom: -22px; right: -10px;
  background: var(--clay);
  color: #fff;
  padding: 22px 26px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  text-align: center;
}
.story-img .badge .n {
  font-family: var(--serif);
  font-size: 2.4rem; font-weight: 700; line-height: 1;
}
.story-img .badge .l {
  font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; margin-top: 4px;
}

/* Philosophy cards — NO icons; lead with a large elegant serif number */
.philosophy-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 52px;
}
.p-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 4px solid var(--clay);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  position: relative;
}
.p-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.p-card .p-num {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--clay);
  line-height: 1;
  margin-bottom: 14px;
  display: block;
}
.p-card h3 { font-size: 1.45rem; margin-bottom: 10px; }
.p-card p { color: var(--text-soft); font-size: 1.1rem; }

/* FAQ uses p-card too */
.p-card h3:first-child { margin-top: 0; }

/* ---------- Gallery ---------- */
.gallery-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 9px 20px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brown);
  border: 1px solid var(--line);
  background: var(--paper);
  transition: all .25s var(--ease);
}
.filter-btn:hover { border-color: var(--clay); color: var(--earth); }
.filter-btn.active {
  background: var(--earth);
  color: #fff;
  border-color: var(--earth);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.g-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  background: var(--brown);
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4/3;
}
.g-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease), opacity .5s var(--ease);
}
.g-item:hover img { transform: scale(1.1); opacity: .5; }
.g-item .g-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(55,24,2,.88), transparent 55%);
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
  color: #fff;
}
.g-item:hover .g-overlay { opacity: 1; transform: translateY(0); }
.g-item .g-overlay h4 { color: #fff; font-size: 1.35rem; margin-bottom: 2px; }
.g-item .g-overlay span {
  font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--clay);
}
/* elegant "view" pill on hover — text, no icon */
.g-item .g-view {
  position: absolute; top: 14px; right: 14px;
  background: rgba(255,255,255,.92);
  color: var(--earth);
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0; transform: translateY(-6px);
  transition: all .4s var(--ease);
}
.g-item:hover .g-view { opacity: 1; transform: translateY(0); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(30,12,2,.95);
  display: flex; align-items: center; justify-content: center;
  z-index: 1000;
  opacity: 0; visibility: hidden;
  transition: opacity .35s var(--ease), visibility .35s var(--ease);
  padding: 30px;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: 88vw; max-height: 82vh;
  border-radius: 6px;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
  border: 6px solid rgba(255,255,255,.08);
}
.lb-close, .lb-nav {
  position: absolute;
  background: rgba(255,255,255,.1);
  color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  transition: background .25s var(--ease);
  font-family: var(--serif);
  font-weight: 500;
  border: 1px solid rgba(255,255,255,.15);
}
.lb-close { top: 24px; right: 24px; width: 50px; height: 50px; font-size: 1.6rem; }
.lb-nav { top: 50%; transform: translateY(-50%); width: 56px; height: 56px; font-size: 2rem; }
.lb-nav.prev { left: 24px; }
.lb-nav.next { right: 24px; }
.lb-close:hover, .lb-nav:hover { background: var(--clay); border-color: var(--clay); }
.lb-caption {
  position: absolute; bottom: 26px; left: 0; right: 0;
  text-align: center; color: rgba(255,255,255,.85);
  font-size: 0.9rem; letter-spacing: 0.04em;
}

/* ---------- Services ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.s-card {
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  display: flex; flex-direction: column;
}
.s-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.s-card-img { height: 240px; overflow: hidden; position: relative; }
.s-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s var(--ease);
}
.s-card:hover .s-card-img img { transform: scale(1.08); }
.s-card-tag {
  position: absolute; top: 14px; left: 14px;
  background: var(--clay); color: #fff;
  padding: 6px 15px; border-radius: 999px;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
}
.s-card-body { padding: 28px 28px 32px; flex: 1; display: flex; flex-direction: column; }
.s-card-body h3 { font-size: 1.55rem; margin-bottom: 10px; }
.s-card-body p { color: var(--text-soft); font-size: 0.95rem; margin-bottom: 18px; flex: 1; }
/* meta uses text bullets, no icons */
.s-card-meta {
  display: flex; flex-wrap: wrap; gap: 6px 18px;
  margin-bottom: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  font-size: 0.82rem; color: var(--text-soft);
  letter-spacing: 0.02em;
}
.s-card-meta span { display: inline-flex; align-items: center; }
.s-card-meta span + span::before {
  content: "·";
  margin-right: 18px;
  color: var(--clay);
  font-weight: 700;
}
.s-card-meta strong { color: var(--brown); font-weight: 600; }
.s-card-link {
  font-weight: 700; color: var(--clay-d); font-size: 0.8rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap .25s var(--ease), color .25s var(--ease);
}
.s-card-link:hover { gap: 12px; color: var(--earth); }

/* process timeline */
.process { margin-top: 30px; }
.process-step {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 26px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.process-step:last-child { border-bottom: none; }
.process-num {
  font-family: var(--serif);
  font-size: 2.6rem; font-weight: 700;
  color: var(--clay);
  line-height: 1;
  position: relative;
}
.process-num::after {
  content: ""; display: block;
  width: 36px; height: 2px;
  background: var(--brown);
  margin-top: 10px;
}
.process-step h3 { font-size: 1.6rem; margin-bottom: 6px; }
.process-step p { color: var(--text-soft); font-size: 1.3rem}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px;
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.76rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--brown);
  margin-bottom: 8px;
}
.form-control {
  width: 100%;
  padding: 13px 16px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  transition: border .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
  font-size: 0.95rem;
}
.form-control:focus {
  outline: none;
  border-color: var(--clay);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(217,160,102,.18);
}
textarea.form-control { min-height: 130px; resize: vertical; }
.form-control.invalid { border-color: #c0392b; background: #fdf3f1; }
.form-msg {
  display: none;
  margin-top: 14px;
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 600;
}
.form-msg.success { display: block; background: #eaf5ec; color: #2f6b3b; border: 1px solid #bfe3c7; }
.form-msg.error { display: block; background: #fdf3f1; color: #a23a2c; border: 1px solid #f0cfc9; }

/* Contact info cards — NO icons; lead with an elegant label */
.contact-info { display: grid; gap: 18px; }
.info-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--clay);
  border-radius: var(--radius);
  padding: 24px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease);
}
.info-card:hover { transform: translateX(4px); }
.info-card .info-label {
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--clay-d);
  margin-bottom: 6px;
  display: block;
}
.info-card h4 { font-size: 1.1rem; margin-bottom: 5px; color: var(--earth); font-family: var(--sans); font-weight: 700; letter-spacing: 0.02em; }
.info-card p, .info-card a { color: var(--text-soft); font-size: 0.95rem; line-height: 1.5; }
.info-card a:hover { color: var(--clay-d); }

.map-wrap {
  margin-top: 8px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  height: 280px;
  background: var(--cream-2);
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; filter: sepia(.25) saturate(1.1); }

/* ---------- Page banner (inner pages) ---------- */
.page-banner {
  position: relative;
  color: #fff;
  padding: 130px 0 100px;
  text-align: center;
  overflow: hidden;
}
.page-banner-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.page-banner::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(rgba(3, 1, 0, 0.72), rgba(83, 75, 75, 0.726));
}
.page-banner-inner { position: relative; z-index: 2; }
.page-banner h1 {
  color: #fff;
  font-size: clamp(2.5rem, 5vw, 3.7rem);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}
.page-banner p { color: rgba(255,255,255,.9); font-size: 1.06rem; max-width: 580px; margin: 0 auto; }
.breadcrumb {
  margin-top: 18px;
  font-size: 0.76rem; letter-spacing: 0.16em;
  color: rgba(255,255,255,.8);
  text-transform: uppercase;
}
.breadcrumb a:hover { color: var(--clay); }
.breadcrumb span { margin: 0 8px; opacity: .6; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--earth);
  color: rgba(255,255,255,.8);
  padding: 64px 0 0;
  flex-shrink: 0;
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background:
    repeating-linear-gradient(90deg,
      var(--clay) 0 14px, var(--brown) 14px 18px, var(--taupe) 18px 30px, var(--earth) 30px 34px);
  background-size: 60px 100%;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-tag { color: var(--clay); }
.footer-brand p { color: rgba(255,255,255,.7); margin-top: 16px; font-size: 0.92rem; max-width: 300px; }
.footer-col h4 {
  color: #fff;
  font-family: var(--sans);
  font-size: 0.76rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-weight: 700;
}
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { color: rgba(255,255,255,.72); font-size: 0.92rem; transition: color .25s var(--ease), padding .25s var(--ease); }
.footer-col a:hover { color: var(--clay); padding-left: 4px; }
/* footer contact — text only, no icons; uses a small clay roof-mark bullet */
.footer-contact li {
  display: flex; gap: 12px; align-items: flex-start;
  color: rgba(255,255,255,.72);
  font-size: 0.9rem; margin-bottom: 12px;
}
.footer-contact .fc-mark {
  flex-shrink: 0;
  margin-top: 7px;
  width: 0; height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 7px solid var(--clay);
  opacity: .85;
}
/* footer social — elegant text links, no icons */
.footer-social { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; }
.footer-social a {
  color: rgba(255,255,255,.78);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
.footer-social a:hover { color: var(--clay); border-color: var(--clay); }
.footer-bottom {
  border-top: 1px solid rgb(255, 255, 255);
  padding: 22px 0;
  display: flex; justify-content: space-around; align-items: center; flex-wrap: wrap; gap: 12px;
  font-size: 0.82rem; color: rgb(255, 255, 255);
}
.footer-bottom a { color:#b91e1e; }
.footer-p{color: #fff;font-size: 19px;}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* ---------- Back to top (thematic roof mark, no icon) ---------- */
.to-top {
  position: fixed; right: 24px; bottom: 24px;
  width: 48px; height: 48px;
  background: var(--earth);
  border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden;
  transform: translateY(14px);
  transition: all .35s var(--ease);
  z-index: 90;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--clay); }
.to-top .tt-mark {
  width: 0; height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-bottom: 13px solid var(--clay);
  transition: border-bottom-color .25s var(--ease);
}
.to-top:hover .tt-mark { border-bottom-color: #fff; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%; bottom: 30px;
  transform: translate(-50%, 30px);
  background: var(--earth);
  color: #fff;
  padding: 14px 26px;
  border-radius: 999px;
  box-shadow: var(--shadow-lg);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  z-index: 1100;
  opacity: 0; visibility: hidden;
  transition: all .4s var(--ease);
  display: flex; align-items: center; gap: 10px;
}
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.toast .t-mark {
  width: 0; height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 9px solid var(--clay);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 992px) {
  body { background-image: none; }
  .section { padding: 68px 0; }
  .highlight-grid,
  .philosophy-cards,
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(3, 1fr); gap: 36px 24px; }
  .split, .split--reverse { grid-template-columns: 1fr; gap: 36px; }
  .split--reverse .split-img { order: 0; }
  .story-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-band-bg { background-attachment: scroll; }
  body { background-attachment: scroll; }
}

@media (max-width: 768px) {
  html, body { background-color: var(--cream); }
  .site-header {
    background: var(--cream);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .site-header.scrolled { background: var(--cream); }
  .navbar {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    padding: 10px 60px 10px 18px;
  }
  .brand-logo-img { height: 56px; }
    .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 86px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--cream);
    padding: 18px 24px 26px;
    gap: 4px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-20px);
    opacity: 0;
    visibility: hidden;
    transition: transform .3s var(--ease), opacity .3s var(--ease), visibility 0s linear .3s;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    transition: transform .3s var(--ease), opacity .3s var(--ease);
  }
  .nav-links a { padding: 14px 16px; border-radius: 8px; font-size: 0.95rem; }
  .nav-links a::after { display: none; }
  .nav-links a:hover, .nav-links a.active { background: var(--cream-2); }
  .nav-cta { margin: 10px 0 0; }
  .nav-cta .btn { width: 100%; }

  .hero { min-height: 80vh; }
  .hero-inner { padding: 60px 0; }
  .hero-actions .btn { flex: 1; min-width: 160px; }

  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { justify-content: center; text-align: center; }
  .page-banner { padding: 100px 0 80px; }
  .contact-form { padding: 28px 22px; }
  .story-img .badge { right: 10px; bottom: -14px; padding: 16px 20px; }
}

@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .highlight-grid,
  .philosophy-cards,
  .service-grid,
  .gallery-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; gap: 28px; }
  .process-step { grid-template-columns: 1fr; gap: 8px; }
  .navbar { padding: 12px 18px; }
  .brand-name { font-size: 1.4rem; }
  .lb-nav.prev { left: 8px; }
  .lb-nav.next { right: 8px; }
  .lb-nav { width: 46px; height: 46px; font-size: 1.7rem; }
  .lb-close { width: 44px; height: 44px; font-size: 1.4rem; }
  .hero p { font-size: 1.02rem; }
  .section { padding: 54px 0; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
.hero-bg-slide { transition: none; }}
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
  z-index: 999;
  transition: transform .2s ease, box-shadow .2s ease;
}
.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 24px rgba(0,0,0,.3);
}
@media (max-width: 560px) {
  .whatsapp-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
  .whatsapp-float svg { width: 26px; height: 26px; }
}