/* ============================================================
   Eskinte Production — style.css?v=1
   Dark purple #1a0a2e | Gold #d4a853
   ============================================================ */

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

:root {
  --purple: #1a0a2e;
  --purple-mid: #2d1a52;
  --purple-light: #3e2770;
  --gold: #d4a853;
  --gold-light: #e8c47a;
  --white: #ffffff;
  --off-white: #f5f0e8;
  --text-muted: #a89cc0;
  --dark-card: #120720;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
  --max-w: 1200px;
  --radius: 6px;
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--purple);
  color: var(--off-white);
  line-height: 1.7;
  font-size: 16px;
}

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

a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-light); }

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--white);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.2rem; }

p { margin-bottom: 1rem; color: var(--off-white); }

ul, ol { padding-left: 1.4rem; }
li { margin-bottom: 0.4rem; }

/* ---- Typography helpers ---------------------------------- */
.text-gold { color: var(--gold); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.text-sm { font-size: 0.875rem; }

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

.section { padding: 80px 0; }
.section-sm { padding: 50px 0; }
.section-dark { background: var(--dark-card); }
.section-mid { background: var(--purple-mid); }

/* ---- Buttons --------------------------------------------- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--gold);
  color: var(--purple);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-light);
  color: var(--purple);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212,168,83,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--purple);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--purple);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--off-white);
  color: var(--purple-mid);
  transform: translateY(-2px);
}

/* ---- Section header -------------------------------------- */
.section-header { text-align: center; margin-bottom: 60px; }
.section-header .eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-header h2 { margin-bottom: 16px; }
.section-header p { max-width: 640px; margin: 0 auto; color: var(--text-muted); }
.divider-gold {
  width: 60px; height: 3px;
  background: var(--gold);
  margin: 20px auto 0;
  border-radius: 2px;
}

/* ---- Navigation ------------------------------------------ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(26,10,46,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212,168,83,0.15);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.5); }

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; max-width: var(--max-w); margin: 0 auto;
  height: 72px;
}

.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo img { height: 44px; width: auto; }
.nav-logo span {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--white);
  letter-spacing: 0.04em;
}

.nav-links { display: flex; align-items: center; gap: 8px; list-style: none; }
.nav-links a {
  display: block; padding: 8px 14px;
  font-size: 0.88rem; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--off-white);
  border-radius: 4px;
  transition: all var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--gold);
  background: rgba(212,168,83,0.08);
}
.nav-links .btn { padding: 9px 20px; font-size: 0.82rem; }

.nav-toggle {
  display: none;
  flex-direction: column; gap: 5px;
  cursor: pointer; padding: 6px;
  background: none; border: none;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--off-white);
  border-radius: 2px; transition: all var(--transition);
}

/* ---- SPLIT HERO ------------------------------------------ */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}
.hero-text-half {
  display: flex; flex-direction: column; justify-content: center;
  padding: 60px;
  background: var(--purple);
  color: var(--white);
  padding-top: 132px;
}
.hero-text-half .eyebrow {
  display: inline-block;
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px;
}
.hero-text-half h1 { margin-bottom: 24px; }
.hero-text-half h1 span { color: var(--gold); }
.hero-text-half p {
  font-size: 1.1rem; color: var(--text-muted);
  margin-bottom: 36px; max-width: 480px;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-video-half {
  position: relative; overflow: hidden;
  background: #1a0a2e;
}
.hero-split-video {
  width: 100%; height: 100%;
  object-fit: cover; opacity: 0.8;
}

/* Standard hero (inner pages) */
.hero-inner {
  min-height: 55vh;
  display: flex; align-items: center;
  background: var(--purple);
  padding: 140px 0 80px;
  position: relative; overflow: hidden;
}
.hero-inner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 60% 40%, rgba(61,39,112,0.6) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner .container { position: relative; z-index: 1; }
.hero-inner .eyebrow {
  display: inline-block;
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px;
}
.hero-inner h1 { margin-bottom: 20px; }
.hero-inner p { font-size: 1.1rem; color: var(--text-muted); max-width: 620px; }

/* ---- Cards ----------------------------------------------- */
.card {
  background: var(--dark-card);
  border: 1px solid rgba(212,168,83,0.12);
  border-radius: 12px;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  border-color: rgba(212,168,83,0.35);
}
.card-img { aspect-ratio: 16/9; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 28px; }
.card-body h3 { margin-bottom: 10px; }
.card-body p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 16px; }
.card-tag {
  display: inline-block;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold); background: rgba(212,168,83,0.1);
  padding: 4px 10px; border-radius: 20px; margin-bottom: 12px;
}
.card-date { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 0; }

/* ---- Grid helpers ---------------------------------------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }

/* ---- Feature list ---------------------------------------- */
.feature-item { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 36px; }
.feature-icon {
  flex-shrink: 0; width: 52px; height: 52px;
  background: rgba(212,168,83,0.1);
  border: 1px solid rgba(212,168,83,0.25);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
}
.feature-content h3 { font-size: 1.1rem; margin-bottom: 6px; }
.feature-content p { color: var(--text-muted); margin-bottom: 0; font-size: 0.95rem; }

/* ---- Stats bar ------------------------------------------- */
.stats-bar { background: var(--purple-mid); padding: 60px 0; border-top: 1px solid rgba(212,168,83,0.1); border-bottom: 1px solid rgba(212,168,83,0.1); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-item {}
.stat-number { font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 3rem); color: var(--gold); font-weight: 700; line-height: 1; }
.stat-label { font-size: 0.82rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 8px; }

/* ---- Two-col content ------------------------------------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }
.two-col-img { border-radius: 12px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,0.5); }
.two-col-img img { width: 100%; height: 100%; object-fit: cover; }
.two-col-text .eyebrow {
  display: inline-block; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px;
}
.two-col-text h2 { margin-bottom: 20px; }
.two-col-text p { color: var(--text-muted); margin-bottom: 14px; }
.two-col-text .btn { margin-top: 10px; }

/* ---- Banner CTA (full-width bg image) -------------------- */
.banner-cta {
  position: relative;
  background-image: url('/images/futuriste.jpg');
  background-size: cover; background-position: center;
  padding: 120px 0;
  text-align: center;
}
.banner-cta::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(26,10,46,0.78);
}
.banner-cta .container { position: relative; z-index: 1; }
.banner-cta h2 { margin-bottom: 18px; }
.banner-cta p { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 36px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ---- Awards / Recompenses -------------------------------- */
.awards-section {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  min-height: 400px;
}
.awards-img { overflow: hidden; }
.awards-img img { width: 100%; height: 100%; object-fit: cover; }
.awards-text {
  background: var(--gold);
  display: flex; flex-direction: column; justify-content: center;
  padding: 60px 56px;
}
.awards-text h2 { color: var(--purple); }
.awards-text p { color: var(--purple-mid); }
.awards-text .btn-awards {
  display: inline-block; margin-top: 16px;
  padding: 13px 28px; font-weight: 700;
  background: var(--purple); color: var(--gold);
  border-radius: var(--radius);
  font-size: 0.88rem; letter-spacing: 0.08em; text-transform: uppercase;
  transition: all var(--transition);
}
.awards-text .btn-awards:hover { background: var(--purple-mid); color: var(--white); }

/* ---- Process steps --------------------------------------- */
.process-steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.step-item { text-align: center; padding: 40px 28px; background: var(--dark-card); border: 1px solid rgba(212,168,83,0.1); border-radius: 12px; position: relative; }
.step-item::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block; font-family: var(--font-heading);
  font-size: 2.8rem; color: var(--gold); opacity: 0.25;
  line-height: 1; margin-bottom: 16px;
}
.step-item h3 { margin-bottom: 12px; font-size: 1.1rem; }
.step-item p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 0; }

/* ---- Blog grid ------------------------------------------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.blog-card { background: var(--dark-card); border: 1px solid rgba(212,168,83,0.1); border-radius: 12px; overflow: hidden; transition: all var(--transition); }
.blog-card:hover { transform: translateY(-6px); box-shadow: 0 20px 48px rgba(0,0,0,0.5); border-color: rgba(212,168,83,0.3); }
.blog-card-img { aspect-ratio: 16/9; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.blog-card:hover .blog-card-img img { transform: scale(1.06); }
.blog-card-body { padding: 24px; }
.blog-card-body .card-tag { margin-bottom: 10px; }
.blog-card-body h3 { font-size: 1.1rem; margin-bottom: 10px; }
.blog-card-body p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 14px; }
.blog-card-body .read-more { font-size: 0.85rem; font-weight: 600; color: var(--gold); text-transform: uppercase; letter-spacing: 0.08em; }
.blog-card-body .read-more:hover { color: var(--gold-light); }

/* ---- Article page ---------------------------------------- */
.article-hero { min-height: 60vh; display: flex; align-items: flex-end; background-size: cover; background-position: center; padding: 60px 0 0; position: relative; }
.article-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(26,10,46,1) 0%, rgba(26,10,46,0.4) 60%, transparent 100%); }
.article-hero .container { position: relative; z-index: 1; padding-bottom: 60px; }
.article-meta { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-top: 16px; }
.article-meta span { font-size: 0.82rem; color: var(--text-muted); }
.article-body { max-width: 780px; margin: 0 auto; padding: 60px 24px; }
.article-body h2 { margin-top: 48px; margin-bottom: 16px; font-size: 1.7rem; }
.article-body h3 { margin-top: 36px; margin-bottom: 12px; }
.article-body p { color: var(--off-white); margin-bottom: 1.4rem; }
.article-body ul, .article-body ol { color: var(--off-white); margin-bottom: 1.4rem; }
.article-body img { border-radius: 10px; margin: 32px 0; width: 100%; }
.article-body blockquote {
  border-left: 4px solid var(--gold);
  margin: 32px 0; padding: 20px 28px;
  background: var(--dark-card); border-radius: 0 8px 8px 0;
  font-style: italic; color: var(--text-muted);
}
.article-nav { display: flex; justify-content: space-between; gap: 20px; padding: 40px 24px; max-width: 780px; margin: 0 auto; border-top: 1px solid rgba(212,168,83,0.15); }
.article-nav a { font-size: 0.88rem; font-weight: 600; color: var(--gold); text-transform: uppercase; letter-spacing: 0.08em; }

/* ---- Contact form ---------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.form-group { margin-bottom: 24px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 14px 18px;
  background: var(--dark-card);
  border: 1px solid rgba(212,168,83,0.2);
  border-radius: var(--radius);
  color: var(--white); font-family: var(--font-body); font-size: 0.95rem;
  transition: border-color var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,168,83,0.12);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-group select option { background: var(--purple-mid); }
.contact-info-item { display: flex; gap: 16px; margin-bottom: 32px; align-items: flex-start; }
.contact-icon { width: 46px; height: 46px; background: rgba(212,168,83,0.1); border: 1px solid rgba(212,168,83,0.25); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.contact-info-item h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold); margin-bottom: 4px; }
.contact-info-item p { color: var(--text-muted); margin-bottom: 0; font-size: 0.95rem; }

/* ---- Sitemap --------------------------------------------- */
.sitemap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.sitemap-group h3 { color: var(--gold); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid rgba(212,168,83,0.2); }
.sitemap-group ul { list-style: none; padding: 0; }
.sitemap-group li { padding: 5px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.sitemap-group a { color: var(--text-muted); font-size: 0.9rem; transition: color var(--transition); }
.sitemap-group a:hover { color: var(--gold); }

/* ---- 404 ------------------------------------------------- */
.page-404 { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; }
.page-404 .num { font-family: var(--font-heading); font-size: clamp(6rem, 15vw, 12rem); color: var(--gold); opacity: 0.2; line-height: 1; }
.page-404 h1 { margin-bottom: 16px; }
.page-404 p { color: var(--text-muted); margin-bottom: 32px; }

/* ---- Footer ---------------------------------------------- */
.site-footer {
  background: var(--dark-card);
  border-top: 1px solid rgba(212,168,83,0.12);
  padding: 60px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand img { height: 48px; margin-bottom: 16px; }
.footer-brand p { font-size: 0.9rem; color: var(--text-muted); max-width: 280px; }
.footer-col h4 { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--gold); margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { font-size: 0.88rem; color: var(--text-muted); transition: color var(--transition); }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 0; }
.footer-bottom a { font-size: 0.82rem; color: var(--text-muted); }
.footer-bottom a:hover { color: var(--gold); }

/* ---- Breadcrumb ------------------------------------------ */
.breadcrumb { padding: 10px 0; margin-bottom: 6px; }
.breadcrumb ol { list-style: none; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumb li { font-size: 0.82rem; color: var(--text-muted); }
.breadcrumb li + li::before { content: '›'; margin-right: 8px; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--gold); }

/* ---- Pill tags ------------------------------------------- */
.tag { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 12px; border-radius: 20px; }
.tag-gold { background: rgba(212,168,83,0.15); color: var(--gold); }
.tag-purple { background: rgba(61,39,112,0.5); color: var(--text-muted); }

/* ---- Responsive ------------------------------------------ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
  .hero-split { grid-template-columns: 1fr; }
  .hero-video-half { height: 300px; }
  .hero-text-half { padding: 120px 32px 50px; }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .two-col.reverse { direction: ltr; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .awards-section { grid-template-columns: 1fr; }
  .awards-img { height: 260px; }
  .sitemap-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; flex-direction: column; position: fixed; top: 72px; left: 0; right: 0; background: rgba(26,10,46,0.98); padding: 24px; gap: 4px; border-bottom: 1px solid rgba(212,168,83,0.15); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .section { padding: 60px 0; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { text-align: center; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .awards-text { padding: 40px 28px; }
}

/* ---- Utilities ------------------------------------------- */
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 32px; }
