/* ============================================
   ORIDANZA — BASE STYLES
   Variables, Reset, Typography, Utilities
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;1,400;1,600&family=DM+Sans:wght@400;500;600&display=swap');

/* ---- CSS VARIABLES ---- */
:root {
  --color-brand:       #C94E2D;
  --color-brand-dark:  #a83c21;
  --color-brand-light: #F0977A;
  --color-brand-bg:    rgba(201, 78, 45, 0.08);
  --color-brand-border:rgba(201, 78, 45, 0.2);

  --color-dark:        #1A1412;
  --color-dark-2:      #0F0B09;
  --color-text:        #1c1a18;
  --color-text-muted:  #6b6760;
  --color-text-light:  rgba(255,255,255,0.7);

  --color-bg:          #ffffff;
  --color-bg-soft:     #f8f6f3;
  --color-border:      rgba(0,0,0,0.08);
  --color-border-mid:  rgba(0,0,0,0.14);

  --font-display:      'Playfair Display', Georgia, serif;
  --font-body:         'DM Sans', system-ui, sans-serif;

  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-pill:100px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.1);

  --max-width:  1080px;
  --px:         clamp(20px, 5vw, 48px);
  --section-py: clamp(48px, 8vw, 80px);

  --nav-h: 64px;

  --transition: 0.2s ease;
}

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

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}

main {
  width: 100%;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

button {
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  background: none;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--color-text);
}

h1 { font-size: clamp(36px, 6vw, 60px); }
h2 { font-size: clamp(28px, 4vw, 42px); }
h3 { font-size: clamp(20px, 3vw, 26px); }
h4 { font-size: 18px; }

p {
  color: var(--color-text-muted);
  line-height: 1.75;
}

em { font-style: italic; }

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

/* ---- LAYOUT ---- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--px);
}

.section {
  padding: var(--section-py) 0;
}

.section--dark {
  background: var(--color-dark);
  color: #fff;
}

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

.section--dark p {
  color: var(--color-text-light);
}

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

/* ---- SECTION LABEL ---- */
.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-brand);
  margin-bottom: 12px;
}

.section--dark .section-tag {
  color: var(--color-brand-light);
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-body);
  transition: var(--transition);
  white-space: nowrap;
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn--primary {
  background: var(--color-brand);
  color: #fff;
}

.btn--primary:hover {
  background: var(--color-brand-dark);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border-mid);
}

.btn--ghost:hover {
  border-color: var(--color-brand);
  color: var(--color-brand);
}

.btn--ghost-light {
  background: transparent;
  color: rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.25);
}

.btn--ghost-light:hover {
  border-color: rgba(255,255,255,0.6);
  color: #fff;
}

.btn--sm {
  padding: 10px 20px;
  font-size: 13px;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* ---- BADGE ---- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  border: 1px solid;
}

.badge--brand {
  background: var(--color-brand-bg);
  border-color: var(--color-brand-border);
  color: var(--color-brand);
}

.badge--brand-light {
  background: rgba(201,78,45,0.15);
  border-color: rgba(201,78,45,0.3);
  color: var(--color-brand-light);
}

.badge--dot::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

/* ---- CARDS ---- */
.card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color var(--transition);
}

.card:hover {
  border-color: var(--color-border-mid);
}

/* ---- DIVIDER ---- */
.divider {
  width: 100%;
  height: 1px;
  background: var(--color-border);
  margin: 0;
}

/* ---- GRID UTILITIES ---- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* ---- IMAGE PLACEHOLDER ---- */
.img-placeholder {
  background: #e8e4df;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #b5b0aa;
  font-size: 12px;
  font-family: var(--font-body);
}

.img-placeholder svg {
  width: 28px;
  height: 28px;
  stroke: #c4bfba;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .btn-group { flex-direction: column; align-items: flex-start; }
  .btn-group .btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  :root { --px: 16px; }
}
