/* ============================================================
   Sri Basaveshwara Driving School
   Design system — White & Blue, professional / trust-first
   Display: Bricolage Grotesque  ·  Text: Hanken Grotesk
   ============================================================ */

:root {
  /* Brand blues */
  --blue: #1850b5;
  --blue-600: #1850b5;
  --blue-700: #123e90;
  --blue-500: #2f6bd6;
  --blue-400: #5b8ef0;
  --navy: #0c1b38;

  /* Tints */
  --blue-50: #eef4ff;
  --blue-100: #dde9ff;
  --blue-200: #c4d8fb;

  /* Neutrals */
  --ink: #0d1830;
  --text: #3c4761;
  --muted: #6a7591;
  --line: #e4e9f3;
  --line-strong: #d2dbeb;
  --bg: #ffffff;
  --bg-soft: #f4f7fd;

  /* Accent for stars */
  --gold: #f5a524;

  /* Shadows (blue-tinted) */
  --shadow-sm: 0 1px 2px rgba(12, 27, 56, 0.06);
  --shadow-md: 0 10px 30px -12px rgba(13, 33, 79, 0.18);
  --shadow-lg: 0 28px 60px -24px rgba(13, 33, 79, 0.30);
  --shadow-blue: 0 14px 30px -10px rgba(24, 80, 181, 0.45);

  --radius: 14px;
  --radius-lg: 22px;
  --radius-sm: 10px;

  --max-width: 1200px;
  --header-height: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Hanken Grotesk", "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-loading {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

::selection {
  background: var(--blue-200);
  color: var(--navy);
}

.container {
  width: min(100% - 40px, var(--max-width));
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--blue);
  color: #fff;
  border-radius: 8px;
  font-weight: 700;
  transition: top 180ms var(--ease);
}

.skip-link:focus {
  top: 16px;
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Bricolage Grotesque", "Hanken Grotesk", sans-serif;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 700;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h2 {
  font-size: clamp(1.9rem, 1.2rem + 2.6vw, 2.85rem);
}

h3 {
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  padding: 6px 14px 6px 12px;
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: 999px;
  color: var(--blue-700);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(24, 80, 181, 0.16);
}

.section {
  padding: clamp(64px, 8vw, 104px) 0;
}

.section-soft {
  background:
    radial-gradient(120% 80% at 50% -10%, #fbfdff 0%, var(--bg-soft) 60%);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 52px;
}

.section-heading.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-lead {
  margin: 18px 0 0;
  font-size: 1.075rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ---------- Buttons ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 12px 24px;
  border: 1.5px solid transparent;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.1;
  cursor: pointer;
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease),
    background 200ms var(--ease), color 200ms var(--ease), border-color 200ms var(--ease);
}

.button svg {
  width: 18px;
  height: 18px;
}

.button.primary {
  background: var(--blue);
  color: #fff;
  box-shadow: var(--shadow-blue);
}

.button.primary:hover {
  background: var(--blue-700);
  transform: translateY(-2px);
  box-shadow: 0 18px 36px -10px rgba(24, 80, 181, 0.55);
}

.button.ghost {
  background: #fff;
  color: var(--blue-700);
  border-color: var(--line-strong);
}

.button.ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.button.whatsapp {
  background: #1faa59;
  color: #fff;
  box-shadow: 0 14px 30px -12px rgba(31, 170, 89, 0.55);
}

.button.whatsapp:hover {
  background: #178a48;
  transform: translateY(-2px);
}

.button.on-blue {
  background: #fff;
  color: var(--blue-700);
}

.button.on-blue:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px -12px rgba(0, 0, 0, 0.4);
}

.button.on-blue-outline {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(4px);
}

.button.on-blue-outline:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: #fff;
  transform: translateY(-2px);
}

svg {
  fill: currentColor;
}

/* ---------- Page loader ---------- */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  background:
    radial-gradient(120% 90% at 50% 0%, #ffffff 0%, var(--bg-soft) 100%);
  opacity: 1;
  visibility: visible;
  transition: opacity 450ms var(--ease), visibility 450ms var(--ease);
}

.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.loader-mark img {
  width: 116px;
  height: 116px;
  object-fit: contain;
  animation: loader-bob 1.6s ease-in-out infinite;
}

@keyframes loader-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.loader-track {
  position: relative;
  width: 168px;
  height: 4px;
  border-radius: 999px;
  background: var(--blue-100);
  overflow: hidden;
}

.loader-fill {
  position: absolute;
  inset: 0;
  width: 40%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue-400), var(--blue));
  animation: loader-slide 1.2s var(--ease) infinite;
}

@keyframes loader-slide {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(320%); }
}

.loader-text {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--navy);
}

/* ---------- Utility bar ---------- */
.utility-bar {
  background: var(--navy);
  color: #c5d2ec;
  font-size: 0.84rem;
}

.utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 42px;
}

.utility-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.utility-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.utility-item svg {
  width: 15px;
  height: 15px;
  color: var(--blue-400);
}

.utility-divider {
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, 0.16);
}

.utility-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  color: #fff;
  transition: color 160ms var(--ease);
}

.utility-link svg {
  width: 15px;
  height: 15px;
  color: var(--blue-400);
}

.utility-link:hover {
  color: var(--blue-400);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 240ms var(--ease), border-color 240ms var(--ease),
    background 240ms var(--ease);
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 30px -18px rgba(13, 33, 79, 0.4);
  background: rgba(255, 255, 255, 0.94);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-logo {
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.brand-sub {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.95rem;
  font-weight: 600;
}

.site-nav > a:not(.nav-cta) {
  position: relative;
  padding: 8px 14px;
  color: var(--text);
  border-radius: 9px;
  transition: color 160ms var(--ease), background 160ms var(--ease);
}

.site-nav > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms var(--ease);
}

.site-nav > a:not(.nav-cta):hover {
  color: var(--blue-700);
}

.site-nav > a.is-active {
  color: var(--blue-700);
}

.site-nav > a.is-active::after {
  transform: scaleX(1);
}

.nav-cta {
  margin-left: 12px;
  min-height: 44px;
  padding: 10px 20px;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  background: #fff;
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 220ms var(--ease), opacity 180ms var(--ease);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(48px, 6vw, 86px) 0 clamp(60px, 7vw, 96px);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 50% at 88% 8%, rgba(91, 142, 240, 0.18) 0%, transparent 60%),
    radial-gradient(50% 50% at 6% 90%, rgba(24, 80, 181, 0.10) 0%, transparent 55%),
    linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
}

.hero-bg::before {
  /* faint dotted grid */
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(24, 80, 181, 0.10) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(70% 60% at 50% 30%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000 0%, transparent 75%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.hero-content {
  max-width: 600px;
}

.hero-title {
  font-size: clamp(2.4rem, 1.3rem + 4.4vw, 4rem);
  line-height: 1.04;
  color: var(--ink);
  letter-spacing: -0.03em;
}

.hero-title .accent {
  color: var(--blue);
  position: relative;
  white-space: nowrap;
}

.hero-title .accent::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.06em;
  height: 0.16em;
  background: linear-gradient(90deg, rgba(24, 80, 181, 0.28), rgba(91, 142, 240, 0.28));
  border-radius: 4px;
  z-index: -1;
}

.hero-description {
  margin: 22px 0 0;
  font-size: 1.12rem;
  color: var(--text);
  line-height: 1.72;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-points {
  list-style: none;
  margin: 30px 0 0;
  padding: 26px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 13px;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--ink);
  font-size: 0.98rem;
}

.hero-points svg {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  padding: 5px;
  border-radius: 50%;
  background: var(--blue-50);
  color: var(--blue);
  box-sizing: content-box;
}

/* Hero media */
.hero-media {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 520px;
}

.hero-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid #fff;
  outline: 1px solid var(--line);
}

.hero-photo img {
  width: 100%;
  aspect-ratio: 4 / 4.4;
  object-fit: cover;
}

.l-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #fff;
  color: #d92d20;
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
  border: 2.5px solid #d92d20;
  box-shadow: var(--shadow-md);
}

.hero-card {
  position: absolute;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}

.hero-card-rating {
  top: 28px;
  right: -22px;
  padding: 14px 16px;
  width: 178px;
  animation: float-a 5s ease-in-out infinite;
}

.hero-card-rating .stars {
  display: flex;
  gap: 2px;
  color: var(--gold);
  margin-bottom: 6px;
}

.hero-card-rating .stars svg {
  width: 16px;
  height: 16px;
}

.hero-card-rating p {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.35;
}

.hero-card-trainer {
  bottom: 24px;
  left: -26px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 16px 12px 12px;
  animation: float-b 5.6s ease-in-out infinite;
}

.trainer-avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue), var(--blue-500));
  color: #fff;
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
}

.hero-card-trainer strong {
  display: block;
  font-size: 0.92rem;
  color: var(--ink);
}

.hero-card-trainer span {
  font-size: 0.76rem;
  color: var(--muted);
}

@keyframes float-a {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes float-b {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(9px); }
}

/* ---------- Trust band ---------- */
.trust-band {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.trust-band::before {
  /* dashed road centre line */
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 3px;
  transform: translateY(-50%);
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.10) 0 28px, transparent 28px 56px);
}

.trust-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
}

.trust-item {
  padding: 34px 22px;
  text-align: center;
}

.trust-item + .trust-item {
  box-shadow: -1px 0 0 rgba(255, 255, 255, 0.10);
}

.trust-figure {
  display: block;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(1.6rem, 1rem + 2vw, 2.3rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.trust-label {
  display: block;
  margin-top: 6px;
  font-size: 0.86rem;
  color: #9fb1d4;
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.service-card {
  position: relative;
  padding: 30px 26px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 280ms var(--ease), box-shadow 280ms var(--ease),
    border-color 280ms var(--ease);
}

.service-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, var(--blue), var(--blue-400));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 320ms var(--ease);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-100);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  margin-bottom: 20px;
  background: var(--blue-50);
  color: var(--blue);
  transition: background 280ms var(--ease), color 280ms var(--ease), transform 280ms var(--ease);
}

.service-icon svg {
  width: 28px;
  height: 28px;
}

.service-card:hover .service-icon {
  background: var(--blue);
  color: #fff;
  transform: rotate(-4deg);
}

.service-card h3 {
  margin-bottom: 10px;
}

.service-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: clamp(36px, 5vw, 76px);
}

.about-media {
  position: relative;
}

.about-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid #fff;
  outline: 1px solid var(--line);
}

.about-photo img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.about-experience {
  position: absolute;
  right: -18px;
  bottom: -22px;
  display: flex;
  flex-direction: column;
  padding: 18px 24px;
  border-radius: 16px;
  background: var(--blue);
  color: #fff;
  box-shadow: var(--shadow-blue);
  text-align: center;
}

.about-experience strong {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.45rem;
  line-height: 1;
}

.about-experience span {
  font-size: 0.78rem;
  opacity: 0.92;
  margin-top: 3px;
}

.lane-strip {
  position: absolute;
  left: -22px;
  top: 22px;
  bottom: 22px;
  width: 8px;
  border-radius: 8px;
  background: repeating-linear-gradient(180deg, var(--blue) 0 18px, transparent 18px 34px);
  opacity: 0.5;
}

.about-content h2 {
  margin-bottom: 18px;
}

.about-content > p {
  margin: 0 0 16px;
  color: var(--text);
  line-height: 1.75;
}

.about-content > p strong {
  color: var(--ink);
}

.about-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
}

.about-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--ink);
  font-size: 0.95rem;
}

.about-list svg {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  padding: 5px;
  border-radius: 50%;
  background: var(--blue-50);
  color: var(--blue);
  box-sizing: content-box;
}

.about-signoff {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.signoff-name {
  display: block;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--blue-700);
  font-style: italic;
  letter-spacing: -0.01em;
}

.signoff-role {
  font-size: 0.85rem;
  color: var(--muted);
}

/* ---------- Feature / Why ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-item {
  padding: 28px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 240ms var(--ease), box-shadow 240ms var(--ease),
    border-color 240ms var(--ease);
}

.feature-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-100);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 13px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--blue-50), #fff);
  border: 1px solid var(--blue-100);
  color: var(--blue);
}

.feature-icon svg {
  width: 23px;
  height: 23px;
}

.feature-item strong {
  display: block;
  margin-bottom: 7px;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.12rem;
  color: var(--ink);
}

.feature-item span {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

/* ---------- Process ---------- */
.process-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: step;
}

.process-step {
  position: relative;
  padding: 30px 24px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.process-step::after {
  /* connector arrow */
  content: "";
  position: absolute;
  top: 52px;
  right: -16px;
  width: 22px;
  height: 22px;
  background:
    linear-gradient(45deg, transparent 46%, var(--blue-200) 46% 54%, transparent 54%),
    linear-gradient(-45deg, transparent 46%, var(--blue-200) 46% 54%, transparent 54%);
  background-size: 100% 50%;
  background-position: top, bottom;
  background-repeat: no-repeat;
  z-index: 2;
}

.process-grid .process-step:last-child::after {
  display: none;
}

.step-num {
  display: inline-block;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 2.3rem;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.6px var(--blue-200);
  margin-bottom: 16px;
}

.process-step h3 {
  margin-bottom: 8px;
}

.process-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

/* ---------- Gallery ---------- */
.gallery-header {
  margin-bottom: 44px;
}

.gallery-slider-wrapper {
  position: relative;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 10;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--blue);
  cursor: pointer;
  transform: translateY(-50%);
  box-shadow: var(--shadow-md);
  transition: all 220ms var(--ease);
}

.gallery-nav svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
}

.gallery-nav:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  box-shadow: var(--shadow-blue);
  transform: translateY(-50%) scale(1.06);
}

.gallery-nav:active {
  transform: translateY(-50%) scale(0.96);
}

.gallery-prev {
  left: -22px;
}

.gallery-next {
  right: -22px;
}

.gallery-slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 6px;
  margin: -6px;
}

.gallery-slider::-webkit-scrollbar {
  display: none;
}

.gallery-item {
  position: relative;
  flex: 0 0 calc((100% - 40px) / 3);
  min-width: 270px;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
  scroll-snap-align: start;
  overflow: hidden;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: linear-gradient(180deg, transparent 45%, rgba(12, 27, 56, 0.42) 100%);
  opacity: 0;
  transition: opacity 240ms var(--ease);
  pointer-events: none;
}

.gallery-item::before {
  content: "";
  position: absolute;
  z-index: 2;
  right: 14px;
  bottom: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%231850b5' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h6v6'/%3E%3Cpath d='M9 21H3v-6'/%3E%3Cpath d='M21 3l-7 7'/%3E%3Cpath d='M3 21l7-7'/%3E%3C/svg%3E") center / 18px no-repeat;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 240ms var(--ease), transform 240ms var(--ease);
  pointer-events: none;
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-item:hover::before {
  opacity: 1;
  transform: scale(1);
}

.gallery-item:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  transition: transform 400ms var(--ease);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* ---------- FAQ ---------- */
.faq-container {
  max-width: 880px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: border-color 220ms var(--ease), box-shadow 220ms var(--ease);
  overflow: hidden;
}

.faq-item.is-open {
  border-color: var(--blue-100);
  box-shadow: var(--shadow-md);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 22px 24px;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 600;
  font-size: 1.06rem;
  cursor: pointer;
}

.faq-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--blue-50);
  color: var(--blue);
  font-size: 1.3rem;
  line-height: 1;
  font-weight: 400;
  transition: transform 260ms var(--ease), background 220ms var(--ease), color 220ms var(--ease);
}

.faq-item.is-open .faq-icon {
  background: var(--blue);
  color: #fff;
  transform: rotate(135deg);
}

.faq-answer {
  display: none;
  padding: 0 24px 24px;
  color: var(--muted);
}

.faq-answer p {
  margin: 0;
  line-height: 1.7;
}

.faq-item.is-open .faq-answer {
  display: block;
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  margin: 0 auto;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(70% 120% at 85% 10%, rgba(91, 142, 240, 0.55) 0%, transparent 55%),
    linear-gradient(120deg, var(--blue-700) 0%, var(--blue) 55%, var(--blue-500) 100%);
}

.cta-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0 30px, transparent 30px 60px);
  bottom: auto;
  top: 50%;
  height: 4px;
  transform: translateY(-50%);
}

.cta-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(44px, 6vw, 68px) clamp(24px, 4vw, 56px);
  flex-wrap: wrap;
}

.cta-copy h2 {
  color: #fff;
  margin-bottom: 8px;
}

.cta-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.05rem;
  max-width: 520px;
}

.cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  align-items: stretch;
  gap: 48px;
}

.contact-info {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  display: grid;
  gap: 22px;
}

.contact-info li {
  display: flex;
  gap: 16px;
}

.contact-ic {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  color: var(--blue);
}

.contact-ic svg {
  width: 21px;
  height: 21px;
}

.contact-info strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.02rem;
}

.contact-info address {
  font-style: normal;
  color: var(--muted);
  line-height: 1.6;
}

.contact-info p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.contact-info a {
  color: var(--blue-700);
  font-weight: 700;
  transition: color 160ms var(--ease);
}

.contact-info a:hover {
  color: var(--blue);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.map-card {
  position: relative;
  display: block;
  min-height: 420px;
  overflow: hidden;
  border: 6px solid #fff;
  outline: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  background: #fff;
}

.map-card iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  pointer-events: none;
  filter: saturate(1.05);
}

.map-pill {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 18px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 999px;
  box-shadow: var(--shadow-blue);
  transition: transform 200ms var(--ease), background 200ms var(--ease);
  white-space: nowrap;
}

.map-pill svg {
  width: 16px;
  height: 16px;
}

.map-card:hover .map-pill {
  transform: translateX(-50%) translateY(-3px);
  background: var(--blue-700);
}

/* ---------- Footer ---------- */
.site-footer {
  padding: clamp(48px, 6vw, 70px) 0 26px;
  background: var(--navy);
  color: #b6c5e2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.4fr;
  gap: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-logo img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  background: #fff;
  border-radius: 10px;
  padding: 4px;
}

.footer-logo span {
  display: flex;
  flex-direction: column;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8aa0c7;
  line-height: 1.5;
}

.footer-logo strong {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: none;
  color: #fff;
}

.footer-brand p {
  margin: 0 0 20px;
  color: #9fb1d4;
  line-height: 1.7;
  max-width: 320px;
}

.footer-call {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 18px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  font-weight: 700;
  transition: background 180ms var(--ease), border-color 180ms var(--ease);
}

.footer-call svg {
  width: 17px;
  height: 17px;
  color: var(--blue-400);
}

.footer-call:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
}

.footer-col h3 {
  color: #fff;
  font-size: 0.86rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-col a {
  display: block;
  margin: 10px 0;
  color: #9fb1d4;
  font-size: 0.96rem;
  width: fit-content;
  transition: color 160ms var(--ease), transform 160ms var(--ease);
}

.footer-col a:hover {
  color: #fff;
  transform: translateX(3px);
}

.footer-contact p {
  margin: 0 0 12px;
  color: #9fb1d4;
  line-height: 1.65;
  font-size: 0.95rem;
}

.footer-contact a {
  color: #fff;
  font-weight: 600;
}

.footer-contact a:hover {
  color: var(--blue-400);
}

.copyright {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.copyright p {
  margin: 0;
  font-size: 0.85rem;
  color: #7e93ba;
}

/* ---------- Floating dock ---------- */
.contact-dock {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dock-btn {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: #fff;
  box-shadow: var(--shadow-lg);
  transition: transform 220ms var(--ease);
}

.dock-btn svg {
  width: 26px;
  height: 26px;
}

.dock-btn:hover {
  transform: translateY(-3px) scale(1.05);
}

.dock-whatsapp {
  background: #1faa59;
}

.dock-call {
  background: var(--blue);
  position: relative;
}

.dock-call::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--blue);
  animation: dock-ring 2.2s var(--ease) infinite;
}

@keyframes dock-ring {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.7); opacity: 0; }
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 72px 88px;
  background: rgba(8, 16, 33, 0.92);
  backdrop-filter: blur(6px);
}

.lightbox.is-open {
  display: flex;
}

.lightbox-image {
  max-width: 100%;
  max-height: 82vh;
  border-radius: 10px;
  object-fit: contain;
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.lightbox-close,
.lightbox-control {
  position: absolute;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(4px);
  color: #fff;
  cursor: pointer;
  transition: all 200ms var(--ease);
}

.lightbox-close:hover,
.lightbox-control:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.lightbox-control:hover {
  transform: translateY(-50%) scale(1.08);
}

.lightbox-close:hover {
  transform: scale(1.08);
}

.lightbox-control svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
}

.lightbox-close {
  top: 22px;
  right: 24px;
  font-size: 30px;
  line-height: 1;
}

.lightbox-control {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-prev {
  left: 24px;
}

.lightbox-next {
  right: 24px;
}

/* ============================================================
   Scroll reveal animations
   ============================================================ */
.section-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 640ms var(--ease), transform 640ms var(--ease);
}

.section-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.section-reveal .highlight-item,
.section-reveal .benefit-item,
.section-reveal .service-card,
.section-reveal .gallery-item,
.section-reveal .trust-item,
.section-reveal .faq-item {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 560ms var(--ease), transform 560ms var(--ease);
  transition-delay: calc(var(--item-index, 0) * 70ms);
}

.section-reveal.is-visible .highlight-item,
.section-reveal.is-visible .benefit-item,
.section-reveal.is-visible .service-card,
.section-reveal.is-visible .gallery-item,
.section-reveal.is-visible .trust-item,
.section-reveal.is-visible .faq-item {
  opacity: 1;
  transform: translateY(0);
}

section[id] {
  scroll-margin-top: calc(var(--header-height) + 16px);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1040px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-content {
    max-width: 640px;
  }

  .hero-media {
    justify-self: center;
    max-width: 460px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-step::after {
    display: none;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .nav-cta {
    display: none;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px 16px 18px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 220ms var(--ease), transform 220ms var(--ease), visibility 220ms;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .site-nav > a:not(.nav-cta) {
    padding: 13px 14px;
  }

  .site-nav > a:not(.nav-cta)::after {
    display: none;
  }

  .site-nav > a.is-active {
    background: var(--blue-50);
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-item:nth-child(odd) {
    box-shadow: none;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 32px, var(--max-width));
  }

  .utility-left .utility-item:nth-child(2),
  .utility-divider {
    display: none;
  }

  .utility-inner {
    justify-content: space-between;
  }

  .brand-logo {
    width: 46px;
    height: 46px;
  }

  .brand-name {
    font-size: 1rem;
  }

  .hero-media {
    max-width: 380px;
  }

  .hero-card-rating {
    right: -8px;
    width: 158px;
  }

  .hero-card-trainer {
    left: -8px;
  }

  .hero-actions .button {
    flex: 1;
  }

  .services-grid,
  .feature-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .about-list {
    grid-template-columns: 1fr;
  }

  .about-experience {
    right: 12px;
    bottom: -18px;
    padding: 14px 18px;
  }

  .lane-strip {
    display: none;
  }

  .gallery-nav {
    width: 42px;
    height: 42px;
  }

  .gallery-prev {
    left: -8px;
  }

  .gallery-next {
    right: -8px;
  }

  .gallery-slider {
    gap: 14px;
  }

  .gallery-item {
    flex: 0 0 86%;
    min-width: 0;
  }

  .cta-actions {
    width: 100%;
  }

  .cta-actions .button {
    flex: 1;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .copyright {
    flex-direction: column;
    gap: 4px;
  }

  .lightbox {
    padding: 64px 16px;
  }

  .contact-dock {
    right: 14px;
    bottom: 14px;
  }

  .dock-btn {
    width: 50px;
    height: 50px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .section-reveal,
  .section-reveal .highlight-item,
  .section-reveal .benefit-item,
  .section-reveal .service-card,
  .section-reveal .gallery-item,
  .section-reveal .trust-item,
  .section-reveal .faq-item {
    opacity: 1 !important;
    transform: none !important;
  }
}
