/* ULISS — Global stylesheet */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400; color: #0B0B12; background: #FAF7F2;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s ease; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

:root {
  --ink: #0B0B12;
  --ultramarine: #1B2FD4;
  --ultramarine-deep: #0E1A8A;
  --scarlet: #E63226;
  --scarlet-deep: #B8241A;
  --gold: #F5B700;
  --gold-deep: #C99600;
  --cream: #FAF7F2;
  --cream-warm: #F1ECE2;
  --white: #FFFFFF;
  --muted: #5B5B66;
  --border: rgba(11, 11, 18, 0.12);
  --maxw: 1320px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700; line-height: 1.1;
  letter-spacing: -0.02em; color: var(--ink);
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.6rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); letter-spacing: -0.025em; }
h3 { font-size: clamp(1.35rem, 2.3vw, 2rem); }
h4 { font-size: clamp(1.05rem, 1.5vw, 1.3rem); font-weight: 600; }
p { font-size: 1.06rem; color: #2a2a35; }

.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.24em;
  color: var(--scarlet); margin-bottom: 1.2rem;
  display: inline-block; position: relative; padding-left: 2.2rem;
}
.eyebrow::before {
  content: ''; position: absolute; left: 0; top: 50%;
  width: 1.5rem; height: 2px; background: var(--scarlet);
}
.eyebrow.gold { color: var(--gold-deep); }
.eyebrow.gold::before { background: var(--gold-deep); }
.eyebrow.blue { color: var(--ultramarine); }
.eyebrow.blue::before { background: var(--ultramarine); }
.eyebrow.white { color: var(--gold); }
.eyebrow.white::before { background: var(--gold); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 2rem; }
section { padding: clamp(4.5rem, 9vw, 8rem) 0; }
.section-header { max-width: 860px; margin: 0 auto 4rem; }
.section-header.center { text-align: center; }
.section-header p {
  margin-top: 1.4rem; color: var(--muted);
  font-size: 1.16rem; line-height: 1.65;
}

/* HEADER */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--border);
  background: rgba(250, 247, 242, 0.98);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--maxw); margin: 0 auto; padding: 1.1rem 2rem;
}
.brand {
  display: flex; align-items: center; gap: 0.6rem;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.65rem; font-weight: 800;
  letter-spacing: 0.01em; color: var(--ink);
}
.brand-mark { display: inline-flex; align-items: center; gap: 3px; }
.brand-mark span { width: 7px; height: 7px; border-radius: 50%; }
.brand-mark span:nth-child(1) { background: var(--ultramarine); }
.brand-mark span:nth-child(2) { background: var(--scarlet); }
.brand-mark span:nth-child(3) { background: var(--gold); }

.nav-menu { display: flex; gap: 2.1rem; list-style: none; align-items: center; }
.nav-menu > li > a {
  font-size: 0.92rem; font-weight: 500;
  position: relative; padding: 0.5rem 0; color: var(--ink);
}
.nav-menu > li > a::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; background: var(--scarlet);
  transition: width .3s var(--ease);
}
.nav-menu > li > a:hover::after,
.nav-menu > li > a.active::after { width: 100%; }
.nav-menu > li > a.active { color: var(--scarlet); }

.nav-cta {
  padding: 0.8rem 1.5rem;
  background: var(--ultramarine); color: var(--white) !important;
  font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  transition: all .3s var(--ease);
  border: 2px solid var(--ultramarine);
}
.nav-cta:hover { background: var(--scarlet); border-color: var(--scarlet); transform: translateY(-2px); }
.nav-cta::after { display: none !important; }

.menu-toggle { display: none; width: 32px; height: 22px; position: relative; }
.menu-toggle span {
  position: absolute; left: 0; width: 100%; height: 2.5px;
  background: var(--ink); transition: transform .3s var(--ease), opacity .2s ease;
}
.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 10px; }
.menu-toggle span:nth-child(3) { top: 20px; }
.menu-toggle.active span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 0.75rem;
  padding: 1.1rem 2.1rem;
  font-size: 0.84rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  transition: all .3s var(--ease);
  border: 2px solid transparent; position: relative; overflow: hidden;
}
.btn-primary { background: var(--scarlet); color: var(--white); border-color: var(--scarlet); }
.btn-primary:hover { background: var(--ink); border-color: var(--ink); transform: translateY(-2px); }
.btn-blue { background: var(--ultramarine); color: var(--white); border-color: var(--ultramarine); }
.btn-blue:hover { background: var(--scarlet); border-color: var(--scarlet); transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn-gold:hover { background: var(--ink); color: var(--gold); border-color: var(--ink); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-outline-white { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline-white:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn-arrow { transition: transform .3s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(5px); }

/* PAGE HERO */
.page-hero {
  padding: 10rem 0 4.5rem;
  background: var(--ink); color: var(--white);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; top: -120px; right: -120px;
  width: 400px; height: 400px; background: var(--ultramarine);
  border-radius: 50%; opacity: 0.35; filter: blur(80px);
}
.page-hero::after {
  content: ''; position: absolute; bottom: -150px; left: -150px;
  width: 450px; height: 450px; background: var(--scarlet);
  border-radius: 50%; opacity: 0.25; filter: blur(100px);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: var(--white); max-width: 900px; margin-bottom: 1.5rem; }
.page-hero h1 em { font-style: italic; color: var(--gold); font-weight: 400; }
.page-hero-sub {
  font-size: 1.2rem; line-height: 1.6;
  color: rgba(255, 255, 255, 0.78); max-width: 680px;
}
.breadcrumbs {
  display: flex; gap: 0.6rem; align-items: center;
  font-size: 0.8rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(255, 255, 255, 0.55);
  margin-bottom: 1.8rem;
}
.breadcrumbs a { color: var(--gold); }
.breadcrumbs a:hover { color: var(--white); }
.breadcrumbs span { color: rgba(255, 255, 255, 0.4); }

/* FOOTER */
.footer {
  background: var(--ink); color: var(--white);
  padding: 4.5rem 0 2rem; position: relative; overflow: hidden;
}
.footer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px;
  background: linear-gradient(90deg, var(--ultramarine) 0%, var(--ultramarine) 33%, var(--scarlet) 33%, var(--scarlet) 66%, var(--gold) 66%, var(--gold) 100%);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; margin-bottom: 3.5rem;
}
.footer-brand .brand { color: var(--white); margin-bottom: 1.4rem; font-size: 1.85rem; }
.footer-brand p { color: rgba(255, 255, 255, 0.65); font-size: 0.95rem; max-width: 340px; line-height: 1.7; }
.footer h5 {
  font-family: 'Inter', sans-serif;
  font-size: 0.76rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.4rem;
}
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 0.8rem; }
.footer ul a {
  color: rgba(255, 255, 255, 0.75); font-size: 0.93rem;
  transition: color .2s, padding-left .2s;
}
.footer ul a:hover { color: var(--gold); padding-left: 6px; }
.footer-bottom {
  padding-top: 2.3rem; border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: 0.85rem; color: rgba(255, 255, 255, 0.5); }
.footer-legal { display: flex; gap: 2rem; font-size: 0.85rem; }
.footer-legal a { color: rgba(255, 255, 255, 0.5); }
.footer-legal a:hover { color: var(--gold); }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .85s var(--ease), transform .85s var(--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; }

/* CTA BLOCK */
.cta-block {
  padding: 4.5rem 3.5rem; text-align: center;
  background: var(--ultramarine); color: var(--white);
  position: relative; overflow: hidden;
}
.cta-block::before {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 260px; height: 260px; background: var(--scarlet);
  border-radius: 50%; opacity: 0.4; filter: blur(40px);
}
.cta-block::after {
  content: ''; position: absolute; bottom: -80px; left: -80px;
  width: 240px; height: 240px; background: var(--gold);
  border-radius: 50%; opacity: 0.3; filter: blur(40px);
}
.cta-block > * { position: relative; z-index: 2; }
.cta-block h2 { color: var(--white); margin-bottom: 1.2rem; }
.cta-block p {
  color: rgba(255, 255, 255, 0.82); max-width: 660px;
  margin: 0 auto 2.4rem; font-size: 1.13rem; line-height: 1.6;
}

/* COOKIE BANNER */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--ink); color: var(--white);
  padding: 1.4rem 1.8rem; z-index: 5000;
  border-top: 4px solid var(--gold);
  transform: translateY(100%);
  transition: transform .5s var(--ease);
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.2);
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; gap: 2rem; flex-wrap: wrap;
}
.cookie-text { flex: 1; min-width: 280px; }
.cookie-text strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem; margin-bottom: 0.3rem;
  color: var(--gold);
}
.cookie-text p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem; line-height: 1.55; margin: 0;
}
.cookie-text a { color: var(--gold); text-decoration: underline; }
.cookie-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.cookie-btn {
  padding: 0.75rem 1.4rem;
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  border: 2px solid transparent;
  transition: all .25s var(--ease);
  white-space: nowrap;
}
.cookie-btn.primary { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.cookie-btn.primary:hover { background: var(--white); border-color: var(--white); }
.cookie-btn.secondary { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.4); }
.cookie-btn.secondary:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}
@media (max-width: 820px) {
  .container { padding: 0 1.25rem; }
  .nav { padding: 1rem 1.25rem; }
  .nav-menu {
    display: none; position: fixed; top: 68px; left: 0; right: 0;
    background: var(--cream); flex-direction: column;
    padding: 2rem 1.5rem; gap: 1.25rem;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    max-height: calc(100vh - 68px); overflow-y: auto;
  }
  .nav-menu.active { display: flex; }
  .nav-menu > li { width: 100%; }
  .nav-menu > li > a { font-size: 1.1rem; display: block; padding: 0.6rem 0; }
  .nav-cta { width: 100%; text-align: center; justify-content: center; }
  .menu-toggle { display: block; }
  section { padding: 4rem 0; }
  .section-header { margin-bottom: 2.5rem; }
  .page-hero { padding: 8rem 0 3.5rem; }
  .page-hero-sub { font-size: 1.05rem; }
  .cta-block { padding: 3rem 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 1.25rem; }
  .btn { padding: 1rem 1.6rem; font-size: 0.78rem; }
  .cookie-banner { padding: 1.1rem 1.25rem; }
  .cookie-banner-inner { gap: 1rem; }
  .cookie-actions { width: 100%; }
  .cookie-btn { flex: 1; padding: 0.7rem 0.9rem; font-size: 0.72rem; }
}

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--gold); outline-offset: 3px;
}

/* ============ BLOG STYLES ============ */
.blog-hero {
  padding: 8rem 0 4rem;
  background: var(--cream-warm);
  border-bottom: 1px solid var(--border);
}
.blog-hero h1 { margin-bottom: 1rem; }
.blog-hero .page-hero-sub { color: var(--muted); max-width: 700px; font-size: 1.2rem; }

.blog-grid {
  padding: 5rem 0;
  background: var(--cream);
}
.blog-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2.5rem;
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(11,11,18,.10);
}
.blog-card-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.blog-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease);
}
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-body {
  padding: 1.8rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-card-cat {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ultramarine);
  margin-bottom: 0.6rem;
}
.blog-card h3 {
  font-size: 1.4rem;
  line-height: 1.25;
  margin-bottom: 0.7rem;
}
.blog-card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
  flex: 1;
}
.blog-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 0.9rem;
}
.blog-card-read {
  color: var(--ink);
  font-weight: 600;
}

/* Article page */
.article {
  padding: 7rem 0 5rem;
  background: var(--cream);
}
.article-inner {
  max-width: 760px;
  margin: 0 auto;
}
.article-meta {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.2rem;
}
.article-meta strong { color: var(--ultramarine); }
.article h1 {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  margin-bottom: 1.5rem;
}
.article-lede {
  font-size: 1.25rem;
  line-height: 1.55;
  color: var(--ink);
  font-weight: 400;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
.article-body { font-size: 1.05rem; line-height: 1.8; color: #1a1a22; }
.article-body h2 {
  font-size: 1.8rem;
  margin: 3rem 0 1.2rem;
}
.article-body h3 {
  font-size: 1.35rem;
  margin: 2.2rem 0 0.9rem;
}
.article-body p { margin-bottom: 1.3rem; }
.article-body ul, .article-body ol {
  margin: 0 0 1.5rem 1.2rem;
}
.article-body li { margin-bottom: 0.5rem; }
.article-body blockquote {
  border-left: 3px solid var(--gold);
  padding: 0.5rem 0 0.5rem 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--muted);
  font-size: 1.1rem;
}
.article-body strong { color: var(--ink); font-weight: 700; }
.article-cta {
  margin-top: 3.5rem;
  padding: 2.2rem;
  background: var(--ink);
  color: var(--cream);
  border-radius: 6px;
  text-align: center;
}
.article-cta h3 { color: var(--gold); font-size: 1.5rem; margin-bottom: 0.7rem; }
.article-cta p { color: rgba(250,247,242,.8); margin-bottom: 1.3rem; }
