/* =============================================================
   SHA BUILDERS — DESIGN SYSTEM
   Mobile-first · Black / White / Construction Yellow
   Timeless, minimal, high-trust. Edit tokens below to re-theme.
   ============================================================= */

:root {
  /* Color */
  --black:      #0a0a0a;
  --ink:        #141414;
  --charcoal:   #1d1d1d;
  --slate:      #555;
  --line:       #e6e6e6;
  --mist:       #f5f5f5;
  --white:      #ffffff;
  --yellow:     #ffc107;
  --yellow-600: #e0a800;

  /* Type scale (fluid) */
  --font:  "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --h1: clamp(2.4rem, 6vw, 4.5rem);
  --h2: clamp(1.9rem, 4vw, 3rem);
  --h3: clamp(1.25rem, 2.4vw, 1.6rem);
  --lead: clamp(1.05rem, 1.6vw, 1.25rem);

  /* Spacing / layout */
  --maxw: 1200px;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --section: clamp(4rem, 9vw, 8rem);
  --radius: 14px;
  --radius-sm: 10px;

  /* FX */
  --shadow: 0 18px 50px -20px rgba(0,0,0,.25);
  --shadow-sm: 0 8px 24px -12px rgba(0,0,0,.25);
  --ease: cubic-bezier(.4,0,.2,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(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1,h2,h3,h4 { line-height: 1.1; letter-spacing: -0.02em; font-weight: 800; }
section { scroll-margin-top: 80px; }

/* ---------- LAYOUT ---------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); width: 100%; }
.section { padding-block: var(--section); }
.section--mist { background: var(--mist); }
.section--dark { background: var(--black); color: var(--white); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--yellow-600);
}
.section--dark .eyebrow { color: var(--yellow); }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--yellow); }

.section-head { max-width: 640px; margin-bottom: clamp(2rem,5vw,3.5rem); }
.section-head h2 { font-size: var(--h2); margin: .6rem 0 .8rem; }
.section-head p { color: var(--slate); font-size: var(--lead); }
.section--dark .section-head p { color: #b3b3b3; }
.text-center { text-align: center; }
.text-center .section-head { margin-inline: auto; }
.text-center .eyebrow::before { display: none; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .95rem 1.7rem; font-size: .98rem; font-weight: 700;
  border-radius: 100px; border: 2px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--yellow); color: var(--black); box-shadow: 0 12px 30px -12px rgba(255,193,7,.7); }
.btn-primary:hover { background: var(--yellow-600); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.4); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: var(--charcoal); }
.btn-lg { padding: 1.1rem 2.1rem; font-size: 1.05rem; }

/* ---------- HEADER ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,10,10,.92);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  color: var(--white);
  transition: background .3s var(--ease);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 1rem; }
.logo { display: flex; align-items: center; gap: .6rem; }
.logo img { height: 50px; width: auto; }
.logo .logo-fallback { font-weight: 800; font-size: 1.1rem; letter-spacing: .04em; }
.logo .logo-fallback b { color: var(--yellow); }

.nav { display: none; align-items: center; gap: 2rem; }
.nav a { font-size: .94rem; font-weight: 600; color: #ddd; position: relative; transition: color .2s; }
.nav a:hover, .nav a.active { color: var(--white); }
.nav a.active::after, .nav a:hover::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; background: var(--yellow);
}
.header-actions { display: flex; align-items: center; gap: .9rem; }
.header-social { display: none; gap: .7rem; }
.header-social a { color: #bbb; transition: color .2s, transform .2s; display: grid; place-items: center; }
.header-social a:hover { color: var(--yellow); transform: translateY(-2px); }

.menu-toggle {
  display: inline-flex; flex-direction: column; gap: 5px; background: none; border: 0;
  cursor: pointer; padding: 8px;
}
.menu-toggle span { width: 24px; height: 2px; background: var(--white); transition: .3s var(--ease); border-radius: 2px; }
body.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.mobile-nav {
  position: fixed; inset: 72px 0 0 0; z-index: 99;
  background: var(--black); padding: 2rem var(--gutter);
  transform: translateX(100%); transition: transform .35s var(--ease);
  display: flex; flex-direction: column;
}
body.menu-open .mobile-nav { transform: translateX(0); }
.mobile-nav a { color: var(--white); font-size: 1.4rem; font-weight: 700; padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.mobile-nav a.active { color: var(--yellow); }
.mobile-nav .btn { margin-top: 1.6rem; }
.mobile-nav .mobile-social { display: flex; gap: 1.4rem; margin-top: auto; padding-top: 2rem; }
.mobile-nav .mobile-social a { border: 0; padding: 0; color: #bbb; }

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: clamp(560px, 92vh, 900px);
  display: flex; align-items: center; color: var(--white); overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.75) 45%, rgba(0,0,0,.35) 100%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero__content { max-width: 720px; }
.hero h1 {
  font-size: var(--h1); margin: 1rem 0 .4rem; text-transform: uppercase; letter-spacing: -0.01em;
}
.hero h1 .accent { color: var(--yellow); }
.hero__tagline { font-size: var(--lead); font-weight: 700; color: var(--white); margin-bottom: 1rem; }
.hero__tamil { color: var(--yellow); font-weight: 600; margin-bottom: .25rem; }
.hero__intro { color: #d6d6d6; font-size: 1.08rem; max-width: 560px; margin-bottom: 2rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__rating {
  display: inline-flex; align-items: center; gap: .6rem; margin-top: 2.2rem;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  padding: .6rem 1.1rem; border-radius: 100px; font-size: .9rem;
}
.hero__rating .stars { color: var(--yellow); letter-spacing: 1px; }
.hero__rating b { font-weight: 800; }

/* page hero (interior pages) */
.page-hero {
  background: var(--black); color: var(--white);
  padding-block: clamp(3.5rem, 8vw, 6rem) clamp(3rem, 6vw, 5rem);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; top: -40%; right: -10%; width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(255,193,7,.18), transparent 70%);
}
.page-hero h1 { font-size: var(--h2); margin: .6rem 0 .6rem; position: relative; }
.page-hero p { color: #b8b8b8; max-width: 620px; font-size: var(--lead); position: relative; }
.breadcrumb { font-size: .85rem; color: #888; position: relative; }
.breadcrumb a:hover { color: var(--yellow); }

/* ---------- STATS ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(255,255,255,.1); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--black); padding: clamp(1.6rem,4vw,2.6rem) 1rem; text-align: center; }
.stat__value { font-size: clamp(2.2rem,6vw,3.4rem); font-weight: 800; color: var(--yellow); line-height: 1; }
.stat__label { color: #c4c4c4; font-size: .9rem; margin-top: .6rem; letter-spacing: .02em; }

/* ---------- CARDS GRID ---------- */
.grid { display: grid; gap: clamp(1.2rem, 3vw, 2rem); }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }

/* Service / feature card */
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.2rem); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  height: 100%;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card .ico {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: var(--black); color: var(--yellow); margin-bottom: 1.2rem;
}
.card .ico svg { width: 28px; height: 28px; }
.card h3 { font-size: var(--h3); margin-bottom: .5rem; }
.card p { color: var(--slate); font-size: .98rem; }
.section--dark .card { background: var(--charcoal); border-color: rgba(255,255,255,.08); color: var(--white); }
.section--dark .card p { color: #b3b3b3; }
.section--dark .card .ico { background: var(--yellow); color: var(--black); }

/* ---------- PROJECTS ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2rem; }
.filter-btn {
  padding: .55rem 1.2rem; border-radius: 100px; border: 1px solid var(--line);
  background: var(--white); font-weight: 600; font-size: .9rem; cursor: pointer; transition: .25s var(--ease);
}
.filter-btn:hover { border-color: var(--black); }
.filter-btn.active { background: var(--black); color: var(--white); border-color: var(--black); }

.project {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3;
  background: var(--mist); cursor: pointer;
}
.project img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.project:hover img { transform: scale(1.08); }
.project__overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.4rem; color: var(--white);
  background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.1) 55%, transparent 100%);
  opacity: 1; transition: .35s var(--ease);
}
.project__tag {
  align-self: flex-start; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
  background: var(--yellow); color: var(--black); padding: .25rem .7rem; border-radius: 100px; margin-bottom: .6rem;
}
.project__overlay h3 { font-size: 1.2rem; }
.project__overlay span { color: #cfcfcf; font-size: .85rem; }

/* before/after slider */
.ba {
  position: relative; aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; user-select: none; cursor: ew-resize;
}
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__after { clip-path: inset(0 0 0 50%); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: var(--yellow); transform: translateX(-50%); }
.ba__handle::after {
  content: "⇆"; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 40px; height: 40px; border-radius: 50%; background: var(--yellow); color: var(--black);
  display: grid; place-items: center; font-size: 1rem; font-weight: 700;
}
.ba__label { position: absolute; bottom: 12px; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  background: rgba(0,0,0,.6); color: #fff; padding: .25rem .6rem; border-radius: 6px; }
.ba__label--before { left: 12px; } .ba__label--after { right: 12px; }

/* ---------- TESTIMONIALS ---------- */
.quote {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.6rem,3vw,2.2rem); height: 100%; display: flex; flex-direction: column;
}
.quote .stars { color: var(--yellow); margin-bottom: 1rem; letter-spacing: 2px; }
.quote p { font-size: 1.05rem; color: var(--ink); margin-bottom: 1.4rem; flex: 1; }
.quote__by { display: flex; align-items: center; gap: .85rem; }
.quote__avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--black); color: var(--yellow);
  display: grid; place-items: center; font-weight: 800; }
.quote__name { font-weight: 700; font-size: .95rem; }
.quote__loc { color: var(--slate); font-size: .82rem; }

/* google rating block */
.gbox {
  display: grid; gap: 1.2rem; align-items: center; text-align: center;
  background: var(--charcoal); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius);
  padding: clamp(2rem,5vw,3rem);
}
.gbox__score { font-size: clamp(3rem,9vw,4.5rem); font-weight: 800; color: var(--yellow); line-height: 1; }
.gbox .stars { color: var(--yellow); font-size: 1.4rem; letter-spacing: 3px; }
.gbox p { color: #b8b8b8; }

/* ---------- SPLIT (about/why) ---------- */
.split { display: grid; gap: clamp(2rem,5vw,4rem); align-items: center; }
.split__media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.split__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.split h2 { font-size: var(--h2); margin: .6rem 0 1rem; }
.split p { color: var(--slate); margin-bottom: 1rem; font-size: var(--lead); }
.split--dark p { color: #b8b8b8; }

.check-list { display: grid; gap: .9rem; margin-top: 1.4rem; }
.check-list li { display: flex; gap: .8rem; align-items: flex-start; }
.check-list .tick { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--yellow); color: var(--black);
  display: grid; place-items: center; font-size: .8rem; font-weight: 800; margin-top: 2px; }

/* mission / vision cards */
.mv { display: grid; gap: 1.5rem; }
.mv__card { border-left: 4px solid var(--yellow); padding: 1.4rem 1.6rem; background: var(--mist); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.mv__card h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.mv__card p { color: var(--slate); margin: 0; }

/* timeline */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding-bottom: 2rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -2rem; top: 4px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--yellow); border: 3px solid var(--white); box-shadow: 0 0 0 2px var(--yellow); }
.timeline .year { font-weight: 800; color: var(--black); }
.timeline p { color: var(--slate); margin: .2rem 0 0; }

/* ---------- CONTACT ---------- */
.contact-grid { display: grid; gap: clamp(1.6rem,4vw,3rem); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .45rem; }
.field input, .field textarea, .field select {
  width: 100%; padding: .9rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font: inherit; font-size: .98rem; background: var(--white); transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 0; border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(255,193,7,.25);
}
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: .82rem; color: var(--slate); margin-top: .8rem; }

.info-list { display: grid; gap: 1.3rem; }
.info-item { display: flex; gap: 1rem; align-items: flex-start; }
.info-item .ico { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--black); color: var(--yellow);
  display: grid; place-items: center; }
.info-item .ico svg { width: 22px; height: 22px; }
.info-item h4 { font-size: 1rem; margin-bottom: .15rem; }
.info-item a, .info-item span { color: var(--slate); }
.info-item a:hover { color: var(--black); }

.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); margin-top: 1rem; }
.map iframe { width: 100%; height: 320px; border: 0; display: block; }

/* ---------- CTA BAND ---------- */
.cta-band { background: var(--yellow); color: var(--black); text-align: center; }
.cta-band h2 { font-size: var(--h2); margin-bottom: .6rem; }
.cta-band p { font-size: var(--lead); margin-bottom: 1.8rem; max-width: 560px; margin-inline: auto; }
.cta-band .btn-dark:hover { transform: translateY(-2px); }

/* ---------- FOOTER ---------- */
.site-footer { background: var(--black); color: #b3b3b3; padding-block: clamp(3rem,6vw,4.5rem) 2rem; }
.footer-grid { display: grid; gap: 2.5rem; }
.site-footer h4 { color: var(--white); font-size: .8rem; letter-spacing: .15em; text-transform: uppercase; margin-bottom: 1.1rem; }
.site-footer a:hover { color: var(--yellow); }
.footer-about img { height: 56px; margin-bottom: 1rem; }
.footer-about p { font-size: .92rem; max-width: 320px; }
.footer-links { display: grid; gap: .6rem; }
.footer-social { display: flex; gap: .8rem; margin-top: 1rem; }
.footer-social a { width: 40px; height: 40px; border-radius: 10px; border: 1px solid rgba(255,255,255,.15);
  display: grid; place-items: center; color: #ccc; transition: .25s var(--ease); }
.footer-social a:hover { background: var(--yellow); color: var(--black); border-color: var(--yellow); transform: translateY(-2px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 3rem; padding-top: 1.6rem;
  display: flex; flex-wrap: wrap; gap: .6rem; justify-content: space-between; font-size: .85rem; }

/* ---------- WHATSAPP FLOAT ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 200;
  width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 30px -6px rgba(37,211,102,.6);
  transition: transform .25s var(--ease); animation: wa-pulse 2.6s infinite;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; }
@keyframes wa-pulse { 0%,100% { box-shadow: 0 10px 30px -6px rgba(37,211,102,.6), 0 0 0 0 rgba(37,211,102,.4);} 50% { box-shadow: 0 10px 30px -6px rgba(37,211,102,.6), 0 0 0 14px rgba(37,211,102,0);} }

/* ---------- REVEAL ANIMATION ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .wa-float { animation: none; }
}

/* ---------- RESPONSIVE ---------- */
@media (min-width: 600px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 760px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.4fr; }
  .split { grid-template-columns: 1fr 1fr; }
  .mv { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .nav { display: flex; }
  .header-social { display: flex; }
  .menu-toggle, .mobile-nav { display: none; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .wa-float { width: 64px; height: 64px; right: 28px; bottom: 28px; }
}
