@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Raleway:wght@300;400;500;600;700&display=swap');

/* ============================================================
   RAVIXO — LUXURY MINIMALISM
   Color Palette:
   - Background:   #F7F4EE  (ivory)
   - Primary Dark: #1C1A17  (near black)
   - Gold Accent:  #B59153  (aged gold)
   - Mid:          #6B6560  (warm gray)
   - White:        #FFFFFF
   - Border:       #E4DECE
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #F7F4EE;
  --dark:      #1C1A17;
  --gold:      #B59153;
  --gold-lt:   #D4B07A;
  --mid:       #6B6560;
  --border:    #E4DECE;
  --white:     #FFFFFF;
  --ff-head:   'Playfair Display', Georgia, serif;
  --ff-body:   'Raleway', Arial, sans-serif;
  --max-w:     1240px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--ff-body);
  background-color: var(--bg);
  color: var(--dark);
  line-height: 1.7;
  font-weight: 400;
}

img { display: block; max-width: 100%; height: auto; }
a  { color: inherit; text-decoration: none; transition: color var(--transition); }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--ff-body); }

/* ── UTILITIES ─────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 28px; }
.section    { padding: 96px 0; }
.section--sm{ padding: 60px 0; }

.text-center { text-align: center; }
.text-gold   { color: var(--gold); }

.eyebrow {
  font-family: var(--ff-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  display: block;
}

.section-title {
  font-family: var(--ff-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 18px;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--mid);
  max-width: 600px;
  line-height: 1.75;
}

.divider {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: 22px 0;
}
.divider--center { margin: 22px auto; }

/* ── BUTTON ─────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 14px 38px;
  font-family: var(--ff-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: none;
  transition: background var(--transition), color var(--transition), transform var(--transition);
  cursor: pointer;
}

.btn--gold {
  background: var(--gold);
  color: var(--white);
}
.btn--gold:hover {
  background: var(--dark);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--dark);
  border: 1.5px solid var(--dark);
}
.btn--outline:hover {
  background: var(--dark);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--outline-gold {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
}
.btn--outline-gold:hover {
  background: var(--gold);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--white {
  background: var(--white);
  color: var(--dark);
}
.btn--white:hover {
  background: var(--gold);
  color: var(--white);
  transform: translateY(-2px);
}

/* ── HEADER ─────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  background: rgba(247, 244, 238, 0.97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 24px;
}

.logo {
  font-family: var(--ff-head);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: 0.06em;
}
.logo span { color: var(--gold); }

.main-nav { display: flex; align-items: center; gap: 36px; }
.main-nav a {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mid);
  position: relative;
  padding-bottom: 3px;
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1.5px;
  background: var(--gold);
  transition: width var(--transition);
}
.main-nav a:hover,
.main-nav a.active { color: var(--dark); }
.main-nav a:hover::after,
.main-nav a.active::after { width: 100%; }

.header-cta {
  background: var(--dark);
  color: var(--white);
  padding: 10px 24px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: none;
  transition: background var(--transition);
  display: inline-block;
}
.header-cta:hover { background: var(--gold); color: var(--white); }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}
.burger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--dark);
  transition: transform var(--transition), opacity var(--transition);
}
.burger.open span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 24px 28px;
  gap: 18px;
}
.mobile-nav a {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dark);
}
.mobile-nav.open { display: flex; }

/* ── HERO ────────────────────────────────────────────────────── */
.hero {
  padding-top: 74px;
  position: relative;
  overflow: hidden;
}

.hero__image-wrap {
  position: relative;
  height: 92vh;
  min-height: 580px;
}
.hero__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(28,26,23,0.70) 0%, rgba(28,26,23,0.22) 55%, transparent 100%);
}

.hero__content {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  padding: 0 28px;
  max-width: var(--max-w);
  margin: 0 auto;
  right: 0;
}

.hero__content .eyebrow { color: var(--gold-lt); }

.hero__title {
  font-family: var(--ff-head);
  font-size: clamp(2.6rem, 5.5vw, 5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.08;
  max-width: 640px;
  margin-bottom: 22px;
}
.hero__title em { font-style: italic; color: var(--gold-lt); }

.hero__lead {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.84);
  max-width: 480px;
  margin-bottom: 38px;
  line-height: 1.7;
}

.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── MARQUEE ─────────────────────────────────────────────────── */
.marquee-bar {
  background: var(--dark);
  overflow: hidden;
  padding: 14px 0;
}
.marquee-track {
  display: flex;
  gap: 0;
  animation: marquee 28s linear infinite;
  white-space: nowrap;
}
.marquee-track span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-lt);
  padding: 0 40px;
}
.marquee-track span::after {
  content: '◆';
  margin-left: 40px;
  opacity: 0.5;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── STATS BAR ───────────────────────────────────────────────── */
.stats-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  padding: 38px 28px;
  border-right: 1px solid var(--border);
  text-align: center;
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: var(--ff-head);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mid);
}

/* ── FEATURED ARTICLES ───────────────────────────────────────── */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.article-card {
  background: var(--white);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform var(--transition);
}
.article-card:hover { transform: translateY(-4px); }

.article-card__img {
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.article-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
}
.article-card:hover .article-card__img img { transform: scale(1.05); }

.article-card__body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.article-card__cat {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.article-card__title {
  font-family: var(--ff-head);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 12px;
}
.article-card__excerpt {
  font-size: 0.9rem;
  color: var(--mid);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 20px;
}
.article-card__link {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.article-card__link::after { content: '→'; transition: transform var(--transition); }
.article-card:hover .article-card__link::after { transform: translateX(5px); }

/* ── FEATURED SPLIT ──────────────────────────────────────────── */
.split-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--dark);
}
.split-feature__image {
  overflow: hidden;
}
.split-feature__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 520px;
  transition: transform 0.7s ease;
}
.split-feature__image:hover img { transform: scale(1.04); }
.split-feature__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 64px;
}
.split-feature__content .section-title { color: var(--white); }
.split-feature__content .section-lead  { color: rgba(255,255,255,0.7); }
.split-feature__content .divider       { background: var(--gold); }

/* ── CATEGORIES ROW ──────────────────────────────────────────── */
.cats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.cat-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
}
.cat-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s ease;
}
.cat-card:hover img { transform: scale(1.07); }
.cat-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28,26,23,0.8) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px 24px;
}
.cat-card__name {
  font-family: var(--ff-head);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
}
.cat-card__link {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-lt);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.cat-card__link::after { content: '→'; }

/* ── NEWSLETTER ──────────────────────────────────────────────── */
.newsletter {
  background: var(--dark);
  padding: 80px 0;
}
.newsletter__inner {
  max-width: 580px;
  margin: 0 auto;
  text-align: center;
}
.newsletter__title {
  font-family: var(--ff-head);
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.2;
}
.newsletter__sub {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 36px;
}
.newsletter__form {
  display: flex;
  gap: 0;
  max-width: 440px;
  margin: 0 auto;
}
.newsletter__form input {
  flex: 1;
  padding: 15px 20px;
  font-family: var(--ff-body);
  font-size: 0.9rem;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.06);
  color: var(--white);
  outline: none;
}
.newsletter__form input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter__form input:focus { border-color: var(--gold); }
.newsletter__form button {
  padding: 15px 28px;
  background: var(--gold);
  color: var(--white);
  border: none;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--transition);
}
.newsletter__form button:hover { background: var(--gold-lt); }
.newsletter__note {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  margin-top: 14px;
}

/* ── FOOTER ──────────────────────────────────────────────────── */
.site-footer {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.7);
}
.footer-main {
  padding: 72px 0 48px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-brand .logo { color: var(--white); }
.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  margin-top: 16px;
  margin-bottom: 22px;
  line-height: 1.75;
}
.footer-col-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}
.footer-col ul a:hover { color: var(--white); }

.footer-contact p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.75;
}
.footer-contact a:hover { color: var(--white); }

.footer-bottom {
  padding: 22px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.35); }
.footer-policy-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-policy-links a { font-size: 0.8rem; color: rgba(255,255,255,0.35); }
.footer-policy-links a:hover { color: var(--white); }

/* ── COOKIE BANNER ───────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: var(--dark);
  border-top: 2px solid var(--gold);
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  transform: translateY(100%);
  transition: transform 0.45s ease;
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner p { font-size: 0.85rem; color: rgba(255,255,255,0.8); max-width: 700px; }
.cookie-banner a { color: var(--gold); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-accept, .cookie-decline {
  padding: 10px 22px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
}
.cookie-accept { background: var(--gold); color: var(--white); }
.cookie-decline { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.7); }
.cookie-accept:hover { background: var(--gold-lt); }

/* ── PAGE HERO (inner pages) ──────────────────────────────────── */
.page-hero {
  padding-top: 74px;
  background: var(--dark);
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-bottom: 0;
}
.page-hero__image {
  position: relative;
  height: 420px;
}
.page-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
.page-hero__text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
}
.page-hero__title {
  font-family: var(--ff-head);
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.1;
}
.page-hero__sub {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.72);
  max-width: 540px;
  line-height: 1.7;
}

/* ── BREADCRUMB ──────────────────────────────────────────────── */
.breadcrumb {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.breadcrumb ul { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.breadcrumb a { font-size: 0.8rem; color: var(--mid); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb li:not(:last-child)::after {
  content: '/';
  margin-left: 8px;
  color: var(--border);
}
.breadcrumb li:last-child a { color: var(--dark); font-weight: 600; }

/* ── BACK TO TOP ─────────────────────────────────────────────── */
.back-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: var(--dark);
  color: var(--white);
  border: none;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), background var(--transition);
  z-index: 800;
}
.back-top.visible { opacity: 1; pointer-events: all; }
.back-top:hover { background: var(--gold); }

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main   { grid-template-columns: 1fr 1fr; gap: 36px; }
  .stats-grid    { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .header-cta.desktop { display: none; }
  .burger { display: flex; }
  .section { padding: 64px 0; }
  .articles-grid { grid-template-columns: 1fr; }
  .split-feature { grid-template-columns: 1fr; }
  .split-feature__content { padding: 48px 32px; }
  .cats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .hero__title { font-size: 2.2rem; }
  .cats-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); }
  .newsletter__form { flex-direction: column; }
  .hero__actions { flex-direction: column; }
  .cookie-banner { flex-direction: column; }
}
