/* ===================================================================
   BOOSIE LEGACY — PRODUCTION STYLES
   Design System: Warm earth tones, cinematic layout, mobile-first
   =================================================================== */

/* ===== CSS Custom Properties (Design Tokens) ===== */
:root {
  --boosie-black: #1A1A1A;
  --steel-grey: #4D4D4D;
  --warm-cocoa: #5C4635;
  --puppy-cream: #E8D9B9;
  --legacy-gold: #CDAE63;
  --forest-fade: #0D2A1E;
  --sand-tan: #BCA98A;
  --sky-mist: #DCE5E2;
  --white: #fff;
  --instagram-pink: #E1306C;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  color: var(--boosie-black);
  background: #f9f8f5;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', serif;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 16px;
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 18px;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 700;
  margin-bottom: 10px;
}

h4 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 8px;
}

p {
  margin: 0 0 16px;
  line-height: 1.7;
}

.muted {
  color: var(--steel-grey);
}

.sub {
  color: var(--steel-grey);
  margin-top: -8px;
  font-size: 1.05rem;
}

.tiny {
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ===== Header (Sticky Navigation) ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: saturate(180%) blur(8px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--sky-mist);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 6vw;
  transition: box-shadow 0.2s ease;
  gap: 24px;
}

.header:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  font-weight: 700;
  font-size: 1.1rem;
  transition: opacity 0.2s ease;
}

.brand:hover {
  opacity: 0.8;
}

.header__contact {
  display: flex;
  align-items: center;
  margin-right: auto;
  margin-left: 20px;
}

.header__email {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--steel-grey);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.header__email:hover {
  color: var(--legacy-gold);
}

.header__email svg {
  flex-shrink: 0;
}

.nav {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.nav a {
  font-weight: 600;
  color: var(--steel-grey);
  transition: color 0.2s ease;
  font-size: 0.95rem;
  /* Touch target optimization */
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 4px 0;
}

.nav a:hover {
  color: var(--boosie-black);
}

/* Hide mobile-specific nav by default */
.nav-mobile {
  display: none !important;
}

.nav-instagram {
  display: flex;
  align-items: center;
  color: var(--instagram-pink);
}

.nav-instagram:hover {
  opacity: 0.8;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  padding: 12px 20px;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  font-family: 'Inter', sans-serif;
  white-space: nowrap;
  /* Touch target optimization */
  min-height: 44px;
  -webkit-tap-highlight-color: rgba(205, 174, 99, 0.3);
  touch-action: manipulation;
}

.btn-primary {
  background: var(--legacy-gold);
  color: var(--boosie-black);
  box-shadow: 0 2px 6px rgba(205, 174, 99, 0.3);
}

.btn-primary:hover {
  filter: brightness(0.92);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(205, 174, 99, 0.4);
}

.btn-primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.btn-secondary {
  color: var(--legacy-gold);
  border-color: var(--legacy-gold);
  background: transparent;
}

.btn-secondary:hover {
  background: var(--legacy-gold);
  color: var(--boosie-black);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
}

/* ===== Sections ===== */
.section {
  padding: 80px 6vw;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 48px;
}

.section--story {
  background: var(--white);
}

.section--badges {
  background: var(--sand-tan);
}

.section--puppies {
  background: var(--white);
}

.section--included {
  background: var(--sand-tan);
}

.section--steps {
  background: var(--white);
}

.section--merch {
  background: linear-gradient(135deg, var(--warm-cocoa) 0%, var(--forest-fade) 100%);
  color: var(--white);
  text-align: center;
}

.section--waitlist {
  background: var(--forest-fade);
  color: var(--white);
  text-align: center;
}

/* ===== Hero ===== */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding: 72px 6vw;
  background: linear-gradient(180deg, #0D2A1E 0%, #123728 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(205, 174, 99, 0.1), transparent);
  pointer-events: none;
}

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

.hero__media img {
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  border: 3px solid rgba(255, 255, 255, 0.1);
}

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

.hero__badge {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero__cta {
  display: flex;
  gap: 14px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.hero__copy h1 {
  font-weight: 800;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero__copy p {
  font-size: 1.1rem;
  line-height: 1.7;
  opacity: 0.95;
}

/* ===== Story Section ===== */
.story__content {
  max-width: 1200px;
  margin: 0 auto;
}

.story__content h2 {
  text-align: center;
  margin-bottom: 48px;
}

.story__grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.story__text p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.story__text strong {
  color: var(--legacy-gold);
  font-weight: 700;
}

.story__promise {
  background: var(--puppy-cream);
  border-left: 4px solid var(--legacy-gold);
  padding: 24px;
  border-radius: 8px;
  margin-top: 32px;
}

.story__promise h3 {
  color: var(--warm-cocoa);
  margin-bottom: 12px;
}

.story__promise p {
  margin: 0;
  color: var(--boosie-black);
}

.story__social {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.social-card {
  background: var(--white);
  border: 2px solid var(--sky-mist);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.social-card:hover {
  border-color: var(--instagram-pink);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(225, 48, 108, 0.15);
}

.social-card h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.social-card a {
  color: var(--instagram-pink);
  font-weight: 700;
  font-size: 1rem;
  display: block;
  margin-bottom: 4px;
}

.social-card a:hover {
  text-decoration: underline;
}

.social-card p {
  margin: 0;
  font-size: 0.85rem;
}

.story__cta {
  text-align: center;
  margin-top: 48px;
}

/* ===== Badges ===== */
.badges {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.badges li {
  background: var(--white);
  border: 2px solid var(--sky-mist);
  border-radius: 14px;
  padding: 28px 24px;
  text-align: center;
  transition: all 0.2s ease;
}

.badges li:hover {
  border-color: var(--legacy-gold);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.badge-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.badges strong {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--boosie-black);
}

.badges span {
  display: block;
  color: var(--steel-grey);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===== As Seen Badge ===== */
.as-seen {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(225, 48, 108, 0.1);
  color: var(--instagram-pink);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 16px;
}

/* ===== Grid / Puppy Cards ===== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
}

.card {
  background: var(--white);
  border: 2px solid var(--sky-mist);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
}

.card:hover {
  border-color: var(--legacy-gold);
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

/* Sold card styling */
.card--sold {
  opacity: 0.85;
  border-color: var(--warm-cocoa);
}

.card--sold:hover {
  transform: none;
  border-color: var(--warm-cocoa);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.card--sold img {
  filter: grayscale(20%) brightness(0.95);
}

.card--sold h3 {
  color: var(--warm-cocoa);
}

.sold-message {
  background: rgba(92, 70, 53, 0.1);
  padding: 16px;
  border-radius: 8px;
  margin-top: 12px;
  border-left: 3px solid var(--warm-cocoa);
}

.sold-message p {
  margin: 0;
}

.sold-message strong {
  color: var(--warm-cocoa);
  font-size: 0.95rem;
}

.card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--legacy-gold);
  color: var(--boosie-black);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.card-badge--sold {
  background: var(--warm-cocoa);
  color: var(--white);
}

.card img {
  height: 280px;
  width: 100%;
  object-fit: cover;
}

.card__body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--boosie-black);
}

.card .muted {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}

.pill {
  font-size: 0.9rem;
  background: var(--puppy-cream);
  color: var(--warm-cocoa);
  padding: 10px 14px;
  border-radius: 999px;
  display: inline-block;
  font-weight: 600;
  margin-bottom: 12px;
}

.included-mini {
  background: rgba(205, 174, 99, 0.1);
  padding: 10px;
  border-radius: 6px;
  margin-bottom: 16px;
}

.included-mini small {
  font-size: 0.85rem;
  color: var(--steel-grey);
  font-weight: 500;
}

.actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
  flex-wrap: wrap;
}

.actions .btn {
  flex: 1;
  min-width: 130px;
  font-size: 0.8rem;
  padding: 11px 16px;
}

/* ===== Urgency Banner ===== */
.urgency-banner {
  background: var(--forest-fade);
  color: var(--white);
  padding: 20px 32px;
  border-radius: 12px;
  text-align: center;
  margin-top: 48px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.urgency-banner p {
  margin: 0;
  font-size: 1.05rem;
}

/* ===== What's Included List ===== */
.list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 32px auto 0;
}

.list li {
  background: var(--white);
  border: 2px solid var(--sky-mist);
  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.list strong {
  font-size: 1.05rem;
  color: var(--boosie-black);
  font-weight: 700;
}

.list span {
  font-size: 0.9rem;
  color: var(--steel-grey);
}

/* ===== Steps (How It Works) ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  max-width: 1000px;
  margin: 32px auto 0;
  padding: 0;
}

.steps li {
  background: var(--white);
  border: 2px solid var(--sky-mist);
  border-radius: 12px;
  padding: 28px 24px;
  text-align: center;
  position: relative;
}

.step-number {
  width: 48px;
  height: 48px;
  background: var(--legacy-gold);
  color: var(--boosie-black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 auto 16px;
  font-family: 'Cormorant Garamond', serif;
}

.steps strong {
  display: block;
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--boosie-black);
}

.steps p {
  margin: 0;
  color: var(--steel-grey);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===== Merch Section ===== */
.merch__content {
  max-width: 700px;
  margin: 0 auto;
}

.merch__icon {
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.merch__content h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.merch__content p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 32px;
  opacity: 0.95;
}

/* ===== Inline Forms ===== */
.inline-form {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 24px;
  flex-wrap: wrap;
}

.inline-form input {
  padding: 14px 18px;
  border: 2px solid var(--sky-mist);
  border-radius: 8px;
  width: min(420px, 100%);
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s ease;
}

.inline-form input:focus {
  outline: none;
  border-color: var(--legacy-gold);
}

.section--waitlist .inline-form input,
.section--merch .inline-form input {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  backdrop-filter: blur(8px);
}

.section--waitlist .inline-form input::placeholder,
.section--merch .inline-form input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.section--waitlist .inline-form input:focus,
.section--merch .inline-form input:focus {
  border-color: var(--legacy-gold);
  background: rgba(255, 255, 255, 0.2);
}

/* ===== Footer ===== */
.footer {
  background: #0f1e17;
  color: #cfd7d3;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: center;
  padding: 32px 6vw;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer__brand strong {
  display: block;
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 2px;
}

.footer__brand .tiny {
  margin: 0;
  color: #cfd7d3;
}

.footer__nav {
  display: flex;
  gap: 24px;
  justify-content: center;
}

.footer__nav a {
  color: #cfd7d3;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer__nav a:hover {
  color: var(--white);
}

.footer__social {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
}

.footer__social a {
  color: #cfd7d3;
  transition: color 0.2s ease;
}

.footer__social a:hover {
  color: var(--instagram-pink);
}

.footer__bottom {
  text-align: center;
  padding: 20px 6vw;
}

.footer__bottom small {
  font-size: 0.85rem;
}

/* ===== Modal (Accessible) ===== */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 999;
  animation: fadeIn 0.2s ease;
}

.modal[aria-hidden="false"] {
  display: block;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  cursor: pointer;
  backdrop-filter: blur(4px);
}

.modal__dialog {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 6vh auto;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid var(--sky-mist);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease;
  padding: 32px;
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 32px;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--steel-grey);
  transition: color 0.2s ease;
  z-index: 2;
}

.modal__close:hover {
  color: var(--boosie-black);
}

.modal__dialog h3 {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.modal__dialog .muted {
  margin-bottom: 20px;
}

.modal__frame-wrap {
  aspect-ratio: 16 / 11;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid var(--sky-mist);
}

.modal__frame-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ===== Scroll to Top Button ===== */
.scroll-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: var(--legacy-gold);
  color: var(--boosie-black);
  border: 2px solid var(--warm-cocoa);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(205, 174, 99, 0.4);
  z-index: 100;
  font-size: 24px;
  font-weight: bold;
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  background: var(--warm-cocoa);
  color: var(--legacy-gold);
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(92, 70, 53, 0.5);
}

.scroll-to-top:active {
  transform: translateY(-2px);
}

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

/* ===== Animations ===== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

/* ===== Responsive Design ===== */
@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 56px 6vw;
  }

  .hero__cta {
    justify-content: center;
  }

  .hero__badge {
    flex-direction: column;
    gap: 6px;
  }

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

  .footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 24px;
  }

  .footer__nav {
    justify-content: center;
  }

  .footer__social {
    justify-content: center;
  }

  .section {
    padding: 60px 6vw;
  }
}

/* ===== Tablet Responsive (960px and below) ===== */
@media (max-width: 960px) {
  .header {
    padding: 12px 4vw;
  }

  .brand img {
    max-width: 120px;
    height: auto;
  }

  .header__email span {
    display: none;
  }

  .header__email {
    padding: 8px;
    border-radius: 8px;
    background: rgba(205, 174, 99, 0.1);
  }

  .nav a {
    font-size: 0.9rem;
  }

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

/* ===== Mobile Responsive (768px and below) ===== */
@media (max-width: 768px) {
  .header {
    padding: 10px 4vw;
    gap: 12px;
  }

  .brand img {
    max-width: 100px;
  }

  .header__contact {
    margin-left: 8px;
    margin-right: auto;
  }

  .nav {
    gap: 8px;
  }

  .nav a:not(.nav-instagram):not(.btn) {
    font-size: 0.8rem;
  }

  /* Hide "Contact" link on mobile (email icon visible instead) */
  .nav a[href^="mailto:"]:not(.header__email) {
    display: none;
  }

  .nav .btn-primary {
    font-size: 0.85rem;
    padding: 8px 14px;
  }

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

  h1 {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
  }

  h2 {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }
}

/* ===== Small Mobile (640px and below) ===== */
@media (max-width: 640px) {
  .header {
    padding: 10px 4vw 8px;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
  }

  .brand {
    order: 1;
    width: 100%;
    justify-content: center;
  }

  .brand img {
    max-width: 90px;
  }

  .nav {
    order: 2;
    width: 100%;
    justify-content: center;
    gap: 12px;
    margin: 0;
  }

  .nav a:not(.nav-instagram):not(.btn) {
    display: flex;
    font-size: 0.85rem;
  }

  /* Show mobile nav items, hide desktop */
  .nav-desktop {
    display: none !important;
  }

  .nav-mobile {
    display: flex !important;
  }

  /* Hide contact link (email visible below) */
  .nav a[href^="mailto:"]:not(.header__email) {
    display: none;
  }

  .nav-instagram {
    display: flex !important;
  }

  .nav .btn-primary {
    font-size: 0.8rem;
    padding: 8px 12px;
    white-space: nowrap;
  }

  .header__contact {
    order: 3;
    width: 100%;
    margin: 4px 0 0 0;
    justify-content: center;
  }

  .header__email span {
    display: inline;
    font-size: 0.8rem;
  }

  .header__email {
    background: rgba(205, 174, 99, 0.1);
    padding: 8px 12px;
    border-radius: 8px;
  }

  .btn {
    padding: 10px 16px;
    font-size: 0.9rem;
  }

  .section {
    padding: 48px 5vw;
  }

  .hero {
    padding: 32px 5vw;
  }

  .hero__badge {
    flex-direction: column;
    gap: 4px;
    font-size: 0.85rem;
    padding: 6px 12px;
  }

  .hero__badge span:nth-child(2) {
    display: none;
  }

  .modal__dialog {
    margin: 2vh 4vw;
    padding: 20px;
  }

  .modal__close {
    top: 12px;
    right: 12px;
    font-size: 28px;
  }

  .actions {
    flex-direction: column;
  }

  .actions .btn {
    width: 100%;
  }

  .inline-form {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .inline-form input,
  .inline-form button {
    width: 100%;
  }

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

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

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

  .card img {
    height: 240px;
  }
}

/* ===== Extra Small Mobile (480px and below) ===== */
@media (max-width: 480px) {
  .header {
    padding: 8px 4vw;
    justify-content: center;
  }

  .brand {
    justify-content: center;
  }

  .brand img {
    max-width: 80px;
  }

  .nav {
    gap: 8px;
  }

  .nav a:not(.nav-instagram):not(.btn) {
    font-size: 0.75rem;
  }

  .header__email {
    font-size: 0.75rem;
    padding: 6px 10px;
  }

  .nav .btn-primary {
    font-size: 0.75rem;
    padding: 6px 10px;
  }

  .scroll-to-top {
    width: 44px;
    height: 44px;
    bottom: 16px;
    right: 16px;
    font-size: 20px;
  }

  .hero {
    padding: 24px 4vw;
  }

  .section {
    padding: 40px 4vw;
  }

  h1 {
    font-size: 1.5rem;
    line-height: 1.3;
  }

  h2 {
    font-size: 1.35rem;
  }

  .hero__cta {
    flex-direction: column;
    width: 100%;
  }

  .hero__cta .btn {
    width: 100%;
  }

  .social-card {
    padding: 16px;
  }

  .card__body {
    padding: 16px;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .footer__brand {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* ===== Print Styles ===== */
@media print {
  .header,
  .footer,
  .modal,
  .btn {
    display: none;
  }
}

