/* =============================================
   Krystal Klear Car Detailing — style.css
   Mobile-first · CSS custom properties
   ============================================= */

/* ===== CSS VARIABLES ===== */
:root {
  --color-bg-dark:      #0A1628;
  --color-bg-mid:       #112240;
  --color-bg-light:     #F5F7FA;
  --color-brand:        #0D7E7E;
  --color-brand-light:  #10A8A8;
  --color-accent:       #E8A020;
  --color-accent-dark:  #C48516;
  --color-text-primary: #FFFFFF;
  --color-text-dark:    #1A1A2E;
  --color-text-muted:   #94A3B8;
  --color-border:       rgba(255, 255, 255, 0.08);
  --font-display:       'Oswald', sans-serif;
  --font-body:          'DM Sans', sans-serif;
  --radius:             8px;
  --radius-lg:          16px;
  --shadow:             0 4px 24px rgba(0, 0, 0, 0.3);
  --shadow-lg:          0 8px 48px rgba(0, 0, 0, 0.4);
  --transition:         0.25s ease;
  --max-width:          1200px;
  --header-height:      72px;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-dark);
  color: var(--color-text-primary);
  line-height: 1.65;
  overflow-x: hidden;
}

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

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

ul { list-style: none; }

button, input, select, textarea {
  font-family: var(--font-body);
  font-size: inherit;
}

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

.section {
  padding: 4.5rem 0;
}

.section--dark { background-color: var(--color-bg-dark); }
.section--mid  { background-color: var(--color-bg-mid); }
.section--light { background-color: var(--color-bg-light); }

/* ===== TYPOGRAPHY UTILITIES ===== */
.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 0.75rem;
}

.section__sub {
  font-size: 1rem;
  text-align: center;
  color: var(--color-text-muted);
  max-width: 620px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
}

.text-dark { color: var(--color-text-dark); }
.text-muted-dark { color: #4A5568; }

.section__sub a {
  color: var(--color-brand);
  text-decoration: underline;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color var(--transition),
    color var(--transition),
    border-color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}

.btn:hover { transform: translateY(-2px); }

.btn--accent {
  background-color: var(--color-accent);
  color: #0A1628;
  border-color: var(--color-accent);
}
.btn--accent:hover {
  background-color: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  box-shadow: 0 4px 16px rgba(232, 160, 32, 0.35);
}

.btn--outline {
  background-color: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.45);
}
.btn--outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: white;
}

.btn--brand {
  background-color: var(--color-brand);
  color: white;
  border-color: var(--color-brand);
}
.btn--brand:hover {
  background-color: var(--color-brand-light);
  border-color: var(--color-brand-light);
  box-shadow: 0 4px 16px rgba(13, 126, 126, 0.4);
}

.btn--lg {
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

.btn--full { width: 100%; }


/* ===== HEADER ===== */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background-color: transparent;
  transition: background-color var(--transition), box-shadow var(--transition);
}

#header.scrolled {
  background-color: rgba(10, 22, 40, 0.97);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

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

/* Logo */
.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  text-decoration: none;
}

.nav__logo img {
  height: 38px;
  width: auto;
}

.nav__logo-text {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: white;
  text-transform: uppercase;
  line-height: 1;
}

.nav__logo-text span { color: var(--color-brand); }

/* Desktop links — hidden on mobile */
.nav__links {
  display: none;
  margin-left: auto;
  gap: 0.125rem;
}

.nav__links a {
  display: block;
  padding: 0.5rem 0.875rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  border-radius: var(--radius);
  transition: color var(--transition), background-color var(--transition);
}

.nav__links a:hover {
  color: white;
  background-color: rgba(255, 255, 255, 0.08);
}

/* Desktop CTA — hidden on mobile */
.nav__cta {
  display: none;
  margin-left: 0.5rem;
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
}

/* Hamburger */
.nav__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  margin-left: auto;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  width: 44px;
  height: 44px;
}

.nav__hamburger span {
  display: block;
  height: 2px;
  background-color: white;
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
  transform-origin: center;
}

.nav__hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav overlay */
.nav__mobile-overlay {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--color-bg-dark);
  padding: 1.5rem 1.25rem 2rem;
  border-top: 1px solid var(--color-border);
  overflow-y: auto;
  z-index: 899;
}

.nav__mobile-overlay.open { display: block; }

.nav__mobile-overlay ul {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.nav__mobile-overlay a {
  display: block;
  padding: 0.875rem 1rem;
  font-size: 1.05rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius);
  transition: background-color var(--transition), color var(--transition);
}

.nav__mobile-overlay a:hover {
  background-color: rgba(255, 255, 255, 0.07);
  color: white;
}

.nav__mobile-overlay .btn {
  margin-top: 0.75rem;
  justify-content: center;
}

.nav__mobile-phone {
  display: block;
  text-align: center;
  color: var(--color-text-muted) !important;
  font-size: 0.95rem !important;
  margin-top: 0.25rem;
}


/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  /* Fallback gradient when image is missing */
  background-color: #08111F;
  background-image: linear-gradient(160deg, #0d2444 0%, #0a3d3d 60%, #071520 100%);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(10, 22, 40, 0.92) 0%,
    rgba(10, 22, 40, 0.72) 55%,
    rgba(13, 80, 80, 0.35) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-top: 2.5rem;
  padding-bottom: 4rem;
}

.hero__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-brand-light);
  margin-bottom: 1rem;
  padding: 0.3rem 0.8rem;
  border: 1px solid rgba(13, 168, 168, 0.3);
  border-radius: 999px;
  background-color: rgba(13, 126, 126, 0.1);
}

.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7.8vw, 4.8rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  max-width: 940px;
}

.hero__sub {
  font-size: clamp(1rem, 2.5vw, 1.175rem);
  color: rgba(255, 255, 255, 0.75);
  max-width: 500px;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}

.hero__cta-group {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin-bottom: 3rem;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hero__badges span {
  padding: 0.3rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  background-color: rgba(255, 255, 255, 0.04);
}

/* IDA Certified Member — prominent credential strip below hero badges */
.hero__credential {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 0.85rem;
  padding: 0.4rem 0.85rem 0.4rem 0.7rem;
  background-color: rgba(255, 255, 255, 0.96);
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.35);
  transition: transform 220ms ease, box-shadow 220ms ease;
  position: relative;
  cursor: default;
}
.hero__credential::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(203, 83, 69, 0.6), transparent 60%);
  z-index: -1;
  opacity: 0;
  transition: opacity 220ms ease;
}
.hero__credential:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(203, 83, 69, 0.5);
}
.hero__credential:hover::before { opacity: 1; }
.hero__credential-label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #1A1A2E;
  border-right: 1px solid rgba(26, 26, 46, 0.18);
  padding-right: 0.85rem;
  line-height: 1.2;
}
.hero__credential img {
  height: 30px;
  width: auto;
  display: block;
}
@media (max-width: 480px) {
  .hero__credential { gap: 0.55rem; padding: 0.35rem 0.7rem 0.35rem 0.55rem; }
  .hero__credential-label { font-size: 0.6rem; padding-right: 0.55rem; letter-spacing: 0.1em; }
  .hero__credential img { height: 26px; }
}

/* Mini IDA badge near Pay button (subtle, on its own row) */
.ida-mini {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: max-content;
  margin: 0.7rem auto 0;
  padding: 0.45rem 0.95rem 0.45rem 0.6rem;
  background-color: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  text-decoration: none;
  transition: transform var(--transition), background-color var(--transition);
}
.ida-mini:hover {
  transform: translateY(-1px);
  background-color: #fff;
}
.ida-mini img {
  height: 30px;
  width: auto;
  display: block;
}
.ida-mini span {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1A1A2E;
}


/* ===== WHY SECTION ===== */
.why {
  background-color: var(--color-bg-light);
}

.why__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.why__card {
  background-color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform var(--transition), box-shadow var(--transition);
}

.why__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.why__icon {
  width: 56px;
  height: 56px;
  background-color: rgba(13, 126, 126, 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--color-brand);
}

.why__card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: 0.5rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.why__card p {
  font-size: 0.925rem;
  color: #4A5568;
  line-height: 1.65;
}


/* ===== SERVICES SECTION ===== */
.services__tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin: 0 auto 2rem;
  flex-wrap: wrap;
  width: fit-content;
  max-width: 100%;
}

.tab-btn {
  padding: 0.55rem 1.5rem;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all var(--transition);
}

.tab-btn:hover {
  border-color: var(--color-brand);
  color: white;
}

.tab-btn.active {
  background-color: var(--color-brand);
  border-color: var(--color-brand);
  color: white;
}

.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.service-card {
  position: relative;
  background-color: var(--color-bg-mid);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  cursor: pointer;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  -webkit-tap-highlight-color: transparent;
}

.service-card:hover {
  border-color: rgba(13, 126, 126, 0.5);
  transform: translateY(-2px);
}

.service-card:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.service-card.is-selected {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 1px var(--color-accent), 0 8px 24px rgba(0, 0, 0, 0.35);
}

.service-card.is-selected::after {
  content: '\2713';
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: grid;
  place-items: center;
  line-height: 1;
}

.service-card--featured {
  border-color: rgba(232, 160, 32, 0.35);
}

.service-card--featured:hover {
  border-color: var(--color-accent);
}

.service-card__badge {
  position: absolute;
  top: -0.65rem;
  left: 1.25rem;
  background-color: var(--color-brand);
  color: white;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
}

.service-card__badge--featured {
  background-color: var(--color-accent);
  color: #0A1628;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: white;
}

.service-card__desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  flex-grow: 1;
}

.service-card__price {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
  letter-spacing: -0.01em;
  min-height: 2.75rem;
  display: flex;
  align-items: center;
}

.service-card__placeholder {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--color-text-muted);
  line-height: 1.3;
}


/* ===== ADD-ONS ===== */
.addons {
  padding-top: 0.5rem;
}

.addons__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  margin-bottom: 1.25rem;
}

.addons__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.addon-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: rgba(17, 34, 64, 0.8);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-size: 0.85rem;
  font-family: var(--font-body);
  cursor: pointer;
  transition: border-color var(--transition), background-color var(--transition);
  -webkit-tap-highlight-color: transparent;
}

.addon-pill:hover { border-color: rgba(13, 126, 126, 0.4); }
.addon-pill:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.addon-pill span  { color: var(--color-text-muted); transition: color var(--transition); }
.addon-pill strong { color: var(--color-accent); font-weight: 600; }
.addon-pill.is-selected {
  background-color: rgba(203, 83, 69, 0.18);
  border-color: var(--color-accent);
}
.addon-pill.is-selected span { color: #fff; }
.addon-pill.is-selected::before {
  content: '\2713';
  display: inline-block;
  color: var(--color-accent);
  font-weight: 700;
  margin-right: 2px;
}

.addons__specialty {
  text-align: center;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px dashed rgba(26, 26, 46, 0.12);
  margin-bottom: 0;
}

.addons__specialty a {
  color: var(--color-brand);
  text-decoration: underline;
}

/* Discount banner */
.discount-banner {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background-color: rgba(232, 160, 32, 0.08);
  border: 1px solid rgba(232, 160, 32, 0.25);
  border-left: 3px solid var(--color-accent);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  line-height: 1.6;
}

.discount-banner svg {
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: var(--color-accent);
}

.discount-banner strong {
  color: var(--color-accent);
  font-weight: 700;
}


/* ===== HOW IT WORKS — restyled ===== */
.hiw__steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: stretch;
  max-width: 980px;
  margin: 0 auto;
}

.hiw__step {
  position: relative;
  padding: 1.75rem 1.5rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.015) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.hiw__step:hover {
  transform: translateY(-3px);
  border-color: rgba(203, 83, 69, 0.35);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

.hiw__step-num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
  background-color: rgba(203, 83, 69, 0.12);
  border: 1px solid rgba(203, 83, 69, 0.32);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  margin-bottom: 1.1rem;
  line-height: 1;
}
.hiw__step-num::before { content: 'Step '; opacity: 0.6; font-weight: 600; }

.hiw__step-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 8px 22px rgba(203, 83, 69, 0.35);
  transition: transform var(--transition);
}
.hiw__step:hover .hiw__step-icon { transform: scale(1.06); }

.hiw__step h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 0.5rem;
}

.hiw__step p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.65;
  max-width: 280px;
  margin: 0 auto;
}

.hiw__connector {
  display: none;
  align-self: center;
  color: var(--color-accent);
  opacity: 0.5;
  flex-shrink: 0;
}


/* ===== GALLERY ===== */
.gallery__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.625rem;
  margin-bottom: 1.5rem;
}

.gallery__item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  aspect-ratio: 4 / 3;
  background-color: var(--color-bg-mid);
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery__item:hover img { transform: scale(1.06); }

.gallery__label {
  position: absolute;
  top: 0.625rem;
  left: 0.625rem;
  padding: 0.2rem 0.625rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.gallery__label--before {
  background-color: rgba(71, 85, 105, 0.92);
  color: white;
}

.gallery__label--after {
  background-color: rgba(13, 126, 126, 0.92);
  color: white;
}

.gallery__note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.gallery__note a {
  color: var(--color-brand);
  text-decoration: underline;
}


/* ===== SERVICE AREA ===== */
.area {
  background-color: var(--color-bg-light);
}

.area__content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.area__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  flex: 1 1 auto;
}

.area__map iframe { display: block; }

.area__cities h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-dark);
  margin-bottom: 1rem;
}

.area__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.area__list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: #4A5568;
}

.area__list li::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--color-brand);
  flex-shrink: 0;
}

.area__radius {
  font-size: 0.875rem;
  color: #718096;
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}


/* ===== CONTACT SECTION ===== */
.contact__layout {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

/* Form */
.contact__form {
  background-color: var(--color-bg-mid);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form__row--two {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form__group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.01em;
}

.form__required { color: var(--color-accent); }
.form__optional { color: var(--color-text-muted); font-weight: 400; font-size: 0.8em; }

.form__group input,
.form__group select,
.form__group textarea {
  padding: 0.75rem 1rem;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  color: white;
  font-size: 0.95rem;
  transition: border-color var(--transition), background-color var(--transition);
  -webkit-appearance: none;
  appearance: none;
}

.form__group input::placeholder,
.form__group textarea::placeholder {
  color: rgba(255, 255, 255, 0.28);
}

.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  outline: none;
  border-color: var(--color-brand);
  background-color: rgba(13, 126, 126, 0.07);
}

.form__group input.invalid,
.form__group select.invalid,
.form__group textarea.invalid {
  border-color: #ef4444;
}

/* Custom select arrow */
.form__group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.875rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form__group select option {
  background-color: #112240;
  color: white;
}

.form__group textarea {
  resize: vertical;
  min-height: 108px;
}

/* Add-on checkboxes */
.form__addons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.addon-check {
  display: inline-flex;
  cursor: pointer;
}

.addon-check input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.addon-check span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.875rem;
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-size: 0.825rem;
  color: var(--color-text-muted);
  transition: all var(--transition);
  user-select: none;
}

.addon-check span strong {
  color: var(--color-accent);
  font-weight: 600;
}

.addon-check:hover span {
  border-color: rgba(13, 126, 126, 0.5);
  color: white;
}

.addon-check input:checked + span {
  background-color: rgba(13, 126, 126, 0.15);
  border-color: var(--color-brand);
  color: white;
}

.addon-check input:focus-visible + span {
  outline: 2px solid var(--color-brand);
  outline-offset: 2px;
}

/* Form feedback */
.form__result {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.925rem;
  font-weight: 500;
  text-align: center;
  line-height: 1.5;
}

.form__result.success {
  background-color: rgba(13, 126, 126, 0.12);
  border: 1px solid rgba(13, 126, 126, 0.5);
  color: #5eead4;
}

.form__result.error {
  background-color: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
}

/* Contact info sidebar */
.contact__info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact__info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact__info-item svg {
  flex-shrink: 0;
  margin-top: 0.1rem;
  color: var(--color-brand);
}

.contact__info-item > div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.contact__info-item strong {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.contact__info-item a,
.contact__info-item span {
  font-size: 0.975rem;
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--transition);
}

.contact__info-item a:hover { color: var(--color-brand); }

.contact__payment-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 0.75rem;
}

.contact__payment-icons {
  display: flex;
  gap: 0.75rem;
}

.payment-badge {
  padding: 0.4rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
}

.contact__cancellation {
  padding: 1rem 1.25rem;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.contact__cancellation strong {
  color: rgba(255, 255, 255, 0.65);
}


/* ===== FAQ ===== */
.faq {
  background-color: var(--color-bg-light);
}

.faq__list {
  max-width: 740px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid #E2E8F0;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
}

.faq__item {
  background-color: white;
  border-bottom: 1px solid #EDF2F7;
}

.faq__item:last-child { border-bottom: none; }

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  text-align: left;
  font-size: 0.975rem;
  font-weight: 600;
  color: var(--color-text-dark);
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition);
  line-height: 1.4;
}

.faq__question:hover {
  background-color: #F7FAFC;
  color: var(--color-brand);
}

.faq__question[aria-expanded="true"] {
  color: var(--color-brand);
  background-color: rgba(13, 126, 126, 0.03);
}

.faq__chevron {
  flex-shrink: 0;
  color: var(--color-brand);
  transition: transform var(--transition);
}

.faq__question[aria-expanded="true"] .faq__chevron {
  transform: rotate(180deg);
}

.faq__answer {
  height: 0;
  overflow: hidden;
  transition: height 0.3s ease;
}

.faq__answer p {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.9rem;
  color: #4A5568;
  line-height: 1.75;
}

.faq__answer a {
  color: var(--color-brand);
  text-decoration: underline;
}


/* ===== FOOTER ===== */
.footer {
  background-color: #060E1A;
  border-top: 1px solid var(--color-border);
  padding: 3.5rem 0 1.75rem;
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer__brand p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 340px;
  margin: 0.875rem 0 1.25rem;
}

.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.footer__logo img { height: 34px; }

/* IDA Credential strip in footer brand */
.footer__credential {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1rem;
  padding: 0.4rem 0.75rem 0.4rem 0.45rem;
  background-color: #fff;
  border-radius: var(--radius);
  text-decoration: none;
  transition: transform var(--transition);
  max-width: max-content;
}
.footer__credential:hover { transform: translateY(-1px); }
.footer__credential img {
  height: 28px;
  width: auto;
  display: block;
}
.footer__credential span {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1A1A2E;
  border-left: 1px solid rgba(26, 26, 46, 0.2);
  padding-left: 0.6rem;
}

.footer__social {
  display: flex;
  gap: 0.625rem;
}

.footer__social a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  color: var(--color-text-muted);
  transition: color var(--transition), border-color var(--transition), background-color var(--transition);
  text-decoration: none;
}

.footer__social a:hover {
  color: var(--color-brand);
  border-color: rgba(13, 126, 126, 0.4);
  background-color: rgba(13, 126, 126, 0.06);
}

.footer__links h4,
.footer__contact h4 {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 1rem;
}

.footer__links ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__links a {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  transition: color var(--transition);
  text-decoration: none;
}

.footer__links a:hover { color: white; }

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__contact a {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  transition: color var(--transition);
  text-decoration: none;
}

.footer__contact a:hover { color: white; }

.footer__contact p {
  font-size: 0.825rem;
  color: rgba(255, 255, 255, 0.28);
}

.footer__bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  align-items: center;
  text-align: center;
}

.footer__bottom p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.28);
}


/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  cursor: zoom-out;
}

.lightbox[hidden] { display: none; }

.lightbox__img {
  max-width: 95vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius);
  cursor: default;
  box-shadow: var(--shadow-lg);
}

.lightbox__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: white;
  font-size: 1.5rem;
  line-height: 1;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition);
}

.lightbox__close:hover { background-color: rgba(255, 255, 255, 0.22); }


/* =============================================
   RESPONSIVE BREAKPOINTS
   ============================================= */

/* ===== TABLET — 640px ===== */
@media (min-width: 640px) {
  .container { padding: 0 2rem; }

  .section { padding: 5.5rem 0; }

  .hero__cta-group {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .why__grid {
    grid-template-columns: 1fr 1fr;
  }

  .services__grid {
    grid-template-columns: 1fr 1fr;
  }

  .form__row--two {
    grid-template-columns: 1fr 1fr;
  }

  .hiw__steps {
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 1rem;
    align-items: stretch;
  }

  .hiw__connector {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    align-self: center;
  }

  .area__list {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .contact__form {
    padding: 2.25rem 2rem;
  }
}

/* ===== DESKTOP — 1024px ===== */
@media (min-width: 1024px) {
  /* Show desktop nav */
  .nav__links {
    display: flex;
    margin-left: auto;
  }

  .nav__cta {
    display: inline-flex;
    margin-left: 0.25rem;
  }

  .nav__hamburger { display: none; }

  /* Sections */
  .why__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .services__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Service area */
  .area__content {
    flex-direction: row;
    align-items: flex-start;
    gap: 3rem;
  }

  .area__map { flex: 1.5; }
  .area__cities { flex: 1; }

  /* Contact */
  .contact__layout {
    flex-direction: row;
    align-items: flex-start;
    gap: 3rem;
  }

  .contact__form {
    flex: 1.25;
  }

  .contact__info {
    flex: 0 0 300px;
    position: sticky;
    top: calc(var(--header-height) + 2rem);
  }

  /* Footer */
  .footer__top {
    grid-template-columns: 1.75fr 1fr 1fr;
  }

  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}


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

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


/* =============================================
   ESTIMATE CALCULATOR + SQUARE PAY
   ============================================= */

/* ===== Tabs flash (when user clicks Pay disabled) ===== */
@keyframes kk-flash-ring {
  0%   { box-shadow: 0 0 0 0 rgba(203, 83, 69, 0.55); }
  100% { box-shadow: 0 0 0 14px rgba(203, 83, 69, 0); }
}
.services__tabs.is-flash {
  border-radius: 999px;
  background: rgba(203, 83, 69, 0.06);
  box-shadow: 0 0 0 1px rgba(203, 83, 69, 0.4);
  animation: kk-flash-ring 900ms ease-out 1;
  padding: 0.4rem;
}
.services__tabs.is-flash .tab-btn { border-color: rgba(203, 83, 69, 0.5); }

/* ===== Services section on light background — adjust contrast ===== */
.services.section--light .tab-btn {
  border-color: rgba(26, 26, 46, 0.2);
  color: rgba(26, 26, 46, 0.55);
}
.services.section--light .tab-btn:hover {
  color: #1A1A2E;
}
.services.section--light .tab-btn.active {
  color: #fff;
}

.services.section--light .addons__title {
  color: rgba(26, 26, 46, 0.85);
}

.services.section--light .addons__specialty {
  color: rgba(26, 26, 46, 0.6);
}

.services.section--light .services__cta-lead {
  color: rgba(26, 26, 46, 0.55);
}
.services.section--light .services__cta-lead--pay {
  color: #1A1A2E;
}

.services.section--light .secure-pay-note {
  color: rgba(26, 26, 46, 0.5);
}

.services.section--light .discount-note {
  color: rgba(26, 26, 46, 0.7);
  background-color: rgba(203, 83, 69, 0.08);
  border-color: rgba(203, 83, 69, 0.28);
}

.services.section--light .ida-mini {
  background-color: #fff;
  border: 1px solid rgba(26, 26, 46, 0.1);
}

/* Service cards stay dark on light bg → elegant card-on-bg look. Soften the shadow. */
.services.section--light .service-card {
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.12);
}

/* Add-on pills: lighten on light bg so they don't look like dark stickers */
.services.section--light .addon-pill {
  background-color: #fff;
  border-color: rgba(26, 26, 46, 0.12);
}
.services.section--light .addon-pill span { color: rgba(26, 26, 46, 0.7); }
.services.section--light .addon-pill:hover { border-color: rgba(203, 83, 69, 0.5); }
.services.section--light .addon-pill.is-selected {
  background-color: rgba(203, 83, 69, 0.1);
  border-color: var(--color-accent);
}
.services.section--light .addon-pill.is-selected span { color: #1A1A2E; }

/* Estimate panel keeps dark card look on light bg → premium feel */
.services.section--light .estimate-panel {
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.18);
}

.services.section--light .services__tabs.is-flash {
  background: rgba(203, 83, 69, 0.1);
  box-shadow: 0 0 0 1px rgba(203, 83, 69, 0.5);
}

/* Form field flash (when user clicks form Pay disabled) */
select.is-flash,
input.is-flash,
.form__addons.is-flash {
  border-color: var(--color-accent) !important;
  box-shadow: 0 0 0 3px rgba(203, 83, 69, 0.18);
  animation: kk-flash-ring 900ms ease-out 1;
}
.form__addons.is-flash {
  border-radius: var(--radius);
  padding: 0.25rem;
}

/* ===== Services CTA wrapper ===== */
.services__cta {
  margin-top: 2.5rem;
  text-align: center;
}
.services__cta-lead {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin: 0 0 1rem;
}
.services__cta-lead--pay {
  color: var(--color-text-primary);
  font-weight: 700;
}
.services__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.875rem;
}
.btn-book {
  flex: 1 1 180px;
  max-width: 240px;
  padding: 0.7rem 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.85rem;
}
.btn-book__icon { font-size: 1.05rem; line-height: 1; }
.btn-book--whatsapp {
  background-color: #075E54;
  border-color: #075E54;
  color: #fff;
}
.btn-book--whatsapp:hover {
  background-color: #054640;
  border-color: #054640;
  box-shadow: 0 4px 16px rgba(7, 94, 84, 0.4);
  transform: translateY(-2px);
}
@media (min-width: 600px) {
  .services__cta-buttons { flex-wrap: nowrap; }
}

/* ===== Estimate panel (services section) ===== */
.estimate-panel {
  max-width: 480px;
  margin: 0 auto 1.5rem;
  padding: 1.6rem 1.75rem;
  background-color: var(--color-bg-mid);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow);
}
.estimate-panel__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}
.estimate-panel__label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.estimate-panel__amount {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 8vw, 3.25rem);
  line-height: 1;
  color: #fff;
  transition: color 220ms ease;
}
.estimate-panel[data-state="ready"] .estimate-panel__amount {
  color: var(--color-accent);
}
.estimate-panel__summary {
  margin: 0.6rem 0 0;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.45;
}

/* ===== Form estimate (live calculator inside form) ===== */
.form-estimate {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  margin: 0.25rem 0 0.5rem;
  background-color: rgba(0, 0, 0, 0.35);
  color: #fff;
}
.form-estimate__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}
.form-estimate__label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.form-estimate__amount {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: 0.01em;
  color: #fff;
  transition: color 200ms ease;
}
.form-estimate[data-state="ready"] .form-estimate__amount {
  color: var(--color-accent);
}
.form-estimate__hint {
  margin: 0.4rem 0 0;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}
.form-estimate[data-state="ready"] .form-estimate__hint { display: none; }

/* ===== Pay shortcut + buttons ===== */
.form-pay-shortcut {
  margin-top: 0.65rem;
  text-align: center;
}
.form-pay-shortcut__note {
  margin: 0.65rem 0 0;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}
.btn-pay {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 1rem 1.25rem;
  background-color: #006aff;
  color: #fff;
  border: 2px solid #006aff;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: background-color var(--transition), border-color var(--transition), transform var(--transition);
}
.btn-pay__emoji { font-size: 1.25rem; line-height: 1; }
.btn-pay__amount { margin: 0 2px; font-weight: 700; }
.btn-pay:hover {
  background-color: #0057d2;
  border-color: #0057d2;
  color: #fff;
  transform: translateY(-1px);
}
.btn-pay[aria-disabled="true"] {
  background-color: #8a9bae;
  border-color: #8a9bae;
  color: #fff;
  box-shadow: none;
  cursor: pointer;
}
.btn-pay[aria-disabled="true"]:hover {
  background-color: #8a9bae;
  border-color: #8a9bae;
  transform: none;
}
.btn-pay--inline {
  display: flex;
  width: auto;
  min-width: 240px;
  max-width: 360px;
  margin: 0 auto;
}

/* ===== Secure-pay note + discreet discount note (under Pay button) ===== */
/* Stack: Pay button -> secure note -> discount note (each on its own row) */
.secure-pay-note {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  margin: 0.55rem 0 0;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.02em;
  text-align: center;
}
.secure-pay-note svg {
  flex-shrink: 0;
  opacity: 0.85;
}

.discount-note {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  white-space: nowrap;
  gap: 0.5rem;
  width: max-content;
  max-width: 100%;
  margin: 1rem auto 2rem;
  padding: 0.55rem 1.1rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  background: rgba(203, 83, 69, 0.05);
  border: 1px solid rgba(203, 83, 69, 0.18);
  border-radius: 999px;
  line-height: 1.4;
  text-align: left;
}
.discount-note svg {
  flex-shrink: 0;
  color: var(--color-accent);
  opacity: 0.85;
}
.discount-note strong {
  color: var(--color-accent);
  font-weight: 600;
}
@media (max-width: 540px) {
  .discount-note {
    white-space: normal;
    flex-wrap: wrap;
    text-align: center;
    font-size: 0.72rem;
    padding: 0.45rem 0.75rem;
  }
}

/* ===== Custom tooltip on disabled Pay button ===== */
.btn-pay__tooltip {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translate(-50%, -6px);
  display: none;
  flex-direction: column;
  gap: 3px;
  width: max-content;
  max-width: 224px;
  padding: 11px 15px;
  border-radius: 10px;
  background-color: var(--color-bg-dark);
  text-align: left;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 20;
  transition: opacity 140ms ease, transform 140ms ease;
  text-transform: none;
  letter-spacing: 0;
  white-space: normal;
}
.btn-pay[aria-disabled="true"] .btn-pay__tooltip {
  display: flex;
}
.btn-pay__tooltip::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-bottom-color: var(--color-bg-dark);
  pointer-events: none;
}
.btn-pay__tooltip-header {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
  line-height: 1.2;
}
.btn-pay__tooltip-body {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.78rem;
  line-height: 1.4;
  color: #fff;
}
.btn-pay[aria-disabled="true"]:hover .btn-pay__tooltip,
.btn-pay[aria-disabled="true"]:focus-visible .btn-pay__tooltip {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

/* ===== Pay shortcut in contact aside ===== */
.contact__payment-shortcut {
  margin: 0.75rem 0 0;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}
.contact__payment-link {
  color: var(--color-accent);
  font-weight: 600;
  text-decoration: none;
  transition: color var(--transition);
}
.contact__payment-link:hover {
  color: var(--color-accent-dark);
  text-decoration: underline;
}
