:root {
  --red: #e51f19;
  --red-dark: #a81212;
  --yellow: #d8b841;
  --ink: #151719;
  --muted: #62666c;
  --line: #e7e2da;
  --paper: #fffaf0;
  --white: #ffffff;
  --shadow: 0 22px 70px rgba(18, 20, 22, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(180deg, #fff 0%, var(--paper) 45%, #fff 100%);
}

body.no-scroll {
  overflow: hidden;
}

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

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

.site-header {
  position: fixed;
  inset: 18px 24px auto;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 50px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(18px);
  animation: navDrop 0.7s ease both;
}

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

.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 22px;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 700;
}

.main-nav a {
  padding: 10px 0;
}

.main-nav a:hover {
  color: var(--red);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 6px;
  font-weight: 800;
}

.header-cta,
.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  box-shadow: 0 12px 28px rgba(229, 31, 25, 0.28);
}

.button.secondary {
  border: 1px solid rgba(21, 23, 25, 0.18);
  background: rgba(255, 255, 255, 0.72);
}

.button.light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-bg {
  object-fit: cover;
  object-position: 48% center;
  z-index: -2;
  animation: heroZoom 12s ease-out both;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.22) 52%, rgba(0, 0, 0, 0.36)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.58));
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 620px) minmax(220px, 320px);
  align-items: end;
  gap: 24px;
  width: min(1180px, calc(100% - 40px));
  min-height: 92vh;
  margin: 0 auto;
  padding: 142px 0 54px;
}

.glass {
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.08));
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.hero-card {
  padding: clamp(24px, 4vw, 46px);
  color: #fff;
  animation: riseIn 0.8s ease 0.18s both;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.82);
}

.hero-slogan {
  display: inline-flex;
  margin: 4px 0 24px;
  padding: 10px 14px;
  border-left: 3px solid var(--red);
  border-radius: 6px;
  color: #fff;
  background: rgba(0, 0, 0, 0.22);
  font-weight: 850;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 13ch;
  margin-bottom: 18px;
  font-size: clamp(2.15rem, 5vw, 4.25rem);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.16rem;
}

.hero-copy {
  max-width: 54ch;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.08rem;
  line-height: 1.7;
}

.top-modules {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: min(1180px, calc(100% - 40px));
  margin: -46px auto 0;
  position: relative;
  z-index: 4;
}

.top-modules article {
  min-height: 210px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 55px rgba(21, 23, 25, 0.12);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.top-modules article:hover,
.process-grid article:hover,
.class-card:hover,
.location-card:hover,
.info-grid article:hover,
blockquote:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 65px rgba(21, 23, 25, 0.14);
}

.top-modules span,
.process-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 34px;
  margin-bottom: 16px;
  border-radius: 5px;
  color: var(--red);
  border: 1px solid rgba(229, 31, 25, 0.18);
  background: #fff;
  font-weight: 900;
}

.top-modules h2 {
  margin-bottom: 12px;
  font-size: 1.35rem;
  line-height: 1.15;
}

.top-modules p,
.process-grid p,
.info-grid p {
  color: var(--muted);
  line-height: 1.65;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.quick-panel {
  display: grid;
  gap: 10px;
  padding: 18px;
  color: #fff;
  animation: riseIn 0.8s ease 0.34s both;
}

.quick-panel div {
  display: grid;
  grid-template-columns: 82px 1fr;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.24);
}

.quick-panel strong {
  color: #fff;
  font-size: 2rem;
  line-height: 1;
}

.quick-panel span {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0;
}

.intro-band {
  width: 100%;
  padding: 62px 0;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.section-grid {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.two-col {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 44px;
  align-items: center;
}

.two-col p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

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

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

.process-section {
  padding-bottom: 48px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  counter-reset: process;
}

.process-grid article {
  min-height: 235px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 44px rgba(21, 23, 25, 0.06);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.class-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.class-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 15px 45px rgba(21, 23, 25, 0.07);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.class-card img {
  width: 100%;
  aspect-ratio: 1.35;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.class-card:hover img {
  transform: scale(1.05);
}

.class-card div {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  align-content: start;
  gap: 4px 14px;
  padding: 18px;
}

.class-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 42px;
  border-radius: 5px;
  color: #fff;
  background: var(--ink);
  font-weight: 900;
  grid-row: 1 / span 2;
}

.class-card h3,
.class-card p {
  margin: 0;
}

.class-card p,
.feature-copy p,
.why-grid p,
.testimonial-grid p,
.location-card p,
.contact-panel p {
  color: var(--muted);
  line-height: 1.68;
}

.home-price-preview {
  padding-top: 22px;
}

.compact-price-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.compact-price-card {
  display: flex;
  min-height: 142px;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(21, 23, 25, 0.06);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.compact-price-card:hover {
  border-color: rgba(219, 34, 34, 0.22);
  box-shadow: 0 18px 44px rgba(21, 23, 25, 0.1);
  transform: translateY(-4px);
}

.compact-price-card strong {
  display: block;
  color: var(--ink);
  font-size: 1.45rem;
  line-height: 1.05;
}

.compact-price-card > span:not(.price-tag) {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 750;
  line-height: 1.4;
}

.price-tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--red);
  background: #f7f7f5;
  font-size: 0.76rem;
  font-weight: 900;
}

.compact-price-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 16px;
  padding: 18px;
  border-radius: 8px;
  color: #fff;
  background: #191b1e;
}

.compact-price-cta strong {
  display: block;
  margin-bottom: 4px;
  color: #fff;
  font-size: 1rem;
}

.compact-price-cta p {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.55;
}

.split-feature {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 42px;
  align-items: center;
}

.media-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 38px;
  align-items: center;
  padding-top: 44px;
}

.stacked-media {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 14px;
  box-shadow: none;
}

.stacked-media img {
  height: 420px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.stacked-media img:nth-child(2) {
  margin-top: 48px;
}

.feature-media {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.feature-media img {
  width: 100%;
  aspect-ratio: 1.1;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.feature-media:hover img {
  transform: scale(1.035);
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.check-list span {
  position: relative;
  padding: 12px 12px 12px 34px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  font-weight: 800;
}

.check-list span::before {
  content: "";
  position: absolute;
  top: 17px;
  left: 14px;
  width: 10px;
  height: 5px;
  border-bottom: 3px solid var(--red);
  border-left: 3px solid var(--red);
  transform: rotate(-45deg);
}

.why-section {
  padding-top: 28px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.why-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.icon-line {
  display: block;
  width: 48px;
  height: 5px;
  margin-bottom: 20px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--red), #272a2e);
}

.stats-section {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  overflow: hidden;
  border-radius: 8px;
  color: #fff;
  background: #191b1e;
}

.stat {
  min-height: 150px;
  padding: 26px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.stat strong {
  display: block;
  margin-bottom: 10px;
  color: #fff;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1;
}

.stat span {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

figure {
  position: relative;
  min-height: 280px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #111;
}

figure.wide {
  grid-column: span 2;
}

figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

figure:hover img {
  transform: scale(1.04);
}

figcaption {
  position: absolute;
  inset: auto 14px 14px;
  padding: 10px 12px;
  border-radius: 6px;
  color: #fff;
  background: rgba(0, 0, 0, 0.64);
  font-weight: 800;
  backdrop-filter: blur(12px);
}

.testimonials {
  padding-top: 12px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

blockquote {
  margin: 0;
  padding: 26px;
  border-left: 5px solid var(--red);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 15px 40px rgba(21, 23, 25, 0.06);
}

blockquote p {
  font-size: 1.05rem;
}

cite {
  color: var(--ink);
  font-style: normal;
  font-weight: 900;
}

.locations {
  padding-top: 36px;
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.location-card {
  min-height: 230px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.location-card h3 {
  color: var(--red);
}

.location-card a {
  display: block;
  margin-top: 12px;
  font-weight: 900;
}

.location-card a:last-child {
  color: var(--red-dark);
}

.info-section {
  padding-top: 24px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.info-grid article {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.contact-section {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: stretch;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 90px;
  overflow: hidden;
  border-radius: 8px;
  background: #17191c;
  box-shadow: var(--shadow);
}

.contact-media img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.contact-panel {
  padding: clamp(28px, 5vw, 58px);
  color: #fff;
}

.contact-panel h2 {
  color: #fff;
}

.contact-panel p {
  color: rgba(255, 255, 255, 0.76);
}

.contact-panel .eyebrow {
  color: rgba(255, 255, 255, 0.82);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.92rem;
  font-weight: 800;
}

.contact-form .full,
.contact-form button {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form option {
  color: var(--ink);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(229, 31, 25, 0.55);
  outline-offset: 2px;
}

.contact-form .hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.contact-actions.compact {
  margin-top: 18px;
}

.form-status {
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: 6px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  font-weight: 800;
}

.domain {
  margin-top: 24px;
  font-weight: 800;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 28px;
  padding: 42px max(20px, calc((100vw - 1180px) / 2));
  color: #fff;
  background: #0f1012;
}

.site-footer img {
  width: 76px;
  margin-bottom: 12px;
  border-radius: 6px;
}

.site-footer h2 {
  margin-bottom: 12px;
  color: #fff;
  font-size: 1rem;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.7;
}

.legal-nav {
  justify-content: end;
}

.legal-page {
  padding-top: 130px;
}

.legal-hero,
.legal-content {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
}

.legal-hero {
  padding: 62px 0 28px;
}

.legal-hero h1 {
  max-width: none;
  color: var(--ink);
}

.legal-content {
  margin-bottom: 90px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 44px rgba(21, 23, 25, 0.06);
}

.legal-content h2 {
  margin: 30px 0 10px;
  font-size: 1.25rem;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  color: var(--muted);
  line-height: 1.7;
}

.legal-content a {
  color: var(--red);
  font-weight: 800;
}

.thank-page {
  min-height: 72vh;
}

.thank-content {
  max-width: 860px;
}

.thank-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 26px 0;
}

.thank-steps article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f7f5;
}

.thank-steps strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  border-radius: 999px;
  color: #fff;
  background: var(--ink);
}

.thank-steps span {
  display: block;
  color: var(--ink);
  font-weight: 850;
  line-height: 1.35;
}

.thanks-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.branch-hero {
  position: relative;
  min-height: 72vh;
  overflow: hidden;
  isolation: isolate;
}

.branch-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  animation: heroZoom 12s ease-out both;
}

.branch-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.22) 58%, rgba(0, 0, 0, 0.42)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.5));
}

.branch-hero-content {
  display: grid;
  grid-template-columns: minmax(0, 650px) minmax(240px, 340px);
  align-items: end;
  gap: 24px;
  width: min(1180px, calc(100% - 40px));
  min-height: 72vh;
  margin: 0 auto;
  padding: 140px 0 48px;
}

.branch-card {
  padding: clamp(24px, 4vw, 44px);
  color: #fff;
}

.branch-card h1 {
  max-width: 12ch;
}

.branch-card p {
  max-width: 58ch;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.7;
}

.branch-facts {
  display: grid;
  gap: 10px;
  padding: 18px;
  color: #fff;
}

.branch-facts div {
  padding: 14px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.28);
}

.branch-facts strong {
  display: block;
  margin-bottom: 4px;
}

.branch-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 38px;
  align-items: center;
}

.branch-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 44px rgba(21, 23, 25, 0.06);
}

.branch-panel p {
  color: var(--muted);
  line-height: 1.7;
}

.branch-media-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 14px;
}

.branch-media-grid img {
  width: 100%;
  height: 360px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.branch-media-grid img:nth-child(2) {
  margin-top: 42px;
}

.branch-offers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.branch-offers article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(21, 23, 25, 0.06);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.branch-offers article:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 65px rgba(21, 23, 25, 0.14);
}

.branch-offers p {
  color: var(--muted);
  line-height: 1.65;
}

.branch-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 90px;
  padding: 34px;
  border-radius: 8px;
  color: #fff;
  background: #17191c;
  box-shadow: var(--shadow);
}

.branch-cta p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.7;
}

.branch-intro {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 18px;
  align-items: stretch;
}

.branch-intro-card,
.branch-step,
.branch-service,
.offer-card,
.faq-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 44px rgba(21, 23, 25, 0.06);
}

.branch-intro-card {
  display: grid;
  align-content: space-between;
  gap: 22px;
  padding: 28px;
}

.branch-intro-card p,
.branch-service p,
.branch-step p,
.offer-card p,
.faq-card p {
  color: var(--muted);
  line-height: 1.65;
}

.branch-quick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.branch-quick-grid div {
  min-height: 112px;
  padding: 18px;
  border-radius: 8px;
  color: #fff;
  background: #1b1d20;
}

.branch-quick-grid strong,
.branch-quick-grid span {
  display: block;
}

.branch-quick-grid span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.94rem;
}

.branch-service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.branch-service {
  display: grid;
  gap: 12px;
  min-height: 245px;
  padding: 22px;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.branch-service:hover,
.branch-step:hover,
.offer-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 65px rgba(21, 23, 25, 0.14);
}

.service-icon,
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  color: #fff;
  background: #1b1d20;
  font-weight: 900;
}

.branch-step-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.branch-step {
  padding: 22px;
}

.branch-gallery-wide {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
}

.branch-gallery-wide img {
  width: 100%;
  height: 440px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.branch-gallery-wide .stack {
  display: grid;
  gap: 16px;
}

.branch-gallery-wide .stack img {
  height: 212px;
}

.branch-local-strip {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 28px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 44px rgba(21, 23, 25, 0.06);
}

.branch-local-strip p {
  color: var(--muted);
  line-height: 1.65;
}

.offer-hero {
  position: relative;
  min-height: 74vh;
  overflow: hidden;
  isolation: isolate;
}

.offer-hero img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroZoom 12s ease-out both;
}

.offer-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.26) 60%, rgba(0, 0, 0, 0.48)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.55));
}

.offer-hero-content {
  display: grid;
  align-items: end;
  width: min(1180px, calc(100% - 40px));
  min-height: 74vh;
  margin: 0 auto;
  padding: 140px 0 52px;
}

.offer-hero-card {
  max-width: 680px;
  padding: clamp(24px, 4vw, 44px);
  color: #fff;
}

.offer-hero-card h1 {
  max-width: 14ch;
}

.offer-hero-card p {
  max-width: 58ch;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.7;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.offer-card {
  position: relative;
  display: grid;
  gap: 14px;
  min-height: 340px;
  padding: 24px;
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.offer-card.featured {
  color: #fff;
  background: #17191c;
}

.offer-card.featured p,
.offer-card.featured .pill-list span {
  color: rgba(255, 255, 255, 0.76);
}

.offer-label {
  display: inline-flex;
  width: max-content;
  padding: 7px 10px;
  border-radius: 999px;
  color: #fff;
  background: var(--red);
  font-size: 0.82rem;
  font-weight: 900;
}

.pill-list {
  display: grid;
  gap: 8px;
}

.pill-list span {
  color: var(--muted);
  font-weight: 750;
}

.offer-band {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: center;
  padding: 34px;
  border-radius: 8px;
  color: #fff;
  background: #17191c;
  box-shadow: var(--shadow);
}

.offer-band img {
  width: 100%;
  height: 360px;
  border-radius: 8px;
  object-fit: cover;
}

.offer-band p {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.7;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.faq-card {
  padding: 22px;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.program-card,
.program-detail {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 44px rgba(21, 23, 25, 0.06);
}

.program-card {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 24px;
}

.program-card p,
.program-detail p,
.program-detail li {
  color: var(--muted);
  line-height: 1.65;
}

.program-card h3,
.program-detail h3 {
  margin-bottom: 8px;
}

.program-detail {
  padding: clamp(24px, 4vw, 38px);
}

.program-detail + .program-detail {
  margin-top: 20px;
}

.program-two-col {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 28px;
  align-items: start;
}

.program-two-col.spaced {
  margin-top: 24px;
}

.program-list,
.program-detail ul,
.program-detail ol {
  margin: 0;
  padding-left: 20px;
}

.program-list {
  display: grid;
  gap: 8px;
}

.program-pill-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.program-pill-grid span {
  padding: 12px 14px;
  border-radius: 8px;
  color: var(--ink);
  background: #f7f7f5;
  font-weight: 800;
}

.program-note {
  margin-top: 20px;
  padding: 18px;
  border-left: 3px solid var(--red);
  border-radius: 8px;
  background: #fff7f6;
}

.mini-price {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.mini-price div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.mini-price strong:last-child {
  color: var(--red);
  white-space: nowrap;
}

.price-grid {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.price-card {
  min-width: 0;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 44px rgba(21, 23, 25, 0.06);
}

.price-card h3 {
  margin-bottom: 18px;
}

.price-subtable {
  margin-top: 24px;
}

.price-subtable h4 {
  margin: 0 0 10px;
  font-size: 1.05rem;
}

.price-table {
  display: block;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
}

.price-table > div {
  display: grid;
  grid-template-columns: minmax(240px, 1.6fr) minmax(115px, 0.6fr) minmax(100px, 0.5fr);
  gap: 18px;
  min-width: 560px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.price-table.compact > div {
  grid-template-columns: minmax(240px, 1fr) minmax(100px, 0.4fr);
}

.price-table strong {
  font-size: 0.98rem;
}

.price-table span {
  color: var(--ink);
}

.price-table span:last-child,
.price-table strong:last-child {
  font-weight: 850;
}

.price-note {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.footer-links {
  display: grid;
  gap: 6px;
}

.floating-contact {
  position: fixed;
  right: 18px;
  top: auto;
  bottom: 22px;
  z-index: 30;
  display: grid;
  gap: 8px;
  transform: none;
}

.float-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: rgba(21, 23, 25, 0.92);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  font: inherit;
  backdrop-filter: blur(12px);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.float-btn.call {
  background: var(--red);
  box-shadow: 0 14px 35px rgba(229, 31, 25, 0.28);
}

.float-btn.whatsapp {
  background: #25d366;
  box-shadow: 0 14px 35px rgba(37, 211, 102, 0.28);
}

.float-btn:hover,
.float-btn[aria-expanded="true"] {
  transform: translateX(-4px) scale(1.04);
}

.float-btn.call:hover,
.float-btn.call[aria-expanded="true"] {
  background: #c91612;
}

.float-btn.whatsapp:hover,
.float-btn.whatsapp[aria-expanded="true"] {
  background: #1eb857;
}

.float-btn svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.float-panel {
  position: absolute;
  right: 0;
  top: auto;
  bottom: calc(100% + 10px);
  width: 230px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
  animation: panelIn 0.22s ease both;
}

.float-panel h2 {
  margin-bottom: 8px;
  font-size: 1rem;
}

.float-panel a {
  display: block;
  padding: 9px 10px;
  border-radius: 6px;
  color: var(--ink);
  font-weight: 800;
}

.float-panel a:hover {
  color: #fff;
  background: var(--red);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

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

@keyframes navDrop {
  from {
    opacity: 0;
    transform: translateY(-14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroZoom {
  from {
    transform: scale(1.06);
  }
  to {
    transform: scale(1);
  }
}

@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateX(10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
    inset: 12px 12px auto;
  }

  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: inline-grid;
    gap: 4px;
    justify-self: end;
    width: 44px;
    height: 44px;
    padding: 12px;
    border: 0;
    border-radius: 6px;
    background: var(--ink);
  }

  .nav-toggle span {
    display: block;
    height: 2px;
    border-radius: 99px;
    background: #fff;
  }

  .main-nav {
    display: none;
    grid-column: 1 / -1;
    justify-content: start;
    flex-wrap: wrap;
    padding: 8px 4px 4px;
  }

  .main-nav.is-open {
    display: flex;
  }

  .legal-nav {
    display: flex;
    grid-column: 1 / -1;
    justify-content: start;
    flex-wrap: wrap;
    padding: 8px 4px 4px;
  }

  .hero-content,
  .two-col,
  .split-feature,
  .contact-section,
  .media-split,
  .branch-hero-content,
  .branch-layout,
  .branch-cta,
  .branch-intro,
  .branch-local-strip,
  .offer-band,
  .program-two-col {
    grid-template-columns: 1fr;
  }

  .hero-content {
    align-items: end;
    padding-top: 120px;
  }

  .class-grid,
  .why-grid,
  .testimonial-grid,
  .top-modules,
  .process-grid,
  .compact-price-grid,
  .info-grid,
  .branch-offers,
  .branch-service-grid,
  .branch-step-grid,
  .offer-grid,
  .program-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .thank-steps {
    grid-template-columns: 1fr;
  }

  .branch-gallery-wide,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .branch-gallery-wide img,
  .branch-gallery-wide .stack img,
  .offer-band img {
    height: 300px;
  }

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

  .stats-section {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .compact-price-cta {
    align-items: flex-start;
  }
}

@media (max-width: 680px) {
  .brand span {
    display: none;
  }

  .hero {
    min-height: 100vh;
  }

  .hero-content {
    width: min(100% - 24px, 1180px);
    min-height: 100vh;
    padding-bottom: 24px;
  }

  .hero-card {
    padding: 22px;
  }

  .branch-hero {
    min-height: 78vh;
  }

  .branch-hero-content {
    width: min(100% - 24px, 1180px);
    min-height: 78vh;
    padding-top: 120px;
  }

  h1 {
    max-width: 13ch;
  }

  .hero-actions,
  .contact-actions,
  .button {
    width: 100%;
  }

  .section,
  .section-grid,
  .stats-section,
  .contact-section {
    width: calc(100% - 24px);
  }

  .section {
    padding: 64px 0;
  }

  .class-grid,
  .why-grid,
  .testimonial-grid,
  .location-grid,
  .gallery-grid,
  .check-list,
  .stats-section,
  .top-modules,
  .process-grid,
  .compact-price-grid,
  .info-grid,
  .branch-offers,
  .branch-service-grid,
  .branch-step-grid,
  .branch-quick-grid,
  .offer-grid,
  .faq-grid,
  .program-grid,
  .program-pill-grid,
  .contact-form,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .compact-price-card {
    min-height: 118px;
  }

  .compact-price-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .top-modules {
    margin-top: 12px;
  }

  .stacked-media {
    grid-template-columns: 1fr;
  }

  .stacked-media img,
  .stacked-media img:nth-child(2),
  .branch-media-grid img,
  .branch-media-grid img:nth-child(2),
  .branch-gallery-wide img,
  .branch-gallery-wide .stack img,
  .offer-band img {
    height: auto;
    margin-top: 0;
  }

  .branch-media-grid {
    grid-template-columns: 1fr;
  }

  .branch-cta {
    width: calc(100% - 24px);
    margin-bottom: 54px;
    padding: 24px;
  }

  .contact-form .full,
  .contact-form button {
    grid-column: auto;
  }

  .class-card.featured,
  figure.wide {
    grid-column: auto;
  }

  .quick-panel div {
    grid-template-columns: 68px 1fr;
  }

  .stat {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  figure {
    min-height: 240px;
  }

  .contact-section {
    margin-bottom: 44px;
  }

  .floating-contact {
    right: 10px;
    top: auto;
    bottom: 14px;
    grid-template-columns: repeat(2, auto);
    transform: none;
  }

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

  .float-panel {
    right: 0;
    top: auto;
    bottom: calc(100% + 10px);
    width: min(280px, calc(100vw - 24px));
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
