/* =============================================
   ROGUE PRODUCTIONS — MAIN STYLESHEET
   Mobile-first responsive design
   ============================================= */

/* -----------------------------------------
   WIP BANNER
   ----------------------------------------- */
.wip-banner {
  background-color: var(--color-primary, #0078d4);
  color: #fff;
  text-align: center;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.3s ease, color 0.3s ease;
}

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

a {
  color: var(--text-link);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--text-link-hover);
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* Accessibility: Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--color-primary);
  color: var(--text-inverse);
  padding: 0.75rem 1.5rem;
  z-index: 10000;
  font-weight: 600;
}

.skip-link:focus {
  top: 0;
}

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


/* -----------------------------------------
   SCROLLBAR
   ----------------------------------------- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--scrollbar-track);
}

::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb);
  border-radius: var(--border-radius);
}


/* -----------------------------------------
   CONTAINER
   ----------------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}


/* -----------------------------------------
   TYPOGRAPHY
   ----------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-weight: 600;
  line-height: 1.25;
  color: var(--text-primary);
}

h1 { font-size: 2rem; }
h2 { font-size: 1.625rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.125rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.text--lead {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

strong {
  font-weight: 600;
}


/* -----------------------------------------
   BUTTONS
   ----------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.5;
  border-radius: var(--border-radius);
  transition: all 0.2s ease;
  text-align: center;
  white-space: nowrap;
}

.btn--primary {
  background-color: var(--color-primary);
  color: var(--text-inverse);
  border: 2px solid var(--color-primary);
}
.btn--primary:hover {
  background-color: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  color: var(--text-inverse);
}

.btn--outline {
  background-color: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.btn--outline:hover {
  background-color: var(--color-primary);
  color: var(--text-inverse);
}

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

.btn--sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

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


/* -----------------------------------------
   ALERTS
   ----------------------------------------- */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--border-radius);
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.alert--success {
  background-color: var(--bg-alert-success);
  border: 1px solid #86efac;
  color: #166534;
}

.alert--error {
  background-color: var(--bg-alert-error);
  border: 1px solid #fca5a5;
  color: #991b1b;
}

.alert--info {
  background-color: var(--bg-alert-info);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
}

.alert__list {
  margin-top: 0.5rem;
  padding-left: 1.25rem;
  list-style: disc;
}

.alert__list li {
  margin-bottom: 0.25rem;
}


/* -----------------------------------------
   NAVBAR
   ----------------------------------------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--bg-navbar);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--navbar-shadow);
  transition: background-color 0.3s ease;
}

.navbar__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  height: 64px;
}

.navbar__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.navbar__logo-img {
  height: 42px;
  width: auto;
}

/* Dark theme uses white font logo */
.navbar__logo-img--dark {
  display: none;
}

[data-theme="dark"] .navbar__logo-img--default {
  display: none;
}

[data-theme="dark"] .navbar__logo-img--dark {
  display: block;
}

/* Hamburger button */
.navbar__toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 4px;
  z-index: 1001;
}

.navbar__toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--navbar-text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.navbar__toggle[aria-expanded="true"] .navbar__toggle-bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.navbar__toggle[aria-expanded="true"] .navbar__toggle-bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu */
.navbar__menu {
  position: fixed;
  top: 64px;
  right: -100%;
  width: 280px;
  height: calc(100vh - 64px);
  background-color: var(--bg-surface-elevated);
  box-shadow: var(--shadow-xl);
  transition: right 0.3s ease;
  overflow-y: auto;
  z-index: 999;
}

.navbar__menu.is-open {
  right: 0;
}

.navbar__list {
  padding: 1rem 0;
}

.navbar__item {
  border-bottom: 1px solid var(--border-color-light);
}

.navbar__link {
  display: block;
  padding: 1rem 1.5rem;
  color: var(--navbar-text);
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.navbar__link:hover {
  color: var(--navbar-text-hover);
  background-color: var(--bg-surface);
}

.navbar__link--active {
  color: var(--navbar-text-active);
  font-weight: 600;
}

/* Theme switcher in navbar */
.navbar__theme-switcher {
  display: none;
}

.theme-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--border-radius);
  color: var(--theme-btn-text);
  background: var(--theme-btn-bg);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.theme-btn:hover {
  background-color: var(--theme-btn-hover);
  color: var(--text-primary);
}

.theme-btn.is-active {
  background-color: var(--color-primary-light);
  color: var(--color-primary);
}


/* -----------------------------------------
   HERO SECTION
   ----------------------------------------- */
.hero {
  background: var(--bg-hero);
  padding: 4rem 0 8rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1000px;
  height: 1000px;
  background: url('/images/branding/RogueProductionsLogo_Trans_CloseCrop_2_waveonly.png') center / contain no-repeat;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}

/* Wave SVG element inside hero sections */
.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 90px;
  display: block;
  z-index: 1;
  pointer-events: none;
}

.hero-wave__fill {
  fill: var(--bg-primary);
}

.hero-wave__accent {
  fill: rgba(146, 174, 181, 0.25);
}

.hero__content {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero__title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--text-hero);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero__highlight {
  background: linear-gradient(135deg, #ece8e7, #92aeb5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: 1.0625rem;
  color: var(--text-hero);
  opacity: 0.9;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero__cta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}

.hero__cta .btn--outline {
  color: var(--text-hero);
  border-color: rgba(255, 255, 255, 0.5);
}

.hero__cta .btn--outline:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.8);
  color: var(--text-hero);
}


/* Page Hero (for sub-pages) */
.page-hero {
  background: var(--bg-hero);
  padding: 3rem 0 4.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: url('/images/branding/RogueProductionsLogo_Trans_CloseCrop_2_waveonly.png') center / contain no-repeat;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}

.page-hero .hero-wave {
  height: 70px;
}

.page-hero__title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-hero);
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}

.page-hero__subtitle {
  font-size: 1.0625rem;
  color: var(--text-hero);
  opacity: 0.85;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}


/* -----------------------------------------
   SECTIONS
   ----------------------------------------- */
.section {
  padding: 3rem 0;
}

.section--alt {
  background-color: var(--bg-section-alt);
}

.section__title {
  font-size: 1.625rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.section__subtitle {
  text-align: center;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  font-size: 1rem;
}


/* -----------------------------------------
   CARDS (Services)
   ----------------------------------------- */
.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.services__grid--centered {
  max-width: 32rem;
  margin: 0 auto;
}

.card {
  background-color: var(--bg-card);
  border-radius: var(--border-radius-lg);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-md);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.3s ease;
  border: 1px solid var(--border-color-light);
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  background-color: var(--bg-card-hover);
}

.card__icon {
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.card__title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.card__text {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-size: 0.9375rem;
  line-height: 1.65;
}

.card__link {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--color-primary);
}

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

.card--placeholder {
  opacity: 0.55;
  border-style: dashed;
}

.card--placeholder:hover {
  transform: none;
  box-shadow: var(--shadow-md);
}

.card--featured-package {
  border-color: var(--color-primary);
  border-width: 2px;
}



/* -----------------------------------------
   WHY US SECTION
   ----------------------------------------- */
.why-us__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.why-us__item {
  text-align: center;
}

.why-us__icon {
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.why-us__title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.why-us__text {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.65;
}


/* -----------------------------------------
   TESTIMONIALS
   ----------------------------------------- */
.testimonials__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.testimonial {
  background-color: var(--bg-card);
  border-radius: var(--border-radius-lg);
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--border-color-light);
  box-shadow: var(--shadow-sm);
}

.testimonial__text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  font-style: italic;
}

.testimonial__author {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.testimonial__author strong {
  color: var(--text-primary);
  font-weight: 600;
}

.testimonial__author span {
  color: var(--text-muted);
  font-size: 0.875rem;
}


/* -----------------------------------------
   CTA SECTION
   ----------------------------------------- */
.cta {
  background: var(--bg-cta);
}

.cta__content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta__title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-cta);
  margin-bottom: 0.75rem;
}

.cta__text {
  color: var(--text-cta);
  opacity: 0.9;
  margin-bottom: 1.5rem;
  font-size: 1.0625rem;
}

.cta__buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}

.cta__buttons .btn--outline {
  color: var(--text-cta);
  border-color: rgba(255, 255, 255, 0.5);
}

.cta__buttons .btn--outline:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.8);
  color: var(--text-cta);
}


/* -----------------------------------------
   CONTENT BLOCKS (About page)
   ----------------------------------------- */
.content-block {
  max-width: 800px;
  margin: 0 auto;
}

.content-block--centered {
  text-align: center;
}

.content-block__body {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-secondary);
}

.content-block__body--narrow {
  max-width: 700px;
  margin: 0 auto;
}

.content-block__body p {
  margin-bottom: 1.25rem;
}


/* -----------------------------------------
   VALUES (About page)
   ----------------------------------------- */
.values__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.value-card {
  background-color: var(--bg-card);
  border-radius: var(--border-radius-lg);
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--border-color-light);
  box-shadow: var(--shadow-sm);
}

.value-card__icon {
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.value-card__title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.value-card__text {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.65;
}





/* -----------------------------------------
   CONTACT PAGE
   ----------------------------------------- */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.contact__info {
  order: 2;
}

.contact__info-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.contact__info-block {
  margin-bottom: 1.5rem;
}

.contact__info-label {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 0.375rem;
}

.contact__info-text {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  margin-bottom: 0;
}

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

.contact__social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-link);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: color 0.2s ease;
}

.contact__social-link:hover {
  color: var(--text-link-hover);
}


/* -----------------------------------------
   FORMS
   ----------------------------------------- */
.form__group {
  margin-bottom: 1.75rem;
}

.form__label {
  display: block;
  font-weight: 500;
  font-size: 0.9375rem;
  margin-bottom: 0.375rem;
  color: var(--text-primary);
}

.form__required {
  color: #ef4444;
}

.form__optional {
  color: var(--text-muted);
  font-weight: 400;
  font-size: 0.8125rem;
}

.form__input {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--text-primary);
  background-color: var(--bg-input);
  border: 1px solid var(--border-color-input);
  border-radius: var(--border-radius);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.3s ease;
  -webkit-appearance: none;
}

.form__input:focus {
  outline: none;
  border-color: var(--border-color-focus);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.form__input--error {
  border-color: #ef4444;
}

.form__input--error:focus {
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.form__textarea {
  resize: vertical;
  min-height: 120px;
}

.form__char-count {
  text-align: right;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  transition: color 0.2s ease;
}

.form__char-count--warning {
  color: #f59e0b;
  font-weight: 600;
}

.form__char-count--over {
  color: #ef4444;
  font-weight: 700;
}

/* Honeypot — invisible to humans */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.form__captcha-question {
  font-size: 1rem;
  margin: 0.25rem 0 0.5rem;
  color: var(--text-primary);
}

.form__input--narrow {
  max-width: 160px;
}

.form__hint {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.form__error {
  display: block;
  font-size: 0.8125rem;
  color: #ef4444;
  margin-top: 0.25rem;
  min-height: 1.25rem;
}


/* -----------------------------------------
   LEGAL PAGES (Privacy, Terms)
   ----------------------------------------- */
.legal__content {
  max-width: 800px;
  margin: 0 auto;
}

.legal__toc {
  background-color: var(--bg-surface);
  border-radius: var(--border-radius-lg);
  padding: 1.5rem;
  margin-bottom: 2.5rem;
  border: 1px solid var(--border-color-light);
}

.legal__toc-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.legal__toc-list {
  padding-left: 1.25rem;
  list-style: decimal;
}

.legal__toc-list li {
  margin-bottom: 0.375rem;
}

.legal__toc-link {
  font-size: 0.9375rem;
}

.legal__article section {
  margin-bottom: 2.5rem;
}

.legal__article h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-color-light);
}

.legal__article h4 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.legal__article p {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.legal__article ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  list-style: disc;
}

.legal__article ul li {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}



/* -----------------------------------------
   ERROR PAGES
   ----------------------------------------- */
.error-page {
  padding: 4rem 0;
  text-align: center;
}

.error-page__content {
  max-width: 500px;
  margin: 0 auto;
}

.error-page__code {
  font-size: 6rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.error-page__title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.error-page__text {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-size: 1rem;
}

.error-page__actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.error-page__details {
  margin-top: 2rem;
  text-align: left;
}

.error-page__details summary {
  cursor: pointer;
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

.error-page__trace {
  background-color: var(--bg-code);
  padding: 1rem;
  border-radius: var(--border-radius);
  font-family: 'Courier New', monospace;
  font-size: 0.8125rem;
  line-height: 1.5;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-all;
  color: var(--text-secondary);
}


/* -----------------------------------------
   FOOTER
   ----------------------------------------- */
.footer {
  background-color: var(--bg-footer);
  color: var(--text-footer);
  padding-top: 3rem;
  transition: background-color 0.3s ease;
}

.footer__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

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

.footer__logo {
  display: inline-block;
  margin-bottom: 1rem;
}

.footer__logo-img {
  height: 160px;
  width: auto;
}

.footer__tagline {
  color: var(--text-footer);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

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

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--border-radius);
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-footer);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.footer__social-link:hover {
  background-color: var(--color-primary);
  color: var(--text-inverse);
}

.footer__social-icon {
  flex-shrink: 0;
}

.footer__heading {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-footer-heading);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer__heading--mt {
  margin-top: 1.5rem;
}

.footer__nav li {
  margin-bottom: 0.5rem;
}

.footer__link {
  color: var(--text-footer);
  font-size: 0.9375rem;
  transition: color 0.2s ease;
}

.footer__link:hover {
  color: var(--text-footer-heading);
}

.footer__text {
  color: var(--text-footer);
  font-size: 0.9375rem;
  margin-bottom: 0;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem 0;
  text-align: center;
}

.footer__copyright {
  color: var(--text-footer);
  font-size: 0.8125rem;
  margin-bottom: 0;
}


/* -----------------------------------------
   RESPONSIVE — TABLET (>=576px)
   ----------------------------------------- */
@media (min-width: 576px) {
  .container {
    padding: 0 1.5rem;
  }

  h1 { font-size: 2.5rem; }
  h2 { font-size: 1.875rem; }

  .hero__title {
    font-size: 2.75rem;
  }

  .hero__cta {
    flex-direction: row;
    justify-content: center;
  }

  .cta__buttons {
    flex-direction: row;
    justify-content: center;
  }

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

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

  .why-us__grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

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


/* -----------------------------------------
   RESPONSIVE — TABLET LANDSCAPE (>=768px)
   ----------------------------------------- */
@media (min-width: 768px) {
  .section {
    padding: 4rem 0;
  }

  .hero {
    padding: 5rem 0 9rem;
  }

  .hero-wave {
    height: 100px;
  }

  .page-hero {
    padding: 3.5rem 0 4.5rem;
  }

  .page-hero .hero-wave {
    height: 80px;
  }

  .hero__title {
    font-size: 3rem;
  }

  .hero__subtitle {
    font-size: 1.125rem;
  }

  .page-hero__title {
    font-size: 2.5rem;
  }

  .contact__grid {
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
  }

  .contact__info {
    order: 0;
  }

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

  /* Show theme switcher on tablet+ */
  .navbar__theme-switcher {
    display: flex;
    gap: 0.25rem;
    margin-left: auto;
    margin-right: 0.5rem;
  }
}


/* -----------------------------------------
   RESPONSIVE — DESKTOP (>=992px)
   ----------------------------------------- */
@media (min-width: 992px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2rem; }

  .hero__title {
    font-size: 3.5rem;
  }

  /* Desktop nav: full horizontal */
  .navbar__toggle {
    display: none;
  }

  .navbar__menu {
    position: static;
    width: auto;
    height: auto;
    background-color: transparent;
    box-shadow: none;
    overflow: visible;
    flex: 1;
  }

  .navbar__list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 0;
  }

  .navbar__item {
    border-bottom: none;
  }

  .navbar__link {
    padding: 0.5rem 1rem;
    font-size: 0.9375rem;
    border-radius: var(--border-radius);
  }

  .navbar__link:hover {
    background-color: transparent;
  }

  .navbar__link--active {
    position: relative;
  }

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

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

  .testimonials__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}


/* -----------------------------------------
   RESPONSIVE — LARGE DESKTOP (>=1200px)
   ----------------------------------------- */
@media (min-width: 1200px) {
  .container {
    padding: 0 2rem;
  }

  .hero {
    padding: 6rem 0 10rem;
  }

  .hero-wave {
    height: 120px;
  }

  .page-hero .hero-wave {
    height: 90px;
  }

  .hero__title {
    font-size: 3.75rem;
  }
}


/* -----------------------------------------
   NEW COMPONENT STYLES
   ----------------------------------------- */

/* Check list with checkmark bullets */
.check-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem auto;
  display: inline-block;
  text-align: left;
}

.check-list__item {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  line-height: 1.6;
  color: var(--text-primary);
}

.check-list__item::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
}

/* Card badge (best-for labels) */
.card__badge {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-primary);
  background: var(--color-primary-light);
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 0.75rem;
}

/* Card meta info */
.card__meta {
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
}

.card__meta-item {
  font-size: 0.8125rem;
  font-style: italic;
  color: var(--text-secondary);
}

/* Card details (what's included lists) */
.card__details {
  margin-top: 1rem;
  margin-bottom: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.card__details-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.card__details-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.card__details-list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.375rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.card__details-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.75rem;
}


/* -----------------------------------------
   DOMAIN TRANSFER GUIDE
   ----------------------------------------- */
.guide-timeline {
  max-width: 48rem;
  margin: 0 auto;
  position: relative;
  padding-left: 3.5rem;
}

.guide-timeline::before {
  content: '';
  position: absolute;
  left: 1.125rem;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--color-primary);
  opacity: 0.25;
  border-radius: 2px;
}

.guide-step {
  position: relative;
  margin-bottom: 2.5rem;
}

.guide-step:last-child {
  margin-bottom: 0;
}

.guide-step__number {
  position: absolute;
  left: -3.5rem;
  top: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  z-index: 1;
}

.guide-step__content {
  background: var(--bg-card, var(--bg-secondary));
  border-radius: 0.75rem;
  padding: 1.5rem;
  border: 1px solid var(--border-color, rgba(0, 0, 0, 0.08));
}

.guide-step__title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.guide-step__content p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.65;
  margin-bottom: 0.75rem;
}

.guide-step__content p:last-child {
  margin-bottom: 0;
}

.guide-step__content ul {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.65;
  padding-left: 1.25rem;
  margin-bottom: 0.75rem;
}

.guide-step__content ul:last-child {
  margin-bottom: 0;
}

.guide-step__content li {
  margin-bottom: 0.35rem;
}

/* Transfer Timeline Overview (horizontal mini-timeline) */
.transfer-timeline-overview {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  padding: 1.5rem 0;
}

.timeline-step-mini {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 5.5rem;
  max-width: 7rem;
}

.timeline-step-mini__icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  flex-shrink: 0;
}

.timeline-step-mini__label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-color);
  line-height: 1.3;
}

.timeline-step-mini__connector {
  width: 2rem;
  height: 2px;
  background: var(--color-primary);
  margin-top: 1.4rem;
  flex-shrink: 0;
  opacity: 0.5;
}

@media (max-width: 600px) {
  .transfer-timeline-overview {
    gap: 0.75rem 0;
  }
  .timeline-step-mini__connector {
    width: 1rem;
  }
  .timeline-step-mini {
    min-width: 4rem;
  }
}

@media (min-width: 768px) {
  .guide-timeline {
    padding-left: 4.5rem;
  }

  .guide-timeline::before {
    left: 1.375rem;
  }

  .guide-step__number {
    left: -4.5rem;
    width: 2.75rem;
    height: 2.75rem;
    font-size: 1rem;
  }

  .guide-step__content {
    padding: 2rem;
  }
}

@media (min-width: 1024px) {
  .why-us__grid--four {
    grid-template-columns: repeat(4, 1fr);
  }
  .why-us__grid--two-col {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* -----------------------------------------
   FAQ PAGE
   ----------------------------------------- */
.faq-list {
  max-width: 48rem;
  margin: 0 auto;
}

.faq-group {
  margin-bottom: 2.5rem;
}

.faq-group:last-child {
  margin-bottom: 0;
}

.faq-group__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-primary);
}

.faq-item {
  margin-bottom: 0.5rem;
  border: 1px solid var(--border-color, rgba(0, 0, 0, 0.08));
  border-radius: 0.5rem;
  overflow: hidden;
  background: var(--bg-card, var(--bg-secondary));
}

.faq-item[open] {
  margin-bottom: 0.75rem;
}

.faq-item__question {
  padding: 1rem 1.25rem;
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: background-color 0.2s ease;
}

.faq-item__question:hover {
  background: var(--bg-hover, rgba(0, 0, 0, 0.03));
}

.faq-item__question::-webkit-details-marker {
  display: none;
}

.faq-item__question::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--color-primary);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-item__question::after {
  content: '\2212';
}

.faq-item__answer {
  padding: 0 1.25rem 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.faq-item__answer p {
  margin-bottom: 0.75rem;
}

.faq-item__answer p:last-child {
  margin-bottom: 0;
}

.faq-item__answer ul {
  padding-left: 1.25rem;
  margin-bottom: 0.75rem;
}

.faq-item__answer ul:last-child {
  margin-bottom: 0;
}

.faq-item__answer li {
  margin-bottom: 0.35rem;
}

.faq-item__answer a {
  color: var(--color-primary);
  text-decoration: underline;
}


/* -----------------------------------------
   DEPLOYMENT STEPS (single column)
   ----------------------------------------- */
.deploy-steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 36rem;
  margin: 1.5rem auto 0;
}

.deploy-steps__item {
  text-align: left;
}

.deploy-steps__title {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.deploy-steps__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.8125rem;
  margin-right: 0.5rem;
  vertical-align: middle;
}

.deploy-steps__text {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.65;
  padding-left: 2.25rem;
}

.deploy-steps__text a {
  color: var(--color-primary);
  text-decoration: underline;
}


/* -----------------------------------------
   CLICKABLE CARD (anchor wrapper)
   ----------------------------------------- */
a.card--link {
  display: block;
  text-decoration: none;
  color: inherit;
}

a.card--link:hover {
  color: inherit;
}


/* -----------------------------------------
   ARTICLE PAGE
   ----------------------------------------- */
.article__badge {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #fff;
  background: var(--color-primary);
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.article__intro {
  max-width: 48rem;
  margin: 0 auto;
}

.article__sign {
  max-width: 48rem;
  margin: 0 auto;
}

.article__sign-header {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.article__sign-number {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.125rem;
}

.article__sign-title {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}

.article__sign-subtitle {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  font-style: italic;
}

.article__image {
  margin-bottom: 1.5rem;
  border-radius: var(--border-radius-lg, 12px);
  overflow: hidden;
}

.article__image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 500px;
  object-position: center bottom;
}

.article__sign-body {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--text-secondary);
}

.article__sign-body h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.article__sign-body p {
  margin-bottom: 1rem;
}

.article__sign-body ul {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.article__sign-body li {
  margin-bottom: 0.5rem;
}

.article__callout {
  display: flex;
  gap: 1rem;
  background: var(--color-primary-light, rgba(60, 130, 145, 0.08));
  border-left: 4px solid var(--color-primary);
  border-radius: 0 var(--border-radius, 8px) var(--border-radius, 8px) 0;
  padding: 1.25rem 1.5rem;
  margin-top: 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.article__callout-icon {
  flex-shrink: 0;
  color: var(--color-primary);
  margin-top: 0.125rem;
}

.article__link--booking {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article__link--booking:hover {
  color: var(--color-primary-dark, var(--color-primary));
}

.article__conclusion {
  max-width: 48rem;
  margin: 0 auto;
}

.article__conclusion-body {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-secondary);
}

.article__conclusion-body p {
  margin-bottom: 1.25rem;
}

.article__conclusion-body p:last-child {
  margin-bottom: 0;
}

@media (max-width: 600px) {
  .article__sign-header {
    flex-direction: column;
    gap: 0.75rem;
  }

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


/* -----------------------------------------
   PRINT STYLES
   ----------------------------------------- */

/* -----------------------------------------
   SERVICES PAGE — TIER OFFERINGS
   ----------------------------------------- */
.tier-card {
  text-align: center;
}

.tier-card--primary {
  border-color: var(--color-primary);
  border-width: 2px;
}

.tier-card__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  background: var(--color-primary-light, rgba(60, 130, 145, 0.08));
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 0.75rem;
}

.tier-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.tier-header__badge {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  background: var(--color-primary);
  padding: 0.375rem 1rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}
.tier-header__badge--dfy { background: #3c8291; }
.tier-header__badge--dwy { background: #3c8291; }
.tier-header__badge--diy { background: #3c8291; }
[data-theme="dark"] .tier-header__badge--dfy { background: #3c8291; }
[data-theme="dark"] .tier-header__badge--dwy { background: #3c8291; }
[data-theme="dark"] .tier-header__badge--diy { background: #3c8291; }

.tier-details {
  max-width: 48rem;
  margin: 0 auto 2rem;
}

.tier-detail {
  margin-bottom: 1.5rem;
}

.tier-detail__heading {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.tier-detail p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.tier-pricing {
  text-align: center;
  max-width: 36rem;
  margin: 2rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color, rgba(0, 0, 0, 0.08));
}

.tier-pricing__label {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.tier-pricing__note {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.tier-pricing__note a {
  color: var(--color-primary);
  text-decoration: underline;
}

.tier-offerings {
  max-width: 48rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.tier-offering {
  background: var(--bg-card);
  border-radius: var(--border-radius-lg);
  padding: 2rem 1.5rem;
  border: 1px solid var(--border-color-light, rgba(0, 0, 0, 0.08));
  box-shadow: var(--shadow-sm);
}

.tier-offering__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.tier-offering__desc {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.tier-offering__status {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  font-style: italic;
  color: var(--text-muted);
  margin-top: 0.5rem;
}


@media print {
  .navbar,
  .footer,
  .cta,
  .hero__cta,
  .navbar__theme-switcher {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  .hero,
  .page-hero,
  .cta {
    background: #f5f5f5 !important;
    color: #000 !important;
  }

  a {
    color: #000;
    text-decoration: underline;
  }
}
