/* =============================================
   CHIPIRON CLAD — CSS VARIABLES & RESET
   chipironclad.pro
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@700;900&family=Raleway:wght@300;400;500;600;700&display=swap');

:root {
  /* Core Palette */
  --gold:          #C8842A;
  --gold-light:    #F0B855;
  --gold-pale:     #FBE8B8;
  --cream:         #FDF6E3;
  --warm-white:    #FFFCF5;
  --bronze:        #8B5E1A;
  --deep-brown:    #3A2008;
  --rust:          #A03C10;
  --teal:          #0F7B78;
  --teal-light:    #19B0AC;
  --dark-teal:     #084744;

  /* Text */
  --text-main:     #2C1A00;
  --text-muted:    #7A5C30;
  --text-light:    #B8935A;

  /* UI */
  --border:        rgba(200, 132, 42, 0.25);
  --border-strong: rgba(200, 132, 42, 0.45);
  --shadow-sm:     0 2px 12px rgba(200, 132, 42, 0.10);
  --shadow-md:     0 4px 32px rgba(200, 132, 42, 0.13);
  --shadow-lg:     0 12px 48px rgba(200, 132, 42, 0.18);

  /* Radius */
  --r-sm:  8px;
  --r-md:  14px;
  --r-lg:  20px;
  --r-xl:  28px;
  --r-full: 9999px;

  /* Transitions */
  --t-fast:   0.15s ease;
  --t-base:   0.25s ease;
  --t-slow:   0.4s ease;
}

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

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

body {
  font-family: 'Raleway', sans-serif;
  background: var(--cream);
  color: var(--text-main);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  cursor: pointer;
  font-family: 'Raleway', sans-serif;
}

ul, ol {
  list-style: none;
}

/* ── UTILITIES ── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--deep-brown);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  font-weight: 400;
  line-height: 1.75;
}

.divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--teal-light));
  border-radius: 3px;
  margin: 1.25rem 0 2rem;
}

.divider--center {
  margin-left: auto;
  margin-right: auto;
}

section {
  padding: 5rem 0;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  font-family: 'Raleway', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.875rem 2rem;
  border-radius: var(--r-full);
  transition: transform var(--t-base), box-shadow var(--t-base), background var(--t-base);
  text-decoration: none;
}

.btn--primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--rust) 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(160, 60, 16, 0.3);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(160, 60, 16, 0.4);
}

.btn--secondary {
  background: transparent;
  color: var(--teal);
  border: 2px solid var(--teal);
}
.btn--secondary:hover {
  background: var(--teal);
  color: #fff;
  transform: translateY(-2px);
}

.btn--teal {
  background: linear-gradient(135deg, var(--teal) 0%, var(--dark-teal) 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(15, 71, 68, 0.3);
}
.btn--teal:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(15, 71, 68, 0.45);
}

.btn--full {
  width: 100%;
  justify-content: center;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 30px rgba(240, 184, 85, 0.4); }
  50%       { box-shadow: 0 0 60px rgba(240, 184, 85, 0.7); }
}

@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
