/* =============================================
   GetNextDayWebsites — Design System
   Matches the getnextdaywebsites.com brand: blue/navy,
   bold sans-serif, high-contrast CTAs.
   Edit colours and fonts here to rebrand easily.
   ============================================= */

:root {
  --color-primary: #1d4ed8;
  --color-primary-dark: #1e3a8a;
  --color-primary-light: #eff6ff;
  --color-accent: #1d4ed8;
  --color-accent-hover: #1e40af;
  --color-navy: #0f172a;
  --color-text: #0f172a;
  --color-text-muted: #64748b;
  --color-bg: #ffffff;
  --color-bg-alt: #f8fafc;
  --color-border: #e2e8f0;
  --color-success: #16a34a;
  --font-heading: 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 30px rgba(15, 23, 42, 0.10);
  --shadow-lg: 0 20px 60px rgba(15, 23, 42, 0.14);
  --topbar-height: 38px;
  --header-height: 114px;
  --transition: 0.25s ease;
  --max-width: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-primary-dark); }

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--color-text);
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

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

.section { padding: 5rem 0; }
.section--alt { background: var(--color-bg-alt); }

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}

.section-header p {
  color: var(--color-text-muted);
  margin-top: 1rem;
  font-size: 1.1rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

/* Forms */
.form-label {
  display: block;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.form-control,
.form-select,
textarea.form-control {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--color-text);
  font-size: 1rem;
  line-height: 1.5;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.02);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.form-control:focus,
.form-select:focus,
textarea.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.12);
  background: #fff;
}

.form-control::placeholder {
  color: var(--color-text-muted);
}

.form-select {
  appearance: none;
  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='%231d4ed8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 0.9rem;
  padding-right: 2.6rem;
}

.form-check-input {
  width: 1.05rem;
  height: 1.05rem;
  border: 1px solid var(--color-border);
  margin-top: 0.2rem;
  cursor: pointer;
}

.form-check-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.12);
}

.form-check-input:checked {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

.form-check-label {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.4rem 0;
}
.form-check .form-check-input { margin-top: 0.25rem; }
.form-check .form-check-label { margin: 0; cursor: pointer; }

.form-text {
  display: block;
  margin-top: 0.45rem;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

input[type="file"].form-control {
  padding: 0.7rem 0.9rem;
  background: var(--color-bg-alt);
}

input[type="color"].form-control-color {
  min-height: 48px;
  padding: 0.25rem;
  cursor: pointer;
  background: #fff;
}

#drop-zone {
  transition: all var(--transition);
  border: 2px dashed var(--color-border);
  background: linear-gradient(180deg, #fcfdfe 0%, #f4f8f9 100%);
}

#drop-zone.border-primary {
  border-color: var(--color-primary);
  background: var(--color-primary-light);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
/* .btn always sets its own `display`, which otherwise beats the browser's
   built-in `[hidden] { display: none }` rule regardless of selector
   specificity (same gotcha noted for `.addons-list[hidden]` elsewhere in this
   file) — without this, toggling `.hidden = true` on a `.btn` via JS (e.g.
   the wizard's Continue/Back buttons) sets the attribute but the button stays
   visually visible. */
.btn[hidden] { display: none; }

.btn--primary {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}
.btn--primary:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--secondary {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}
.btn--secondary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: #fff;
}

.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn--outline:hover {
  background: var(--color-primary);
  color: #fff;
}

.btn--lg { padding: 1rem 2.25rem; font-size: 1.05rem; }
.btn--sm { padding: 0.6rem 1.25rem; font-size: 0.9rem; }
.btn--block { width: 100%; }

/* Topbar */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  height: var(--topbar-height);
  background: var(--color-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 0 1.25rem;
  text-align: center;
}
.topbar a { color: #fff; opacity: 0.85; }
.topbar a:hover { opacity: 1; }

/* Account chip: a button that opens a small dropdown menu (Dashboard/My
   Orders/Logout). Previously the menu had no CSS at all and rendered as
   plain inline content next to the trigger, which is what was bloating the
   header's real height beyond --header-height and causing the header to
   overlap the page below it on every page a logged-in customer saw. */
.account-chip { position: relative; flex-shrink: 0; }
.account-chip__trigger {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.6rem 0.35rem 0.35rem;
  border-radius: 999px;
  background: var(--color-primary-light);
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
  white-space: nowrap;
}
.account-chip__trigger:hover { background: var(--color-border); }
.account-chip__avatar { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }
.account-chip__name { max-width: 100px; overflow: hidden; text-overflow: ellipsis; }
.account-chip__arrow {
  font-size: 0.65rem;
  color: var(--color-text-muted);
  transition: transform var(--transition);
}
.account-chip--open .account-chip__arrow { transform: rotate(180deg); }
.account-chip__menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 170px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.4rem;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 1100;
}
.account-chip--open .account-chip__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.account-chip__menu a {
  padding: 0.6rem 0.75rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  white-space: nowrap;
}
.account-chip__menu a:hover { background: var(--color-bg-alt); color: var(--color-primary); }

/* Header */
.header {
  position: fixed;
  top: var(--topbar-height);
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  height: calc(var(--header-height) - var(--topbar-height));
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  gap: 0;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-text);
  text-decoration: none;
}
.logo:hover { color: var(--color-primary); }

.logo__brand { color: var(--color-text); }
.logo__brand em { color: var(--color-primary); font-style: normal; }

.logo__sub {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--color-text-muted);
  text-transform: uppercase;
  margin-top: 1px;
}

.header__phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--color-text);
  font-size: 0.95rem;
}
.header__phone:hover { color: var(--color-primary); }

.currency-toggle {
  display: flex;
  align-items: center;
  gap: 2px;
  background: var(--color-bg-alt);
  border-radius: 999px;
  padding: 3px;
  flex-shrink: 0;
}
.currency-toggle a {
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  transition: all var(--transition);
}
.currency-toggle a.is-active { background: var(--color-primary); color: #fff; }
.currency-toggle a:not(.is-active):hover { color: var(--color-primary); }

/* Pricing-build-mode toggle (order.php's "Custom Website" / "Using AI"
   choice) — same pill-group look as .currency-toggle above, just with a
   short description line under each option's label. Previously this had
   zero CSS at all and rendered as two plain unstyled radio rows. */
.pricing-mode-toggle {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2px;
  background: var(--color-bg-alt);
  border-radius: 999px;
  padding: 4px;
  margin: 0 auto 1.75rem;
  width: fit-content;
  max-width: 100%;
}
.pricing-mode-toggle__option {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.2rem;
  padding: 0.6rem 1.5rem;
  border-radius: 999px;
  cursor: pointer;
  color: var(--color-text-muted);
  transition: background var(--transition), color var(--transition);
}
.pricing-mode-toggle__option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.pricing-mode-toggle__option span {
  font-size: 0.9rem;
  font-weight: 700;
  color: inherit;
}
.pricing-mode-toggle__option small {
  font-size: 0.72rem;
  font-weight: 500;
  color: inherit;
  opacity: 0.8;
}
.pricing-mode-toggle__option:not(.pricing-mode-toggle__option--selected):hover { color: var(--color-primary); }
.pricing-mode-toggle__option--selected { background: var(--color-primary); color: #fff; }

/* Compact version of the same pill toggle for the homepage's "Choose Your
   Plan" section — visually matches the header's USD/INR currency toggle
   exactly (reuses .currency-toggle itself), just with Custom/AI labels and
   no href navigation, since it only swaps the displayed price on this page. */
.pricing-build-toggle { display: inline-flex; margin-top: 1.25rem; }
.pricing-build-toggle button {
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  border: none;
  background: none;
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: all var(--transition);
}
.pricing-build-toggle button.is-active { background: var(--color-primary); color: #fff; }
.pricing-build-toggle button:not(.is-active):hover { color: var(--color-primary); }

.nav { display: flex; align-items: center; gap: 2rem; }

.nav__list {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav__link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text);
  position: relative;
}
.nav__link:hover, .nav__link--active { color: var(--color-primary); }
.nav__link--active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-accent);
  border-radius: 2px;
}

.nav__cta { margin-left: 0.5rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: var(--transition);
  border-radius: 2px;
}

/* Hero */
.hero {
  padding: calc(var(--header-height) + 4rem) 0 5rem;
  background: linear-gradient(135deg, var(--color-primary-light) 0%, #fff 50%, var(--color-bg-alt) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(29, 78, 216, 0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero__content { position: relative; z-index: 1; }

.hero__subtitle {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  margin: 1.25rem 0 2rem;
  max-width: 520px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.trust-badge svg { color: var(--color-success); flex-shrink: 0; }

.hero__visual {
  position: relative;
  z-index: 1;
}

.hero__card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}

.hero__card-title {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
}

.booking-preview__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-border);
}
.booking-preview__item:last-child { border-bottom: none; }

.booking-preview__name { font-weight: 600; font-size: 0.95rem; }
.booking-preview__price {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
}

/* Service Cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
}

.service-card__image {
  height: 180px;
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.service-card__icon {
  width: 64px;
  height: 64px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.75rem;
}

.service-card__body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card__price {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0.5rem 0;
}

.service-card__desc {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  flex: 1;
}

.service-card__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* About strip */
.about-strip {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: center;
}

.about-strip__image {
  aspect-ratio: 4/5;
  background: linear-gradient(160deg, var(--color-primary), var(--color-primary-dark));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.3);
  font-size: 5rem;
}

.about-strip__content p {
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.credential {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--color-primary-light);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid var(--color-border);
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--color-primary-light);
  position: absolute;
  top: 0.5rem;
  left: 1.5rem;
  line-height: 1;
}

.testimonial-card__text {
  font-size: 1rem;
  color: var(--color-text);
  margin-bottom: 1.5rem;
  padding-top: 1.5rem;
  font-style: italic;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.testimonial-card__name { font-weight: 600; font-size: 0.95rem; }
.testimonial-card__meta { font-size: 0.8rem; color: var(--color-text-muted); }

.stars { color: var(--color-accent); letter-spacing: 2px; margin-bottom: 0.75rem; }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  overflow: hidden;
  background: #fff;
}

.faq-item__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  color: var(--color-text);
  transition: background var(--transition);
}

.faq-item__question:hover { background: var(--color-bg-alt); }

.faq-item__icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition);
  font-size: 1.25rem;
  line-height: 1;
}

.faq-item--open .faq-item__icon { transform: rotate(45deg); }

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item--open .faq-item__answer {
  max-height: 500px;
}

.faq-item__answer-inner {
  padding: 0 1.5rem 1.25rem;
  color: var(--color-text-muted);
}

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.blog-card {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: all var(--transition);
}

.blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.blog-card__image {
  height: 200px;
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 3rem;
}

.blog-card__body { padding: 1.5rem; }

.blog-card__date {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.blog-card__title {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.blog-card__title a { color: var(--color-text); }
.blog-card__title a:hover { color: var(--color-primary); }

.blog-card__excerpt {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.blog-card__tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--color-primary-light);
  color: var(--color-primary);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 3rem;
  text-align: center;
  margin: 0 1.25rem;
  max-width: calc(var(--max-width) - 2.5rem);
  margin-left: auto;
  margin-right: auto;
}

.cta-banner h2 { color: #fff; margin-bottom: 1rem; }
.cta-banner p { opacity: 0.9; margin-bottom: 1.5rem; max-width: 500px; margin-left: auto; margin-right: auto; }

/* Footer */
.footer {
  background: var(--color-text);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 2rem;
  margin-top: 5rem;
}

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

.footer__brand p { margin-top: 1rem; font-size: 0.9rem; line-height: 1.7; }

.footer__heading {
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.25rem;
}

.footer__links { list-style: none; }
.footer__links li { margin-bottom: 0.625rem; }
.footer__links a { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.footer__links a:hover { color: #fff; }
.footer__contact-item a { color: rgba(255,255,255,0.7); }
.footer__contact-item a:hover { color: #fff; }
.footer__bottom a { color: rgba(255,255,255,0.7); }
.footer__bottom a:hover { color: #fff; }

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}

/* Service Page */
.page-hero {
  padding: calc(var(--header-height) + 3rem) 0 3rem;
  background: linear-gradient(135deg, var(--color-primary-light), #fff);
}

.page-hero__breadcrumb {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}
.page-hero__breadcrumb a { color: var(--color-primary); }

.page-hero__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: start;
}

.price-box {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  position: sticky;
  top: calc(var(--header-height) + 1.5rem);
}

.price-box__amount {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
}

.price-box__note {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin: 0.5rem 0 1.5rem;
}

.price-box__features {
  list-style: none;
  margin-bottom: 1.5rem;
}

.price-box__features li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  padding: 0.5rem 0;
  font-size: 0.9rem;
}

.price-box__features svg { color: var(--color-success); flex-shrink: 0; margin-top: 2px; }

/* Tabs */
.tabs { margin-top: 2rem; }

.tabs__nav {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--color-border);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.tabs__btn {
  padding: 1rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text-muted);
  white-space: nowrap;
  position: relative;
  transition: color var(--transition);
}

.tabs__btn:hover { color: var(--color-primary); }

.tabs__btn--active {
  color: var(--color-primary);
}

.tabs__btn--active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-primary);
}

.tabs__panel { display: none; padding: 2rem 0; }
.tabs__panel--active { display: block; }

.tabs__panel h3 { margin-bottom: 1rem; }
.tabs__panel p { color: var(--color-text-muted); margin-bottom: 1rem; }

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 1rem;
}

.benefit-item {
  padding: 1.25rem;
  background: var(--color-bg-alt);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--color-accent);
}

.benefit-item h4 { font-family: var(--font-body); font-size: 0.95rem; margin-bottom: 0.375rem; }
.benefit-item p { font-size: 0.875rem; color: var(--color-text-muted); margin: 0; }

/* Booking Page */
.booking-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2rem;
  align-items: start;
}

.booking-form {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid var(--color-border);
}

.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--transition);
  background: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.1);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-hint { font-size: 0.8rem; color: var(--color-text-muted); margin-top: 0.375rem; }

.service-select {
  display: grid;
  gap: 0.75rem;
}

.service-option {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
}

.service-option:hover { border-color: var(--color-primary); }
.service-option--selected {
  border-color: var(--color-primary);
  background: var(--color-primary-light);
}

.service-option input { width: auto; accent-color: var(--color-primary); }

.service-option__info { flex: 1; }
.service-option__name { font-weight: 600; font-size: 0.95rem; }
.service-option__detail { font-size: 0.8rem; color: var(--color-text-muted); }
.service-option__price {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-primary);
}

.time-slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 0.5rem;
}

.time-slot {
  padding: 0.625rem;
  text-align: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.875rem;
  transition: all var(--transition);
  background: #fff;
}

.time-slot:hover { border-color: var(--color-primary); }
.time-slot--selected {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}
.time-slot--unavailable {
  opacity: 0.4;
  cursor: not-allowed;
  text-decoration: line-through;
}

.booking-summary {
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid var(--color-border);
  position: sticky;
  top: calc(var(--header-height) + 1.5rem);
}

.booking-summary h3 { font-size: 1.1rem; margin-bottom: 1rem; }

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--color-border);
}

.summary-row--total {
  font-weight: 700;
  font-size: 1.1rem;
  border-bottom: none;
  padding-top: 1rem;
  color: var(--color-primary);
}

.booking-steps {
  display: flex;
  gap: 0;
  margin-bottom: 2rem;
  overflow-x: auto;
}

.booking-step {
  flex: 1;
  text-align: center;
  padding: 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text-muted);
  position: relative;
  min-width: 100px;
}

.booking-step--active { color: var(--color-primary); }
.booking-step--done { color: var(--color-success); }

.booking-step__num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-border);
  color: var(--color-text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  margin-bottom: 0.375rem;
}

.booking-step--active .booking-step__num {
  background: var(--color-primary);
  color: #fff;
}

.booking-step--done .booking-step__num {
  background: var(--color-success);
  color: #fff;
}

.booking-panel { display: none; }
.booking-panel--active { display: block; }

.booking-success {
  text-align: center;
  padding: 3rem 2rem;
}

.booking-success__icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--color-success);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 1.5rem;
}

/* Blog post */
.blog-post {
  max-width: 760px;
  margin: 0 auto;
}

.blog-post__header { margin-bottom: 2rem; }

.blog-post__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.blog-post__content h2 { margin: 2rem 0 1rem; font-size: 1.5rem; }
.blog-post__content h3 { margin: 1.5rem 0 0.75rem; font-size: 1.2rem; }
.blog-post__content p { margin-bottom: 1rem; color: var(--color-text-muted); }
.blog-post__content ul, .blog-post__content ol { margin: 0 0 1rem 1.5rem; color: var(--color-text-muted); }
.blog-post__content li { margin-bottom: 0.5rem; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.contact-info-card {
  padding: 1.5rem;
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
}

.contact-info-card h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.contact-info-card p { color: var(--color-text-muted); font-size: 0.95rem; }

/* Floating Book Button (mobile) */
.fab-book {
  display: none;
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
  padding: 1rem 1.5rem;
  background: var(--color-accent);
  color: #fff;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: var(--shadow-lg);
  text-decoration: none;
  transition: transform var(--transition);
}
.fab-book:hover { color: #fff; transform: scale(1.05); }

/* Utility */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }

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

/* Responsive */
@media (max-width: 992px) {
  .hero__grid,
  .about-strip,
  .page-hero__grid,
  .booking-layout,
  .contact-grid,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .price-box,
  .booking-summary { position: static; }

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

@media (max-width: 768px) {
  .nav__list,
  .nav__cta { display: none; }

  .nav__list--open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: calc(var(--header-height) - var(--topbar-height));
    left: 0;
    right: 0;
    background: #fff;
    padding: 1.5rem;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    gap: 0;
  }

  .nav__list--open .nav__link {
    display: block;
    padding: 0.875rem 0;
    border-bottom: 1px solid var(--color-border);
  }

  .nav__list--open + .nav__cta,
  .nav--open .nav__cta {
    display: flex;
    position: absolute;
    top: calc(var(--header-height) - var(--topbar-height) + 280px);
    left: 1.25rem;
    right: 1.25rem;
  }

  .nav-toggle { display: flex; }

  .nav--open .nav-toggle span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .nav--open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav--open .nav-toggle span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

  .hero { padding-bottom: 3rem; }
  .hero__visual { order: -1; }
  .section { padding: 3.5rem 0; }

  .form-row { grid-template-columns: 1fr; }

  .fab-book { display: flex; align-items: center; gap: 0.5rem; }

  .footer__grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 2rem 1.5rem; }
}

/* =============================================
   Homepage — "Ready Tomorrow" redesign
   ============================================= */

.icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  vertical-align: middle;
}
.icon--sm { width: 16px; height: 16px; }
.icon--lg { width: 32px; height: 32px; }

/* Home hero */
.home-hero {
  padding: calc(var(--header-height) + 3.5rem) 0 4rem;
  background: linear-gradient(180deg, var(--color-bg-alt) 0%, #fff 60%);
  position: relative;
  overflow: hidden;
}

.home-hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.home-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: var(--color-primary-light);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.home-hero h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
.home-hero h1 .accent { color: var(--color-primary); }

.home-hero__subtitle {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  margin: 1.25rem 0 2rem;
  max-width: 520px;
}

.home-hero__note {
  margin-top: 1.25rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* Browser-window hero visual (original illustration, not a screenshot) */
.browser-mock {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transform: rotate(-1.5deg);
}

.browser-mock__bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1rem;
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
}

.browser-mock__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--color-border); }
.browser-mock__url {
  margin-left: 0.75rem;
  flex: 1;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.browser-mock__body { padding: 1.75rem; }

.browser-mock__hero {
  height: 90px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  margin-bottom: 1rem;
}

.browser-mock__line { height: 10px; border-radius: 999px; background: var(--color-border); margin-bottom: 0.6rem; }
.browser-mock__line--short { width: 55%; }

.browser-mock__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; margin-top: 1.25rem; }
.browser-mock__card { height: 56px; border-radius: var(--radius-sm); background: var(--color-bg-alt); border: 1px solid var(--color-border); }

.home-hero__badge {
  position: absolute;
  bottom: -1rem;
  right: 1.5rem;
  background: var(--color-navy);
  color: #fff;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.home-hero__badge .icon { color: var(--color-primary); width: 22px; height: 22px; }

/* Logos strip */
.logos-strip { padding: 3rem 0; border-bottom: 1px solid var(--color-border); }
.logos-strip__label {
  text-align: center;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  font-weight: 600;
}
.logos-strip__row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.logos-strip__badge {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}
.logos-strip__badge .icon { width: 28px; height: 28px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; counter-reset: step; }
.step { text-align: center; padding: 0 1rem; }
.step__icon {
  width: 76px;
  height: 76px;
  border-radius: var(--radius-lg);
  background: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  position: relative;
}
.step__icon .icon { width: 32px; height: 32px; }
.step__number {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--color-navy);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step h3 { margin-bottom: 0.5rem; font-size: 1.15rem; }
.step p { color: var(--color-text-muted); font-size: 0.95rem; }

/* Industries */
.industries-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.industry-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  padding: 1.5rem 1.25rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}
.industry-card:hover { border-color: var(--color-primary); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.industry-card[hidden] { display: none; }
.industry-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.industry-card__name { font-weight: 600; color: var(--color-text); font-size: 0.98rem; }

/* Portfolio */
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.portfolio-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: #fff;
  transition: all var(--transition);
}
.portfolio-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.portfolio-card__preview {
  height: 170px;
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.portfolio-card__preview .icon { width: 40px; height: 40px; opacity: 0.9; }
.portfolio-card__body { padding: 1.25rem 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.portfolio-card__name { font-weight: 700; font-size: 1.02rem; }
.portfolio-card__tag { font-size: 0.8rem; color: var(--color-text-muted); }

.portfolio-card__image {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--color-bg-alt);
  overflow: hidden;
  cursor: zoom-in;
}
.portfolio-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  /* A slow object-position transition (rather than a scale) makes a tall
     full-page screenshot appear to auto-scroll from top to bottom inside the
     fixed 4:3 crop while the visitor hovers, so more of the real screenshot
     is visible without needing to open the lightbox. */
  transition: object-position 4s ease;
}
.portfolio-card__image:hover img { object-position: bottom center; }
.portfolio-card__zoom-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.32);
  opacity: 0;
  transition: opacity var(--transition);
}
.portfolio-card__image:hover .portfolio-card__zoom-overlay { opacity: 1; }
.portfolio-card__zoom-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 50%;
  color: var(--color-primary);
  box-shadow: var(--shadow-md);
  transform: scale(0.8);
  transition: transform var(--transition);
}
.portfolio-card__image:hover .portfolio-card__zoom-icon { transform: scale(1); }
.portfolio-card__zoom-icon .icon { width: 24px; height: 24px; }
.portfolio-card__content { padding: 1.25rem 1.5rem; }
.portfolio-card__content .portfolio-card__name { margin-bottom: 0.85rem; }
.portfolio-card__desc { font-size: 0.9rem; color: var(--color-text-muted); margin-bottom: 1rem; }
.portfolio-card__content .btn { width: 100%; }

@media (max-width: 768px) {
  .portfolio-card--extra { display: none; }
}

/* Portfolio image/live-site lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.5rem;
  background: rgba(15, 23, 42, 0.8);
  cursor: zoom-out;
}
/* Same `[hidden]` vs author-`display` cascade issue as `.btn`/`.order-form`
   elsewhere in this file — `.lightbox` sets its own `display: flex`, so the
   `hidden` attribute needs this override to actually hide it. */
.lightbox[hidden] { display: none; }
.lightbox__box {
  position: relative;
  width: min(1100px, 92vw);
  height: min(680px, 85vh);
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  cursor: default;
}
.lightbox__frame {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  /* The target page's own scrollbar is what lets a visitor scroll down and
     see the rest of a tall live site inside the fixed-height box. */
  overflow: auto;
}
.lightbox__frame[hidden] { display: none; }
.lightbox__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #f8fafc;
}
.lightbox__image[hidden] { display: none; }
.lightbox__close {
  position: absolute;
  top: -18px;
  right: -18px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  color: var(--color-text);
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: background var(--transition);
  z-index: 1;
}
.lightbox__close:hover { background: var(--color-bg-alt, #f1f5f9); }

@media (max-width: 640px) {
  .lightbox__close { top: 0.5rem; right: 0.5rem; }
}

/* Pricing badge (used on .service-card for the homepage plan grid) */
.service-card { position: relative; }
.service-card--popular { border-color: var(--color-primary); box-shadow: var(--shadow-md); }
.service-card__badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--color-navy);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  z-index: 1;
}
.service-card__period { font-size: 0.95rem; color: var(--color-text-muted); font-weight: 500; }

/* Pricing cards v2 — homepage "Choose Your Plan" section, matches the live
   reference design (two cards, the featured one dark navy with an orange
   "Most Popular" badge, a bulleted feature list, and a tagline above the
   button). Deliberately named .pricing-* rather than reusing .service-card
   (still used by packages.php) or .plan-card (order.php's own wizard plan
   picker), so none of those are affected by this section's styling. */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}
.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem 2rem;
  box-shadow: var(--shadow-sm);
}
.pricing-card--popular {
  background: linear-gradient(160deg, var(--color-primary-dark), var(--color-navy));
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  color: #fff;
}
.pricing-card__badge {
  position: absolute;
  top: -14px;
  right: 24px;
  background: #f97316;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.pricing-card__name { font-size: 1.15rem; font-weight: 700; margin: 0 0 0.5rem; color: var(--color-text); }
.pricing-card__price {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  margin: 0 0 0.35rem;
  color: var(--color-text);
}
/* .pricing-card__name/__price are <h3>/<p> but must not fall back to the
   sitewide h1-h5 heading color rule (which always wins over inherited
   color) — set explicitly here, then overridden to white below on the
   popular (dark) card. */
.pricing-card--popular .pricing-card__name,
.pricing-card--popular .pricing-card__price { color: #fff; }
.pricing-card__period {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}
.pricing-card--popular .pricing-card__period { color: rgba(255, 255, 255, 0.62); }
.pricing-card__ai-note {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-primary);
  background: var(--color-primary-light);
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  margin: -0.75rem 0 1.25rem;
}
.pricing-card--popular .pricing-card__ai-note { background: rgba(255, 255, 255, 0.14); color: #fff; }
/* Same [hidden]-vs-explicit-display cascade gotcha documented repeatedly
   elsewhere in this stylesheet (Parts 7/13/14/34 of the project doc): an
   element's own `display` always beats the browser's built-in
   `[hidden] { display: none }` rule, so this needs an explicit override or
   the note stays visible even while the `hidden` attribute is set. */
.pricing-card__ai-note[hidden] { display: none; }
.pricing-card__intro {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin: 0 0 0.85rem;
}
.pricing-card--popular .pricing-card__intro { color: rgba(255, 255, 255, 0.78); }
.pricing-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  flex: 1;
}
.pricing-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.92rem;
  color: var(--color-text);
}
.pricing-card--popular .pricing-card__features li { color: rgba(255, 255, 255, 0.92); }
.pricing-card__features li::before {
  content: '';
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-top: 0.45rem;
  background: var(--color-primary);
}
.pricing-card--popular .pricing-card__features li::before {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
}
.pricing-card__divider {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 0 0 1rem;
}
.pricing-card--popular .pricing-card__divider { border-top-color: rgba(255, 255, 255, 0.18); }
.pricing-card__tagline {
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin: 0 0 1rem;
}
.pricing-card--popular .pricing-card__tagline { color: rgba(255, 255, 255, 0.65); }
.pricing-card__cta { width: 100%; }

@media (max-width: 720px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; }
}

/* Add-ons — a single-column list of rows (matches the live site's layout) */
.addons-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
.addons-list[hidden] { display: none; }
.addon-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.addon-row:hover { border-color: var(--color-primary); box-shadow: var(--shadow-md); }
.addon-row__main { display: flex; align-items: center; gap: 1.25rem; min-width: 0; flex: 1; }
.addon-row__icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.addon-row__body { min-width: 0; }
.addon-row__name { font-weight: 700; font-size: 1.02rem; }
.addon-row__desc { color: var(--color-text-muted); font-size: 0.9rem; margin-top: 0.25rem; }
.addon-row__price { color: var(--color-text); font-weight: 700; font-size: 1rem; white-space: nowrap; flex-shrink: 0; }

@media (max-width: 640px) {
  .addon-row { flex-direction: column; align-items: stretch; gap: 0.75rem; padding: 1.25rem; }
  .addon-row__price { align-self: flex-start; }
}

/* Popular Services (homepage, admin-managed services grouped by industry) */
.service-pill-grid { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }
.service-pill {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.75rem 1.25rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  transition: all var(--transition);
}
.service-pill:hover { border-color: var(--color-primary); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.service-pill__name { font-weight: 600; color: var(--color-text); font-size: 0.95rem; }
.service-pill__industry { color: var(--color-text-muted); font-size: 0.78rem; }

/* Final CTA (navy/blue banner) */
.home-cta {
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 3.5rem 2rem;
  text-align: center;
  margin: 0 1.25rem;
  max-width: calc(var(--max-width) - 2.5rem);
  margin-left: auto;
  margin-right: auto;
}
.home-cta h2 { color: #fff; margin-bottom: 0.75rem; }
.home-cta p { opacity: 0.92; margin-bottom: 1.75rem; max-width: 480px; margin-left: auto; margin-right: auto; }
.home-cta .btn--primary { background: #fff; color: var(--color-primary); border-color: #fff; }
.home-cta .btn--primary:hover { background: var(--color-bg-alt); }
.home-cta__note { margin-top: 1.25rem; font-size: 0.85rem; opacity: 0.85; }

@media (max-width: 900px) {
  .home-hero__grid { grid-template-columns: 1fr; }
  .home-hero__visual { order: -1; }
  .steps { grid-template-columns: 1fr; gap: 2.5rem; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .topbar { font-size: 0.72rem; padding: 0 0.75rem; }
  .header__phone { display: none; }
  .currency-toggle { display: none; }
  .account-chip { display: none; }
  .home-hero { padding-top: calc(var(--header-height) + 2rem); }
}

@media (max-width: 560px) {
  .industries-grid { grid-template-columns: 1fr; }
}

/* Industry landing pages (/{slug}-websites/) */
.industry-feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.industry-feature { text-align: center; padding: 0 1rem; }
.industry-feature .icon { width: 40px; height: 40px; color: var(--color-primary); margin-bottom: 0.75rem; }
.industry-feature h3 { font-size: 1rem; font-weight: 600; margin: 0; }
@media (max-width: 900px) {
  .industry-feature-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}

.logo--footer .logo__brand,
.logo--footer .logo__brand em,
.logo--footer .logo__sub {
  color: #fff;
  opacity: 0.95;
}
.logo--footer .logo__sub { opacity: 0.6; }

/* Order wizard (order.php) */
.order-hero {
  padding: calc(var(--header-height) + 3rem) 0 3rem;
  background: linear-gradient(180deg, var(--color-bg-alt) 0%, #fff 60%);
  text-align: center;
}
.order-hero h1 { font-size: clamp(1.9rem, 4vw, 2.75rem); margin: 0.75rem 0; }
.order-hero__subtitle { color: var(--color-text-muted); font-size: 1.1rem; max-width: 560px; margin: 0 auto; }

.order-layout {
  max-width: var(--max-width);
  padding-top: 3rem;
  padding-bottom: 4rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.order-form {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}
/* Same `[hidden]` vs author-`display` cascade issue as `.btn` above — the
   success-panel swap (`form.hidden = true`) needs this or the form stays
   visible underneath the "You're all set!" panel. */
.order-form[hidden] { display: none; }

/* Step-by-step wizard progress + navigation */
.wizard-progress {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}
.wizard-progress__track {
  height: 6px;
  background: var(--color-border);
  border-radius: 999px;
  overflow: hidden;
}
.wizard-progress__fill {
  height: 100%;
  width: 12.5%;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-dark));
  border-radius: 999px;
  transition: width 0.4s ease;
}
.wizard-progress__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.85rem;
}
.wizard-progress__step-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}
.wizard-progress__step-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  text-align: right;
}

@keyframes wizardStepIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
.wizard-step { animation: wizardStepIn 0.4s ease; }

.wizard-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.wizard-nav .btn--outline { visibility: hidden; }
.wizard-nav[hidden] { display: none; }

.order-section {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.order-section__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.order-section__head h2 { font-size: 1.25rem; margin: 0; }
.order-section__head .icon { color: var(--color-primary); flex-shrink: 0; }

.order-section__optional { color: var(--color-text-muted); font-weight: 500; font-size: 0.9rem; }
.order-section__lead { color: var(--color-text-muted); margin: -0.75rem 0 1.25rem; }

.order-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.order-grid__full { grid-column: 1 / -1; }

/* Choose Your Plan */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
}
.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.5rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition);
}
.plan-card:hover { border-color: var(--color-primary); box-shadow: var(--shadow-sm); }
.plan-card input[type="radio"] {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--color-primary);
}
.plan-card--selected {
  border-color: var(--color-primary);
  background: var(--color-primary-light);
  box-shadow: var(--shadow-md);
}
.plan-card__name { font-weight: 700; font-size: 1.05rem; padding-right: 1.75rem; }
.plan-card__price { font-size: 1.5rem; font-weight: 800; color: var(--color-primary); }
.plan-card__desc { color: var(--color-text-muted); font-size: 0.88rem; }
.plan-card__intro { display: block; color: var(--color-text-muted); font-size: 0.88rem; font-weight: 600; margin-bottom: 0.35rem; }
.plan-card__features {
  list-style: none;
  padding: 0;
  margin: 0.35rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.plan-card__features li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  line-height: 1.4;
}
.plan-card__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-primary);
}

/* Review Your Details (order.php final wizard step) */
.order-review {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}
.order-review__intro { color: var(--color-text-muted); margin: -0.75rem 0 1.5rem; }
.order-review__content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.order-review__group {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  background: var(--color-bg-alt);
}
.order-review__group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}
.order-review__group-head h3 { font-size: 1rem; margin: 0; }
.order-review__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.9rem 1.5rem;
  margin: 0;
}
.order-review__list > div { display: flex; flex-direction: column; gap: 0.2rem; min-width: 0; }
.order-review__list dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--color-text-muted);
  font-weight: 600;
  margin: 0;
}
.order-review__list dd {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text);
  overflow-wrap: anywhere;
}
.order-review__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1.75rem;
}
.order-review__message { margin-top: 1rem; color: #991b1b; }

/* Optional Add-ons */
.addon-picker-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.addon-picker {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.1rem 1.25rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition);
}
.addon-picker[hidden] { display: none; }
.addon-picker:hover { border-color: var(--color-primary); box-shadow: var(--shadow-sm); }
.addon-picker--selected { border-color: var(--color-primary); background: var(--color-primary-light); }
.addon-picker__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.addon-picker__checkbox-wrap {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}
.addon-picker input[type="checkbox"] {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--color-primary);
  flex-shrink: 0;
}
.addon-picker__name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.addon-picker__price { color: var(--color-primary); font-weight: 600; font-size: 0.9rem; white-space: nowrap; flex-shrink: 0; }
.addon-picker__desc { color: var(--color-text-muted); font-size: 0.85rem; margin: 0; padding-left: 1.75rem; }

/* Sticky total + submit bar */
.order-total-bar {
  position: sticky;
  bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: var(--color-navy);
  color: #fff;
  padding: 1.25rem 1.75rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  flex-wrap: wrap;
  z-index: 5;
}
.order-total-bar__label { font-size: 0.85rem; opacity: 0.8; }
.order-total-bar__amount { font-size: 1.6rem; font-weight: 800; }
.order-total-bar__left { display: flex; align-items: center; gap: 1.1rem; }
/* The wizard's Back button is moved in here (out of the standalone
   .wizard-nav row) on the final step, so it needs to read on the dark navy
   bar instead of the default blue-on-white .btn--outline styling. */
.order-total-bar .btn--outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
  background: transparent;
  flex-shrink: 0;
}
.order-total-bar .btn--outline:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: #fff;
  color: #fff;
}

.order-form__note { text-align: center; color: var(--color-text-muted); font-size: 0.88rem; }

#order-message { text-align: center; color: #dc2626; font-weight: 600; font-size: 0.9rem; }

.order-success {
  text-align: center;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2rem;
  box-shadow: var(--shadow-sm);
}
.order-success .icon { color: var(--color-success); margin: 0 auto 1rem; }
.order-success h2 { margin-bottom: 0.75rem; }
.order-success p { color: var(--color-text-muted); margin-bottom: 1.75rem; max-width: 420px; margin-left: auto; margin-right: auto; }

@media (max-width: 640px) {
  .order-grid { grid-template-columns: 1fr; }
  .order-grid__full { grid-column: auto; }
  .order-section { padding: 1.5rem; }
  .order-total-bar { flex-direction: column; align-items: stretch; text-align: center; position: static; }
  .order-total-bar__left { flex-direction: column; gap: 0.6rem; }
  .services-grid { grid-template-columns: 1fr; }
  .addon-picker-grid { grid-template-columns: 1fr; }
}

/* Phone number field: country-code select joined to the number input */
.phone-field { display: flex; }
.phone-field__code {
  flex: 0 0 auto;
  width: 108px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-right: none;
  padding-left: 0.75rem;
  padding-right: 1.7rem;
  background-position: right 0.55rem center;
  background-size: 0.8rem;
}
.phone-field__number {
  flex: 1 1 auto;
  min-width: 0;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

/* intl-tel-input's own wrapper (.iti) defaults to inline-block/content-width;
   stretch it to fill the .phone-field row like a normal form control. */
.phone-field .iti { flex: 1 1 auto; width: 100%; }

/* Trust badge next to the phone field on order.php, text/visibility driven
   by the admin-editable "happy_customers_by_country" setting (see
   config/site.php's happyCustomersByCountryMap() and admin/settings.php). */
.happy-customers-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.6rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-size: 0.85rem;
  font-weight: 700;
}

/* Simple inline Yes/No (or similar) radio choice, e.g. "Do you offer emergency services?" */
.radio-inline-group { display: flex; align-items: center; gap: 1.75rem; padding: 0.6rem 0; }
.radio-inline { display: flex; align-items: center; gap: 0.5rem; cursor: pointer; font-size: 0.95rem; }
.radio-inline input[type="radio"] {
  width: 1.15rem;
  height: 1.15rem;
  accent-color: var(--color-primary);
  cursor: pointer;
}

/* Services You Offer — checklist tiles shown right after Industry */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
.service-check {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #fff;
  cursor: pointer;
  font-size: 0.92rem;
  transition: all var(--transition);
}
.service-check:hover { border-color: var(--color-primary); }
.service-check input[type="checkbox"] {
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--color-primary);
  flex-shrink: 0;
  cursor: pointer;
}
.service-check--selected { border-color: var(--color-primary); background: var(--color-primary-light); }
.service-check--other {
  border-style: dashed;
  border-color: var(--color-primary);
  color: var(--color-primary);
  font-weight: 600;
}
.service-check--other .icon { width: 18px; height: 18px; color: var(--color-primary); flex-shrink: 0; }
.service-check--other.service-check--selected { background: var(--color-primary-light); }

/* File upload widgets: dashed "before" zone + styled "after" previews */
.upload-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.6rem;
  padding: 2rem 1.5rem;
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg-alt);
  transition: all var(--transition);
}
.upload-zone:hover { border-color: var(--color-primary); background: var(--color-primary-light); }
.upload-zone .icon { color: var(--color-primary); }
.upload-zone__hint { color: var(--color-text-muted); font-size: 0.82rem; margin: 0; }

/* "Pick colors from your logo" swatches (order.php, Style Preferences) */
.logo-color-swatches { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.5rem; }
.logo-color-swatch {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  border: 2px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  overflow: hidden;
}
.logo-color-swatch__btn {
  flex: 1 1 50%;
  height: 100%;
  border: none;
  background: rgba(255, 255, 255, 0.001);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.65);
  cursor: pointer;
  opacity: 0;
  transition: opacity var(--transition), background var(--transition);
}
.logo-color-swatch:hover .logo-color-swatch__btn { opacity: 1; }
.logo-color-swatch__btn:hover { background: rgba(0, 0, 0, 0.28); }

.upload-success-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border: 1.5px solid #bbf7d0;
  background: #f0fdf4;
  border-radius: var(--radius-md);
}
.upload-success-card__thumb {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.upload-success-card__body { display: flex; flex-direction: column; gap: 0.2rem; flex: 1 1 auto; min-width: 0; }
.upload-success-card__status {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--color-success);
  font-weight: 600;
  font-size: 0.88rem;
}
.upload-success-card__status .icon { width: 16px; height: 16px; }
.upload-success-card__name {
  color: var(--color-text-muted);
  font-size: 0.85rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.upload-success-card__actions { display: flex; gap: 0.5rem; flex-shrink: 0; }
.upload-success-card__actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--color-border);
  background: #fff;
  border-radius: var(--radius-sm);
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all var(--transition);
}
.upload-success-card__actions button:hover { border-color: var(--color-primary); color: var(--color-primary); }
.upload-success-card__actions .icon { width: 16px; height: 16px; }

.upload-thumb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 0.9rem;
  margin-top: 1rem;
}
.upload-thumb-grid:empty { margin-top: 0; }
.upload-thumb {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
}
.upload-thumb__img { width: 100%; height: 90px; object-fit: cover; display: block; background: var(--color-bg-alt); }
.upload-thumb__name {
  padding: 0.4rem 0.5rem 0.1rem;
  font-size: 0.75rem;
  color: var(--color-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.upload-thumb__badge {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0 0.5rem 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-success);
}
.upload-thumb__badge .icon { width: 12px; height: 12px; }
.upload-thumb__remove {
  position: absolute;
  top: 0.4rem;
  right: 0.4rem;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.65);
  color: #fff;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  transition: background var(--transition);
}
.upload-thumb__remove:hover { background: #dc2626; }

.upload-file-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1rem;
}
.upload-file-chip {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-bg-alt);
}
.upload-file-chip .icon { color: var(--color-primary); flex-shrink: 0; width: 18px; height: 18px; }
.upload-file-chip__name {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.9rem;
}
.upload-file-chip__remove {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: var(--color-text-muted);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  transition: all var(--transition);
}
.upload-file-chip__remove:hover { background: #fee2e2; color: #dc2626; }

/* ==========================================================================
   Content pages: About / FAQ / Privacy / Terms
   ========================================================================== */

.content-hero {
  padding: calc(var(--header-height) + 3rem) 0 3.5rem;
  text-align: center;
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
}

.content-hero__inner { max-width: 720px; margin: 0 auto; }

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  color: var(--color-primary);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.badge-pill .icon { width: 18px; height: 18px; }

.content-hero h1 { font-size: 2.4rem; margin-bottom: 1rem; }

.content-hero__subtitle {
  color: var(--color-text-muted);
  font-size: 1.1rem;
  line-height: 1.6;
}

.content-hero__subtitle--strong {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.content-section {
  max-width: 760px;
  margin: 0 auto;
  padding: 4rem 1.25rem;
}

.content-section p { color: var(--color-text-muted); line-height: 1.75; margin-bottom: 1.25rem; font-size: 1.05rem; }

.content-section h2 { font-size: 1.5rem; margin-bottom: 1rem; }

.content-card {
  background: var(--color-primary-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin: 2rem 0;
}

.content-card h3 { font-size: 1.15rem; margin-bottom: 1.25rem; }
.content-card p:last-child { margin-bottom: 0; }

.content-block {
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius-md);
  border-left: 3px solid transparent;
  transition: background var(--transition), border-color var(--transition);
  margin-bottom: 0.5rem;
}

.content-block:hover {
  background: var(--color-bg-alt);
  border-left-color: var(--color-primary);
}

.content-block h2 { font-size: 1.25rem; margin-bottom: 0.85rem; }
.content-block p { margin-bottom: 1rem; }
.content-block p:last-child { margin-bottom: 0; }
.content-block a { color: var(--color-primary); font-weight: 600; }

.check-list { list-style: none; margin: 1.25rem 0; }

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  color: var(--color-text-muted);
  font-size: 1.02rem;
  line-height: 1.5;
}

.check-list li:last-child { margin-bottom: 0; }

.check-list .icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--color-success);
  margin-top: 0.15rem;
}

.check-list--grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 2rem;
}

.content-cta {
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  margin-top: 1rem;
}

.content-cta--light {
  background: var(--color-primary-light);
}

.content-cta--light h2 { color: var(--color-text); }
.content-cta--light p { color: var(--color-text-muted); }

.content-cta--solid {
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  color: #fff;
}

.content-cta--solid h2 { color: #fff; }
.content-cta--solid p { opacity: 0.92; }
.content-cta--solid .btn--primary { background: #fff; color: var(--color-primary); border-color: #fff; }
.content-cta--solid .btn--primary:hover { background: var(--color-bg-alt); }
.content-cta--solid .btn--outline { border-color: rgba(255,255,255,0.6); color: #fff; }
.content-cta--solid .btn--outline:hover { background: rgba(255,255,255,0.12); }

.content-cta h2 { margin-bottom: 0.75rem; }
.content-cta p { margin-bottom: 1.75rem; max-width: 480px; margin-left: auto; margin-right: auto; }

/* Contact page — two-column layout (form + sidebar), built on top of the
   shared .content-section/.content-card/.form-* components rather than the
   page's old, entirely unstyled Bootstrap markup (this site loads no
   Bootstrap CSS at all, so those classes never rendered any styling). */
.content-section--wide { max-width: var(--max-width); }

.contact-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-form-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
}

.contact-form-card h2 { margin-bottom: 1.5rem; }

.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-card,
.contact-faq-card {
  margin: 0;
  padding: 2rem;
}

.contact-info-row {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.85rem 0;
  color: var(--color-text);
  border-bottom: 1px solid rgba(29, 78, 216, 0.12);
}

.contact-info-row:last-child { border-bottom: none; padding-bottom: 0; }
.contact-info-row:first-of-type { padding-top: 0; }

.contact-info-row__icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 50%;
  color: var(--color-primary);
}

.contact-info-row__label {
  display: block;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 0.15rem;
}

.contact-info-row__value {
  display: block;
  font-weight: 600;
  color: var(--color-text);
  word-break: break-word;
}

.contact-faq-card p { color: var(--color-text-muted); margin-bottom: 1.25rem; font-size: 0.95rem; }

.form-alert {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
}

.form-alert--success {
  background: rgba(22, 163, 74, 0.1);
  color: #15803d;
}
.form-alert--success .icon { color: var(--color-success); flex-shrink: 0; margin-top: 0.1rem; }

.form-alert--error {
  background: rgba(220, 38, 38, 0.08);
  color: #b91c1c;
}
.form-alert--error ul { margin: 0; padding-left: 1.1rem; }

@media (max-width: 860px) {
  .contact-layout { grid-template-columns: 1fr; }
}

/* Login page — Google sign-in button + the existing admin/developer/customer
   password form, both wrapped in one narrow centered card. */
.auth-page { display: flex; justify-content: center; }
.auth-card {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
}
.auth-card h1 { font-size: 1.5rem; margin-bottom: 1.5rem; text-align: center; }
.auth-card__footer { text-align: center; margin-top: 1.25rem; margin-bottom: 0; font-size: 0.9rem; }

.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--color-text);
  font-weight: 600;
  font-size: 0.95rem;
  transition: background var(--transition), box-shadow var(--transition);
}
.btn-google:hover { background: var(--color-bg-alt); color: var(--color-text); }
.btn-google .icon { width: 20px; height: 20px; flex-shrink: 0; }

.auth-divider {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  margin: 1.5rem 0;
}
.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-border);
}

.content-cta__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .content-hero h1 { font-size: 1.75rem; }
  .content-section { padding: 2.5rem 1.25rem; }
  .content-card { padding: 1.75rem 1.5rem; }
  .check-list--grid { grid-template-columns: 1fr; }
}
