/* ==========================================================================
   Vivekshala Consultancy Services — redesign
   Visual direction per consulting-reference template.
   Tokens: dark teal #10343B, gold #F0C73C, ink #0B0916, light #F3F5F5.
   Font: Figtree (self-hosted variable woff2).
   ========================================================================== */

@font-face {
  font-family: 'Figtree';
  src: url('../fonts/figtree-latin.woff2') format('woff2');
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0b0916;
  --teal: #10343b;
  --teal-deep: #0b262c;
  --teal-soft: #16424b;
  --gold: #f0c73c;
  --gold-dark: #d6b64c;
  --gold-soft: #fdf4d7;
  --pera: #585858;
  --muted: #4e4d59;
  --muted-light: #b8c6c9;
  --bg: #f3f5f5;
  --white: #ffffff;
  --line: #e3e9e9;
  --error-bg: #fdecea;
  --error-text: #8a2c1d;
  --success-bg: #e9f5ec;
  --success-text: #1e5a2e;
  --r-sm: 8px;
  --r-md: 16px;
  --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(11, 9, 22, 0.05);
  --shadow-md: 0 6px 24px rgba(11, 9, 22, 0.07);
  --shadow-lg: 0 18px 50px rgba(11, 9, 22, 0.12);
  --container: 74rem;
  --font: 'Figtree', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--pera);
  background: var(--white);
  overflow-x: hidden;
}

img, svg { display: inline-block; vertical-align: middle; }

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 0.55em;
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 4.8vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.35rem); letter-spacing: -0.015em; }
h3 { font-size: 1.2rem; font-weight: 600; }

p { margin: 0 0 1rem; }

a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--teal-soft); }

ul, ol { margin: 0 0 1rem; padding-left: 1.25rem; }

::selection { background: var(--gold); color: var(--ink); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

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

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 300;
  background: var(--ink);
  color: var(--white);
  padding: 0.7rem 1.1rem;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  font-weight: 600;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 0; color: var(--white); }

/* ---------- Buttons (pill + arrow circle, uppercase) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 0;
  border: none;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  min-height: 52px;
  position: relative;
}
.btn > span {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 1.7rem;
  border-radius: var(--r-pill);
  transition: background-color 0.25s ease;
}
.btn::after {
  content: "";
  width: 52px;
  height: 52px;
  margin-left: -1px;
  border-radius: 50%;
  flex: none;
  transition: background-color 0.25s ease, transform 0.25s ease;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px 18px;
}
.btn > span:only-child { padding-right: 1.7rem; }

/* Variant colors */
.btn-primary > span { background: var(--gold); color: var(--ink); }
.btn-primary::after {
  background-color: var(--gold);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b0916' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 19L19 5M9 5h10v10'/%3E%3C/svg%3E");
}
.btn-primary:hover > span { background: var(--gold-dark); }
.btn-primary:hover::after { background-color: var(--gold-dark); transform: translateX(3px); }
.btn-primary:hover { color: var(--ink); }

.btn-outline > span { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn-outline::after {
  background-color: transparent;
  box-shadow: inset 0 0 0 2px var(--ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b0916' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 19L19 5M9 5h10v10'/%3E%3C/svg%3E");
}
.btn-outline:hover > span { background: var(--ink); color: var(--white); box-shadow: inset 0 0 0 2px var(--ink); }
.btn-outline:hover::after {
  background-color: var(--ink);
  box-shadow: inset 0 0 0 2px var(--ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 19L19 5M9 5h10v10'/%3E%3C/svg%3E");
  transform: translateX(3px);
}

.btn-outline-light > span { background: transparent; color: var(--white); box-shadow: inset 0 0 0 2px rgba(255,255,255,0.75); }
.btn-outline-light::after {
  background-color: transparent;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.75);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 19L19 5M9 5h10v10'/%3E%3C/svg%3E");
}
.btn-outline-light:hover > span { background: rgba(255,255,255,0.12); color: var(--white); }
.btn-outline-light:hover::after { transform: translateX(3px); background-color: rgba(255,255,255,0.12); }

.btn-lg { font-size: 1rem; }
.btn-lg > span { min-height: 58px; padding: 0 2rem; }
.btn-lg::after { width: 58px; height: 58px; }
.btn-block { width: 100%; }
.btn-block > span { flex: 1; justify-content: center; }

/* Text buttons inside forms should not need the span wrapper */
button.btn > span:only-of-type { display: inline; padding: 0; }
button.btn {
  padding: 0 1.7rem;
  border-radius: var(--r-pill);
}
button.btn::after { margin-left: 0.7rem; }
button.btn-primary { background: var(--gold); color: var(--ink); }
button.btn-primary:hover { background: var(--gold-dark); color: var(--ink); }
button.btn-primary::after {
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b0916' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 19L19 5M9 5h10v10'/%3E%3C/svg%3E");
}
button.btn-block { justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
}
.header-top {
  background: var(--teal);
  color: var(--white);
}
.header-top-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.2rem 1.5rem;
  min-height: 2.6rem;
  font-size: 0.92rem;
}
.header-top-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #d8e4e6;
  text-decoration: none;
  font-weight: 500;
  padding: 0.3rem 0;
}
.header-top-link:hover { color: var(--gold); }
.header-top-link .icon { color: var(--gold); }
.header-top-inner .header-top-link:last-child { margin-left: auto; }

.header-main {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  min-height: 4.8rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  margin-right: auto;
}
.brand-logo {
  display: block;
  height: 54px;
  width: auto;
}
@media (max-width: 60em) {
  .brand-logo { height: 44px; }
}
@media (max-width: 30em) {
  .brand-logo { height: 38px; }
}

.desktop-nav { display: none; }
.nav-list { list-style: none; display: flex; gap: 0.35rem; margin: 0; padding: 0; }
.nav-list > li { position: relative; }
.nav-list > li > a {
  display: block;
  padding: 0.6rem 1rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--r-sm);
  transition: color 0.2s ease;
}
.nav-list > li > a:hover { color: var(--teal-soft); }
.nav-item-sub > a::after {
  content: "";
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  margin-left: 0.45rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}
.nav-list a[aria-current="page"] { color: var(--teal-soft); }
.nav-list a[aria-current="page"]::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  margin-right: 0.45rem;
  vertical-align: middle;
}

.nav-sub {
  list-style: none;
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 0;
  min-width: 18rem;
  margin: 0;
  padding: 0.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0s linear 0.28s;
}
.nav-sub::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -0.55rem;
  height: 0.55rem;
}
.nav-item-sub:hover .nav-sub,
.nav-item-sub:focus-within .nav-sub {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0s;
}
.nav-sub a {
  display: block;
  padding: 0.55rem 0.8rem;
  color: var(--ink);
  text-decoration: none;
  border-radius: var(--r-sm);
  font-weight: 500;
  font-size: 0.96rem;
  transition: background-color 0.15s ease, padding-left 0.15s ease;
}
.nav-sub a:hover { background: var(--bg); color: var(--teal); padding-left: 1rem; }

.header-actions { display: none; align-items: center; gap: 1.1rem; }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
  text-decoration: none;
  min-height: 44px;
}
.header-phone:hover { color: var(--teal); }
.header-phone-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--teal);
  flex: none;
}

/* Mobile nav (details/summary, works without JS) */
.mobile-nav { position: relative; }
.mobile-nav-toggle {
  list-style: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  cursor: pointer;
  color: var(--ink);
  background: var(--white);
}
.mobile-nav-toggle::-webkit-details-marker { display: none; }
.mobile-nav-toggle .icon { width: 24px; height: 24px; }
.mobile-nav-toggle .icon-close { display: none; }
.mobile-nav[open] .icon-open { display: none; }
.mobile-nav[open] .icon-close { display: block; }
.mobile-nav[open] .mobile-nav-toggle { background: var(--teal); color: var(--white); border-color: var(--teal); }

.mobile-nav-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 0.6rem);
  width: min(20rem, calc(100vw - 2rem));
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  padding: 0.9rem;
  z-index: 120;
}
.mobile-nav-panel ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav-panel > ul > li > a {
  display: block;
  padding: 0.7rem 0.7rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  border-radius: var(--r-sm);
}
.mobile-nav-panel > ul > li > a:hover { background: var(--bg); }
.mobile-item-sub { position: relative; }
.mobile-item-sub > a { padding-right: 3.4rem; }
.mobile-sub-toggle {
  position: absolute;
  top: 0.2rem;
  right: 0.3rem;
  width: 2.7rem;
  height: 2.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: var(--r-sm);
  color: var(--ink);
  list-style: none;
}
.mobile-sub-toggle::-webkit-details-marker { display: none; }
.mobile-sub-toggle::marker { content: none; }
.mobile-sub-toggle:hover { background: var(--bg); color: var(--teal); }
.mobile-sub-toggle .icon { width: 20px; height: 20px; transition: transform 0.2s ease; }
.mobile-sub-details[open] .mobile-sub-toggle .icon { transform: rotate(180deg); }
.mobile-sub { margin: 0 0 0.4rem 0.9rem !important; border-left: 2px solid var(--line); }
.mobile-sub a {
  display: block;
  padding: 0.5rem 0.7rem;
  color: var(--pera);
  text-decoration: none;
  font-weight: 500;
}
.mobile-sub a:hover { color: var(--teal); }
.mobile-cta { margin: 0.8rem 0 0.5rem; }
.mobile-cta > span { width: calc(100% - 1.4rem); justify-content: center; margin-left: 0.7rem; }
.mobile-contact-link {
  display: flex !important;
  align-items: center;
  gap: 0.55rem;
  color: var(--pera) !important;
  font-weight: 500 !important;
}
.mobile-contact-link .icon { color: var(--teal); }

@media (min-width: 60em) {
  .desktop-nav { display: block; }
  .header-actions { display: flex; }
  .mobile-nav { display: none; }
}
@media (min-width: 60em) and (max-width: 76em) {
  .header-phone span:last-child { display: none; }
}

/* ---------- Icons ---------- */
.icon { width: 20px; height: 20px; flex: none; }
.icon-sm { width: 16px; height: 16px; }
.card-icon {
  width: 26px;
  height: 26px;
  color: var(--teal);
}
.contact-icon { color: var(--teal); width: 22px; height: 22px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--teal);
  color: var(--white);
  padding: 4.5rem 0 5rem;
  overflow: hidden;
}
.hero-shapes { position: absolute; inset: 0; pointer-events: none; }
.hs { position: absolute; border-radius: 50%; }
.hs-1 {
  width: 34rem; height: 34rem;
  right: -10rem; top: -12rem;
  border: 60px solid rgba(255,255,255,0.045);
  animation: hero-drift-a 18s ease-in-out infinite alternate;
}
.hs-2 {
  width: 20rem; height: 20rem;
  left: -8rem; bottom: -9rem;
  border: 44px solid rgba(240,199,60,0.08);
  animation: hero-drift-b 14s ease-in-out infinite alternate;
}
.hs-3 {
  width: 9rem; height: 9rem;
  right: 12%; bottom: 10%;
  background: rgba(240,199,60,0.07);
  animation: hero-drift-c 11s ease-in-out infinite alternate;
}
@keyframes hero-drift-a {
  from { transform: translate(0, 0); }
  to   { transform: translate(-2.5rem, 2.2rem); }
}
@keyframes hero-drift-b {
  from { transform: translate(0, 0); }
  to   { transform: translate(2rem, -1.6rem); }
}
@keyframes hero-drift-c {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-1.2rem, -1.8rem) scale(1.12); }
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 60em) {
  .hero-grid { grid-template-columns: 11fr 8fr; }
}
.hero-inner { max-width: 44rem; }
.hero h1 { color: var(--white); }
.hero-kicker {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
  background: var(--gold);
  padding: 0.45rem 1.1rem;
  border-radius: var(--r-pill);
  margin-bottom: 1.4rem;
}
.hero-lede { font-size: 1.15rem; color: #cfe0e2; max-width: 42rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin: 2rem 0 1.3rem; }
.hero-contact { color: #cfe0e2; font-size: 0.98rem; margin: 0; }
.hero-contact a { color: var(--white); font-weight: 600; }
.hero-contact a:hover { color: var(--gold); }

.hero-visual { display: block; }
.hero-visual-frame {
  position: relative;
  border-radius: var(--r-md);
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.05);
  padding: 1.1rem;
}
.hero-visual-inner {
  position: relative;
  border-radius: calc(var(--r-md) - 6px);
  overflow: hidden;
}
.hero-visual-img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
@media (min-width: 60em) {
  .hero-visual-inner { min-height: 22rem; }
  .hero-visual-inner .hero-visual-img { position: absolute; inset: 0; aspect-ratio: auto; }
}

/* ---------- Page hero (inner pages) + breadcrumbs ---------- */
.breadcrumbs {
  background: var(--teal);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: 0.9rem;
}
.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0.85rem 0 0;
}
.breadcrumbs li { display: flex; align-items: center; gap: 0.4rem; color: #cfe0e2; }
.breadcrumbs li + li::before { content: "/"; color: var(--gold); font-weight: 700; }
.breadcrumbs a { color: #d8e4e6; text-decoration: none; }
.breadcrumbs a:hover { color: var(--gold); }
.breadcrumbs [aria-current="page"] { color: var(--white); font-weight: 600; }

.page-hero {
  background: var(--teal);
  padding: 1.4rem 0 3.4rem;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  width: 22rem;
  height: 22rem;
  right: -8rem;
  bottom: -12rem;
  border: 44px solid rgba(240,199,60,0.08);
  border-radius: 50%;
  pointer-events: none;
  animation: hero-drift-b 16s ease-in-out infinite alternate;
}
.page-hero .container { position: relative; }
.page-hero h1 { color: var(--white); max-width: 46rem; }
.page-hero .lede { font-size: 1.12rem; color: #cfe0e2; max-width: 46rem; margin: 0; }
.service-hero .hero-actions { margin: 1.6rem 0 0; }
.service-hero .lede { margin-bottom: 0; }

/* ---------- Sections ---------- */
.section { padding: 4.5rem 0; }
.section-alt { background: var(--bg); }
.section-head { max-width: 46rem; margin-bottom: 2.4rem; }
.section-head p { color: var(--pera); font-size: 1.05rem; }
.section h2 + p, .section-head p { margin-top: -0.2rem; }
.section h2 { margin-bottom: 1.4rem; }
.section-head h2 { margin-bottom: 0.5rem; }

.two-col { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 52em) {
  .two-col { grid-template-columns: 1fr 1fr; align-items: start; }
}

/* ---------- Cards ---------- */
.card-grid { display: grid; gap: 1.4rem; }
.card-grid-2, .card-grid-3, .card-grid-4 { grid-template-columns: 1fr; }
@media (min-width: 34em) {
  .card-grid-4 { grid-template-columns: 1fr 1fr; }
  .card-grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 56em) {
  .card-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .card-grid-4 { grid-template-columns: repeat(4, 1fr); }
  .card-grid-2 { grid-template-columns: 1fr 1fr; }
}

.service-card, .entry-card, .location-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.6rem;
  text-decoration: none;
  color: var(--pera);
  position: relative;
  counter-increment: cardnum;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.service-card:hover, .entry-card:hover, .location-card:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.service-card h3, .entry-card h3, .location-card h3 { margin: 0.9rem 0 0.4rem; color: var(--ink); }
.entry-card h3, .location-card h3 { margin-top: 0; }
.service-card p, .entry-card p, .location-card p { color: var(--pera); font-size: 0.97rem; margin: 0; flex: 1; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--teal);
}
.card-link .icon { transition: transform 0.25s ease; }
.service-card:hover .card-link .icon { transform: translateX(4px); }

/* Numbered service cards (reference-style ordinal) */
.service-card {
  padding-top: 2.6rem;
}
.service-card::before {
  content: counter(cardnum, decimal-leading-zero);
  position: absolute;
  top: 1.3rem;
  right: 1.5rem;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--teal);
  opacity: 0.12;
  line-height: 1;
}
.service-card .card-icon {
  width: 54px;
  height: 54px;
  padding: 14px;
  border-radius: var(--r-sm);
  background: var(--teal);
  color: var(--gold);
}
.service-card:hover .card-icon { background: var(--gold); color: var(--teal); }

.card-grid { counter-reset: cardnum; }

.entry-card {
  background: var(--white);
}
.entry-card h3 { font-size: 1.15rem; }
.entry-card::after {
  content: "";
  position: absolute;
  right: 1.4rem;
  bottom: 1.4rem;
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310343b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 19L19 5M9 5h10v10'/%3E%3C/svg%3E") no-repeat center / contain;
  transition: transform 0.25s ease;
}
.entry-card:hover::after { transform: translate(2px, -2px); }

.location-card h3 { font-size: 1.2rem; }
.location-card .card-icon {
  width: 46px; height: 46px;
  padding: 11px;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--teal);
}

/* ---------- Feature blocks (Why Vivekshala) ---------- */
.feature {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.6rem;
}
.feature::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1.6rem;
  width: 3rem;
  height: 4px;
  border-radius: 0 0 4px 4px;
  background: var(--gold);
}
.feature h3 { margin-bottom: 0.45rem; font-size: 1.12rem; }
.feature p { color: var(--pera); font-size: 0.97rem; margin: 0; }

/* ---------- Panels ---------- */
.panel {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.8rem;
}
.panel h3 { font-size: 1.12rem; }
.panel-note { background: var(--gold-soft); border: 1px solid #efe0ae; border-left: 5px solid var(--gold); }
.panel-note .btn { margin-top: 0.7rem; }

/* ---------- Lists ---------- */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  padding: 0.4rem 0;
}
.check-list .icon {
  color: var(--teal);
  margin-top: 0.2rem;
  background: var(--gold-soft);
  border-radius: 50%;
  padding: 3px;
  width: 22px;
  height: 22px;
}
.plain-list li { margin-bottom: 0.55rem; }

/* ---------- Process steps ---------- */
.process-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.4rem;
  grid-template-columns: 1fr;
}
@media (min-width: 34em) { .process-steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 56em) { .process-steps { grid-template-columns: repeat(4, 1fr); } }
.process-steps li {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.7rem 1.5rem 1.5rem;
}
@media (min-width: 56em) {
  .process-steps li + li::before {
    content: "";
    position: absolute;
    top: 2.9rem;
    left: -1.4rem;
    width: 1.4rem;
    border-top: 2px dashed var(--teal);
    opacity: 0.35;
  }
}
.process-steps .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.9rem;
  box-shadow: 0 0 0 6px var(--gold-soft);
}
.process-steps h3 { margin-bottom: 0.4rem; }
.process-steps p { color: var(--pera); font-size: 0.95rem; margin: 0; }

/* ---------- Service detail cards ---------- */
.service-detail-grid {
  display: grid;
  gap: 1.3rem;
  grid-template-columns: 1fr;
}
@media (min-width: 34em) { .service-detail-grid { grid-template-columns: 1fr 1fr; } }
.service-detail-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 5px solid var(--teal);
  border-radius: var(--r-md);
  padding: 1.5rem 1.6rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.service-detail-card:hover { border-left-color: var(--gold); box-shadow: var(--shadow-md); }
.service-detail-card h3 { margin-bottom: 0.4rem; font-size: 1.08rem; }
.service-detail-card p { margin: 0; color: var(--pera); font-size: 0.95rem; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 52rem; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--white);
  margin-bottom: 0.8rem;
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 3.4rem 1.1rem 1.4rem;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
  position: relative;
  min-height: 44px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 1.4rem;
  top: 50%;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}
.faq-item[open] { border-color: var(--teal); }
.faq-item[open] summary { color: var(--teal); }
.faq-item[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq-answer { padding: 0 1.4rem 1.2rem; }
.faq-answer p { margin: 0; color: var(--pera); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 52em) { .contact-grid { grid-template-columns: 5fr 7fr; align-items: start; } }

.contact-list { list-style: none; padding: 0; margin: 0 0 1.8rem; }
.contact-list li {
  display: flex;
  gap: 0.9rem;
  align-items: center;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
}
.contact-list li:first-child { padding-top: 0; }
.contact-list li:last-child { border-bottom: 0; }
.contact-list .contact-icon {
  width: 48px;
  height: 48px;
  padding: 13px;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--teal);
}
.contact-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--pera);
  margin-bottom: 0.1rem;
}
.contact-list a { font-weight: 700; font-size: 1.08rem; color: var(--ink); text-decoration: none; }
.contact-list a:hover { color: var(--teal); }

/* ---------- Forms ---------- */
.form-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}
.field { margin-bottom: 1.15rem; }
.field-row { display: grid; grid-template-columns: 1fr; gap: 0 1.2rem; }
@media (min-width: 34em) { .field-row { grid-template-columns: 1fr 1fr; } }

label { display: block; font-weight: 600; color: var(--ink); margin-bottom: 0.35rem; font-size: 0.95rem; }
.req { color: #b3451e; }

input[type="text"], input[type="tel"], input[type="email"], select, textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--bg);
  min-height: 50px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus {
  border-color: var(--teal);
  background: var(--white);
  outline: none;
  box-shadow: 0 0 0 4px rgba(16, 52, 59, 0.12);
}
[aria-invalid="true"] { border-color: var(--error-text) !important; }

.field-hint { font-size: 0.86rem; color: var(--pera); margin: -0.7rem 0 1.1rem; }
.field .field-hint { margin: 0.4rem 0 0; }
.field-error { color: var(--error-text); font-size: 0.88rem; margin: 0.35rem 0 0; font-weight: 500; }

.consent-label { display: flex; gap: 0.65rem; font-weight: 500; align-items: flex-start; color: var(--pera); }
.consent-label input { width: 1.2rem; height: 1.2rem; margin-top: 0.15rem; flex: none; accent-color: var(--teal); }

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  height: 0; width: 0; overflow: hidden;
}
.hp-field input { visibility: hidden; }

.form-note { font-size: 0.86rem; color: var(--pera); margin: 1rem 0 0; }

.form-alert {
  border-radius: var(--r-sm);
  padding: 1rem 1.3rem;
  margin-bottom: 1.4rem;
  font-weight: 500;
}
.form-alert p { margin: 0; }
.form-alert-success { background: var(--success-bg); color: var(--success-text); border: 1px solid #bfe0c8; }
.form-alert-error { background: var(--error-bg); color: var(--error-text); border: 1px solid #f0c4bb; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--teal);
  color: var(--white);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  width: 26rem;
  height: 26rem;
  left: -10rem;
  top: -14rem;
  border: 54px solid rgba(255,255,255,0.05);
  border-radius: 50%;
  pointer-events: none;
}
.cta-band-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.8rem;
  align-items: center;
}
@media (min-width: 52em) { .cta-band-inner { grid-template-columns: 3fr 2fr; } }
.cta-band h2 { color: var(--white); }
.cta-band p { color: #cfe0e2; margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }

/* ---------- Prose (legal/about pages) ---------- */
.prose { max-width: 48rem; }
.prose h2 { margin-top: 2.4rem; }
.prose h2:first-child { margin-top: 0; }
.prose ul { margin-bottom: 1.3rem; }
.prose strong { color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--teal-deep);
  color: #b8c6c9;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.2rem;
  padding-top: 4rem;
  padding-bottom: 2.4rem;
}
@media (min-width: 40em) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 60em) { .footer-grid { grid-template-columns: 2.2fr 2fr 1.4fr 1.4fr; } }

.footer-name {
  color: var(--white);
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}
.footer-brand p { color: #a7bcc0; font-size: 0.97rem; }
.footer-locations { display: flex; align-items: center; gap: 0.45rem; }
.footer-locations .icon { color: var(--gold); }
.footer-heading {
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 0.9rem;
  padding-bottom: 0.55rem;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.4rem; }
.site-footer a {
  color: #b8c6c9;
  text-decoration: none;
  font-size: 0.97rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.15rem 0;
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.site-footer a:hover { color: var(--gold); padding-left: 0.3rem; }
.site-footer a .icon { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.4rem;
  padding-bottom: 1.6rem;
  font-size: 0.9rem;
  color: #8fa6aa;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.4rem 1.5rem;
}
.footer-bottom p { margin: 0; }
.footer-credit a { color: #cfe0e2; text-decoration: none; }
.footer-credit a:hover { color: var(--gold); padding-left: 0; text-decoration: underline; text-underline-offset: 3px; }

/* Negative sweep — an inversion bar crosses the credit link, flipping
   letters via mix-blend-mode: difference */
.fx-negative {
  position: relative;
  display: inline-block;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 0.18em 0.3em;
}
.fx-negative::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 34%;
  background: currentColor;
  mix-blend-mode: difference;
  border-radius: 2px;
  pointer-events: none;
  animation: fx-negative 2.4s ease-in-out infinite alternate;
}
@keyframes fx-negative {
  0%   { left: 0;    transform: translateX(0); }
  100% { left: 100%; transform: translateX(-100%); }
}

/* ---------- Scroll reveal (subtle, JS-gated, motion-safe) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.55s ease, transform 0.55s ease;
    transition-delay: var(--reveal-delay, 0ms);
  }
  .reveal.reveal-in {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .fx-negative::after { display: none; }
}

/* ---------- Small-screen polish ---------- */
@media (max-width: 34em) {
  .section { padding: 3.2rem 0; }
  .hero { padding: 3.2rem 0 3.6rem; }
  .page-hero { padding-bottom: 2.6rem; }
  .form-panel { padding: 1.4rem; }
}
