/* ============================================================
   PRIMETOUCH CLEANING — BASE
   Reset · Typography · Utilities · Animations
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=DM+Sans:wght@300;400;500;600&family=DM+Mono:wght@400;500&display=swap');

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  line-height: 1.65;
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  min-height: 100vh;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}
button { cursor: pointer; }
table { border-collapse: collapse; width: 100%; }

/* ── Typography ── */
.display-xl {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.display-lg {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.015em;
}
h1, .h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.8rem, 4vw, 3.2rem); font-weight: 600; line-height: 1.15; }
h2, .h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.4rem, 3vw, 2.4rem); font-weight: 600; line-height: 1.2; }
h3, .h3 { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.2rem, 2vw, 1.8rem); font-weight: 500; line-height: 1.3; }
h4, .h4 { font-family: 'DM Sans', sans-serif; font-size: 1.1rem; font-weight: 600; letter-spacing: 0.01em; }
h5, .h5 { font-family: 'DM Sans', sans-serif; font-size: 0.95rem; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; }

.body-lg { font-size: 1.125rem; line-height: 1.7; }
.body-md { font-size: 1rem;     line-height: 1.65; }
.body-sm { font-size: 0.875rem; line-height: 1.6; }
.caption  { font-size: 0.75rem; letter-spacing: 0.05em; text-transform: uppercase; font-weight: 600; }
.mono     { font-family: 'DM Mono', monospace; font-size: 0.85rem; }
.eyebrow  {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-sm);
}

/* ── Color helpers ── */
.text-gold      { color: var(--gold); }
.text-primary   { color: var(--text-primary); }
.text-secondary { color: var(--text-secondary); }
.text-muted     { color: var(--text-muted); }
.text-inverse   { color: var(--text-inverse); }
.text-success   { color: var(--success); }
.text-danger    { color: var(--danger); }
.text-warning   { color: var(--warning); }
.text-white     { color: #fff; }
.text-white-70  { color: rgba(255,255,255,0.7); }
.text-white-50  { color: rgba(255,255,255,0.5); }

/* Gradient text */
.text-gradient {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Text alignment ── */
.text-center { text-align: center; }
.text-right  { text-align: right; }
.italic      { font-style: italic; }
.font-serif  { font-family: 'Cormorant Garamond', serif; }
.font-bold   { font-weight: 700; }
.font-600    { font-weight: 600; }

/* ── Display ── */
.hidden          { display: none !important; }
.sr-only         { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.flex            { display: flex; }
.flex-col        { display: flex; flex-direction: column; }
.flex-center     { display: flex; align-items: center; justify-content: center; }
.flex-between    { display: flex; align-items: center; justify-content: space-between; }
.flex-wrap       { flex-wrap: wrap; }
.flex-1          { flex: 1; }
.items-center    { align-items: center; }
.items-start     { align-items: flex-start; }
.justify-center  { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end     { justify-content: flex-end; }

/* ── Gaps ── */
.gap-xs  { gap: var(--space-xs); }
.gap-sm  { gap: var(--space-sm); }
.gap-md  { gap: var(--space-md); }
.gap-lg  { gap: var(--space-lg); }
.gap-xl  { gap: var(--space-xl); }

/* ── Sizing ── */
.w-full  { width: 100%; }
.h-full  { height: 100%; }
.min-w-0 { min-width: 0; }

/* ── Position ── */
.relative        { position: relative; }
.absolute        { position: absolute; }
.overflow-hidden { overflow: hidden; }

/* ── Misc ── */
.pointer   { cursor: pointer; }
.no-select { user-select: none; }
.truncate  { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ── Margin ── */
.mt-xs { margin-top: var(--space-xs); }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl{ margin-top: var(--space-2xl); }
.mb-xs { margin-bottom: var(--space-xs); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl{ margin-bottom: var(--space-2xl); }
.mx-auto{ margin-left: auto; margin-right: auto; }

/* ── Padding ── */
.p-sm  { padding: var(--space-sm); }
.p-md  { padding: var(--space-md); }
.p-lg  { padding: var(--space-lg); }
.p-xl  { padding: var(--space-xl); }
.p-3xl { padding: var(--space-3xl) var(--space-xl); }
.px-md { padding-left: var(--space-md); padding-right: var(--space-md); }
.px-lg { padding-left: var(--space-lg); padding-right: var(--space-lg); }
.px-xl { padding-left: var(--space-xl); padding-right: var(--space-xl); }
.py-md { padding-top: var(--space-md); padding-bottom: var(--space-md); }
.py-lg { padding-top: var(--space-lg); padding-bottom: var(--space-lg); }
.py-xl { padding-top: var(--space-xl); padding-bottom: var(--space-xl); }

/* ── Max-width ── */
.max-w-sm  { max-width: 480px; }
.max-w-md  { max-width: 600px; }
.max-w-lg  { max-width: 760px; }

/* ── Dividers ── */
.divider {
  width: 100%; height: 1px;
  background: var(--border);
  margin: var(--space-xl) 0;
}
.divider-gold {
  width: 60px; height: 2px;
  background: var(--grad-gold);
  margin: var(--space-md) 0;
}

/* ── Animations ── */
@keyframes fadeInUp  { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeIn    { from { opacity:0; } to { opacity:1; } }
@keyframes slideDown { from { opacity:0; transform:translateY(-12px); } to { opacity:1; transform:translateY(0); } }
@keyframes shimmer   { 0% { background-position:-200% center; } 100% { background-position:200% center; } }
@keyframes pulse     { 0%,100% { opacity:1; } 50% { opacity:0.5; } }
@keyframes spin      { from { transform:rotate(0deg); } to { transform:rotate(360deg); } }
@keyframes scaleIn   { from { opacity:0; transform:scale(0.95); } to { opacity:1; transform:scale(1); } }
@keyframes glow      { 0%,100% { box-shadow:0 0 20px rgba(201,168,76,0.3); } 50% { box-shadow:0 0 40px rgba(201,168,76,0.6); } }
@keyframes float     { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-8px); } }

.animate-fade-in    { animation: fadeIn 0.5s ease forwards; }
.animate-fade-in-up { animation: fadeInUp 0.6s ease forwards; }
.animate-scale-in   { animation: scaleIn 0.3s ease forwards; }
.animate-float      { animation: float 3s ease-in-out infinite; }

/* ── Scrollbar ── */
::-webkit-scrollbar       { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ── Selection ── */
::selection { background: rgba(201,168,76,0.25); color: var(--text-primary); }