/* ============================================================
   Lakshmi Narayana Steels, Hardwares and Electricals — styles
   Brand: gold (#E8A317) from the emblem + charcoal ink.
   Mobile-first, 16px side gutter, no horizontal scroll.
   ============================================================ */

:root {
  --ink: #15171c;
  --ink-2: #252a33;
  --steel-700: #3a404b;
  --muted: #5b6370;
  --muted-2: #8b919c;
  --line: #e5e1d8;
  --line-2: #efece5;
  --paper: #fbfaf7;
  --paper-2: #f3f1eb;
  --white: #ffffff;
  --gold: #e8a317;
  --gold-deep: #c27a06;
  --gold-text: #8f5a00;
  --gold-soft: #fdf1d6;
  --wa: #25d366;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(21, 23, 28, .05);
  --shadow-md: 0 14px 36px -16px rgba(21, 23, 28, .22);
  --shadow-lg: 0 24px 60px -20px rgba(21, 23, 28, .30);
  --container: 1180px;
  --header-h: 72px;
  --font: "Inter", "Noto Sans Tamil", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  color: var(--steel-700);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; }
a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; color: var(--ink); }
p { margin: 0; }

.container {
  width: min(var(--container), 100% - 2rem);
  margin-inline: auto;
}

.icon {
  width: 1.15em;
  height: 1.15em;
  flex-shrink: 0;
  stroke-width: 1.8;
}

:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .7rem 1.3rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
  line-height: 1.2;
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: .9rem 1.6rem; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 10px 24px -12px rgba(232, 163, 23, .9);
}
.btn-primary:hover {
  background: #f0b032;
  box-shadow: 0 14px 30px -12px rgba(232, 163, 23, 1);
  transform: translateY(-1px);
}

.btn-call {
  background: var(--ink);
  color: var(--white);
}
.btn-call:hover { background: var(--ink-2); }

.btn-ghost {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--white); }

.link {
  color: var(--gold-text);
  font-weight: 700;
  text-decoration: none;
  font-size: .92rem;
  border-bottom: 1.5px solid currentColor;
  padding-bottom: 1px;
}
.link:hover { color: var(--ink); }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--ink);
  color: #b9bec8;
  font-size: .8rem;
  padding: .45rem 0;
}
.topbar-inner {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1.4rem;
  align-items: center;
  justify-content: flex-end;
}
.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.topbar-item .icon { color: var(--gold); }
.topbar-phone {
  color: var(--gold);
  font-weight: 600;
  text-decoration: none;
}
.topbar-phone:hover { color: #f6c35a; text-decoration: underline; }
.topbar-hours { display: none; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 247, .88);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
  margin-right: auto;
  min-width: 0;
}
.logo-img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  flex-shrink: 0;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  min-width: 0;
}
.logo-text strong {
  font-size: .98rem;
  color: var(--ink);
  letter-spacing: -.01em;
}
.logo-text small {
  font-size: .72rem;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.nav {
  display: none;
  gap: 1.9rem;
}
.nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: .92rem;
  color: var(--ink-2);
  padding: .35rem 0;
  position: relative;
  transition: color .15s;
  white-space: nowrap;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }
/* Desktop nav: one floating capsule, each link is a pill that turns dark on hover */
@media (min-width: 900px) {
  .nav {
    gap: .2rem;
    padding: .3rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 999px;
    box-shadow: var(--shadow-sm);
  }
  .nav a {
    padding: .5rem .95rem;
    border-radius: 999px;
    font-size: .9rem;
    transition: background .15s ease, color .15s ease;
  }
  .nav a::after { display: none; }
  .nav a:hover { background: var(--ink); color: var(--white); }
  /* Tamil header keeps the same text sizes as English; only the nav padding is tighter */
  html[lang="ta"] .nav a { padding: .5rem .7rem; }
  html[lang="ta"] .header .logo-text strong, html[lang="ta"] .header .logo-text small { white-space: nowrap; }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: .6rem;
}

.lang-toggle {
  display: inline-flex;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}
.lang-btn {
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: .76rem;
  font-weight: 700;
  color: var(--muted);
  padding: .32rem .7rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.lang-btn[aria-pressed="true"] {
  background: var(--ink);
  color: var(--white);
}

.header-call { display: none; }

.hamburger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
}
.hamburger span {
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav open state */
.nav.open {
  display: flex;
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  flex-direction: column;
  gap: 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  padding: .5rem 1rem 1rem;
}
.nav.open a {
  padding: .95rem .25rem;
  border-bottom: 1px solid var(--line-2);
  font-size: 1rem;
}
.nav.open a:last-child { border-bottom: 0; }
.nav.open a::after { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--paper);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(720px 360px at 100% 0%, rgba(232, 163, 23, .18), transparent 62%),
    radial-gradient(520px 300px at 0% 100%, rgba(232, 163, 23, .07), transparent 70%);
}
.hero-inner {
  position: relative;
  display: grid;
  gap: 2.75rem;
  padding: 3.25rem 0 3.5rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .45rem .9rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(232, 163, 23, .2);
}

.hero h1 {
  color: var(--ink);
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.02;
  max-width: 15ch;
}

.hero-sub {
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: clamp(1.02rem, 2.2vw, 1.18rem);
  max-width: 54ch;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 2rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.4rem;
  margin-top: 1.75rem;
  color: var(--steel-700);
  font-size: .9rem;
  font-weight: 500;
}
.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}
.hero-trust .icon {
  color: var(--gold-deep);
  stroke-width: 2.4;
}

.hero-art {
  display: grid;
  gap: .9rem;
  align-content: center;
}
.hero-logo {
  width: 100%;
  max-width: 460px;
  height: auto;
  justify-self: center;
}
.hero-card {
  display: flex;
  gap: .95rem;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.05rem 1.15rem;
  box-shadow: var(--shadow-md);
}
.hero-card-2 {
  margin-left: 0;
}
.hero-card strong {
  display: block;
  color: var(--ink);
  font-size: .98rem;
  letter-spacing: -.01em;
}
.hero-card span {
  display: block;
  color: var(--muted);
  font-size: .86rem;
  margin-top: .15rem;
}
.hero-card-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--ink);
  color: var(--gold);
  font-size: 1.3rem;
}
.hero-card-icon.accent {
  background: var(--gold);
  color: var(--ink);
}

/* Category index — dark band, large type (Klarna / Fluz pattern) */
.hero-cats {
  position: relative;
  background: var(--ink);
  color: var(--white);
  padding: 1.1rem 0 1.4rem;
}
.cats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 1.5rem;
}
.cats-grid a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  font-size: clamp(1rem, 2.4vw, 1.4rem);
  font-weight: 700;
  letter-spacing: -.01em;
  color: rgba(255, 255, 255, .9);
  text-decoration: none;
  padding: .7rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  transition: color .15s ease, border-color .15s ease;
}
.cats-grid a::after {
  content: "→";
  font-weight: 500;
  font-size: .85em;
  color: rgba(255, 255, 255, .35);
  transition: color .15s ease, transform .15s ease;
}
.cats-grid a:hover,
.cats-grid a:focus-visible {
  color: var(--gold);
  border-color: var(--gold);
}
.cats-grid a:hover::after,
.cats-grid a:focus-visible::after {
  color: var(--gold);
  transform: translateX(5px);
}

/* ---------- Sections ---------- */
.section { padding: 4.5rem 0; }
.section-alt { background: var(--paper-2); }

.section-head { margin-bottom: 2.5rem; }
.section-head.center {
  text-align: center;
  max-width: 660px;
  margin-inline: auto;
  margin-bottom: 2.75rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  color: var(--gold-text);
  font-weight: 700;
  font-size: .76rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: .9rem;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.section-head.center .eyebrow::after {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.section-head.center .eyebrow { justify-content: center; }

.section h2 {
  font-size: clamp(1.9rem, 4.6vw, 3rem);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.08;
}
.section-head p:not(.eyebrow) {
  margin-top: .9rem;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.6;
}

.grid-2 {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.about-points {
  display: grid;
  gap: .75rem;
  margin-top: 1.75rem;
}
.point {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-weight: 500;
  color: var(--ink-2);
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--line);
}
.point:last-child { border-bottom: 0; padding-bottom: 0; }
.point .icon {
  color: var(--gold-text);
  background: var(--gold-soft);
  border-radius: 50%;
  padding: 4px;
  width: 1.9em;
  height: 1.9em;
  stroke-width: 2.4;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem 1.5rem;
}
.stat {
  border-top: 2px solid var(--ink);
  padding-top: 1.1rem;
}
.stat strong {
  display: block;
  font-size: clamp(2.2rem, 4.6vw, 3.1rem);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -.04em;
  line-height: 1;
}
.stat span {
  display: block;
  margin-top: .55rem;
  font-size: .88rem;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.4;
}

/* Featured category tiles (editorial, icon on tinted tile) */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem 1rem;
  margin-bottom: 3.25rem;
}
.featured-tile h3 {
  margin-top: .85rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -.01em;
}
.featured-tile p {
  margin-top: .4rem;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.55;
}
.tile-art {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  font-size: clamp(3rem, 6vw, 4.2rem);
  border: 1px solid rgba(21, 23, 28, .06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.tile-art .icon {
  width: .9em;
  height: .9em;
  stroke-width: 1.4;
}
.featured-tile:hover .tile-art {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.art-amber { background: var(--gold-soft); color: var(--gold-text); }
.art-blue  { background: #e9eef6; color: var(--ink-2); }
.art-steel { background: var(--ink); color: var(--gold); }
.art-slate { background: #ecebe6; color: var(--ink-2); }

.tile-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: .85rem;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
  transition: color .15s ease;
}
.tile-link:hover,
.tile-link:focus-visible { color: var(--gold-text); }

/* ---------- Cards (product categories) ---------- */
.cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(232, 163, 23, .6);
}
.card-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--gold-soft);
  color: var(--gold-text);
  font-size: 1.45rem;
  margin-bottom: 1.1rem;
}
.card h3 {
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -.01em;
}
.card p {
  margin-top: .45rem;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.55;
}

/* Sub-item list inside product cards */
.item-list {
  margin-top: .9rem;
  display: grid;
  gap: .4rem;
  border-top: 1px solid var(--line-2);
  padding-top: .85rem;
}
.item-list li {
  font-size: .84rem;
  font-weight: 500;
  color: var(--ink-2);
  padding-left: 1.05rem;
  position: relative;
}
.item-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .5em;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--gold);
}

/* Services — numbered editorial rows with hairline rules */
.cards-services {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink);
  counter-reset: svc;
}
.card.card-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 1.1rem;
  align-items: start;
  position: relative;
  counter-increment: svc;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  padding: 1.5rem 3.5rem 1.5rem 0;
  transform: none;
}
.card.card-row:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--line);
  border-bottom-color: var(--ink);
}
.card.card-row::before {
  content: counter(svc, decimal-leading-zero);
  position: absolute;
  top: 1.6rem;
  right: 0;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--muted-2);
  font-variant-numeric: tabular-nums;
}
.card-row .card-icon {
  margin-bottom: 0;
  width: 46px;
  height: 46px;
  font-size: 1.25rem;
  background: var(--ink);
  color: var(--gold);
  border: 0;
  transition: background .2s ease, color .2s ease;
}
.card.card-row:hover .card-icon {
  background: var(--gold);
  color: var(--ink);
}
.card-row h3 {
  font-size: 1.12rem;
}
.card-row p {
  margin-top: .3rem;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  gap: 2rem;
}
.contact-info {
  display: grid;
  gap: 0;
  align-content: start;
  border-top: 1px solid var(--ink);
}
.info-block {
  display: flex;
  gap: 1rem;
  padding: 1.3rem 0;
  border-bottom: 1px solid var(--line);
}
.info-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--ink);
  color: var(--gold);
  font-size: 1.15rem;
}
.info-block h3 {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .35rem;
}
.info-block p {
  color: var(--ink-2);
  font-size: .97rem;
  line-height: 1.55;
}
.info-block .link { margin-top: .6rem; display: inline-block; }

.phone-list { display: grid; gap: .25rem; }
.phone-list a {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  font-size: 1.02rem;
  padding: .15rem 0;
}
.phone-list a .icon { color: var(--gold-text); }
.phone-list a:hover { color: var(--gold-text); }
.phone-list .tag {
  font-size: .64rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  background: var(--ink);
  color: var(--gold);
  padding: .14rem .5rem;
  border-radius: 999px;
}

.contact-info > .btn { margin-top: 1.5rem; }

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  min-height: 340px;
  background: var(--paper-2);
}
.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 340px;
  border: 0;
  display: block;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--ink);
  color: var(--white);
  padding: 3.25rem 0;
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 163, 23, .28), transparent 70%);
  pointer-events: none;
}
.cta-band-inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
}
.cta-band h2 {
  color: var(--white);
  font-size: clamp(1.6rem, 3.6vw, 2.3rem);
  letter-spacing: -.03em;
}
.cta-band p {
  color: #aeb4bf;
  margin-top: .45rem;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: #aeb4bf;
  padding: 3.25rem 0 0;
  font-size: .92rem;
  border-top: 1px solid rgba(255, 255, 255, .06);
}
.footer-grid {
  display: grid;
  gap: 2.25rem;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  padding-bottom: 2.5rem;
}
.footer-logo .logo-img { width: 58px; height: 58px; }
.footer-logo .logo-text strong { color: var(--white); }
.footer-logo .logo-text small { color: #8b919c; }
.footer-desc { margin-top: 1rem; color: #8b919c; max-width: 34ch; line-height: 1.6; }
.footer h4 {
  color: var(--white);
  font-size: .76rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: .14em;
}
.footer-links { display: grid; gap: .55rem; }
.footer-links a {
  text-decoration: none;
  color: #c9ced6;
}
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 1.2rem 0;
  color: #7d838e;
  font-size: .82rem;
  text-align: center;
}
.footer-credit {
  padding-bottom: 1.4rem;
  color: #7d838e;
  font-size: .8rem;
  text-align: center;
}
.footer-credit a {
  color: var(--gold);
  font-weight: 600;
  text-decoration: none;
}
.footer-credit a:hover { text-decoration: underline; }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--wa);
  color: var(--white);
  box-shadow: 0 12px 28px -8px rgba(37, 211, 102, .6);
  transition: transform .15s ease;
}
.wa-float:hover { transform: scale(1.07); }

/* ---------- Responsive ---------- */
@media (min-width: 560px) {
  .featured-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 640px) {
  .topbar-hours { display: inline-flex; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 900px) {
  .nav { display: flex; }
  .hamburger { display: none; }
  .header-call { display: inline-flex; }
  .section { padding: 6rem 0; }
  .hero-inner { grid-template-columns: 1.3fr .9fr; padding: 5rem 0 5.5rem; align-items: center; }
  .hero-card-2 { margin-left: 0; }
  .grid-2 { grid-template-columns: 1.15fr .85fr; gap: 4rem; }
  .contact-grid { grid-template-columns: .9fr 1.1fr; gap: 3rem; }
  .map-wrap, .map-wrap iframe { min-height: 480px; }
  .cats-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 2rem; }
  .featured-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
  .tile-art { aspect-ratio: 4 / 3; }
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
  .cards-services { grid-template-columns: 1fr 1fr; column-gap: 3.5rem; }
  .cards-services .card.card-row:nth-child(-n+2) { border-top: 0; }
  .cards-services .card.card-row:nth-last-child(-n+2) { border-bottom: 0; }
}

@media (min-width: 1100px) {
  .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cards-services { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 2.5rem; }
  .cards-services .card.card-row:nth-child(n+4) { border-bottom: 0; }
}

@media (max-width: 420px) {
  .header-inner { gap: .5rem; }
  .header-actions { gap: .4rem; }
  .logo { gap: .5rem; }
  .logo-img { width: 38px; height: 38px; }
  .lang-btn { padding: .28rem .5rem; }
  .logo-text strong { font-size: .88rem; }
  .logo-text small { font-size: .66rem; }
  .hero h1 { font-size: clamp(2.1rem, 9.5vw, 2.6rem); }
}

/* Top bar: on mid-size desktops hide the address (it is shown in Contact and the footer) so the bar is not crowded */
@media (min-width: 900px) and (max-width: 1279px) {
  .topbar-area { display: none; }
}

/* Tamil header between 900px and 1099px: the header Call Now button is hidden
   (the top bar, hero and footer still carry the phone number) so the menu keeps its space */
@media (min-width: 900px) and (max-width: 1239px) {
  html[lang="ta"] .header-call { display: none; }
}

/* ---------- Tamil typography ----------
   Tamil glyphs are taller and wider than Latin, so Tamil needs looser line
   height, no negative tracking and smaller display sizes to stay aligned. */
html[lang="ta"] body { line-height: 1.8; letter-spacing: 0; }
html[lang="ta"] h1,
html[lang="ta"] h2,
html[lang="ta"] h3 { line-height: 1.35; letter-spacing: 0; }
html[lang="ta"] .hero h1 {
  font-size: clamp(1.9rem, 5.2vw, 3.3rem);
  font-weight: 700;
  line-height: 1.3;
  max-width: 20ch;
}
html[lang="ta"] .section h2 {
  font-size: clamp(1.5rem, 3.4vw, 2.2rem);
  font-weight: 700;
  line-height: 1.3;
}
html[lang="ta"] .hero-sub,
html[lang="ta"] .section-head p:not(.eyebrow),
html[lang="ta"] .about-points,
html[lang="ta"] .card p,
html[lang="ta"] .info-block p { line-height: 1.8; }
html[lang="ta"] .eyebrow { letter-spacing: 0; text-transform: none; font-size: .9rem; }
html[lang="ta"] .badge { letter-spacing: 0; text-transform: none; font-size: .8rem; }
html[lang="ta"] .btn { font-size: .92rem; }
html[lang="ta"] .stat strong { font-size: clamp(1.8rem, 3.6vw, 2.4rem); letter-spacing: 0; }
html[lang="ta"] .stat span { line-height: 1.6; }
html[lang="ta"] .grid-2 { align-items: start; }
@media (min-width: 900px) {
  html[lang="ta"] .about-stats { margin-top: 2.6rem; }
}
html[lang="ta"] .card h3 { font-size: 1.02rem; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
