:root {
  --ink: #1b2430;
  --muted: #526070;
  --paper: #f6f1e7;
  --paper-deep: #efe6d6;
  --white: #fffcf7;
  --teal: #0c4f54;
  --teal-mid: #14686e;
  --line: #e3d8c6;
  --clay: #a33b32;
  --gold: #8d6a2f;
  --shadow: 0 16px 40px rgba(28, 40, 38, 0.08);
  --serif: "Source Serif 4", "Iowan Old Style", Palatino, serif;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
  --kannada: "Noto Sans Kannada", "Nirmala UI", sans-serif;
  --kannada-serif: "Noto Serif Kannada", "Noto Sans Kannada", "Nirmala UI", serif;
  --wrap: 1120px;
  --gutter: clamp(20px, 3.2vw, 48px);
  --header: 86px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--teal); }

a:hover { color: var(--clay); }

:focus-visible {
  outline: 3px solid #c9842a;
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--white);
  color: var(--ink);
  padding: 8px 12px;
  z-index: 50;
}

.skip:focus { top: 12px; }

.wrap {
  width: min(var(--wrap), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
}

.kn { font-family: var(--kannada); }

.topbar {
  background: var(--teal);
  color: #f3efe4;
  font-size: 0.92rem;
}

.topbar .wrap {
  display: flex;
  justify-content: space-between;
  gap: 12px 24px;
  align-items: center;
  min-height: 42px;
  flex-wrap: wrap;
  padding-block: 6px;
}

.topbar a { color: #fff; text-decoration: none; }

.topbar a:hover { color: #f2d7a2; }

.topbar-links { display: flex; gap: 16px; flex-wrap: wrap; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 252, 247, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header);
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  background: transparent;
  line-height: 0;
  flex: 0 1 auto;
  min-width: 0;
}

.brand img {
  height: 78px;
  width: auto;
  max-width: 100%;
}

html[lang="kn"] body { visibility: hidden; }

html[lang="kn"].ready body { visibility: visible; }

html[lang="kn"] body {
  font-family: var(--kannada);
  line-height: 1.75;
}

html[lang="kn"] h1,
html[lang="kn"] h2,
html[lang="kn"] h3,
html[lang="kn"] .stat b,
html[lang="kn"] .step b,
html[lang="kn"] .kicker {
  font-family: var(--kannada-serif);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.5;
}

html[lang="kn"] h1 { font-size: clamp(1.85rem, 3.6vw, 2.9rem); }

html[lang="kn"] .kicker {
  text-transform: none;
  letter-spacing: 0.02em;
}

html[lang="kn"] .card > .kn,
html[lang="kn"] .service-block .kn,
html[lang="kn"] .split > div > .kn { display: none; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: var(--white);
  flex: 0 0 auto;
}

.lang-switch button {
  font: inherit;
  font-weight: 700;
  border: 0;
  background: transparent;
  color: var(--teal);
  padding: 7px 11px;
  cursor: pointer;
}

.lang-switch button[data-set-lang="kn"] { font-family: var(--kannada); }

.lang-switch button.is-on {
  background: var(--teal);
  color: #fff;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  font-weight: 600;
  color: var(--teal);
}

.site-nav { display: flex; align-items: center; gap: 6px; }

.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 999px;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: #e7f1f1;
  color: var(--teal);
}

.nav-call {
  background: var(--teal) !important;
  color: #fff !important;
  margin-left: 6px;
}

.nav-call:hover { background: var(--teal-mid) !important; color: #fff !important; }

.hero { padding: 0 0 20px; }

.landing {
  margin: 0;
  width: 100%;
  overflow: hidden;
}

.landing img {
  width: 100%;
  max-width: none;
  height: auto;
  display: block;
  margin-block: -5px;
  border-radius: 0;
  box-shadow: none;
}

.hero .hero-grid {
  margin-top: 48px;
}

.hero-grid,
.split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.kicker {
  margin: 0 0 10px;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.015em; line-height: 1.22; }

h1 { font-size: clamp(2.2rem, 4.4vw, 3.7rem); margin: 0 0 16px; }

h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin: 0 0 12px; }

h3 { font-size: 1.45rem; margin: 0 0 8px; }

.lead { font-size: 1.18rem; color: #314050; margin: 0 0 22px; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.btn-primary { background: var(--clay); color: #fff; }

.btn-primary:hover { background: #8b2f28; color: #fff; }

.btn-ghost { background: transparent; color: var(--teal); border-color: #9bb8b6; }

.btn-ghost:hover { background: #e7f1f1; color: var(--teal); }

.frame {
  position: relative;
  margin: 0;
}

.frame img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center 30%;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.frame.fit img {
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center;
}

.frame.fit figcaption {
  display: none;
}

.frame figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: rgba(255, 252, 247, 0.94);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 650;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-block: 36px 10px;
  margin-inline: auto;
}

.stat {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px;
}

.stat b {
  display: block;
  font-family: var(--serif);
  font-size: 1.55rem;
  color: var(--teal);
}

.stat span { color: var(--muted); font-size: 0.95rem; }

.section { padding: 56px 0; }

.section-head { max-width: 680px; margin-bottom: 28px; }

.section-head p { margin: 0; color: var(--muted); }

.band { background: var(--white); border-block: 1px solid var(--line); }

.cards, .branch-grid, .steps, .gallery {
  display: grid;
  gap: 18px;
}

.cards { grid-template-columns: repeat(3, 1fr); }

.card, .branch, .step, .panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
}

.band .card { background: var(--paper); }

.card .kn, .service-block .kn {
  display: block;
  color: var(--teal-mid);
  margin-bottom: 6px;
}

.index-no {
  font-family: var(--serif);
  color: var(--gold);
  font-size: 1.1rem;
}

.card p, .branch p, .step p { margin: 0 0 12px; color: #314050; }

.card p:last-child, .branch p:last-child { margin-bottom: 0; }

.steps { grid-template-columns: repeat(3, 1fr); }

.step b {
  display: block;
  font-family: var(--serif);
  font-size: 1.8rem;
  color: var(--teal);
}

.photo-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
}

.photo-grid img, .gallery img, .service-photo img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
}

.gallery { grid-template-columns: repeat(4, 1fr); }

.shot {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  text-align: left;
  color: inherit;
}

.shot img { aspect-ratio: 4 / 5; }

.shot.wide img { aspect-ratio: 16 / 10; }

.shot span {
  display: block;
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--muted);
}

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }

.filters button {
  font: inherit;
  font-weight: 700;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 8px 14px;
  cursor: pointer;
}

.filters button.is-on {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}

.page-hero { padding: 42px 0 10px; }

.page-hero p { max-width: 720px; color: #314050; font-size: 1.12rem; }

.service-block {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(20px, 3vw, 48px);
  align-items: center;
  margin-block: 12px;
  margin-inline: auto;
}

.service-block.reverse { grid-template-columns: 1.1fr 0.9fr; }

.service-block.reverse .service-photo { order: 2; }

.service-photo img {
  width: 100%;
  height: clamp(220px, 36vw, 420px);
  object-fit: cover;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.service-photo.fit img {
  height: auto;
  object-fit: contain;
  object-position: center;
}

.checklist { margin: 12px 0 0; padding-left: 18px; }

.checklist li { margin: 6px 0; }

.table-wrap { overflow-x: auto; }

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
}

th, td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}

th { background: var(--teal); color: #fff; font-weight: 650; }

.note {
  background: #f8efe3;
  border-left: 4px solid var(--gold);
  padding: 12px 14px;
  border-radius: 8px;
  color: #3d3426;
}

.branch-grid { grid-template-columns: repeat(3, 1fr); align-items: start; }

.branch h3 { margin-top: 0; }

.branch .tag {
  display: inline-block;
  background: #e7f1f1;
  color: var(--teal);
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.map {
  margin-top: 12px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  height: 210px;
  background: #ddd;
}

.map iframe { width: 100%; height: 100%; border: 0; }

.phones { list-style: none; padding: 0; margin: 0 0 12px; }

.phones li { margin: 4px 0; }

.form {
  display: grid;
  gap: 14px;
}

label { font-weight: 700; display: grid; gap: 6px; }

input, select, textarea {
  font: inherit;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid #d5c9b6;
  background: #fff;
  color: var(--ink);
}

textarea { min-height: 120px; resize: vertical; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.form-status { min-height: 1.4em; margin: 0; font-weight: 650; }

.site-footer {
  background: #10262b;
  color: #e7e1d6;
  padding: 42px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
}

.site-footer a { color: #f2d7a2; }

.site-footer h2 {
  font-size: 1.15rem;
  margin: 0 0 8px;
}

.legal {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.12);
  color: #c9c1b4;
  font-size: 0.92rem;
}

dialog {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(920px, calc(100vw - 24px));
}

dialog::backdrop { background: rgba(16, 24, 28, 0.82); }

.lightbox-card {
  background: var(--white);
  border-radius: 16px;
  padding: 12px;
}

.lightbox-card img { max-height: 78vh; margin: 0 auto; border-radius: 10px; }

.lightbox-card p { margin: 10px 8px 4px; }

.lightbox-close {
  float: right;
  font: inherit;
  font-weight: 700;
  border: 0;
  background: var(--paper);
  border-radius: 999px;
  padding: 6px 12px;
  cursor: pointer;
}

@media (max-width: 900px) {
  .hero-grid, .split, .service-block, .service-block.reverse,
  .cards, .steps, .branch-grid, .footer-grid, .photo-grid, .form-row {
    grid-template-columns: 1fr;
  }

  .service-block.reverse .service-photo { order: 0; }

  .gallery { grid-template-columns: 1fr 1fr; }

  .nav-toggle { display: inline-flex; }

  .site-nav {
    display: none;
    position: absolute;
    left: var(--gutter);
    right: var(--gutter);
    top: calc(100% + 6px);
    flex-direction: column;
    align-items: stretch;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 10px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open { display: flex; }

  .nav-call { margin-left: 0; text-align: center; }
}

@media (max-width: 560px) {
  .stats, .gallery { grid-template-columns: 1fr; }
  .topbar .wrap { align-items: flex-start; }
  .brand img { height: 64px; }
  .hero .hero-grid { margin-top: 28px; }
  .section { padding: 36px 0; }
  h1 { font-size: clamp(1.85rem, 8vw, 2.4rem); }
}

@media (min-width: 1600px) {
  :root { --wrap: 1200px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
