/* ============================================
   SANDOS PROMO — DESIGN TOKENS & BASE STYLES
   ============================================ */

/* ---------- CSS CUSTOM PROPERTIES ---------- */
:root {
  /* Brand Palette */
  --sp-ocean:        #0C4A6E;
  --sp-ocean-light:  #1E6FA0;
  --sp-sky:          #7DD3FC;
  --sp-sand:         #FEF3C7;
  --sp-sand-light:   #FFFBEB;
  --sp-coral:        #F97316;
  --sp-coral-hover:  #EA580C;
  --sp-off-white:    #F8FAFC;
  --sp-text-dark:    #1E293B;
  --sp-text-mid:     #475569;
  --sp-text-light:   #94A3B8;
  --sp-text-on-dark: #F1F5F9;

  /* Status */
  --sp-success:      #16A34A;
  --sp-success-bg:   #DCFCE7;
  --sp-error:        #DC2626;
  --sp-error-bg:     #FEE2E2;

  /* Typography */
  --sp-font-display: 'Playfair Display', Georgia, serif;
  --sp-font-body:    'Source Sans 3', 'Segoe UI', sans-serif;

  /* Shadows */
  --sp-shadow-sm:  0 1px 3px rgba(0,0,0,0.06), 0 2px 8px rgba(0,0,0,0.04);
  --sp-shadow-md:  0 4px 12px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
  --sp-shadow-lg:  0 8px 24px rgba(0,0,0,0.1), 0 4px 8px rgba(0,0,0,0.06);

  /* Radii */
  --sp-radius-sm:  6px;
  --sp-radius-md:  12px;
  --sp-radius-lg:  16px;

  /* Transitions */
  --sp-transition: 0.2s ease;
}

/* ---------- RESETS & BASE ---------- */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  font-family: var(--sp-font-body);
  color: var(--sp-text-dark);
  background: var(--sp-off-white);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4 {
  font-family: var(--sp-font-display);
  color: var(--sp-ocean);
  line-height: 1.2;
  margin: 0 0 0.75rem 0;
}

h5, h6 {
  font-family: var(--sp-font-body);
  color: var(--sp-text-dark);
  line-height: 1.3;
  margin: 0 0 0.5rem 0;
}

h1 { font-size: 2.75rem; font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: 2rem;    font-weight: 600; }
h3 { font-size: 1.5rem;  font-weight: 600; }
h4 { font-size: 1.25rem; font-weight: 600; }
h5 { font-size: 1.1rem;  font-weight: 600; }
h6 { font-size: 1rem;    font-weight: 600; }

p {
  margin: 0 0 1rem 0;
  color: var(--sp-text-dark);
  line-height: 1.7;
}

/* ---------- LINKS ---------- */
a {
  color: var(--sp-ocean-light);
  text-decoration: none;
  transition: color var(--sp-transition);
}

a:hover {
  color: var(--sp-ocean);
}

/* ---------- BUTTONS ---------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  background: var(--sp-coral);
  color: #fff;
  font-family: var(--sp-font-body);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: var(--sp-radius-sm);
  cursor: pointer;
  transition: background var(--sp-transition), transform var(--sp-transition), box-shadow var(--sp-transition);
  text-decoration: none;
}

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

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  background: transparent;
  color: var(--sp-ocean);
  font-family: var(--sp-font-body);
  font-size: 1rem;
  font-weight: 600;
  border: 2px solid var(--sp-ocean);
  border-radius: var(--sp-radius-sm);
  cursor: pointer;
  transition: background var(--sp-transition), color var(--sp-transition), transform var(--sp-transition);
  text-decoration: none;
}

.btn-secondary:hover {
  background: var(--sp-ocean);
  color: #fff;
  transform: translateY(-1px);
}

/* ---------- CARDS ---------- */
.sp-card {
  background: #fff;
  border-radius: var(--sp-radius-md);
  box-shadow: var(--sp-shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--sp-transition), transform var(--sp-transition);
}

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

/* ---------- PRICING ---------- */
.price-tag {
  font-family: var(--sp-font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--sp-coral);
}

.price-compare {
  text-decoration: line-through;
  color: var(--sp-text-light);
  font-size: 1.1rem;
}

/* ---------- QUALIFICATION BOXES ---------- */
.qual-box-yes {
  background: var(--sp-success-bg);
  border: 2px solid var(--sp-success);
  border-radius: var(--sp-radius-md);
  padding: 2rem;
}

.qual-box-yes h3 {
  color: var(--sp-success);
}

.qual-box-no {
  background: var(--sp-error-bg);
  border: 2px solid var(--sp-error);
  border-radius: var(--sp-radius-md);
  padding: 2rem;
}

.qual-box-no h3 {
  color: var(--sp-error);
}

/* ---------- SECTION BACKGROUNDS ---------- */
.section-light {
  background: #ffffff;
}

.section-sand {
  background: var(--sp-sand-light);
}

.section-ocean {
  background: var(--sp-ocean);
  color: var(--sp-text-on-dark);
}

.section-ocean h1,
.section-ocean h2,
.section-ocean h3,
.section-ocean h4 {
  color: #fff;
}

.section-ocean a {
  color: var(--sp-sky);
}

/* ---------- CONTAINERS ---------- */
.container {
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container-narrow {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* ---------- RESPONSIVE TYPOGRAPHY ---------- */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }
  h4 { font-size: 1.1rem; }

  .container,
  .container-narrow {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* ---------- UTILITY ---------- */
.sp-text-center { text-align: center; }
.sp-text-muted  { color: var(--sp-text-light); }
.sp-mb-0  { margin-bottom: 0; }
.sp-mb-1  { margin-bottom: 0.5rem; }
.sp-mb-2  { margin-bottom: 1rem; }
.sp-mb-3  { margin-bottom: 1.5rem; }
.sp-mb-4  { margin-bottom: 2rem; }
