
:root {
  /* SZÍNPALETTA – a logó alapján */
  --navy: #0F1B3D;
  --navy-deep: #0A1230;
  --navy-mid: #1A2540;
  --gold: #B8985A;
  --gold-bright: #D4B876;
  --gold-soft: rgba(184, 152, 90, 0.18);
  --cream: #FAF6EE;
  --cream-warm: #F5EFDE;
  --cream-deep: #EBE3CE;
  --ink: #1A2540;
  --ink-soft: #3A4560;
  --ink-muted: #6B7489;
  --line: rgba(26, 37, 64, 0.12);
  --line-gold: rgba(184, 152, 90, 0.35);
  
  /* ⬇️  IDŐPONTFOGLALÁS LINK – IDE CSERÉLD BE A SAJÁT LINKEDET  ⬇️ */
  /* pl. https://calendly.com/kiss-maria/kentaur-konzultacio */
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ============ TIPOGRÁFIA ============ */

h1, h2, h3, .display {
  font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.08;
  font-variation-settings: 'SOFT' 50, 'opsz' 144;
  color: var(--navy);
}

h1 { font-size: clamp(2.5rem, 6vw, 4.8rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); font-weight: 400; }

.italic-gold {
  font-style: italic;
  color: var(--navy);
  font-weight: 300;
}

.eyebrow {
  font-family: 'Manrope', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.eyebrow-dark {
  color: var(--navy);
}

.roman {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 300;
  color: var(--gold);
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  display: block;
  margin-bottom: 0.8rem;
}

p {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--ink-soft);
}

/* ============ LAYOUT ============ */

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container-narrow {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: clamp(5rem, 10vw, 9rem) 0;
  position: relative;
}

/* ============ ARANY MOTÍVUM – logó ív visszaköszön ============ */

.gold-arc {
  position: absolute;
  width: 240px;
  height: 120px;
  border: 1.5px solid var(--gold);
  border-bottom: none;
  border-radius: 240px 240px 0 0;
  opacity: 0.35;
  pointer-events: none;
}

.divider-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 3rem 0;
}

.divider-ornament::before,
.divider-ornament::after {
  content: '';
  flex: 0 0 80px;
  height: 1px;
  background: var(--line-gold);
}

.divider-ornament .diamond {
  width: 6px;
  height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
}

/* ============ NAV ============ */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(250, 246, 238, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, padding 0.3s;
}

nav.scrolled {
  border-bottom-color: var(--line);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
  color: var(--navy);
}

.logo-img {
  height: 64px;
  width: auto;
  display: block;
  transition: opacity 0.2s;
}

.logo-wrap:hover .logo-img { opacity: 0.85; }

.footer-logo-img {
  height: 48px;
  width: auto;
  display: block;
  /* krém hátteret ad a logónak a sötét footer-ben, mert a logó fehér háttérrel van */
  background: var(--cream);
  padding: 4px;
  border-radius: 3px;
}

.portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
}

/* A Rólam szekció képénél másképp kell pozícionálni (egész alak, nagyobb kompozíció) */
.about-portrait .portrait-img {
  object-position: center 20%;
}

.logo-mark {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-brand {
  font-family: 'Fraunces', serif;
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--navy);
}

.logo-sub {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 0.9rem;
  color: var(--gold);
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s;
  position: relative;
}

.nav-links a:hover { color: var(--gold); }

/* ============ GOMBOK ============ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1.05rem 2.2rem;
  font-family: 'Manrope', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-decoration: none;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--navy);
  color: var(--cream);
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--gold-bright), transparent);
  opacity: 0.3;
  transition: left 0.6s;
}

.btn-primary:hover {
  background: var(--navy-deep);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(15, 27, 61, 0.25);
}

.btn-primary:hover::after { left: 100%; }

.btn-gold {
  background: var(--gold);
  color: var(--cream);
}

.btn-gold:hover {
  background: var(--gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(184, 152, 90, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--cream);
}

.btn .arrow {
  transition: transform 0.3s;
}

.btn:hover .arrow { transform: translateX(4px); }

.nav-cta {
  padding: 0.7rem 1.6rem;
  font-size: 0.8rem;
}

/* ============ HERO ============ */

.hero {
  min-height: 100vh;
  padding-top: 8rem;
  padding-bottom: 4rem;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 10%;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--gold-soft) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: clamp(2.8rem, 5.5vw, 4.6rem);
  margin-bottom: 2rem;
  font-weight: 300;
}

.hero-content h1 .line-2 {
  display: block;
}

.hero-lead {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 520px;
  margin-bottom: 2.5rem;
}

.hero-lead strong {
  color: var(--ink);
  font-weight: 500;
}

/* PORTRÉ – logó ív motívum visszaköszön */
.portrait-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.portrait-frame {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 4/5;
  border-radius: 220px 220px 12px 12px; /* felül kerek, alul enyhén szögletes */
  overflow: hidden;
  background: var(--cream-deep);
  box-shadow: 
    0 40px 80px -30px rgba(15, 27, 61, 0.35),
    0 20px 40px -20px rgba(15, 27, 61, 0.2);
}

.portrait-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--cream-deep) 0%, var(--cream-warm) 100%);
  color: var(--ink-muted);
  font-size: 0.85rem;
  text-align: center;
  padding: 2rem;
}

.portrait-placeholder svg {
  width: 80px;
  height: 80px;
  opacity: 0.3;
}

/* arany ív a portré alatt – logó visszaköszön */
.portrait-arc {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 110%;
  height: 50px;
  border: 2px solid var(--gold);
  border-top: none;
  border-radius: 0 0 50% 50%;
  opacity: 0.6;
  z-index: -1;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.hero-meta {
  font-size: 0.85rem;
  color: var(--ink-muted);
  font-style: italic;
  font-family: 'Fraunces', serif;
}

/* ============ PROMISE STRIP ============ */

.promise-strip {
  padding: 4rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.promise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.promise-item {
  padding: 0 1rem;
  border-left: 1px solid var(--line-gold);
}

.promise-item:first-child { border-left: none; }

.promise-num {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 0.8rem;
}

.promise-item h4 {
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

.promise-item p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--ink-muted);
}

/* ============ HOGYAN (editorial szekció) ============ */

.editorial {
  background: var(--cream);
}

.editorial-inner {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 2rem;
}

.editorial-header {
  text-align: center;
  margin-bottom: 4rem;
}

.editorial-body {
  columns: 2;
  column-gap: 3.5rem;
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--ink-soft);
}

.editorial-body p {
  margin-bottom: 1.3rem;
  break-inside: avoid;
}

.editorial-body p:first-child::first-letter {
  font-family: 'Fraunces', serif;
  font-size: 4.8rem;
  line-height: 0.85;
  float: left;
  padding: 0.5rem 0.7rem 0 0;
  color: var(--navy);
  font-weight: 400;
}

/* ============ KINEK SZÓL – sötét szekció ============ */

.dark-section {
  background: var(--navy);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}

.dark-section::before {
  content: '';
  position: absolute;
  top: -200px;
  left: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(184, 152, 90, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.dark-section::after {
  content: '';
  position: absolute;
  bottom: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(184, 152, 90, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.dark-section h2 {
  color: var(--cream);
}

.dark-section p {
  color: rgba(250, 246, 238, 0.82);
}

.dark-section .eyebrow {
  color: var(--gold-bright);
}

.two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  margin-top: 4rem;
  position: relative;
  z-index: 2;
}

.column-block h3 {
  font-size: 1.75rem;
  margin-bottom: 2rem;
  color: var(--cream);
  font-weight: 400;
}

.column-block h3 .italic {
  font-style: italic;
  color: rgba(250, 246, 238, 0.7);
}

.list-elegant {
  list-style: none;
  padding: 0;
}

.list-elegant li {
  padding: 1.1rem 0;
  padding-left: 2rem;
  border-bottom: 1px solid rgba(212, 184, 118, 0.12);
  position: relative;
  color: rgba(250, 246, 238, 0.85);
  line-height: 1.55;
}

.list-elegant li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.4rem;
  width: 14px;
  height: 1px;
  background: var(--gold);
}

.list-elegant.neg li::before {
  background: rgba(250, 246, 238, 0.3);
  width: 10px;
}

.list-elegant li:last-child { border-bottom: none; }

/* ============ MIT KAPSZ ============ */

.outcome {
  background: var(--cream-warm);
  position: relative;
}

.outcome-inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  padding: 0 2rem;
}

.outcome h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 2.5rem;
}

.outcome .lead {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--ink);
  margin-bottom: 1.5rem;
}

.outcome-highlight {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.55rem;
  color: var(--navy);
  padding: 2.5rem 0 2.5rem 0;
  margin: 2rem auto;
  line-height: 1.5;
  max-width: 680px;
  position: relative;
  font-weight: 300;
}

.outcome-highlight::before,
.outcome-highlight::after {
  content: '';
  display: block;
  width: 36px;
  height: 1px;
  background: var(--line-gold);
  margin: 0 auto;
}

.outcome-highlight::before { margin-bottom: 1.8rem; }
.outcome-highlight::after { margin-top: 1.8rem; }

/* ============ RÓLAM ============ */

.about {
  background: var(--cream);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 5rem;
  align-items: center;
}

.about-portrait {
  position: relative;
}

.about-portrait .portrait-frame {
  max-width: 100%;
  aspect-ratio: 3/4;
  border-radius: 8px;
}

.about-portrait::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  right: 30px;
  bottom: 30px;
  border: 1px solid var(--gold);
  border-radius: 8px;
  z-index: 0;
  opacity: 0.5;
}

.about-content h2 {
  margin-bottom: 2rem;
}

.about-content h2 .italic {
  font-style: italic;
  color: var(--navy);
}

.about-content p {
  margin-bottom: 1.3rem;
  font-size: 1.05rem;
  line-height: 1.8;
}

.about-content strong {
  color: var(--navy);
  font-weight: 600;
}

.about-signature {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.8rem;
  color: var(--navy);
  margin-top: 2.5rem;
  font-weight: 400;
  line-height: 1.2;
  padding-top: 2rem;
  border-top: 1px solid var(--line-gold);
  max-width: 280px;
}

.about-signature-sub {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-style: normal;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 0.5rem;
}

/* ============ QUOTE BANNER – "Itt kimondható..." ============ */

.quote-banner {
  background: var(--navy-deep);
  color: var(--cream);
  padding: 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.quote-banner::before {
  content: '"';
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Fraunces', serif;
  font-size: 18rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.08;
  pointer-events: none;
}

.quote-banner-text {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.3;
  margin-bottom: 1rem;
  font-style: italic;
  position: relative;
  z-index: 2;
}

.quote-banner-sub {
  font-size: 0.95rem;
  color: rgba(250, 246, 238, 0.7);
  letter-spacing: 0.05em;
  position: relative;
  z-index: 2;
}

/* ============ VISSZAJELZÉSEK (editorial idézetek) ============ */

.testimonials {
  background: var(--cream);
}

.testimonials-header {
  text-align: center;
  margin-bottom: 5rem;
}

.testimonial {
  max-width: 820px;
  margin: 0 auto 5rem;
  padding: 0 2rem;
  text-align: center;
  position: relative;
}

.testimonial:last-child { margin-bottom: 0; }

.testimonial-quote {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.35rem, 2.2vw, 1.65rem);
  line-height: 1.55;
  color: var(--ink);
  font-weight: 300;
  font-style: italic;
  margin-bottom: 2rem;
  position: relative;
}

.testimonial-quote::before {
  content: '"';
  position: absolute;
  top: -40px;
  left: -20px;
  font-size: 5rem;
  color: var(--gold);
  opacity: 0.4;
  font-weight: 400;
  line-height: 1;
}

.testimonial-author {
  font-family: 'Manrope', sans-serif;
  font-size: 0.8rem;
  font-style: normal;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.testimonial-divider {
  width: 40px;
  height: 1px;
  background: var(--line-gold);
  margin: 0 auto 1.2rem;
}

/* ============ ZÁRÓ CTA ============ */

.final-cta {
  background: linear-gradient(135deg, var(--cream-warm) 0%, var(--cream-deep) 100%);
  padding: clamp(6rem, 10vw, 9rem) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 300px;
  border: 1px solid var(--gold);
  border-bottom: none;
  border-radius: 600px 600px 0 0;
  opacity: 0.12;
  pointer-events: none;
}

.final-cta-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

.final-cta h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  margin-bottom: 1.5rem;
}

.final-cta h2 .italic {
  font-style: italic;
  color: var(--navy);
}

.final-cta-lead {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 2rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ============ BOOKING META – időtartam + formátum info ============ */

.booking-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
  padding: 1.5rem 2rem;
  background: rgba(250, 246, 238, 0.5);
  border: 1px solid var(--line-gold);
  border-radius: 4px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.booking-meta-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: 'Fraunces', serif;
  font-size: 0.95rem;
  font-style: italic;
  font-weight: 400;
  color: var(--navy);
}

.booking-meta-icon {
  font-family: Georgia, serif;
  font-size: 1.15rem;
  color: var(--gold);
  font-style: normal;
  line-height: 1;
  display: inline-block;
  transform: translateY(-1px);
}

.booking-meta-divider {
  width: 1px;
  height: 20px;
  background: var(--line-gold);
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .booking-meta {
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
  }
  .booking-meta-divider {
    width: 24px;
    height: 1px;
  }
}

/* ============ CALENDLY WIDGET ============ */

.calendly-wrapper {
  max-width: 1080px;
  margin: 3rem auto 0;
  padding: 0;
  position: relative;
  z-index: 3;
}

.calendly-frame {
  border-radius: 6px;
  overflow: hidden;
  background: var(--cream);
  box-shadow: 
    0 30px 70px -30px rgba(15, 27, 61, 0.25),
    0 15px 40px -20px rgba(15, 27, 61, 0.15),
    0 0 0 1px rgba(184, 152, 90, 0.15);
  position: relative;
}

.calendly-inline-widget {
  min-width: 320px;
  height: 720px;
  border-radius: 6px;
}

/* Calendly loader – amíg betölt, ez látszik */
.calendly-loader {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  pointer-events: none;
  transition: opacity 0.5s;
  z-index: 1;
}

.calendly-loader.hidden { opacity: 0; }

.calendly-loader-arc {
  width: 60px;
  height: 60px;
  border: 2px solid var(--gold-soft);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 1.2s linear infinite;
  margin-bottom: 1.5rem;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.calendly-loader-text {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--ink-muted);
}

.calendly-fallback {
  padding: 4rem 2rem;
  text-align: center;
  background: var(--cream);
  border: 1px dashed var(--line-gold);
  border-radius: 6px;
}

.calendly-fallback h4 {
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 1rem;
  font-weight: 400;
}

.calendly-fallback p {
  margin-bottom: 1.5rem;
  color: var(--ink-soft);
}

.calendly-fallback code {
  background: var(--cream-deep);
  padding: 0.3rem 0.6rem;
  border-radius: 3px;
  font-family: 'SF Mono', Monaco, monospace;
  font-size: 0.85rem;
  color: var(--navy);
}

.calendly-note {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.82rem;
  color: var(--ink-muted);
  font-style: italic;
  font-family: 'Fraunces', serif;
}

@media (max-width: 640px) {
  .calendly-inline-widget { height: 900px; }
  .calendly-wrapper { margin: 2.5rem -0.5rem 0; }
}

/* ============ FOOTER ============ */

footer {
  background: var(--navy-deep);
  color: rgba(250, 246, 238, 0.7);
  padding: 3rem 0 2rem;
  font-size: 0.85rem;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.footer-brand .logo-brand,
.footer-brand .logo-sub {
  color: var(--cream);
}

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-links a {
  color: rgba(250, 246, 238, 0.7);
  text-decoration: none;
  transition: color 0.2s;
  font-size: 0.85rem;
}

.footer-links a:hover { color: var(--gold-bright); }

.footer-copy {
  text-align: center;
  width: 100%;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(250, 246, 238, 0.1);
  font-size: 0.78rem;
  color: rgba(250, 246, 238, 0.5);
}

/* ============ LOGO SVG STYLES ============ */

.logo-svg-mark {
  width: 100%;
  height: 100%;
}

/* ============ FADE-IN ANIMÁCIÓ ============ */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), transform 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }
.reveal-delay-4 { transition-delay: 0.48s; }

/* ============ MOBILE ============ */

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .portrait-frame { max-width: 360px; margin: 0 auto; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-portrait .portrait-frame { max-width: 320px; margin: 0 auto; }
  .about-portrait::before { display: none; }
  .two-columns { grid-template-columns: 1fr; gap: 3rem; }
  .editorial-body { columns: 1; }
  .promise-grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1rem; }
  .promise-item:nth-child(3) { border-left: none; }
  .promise-item { border-left: none; padding-top: 1rem; border-top: 1px solid var(--line-gold); }
  .promise-item:nth-child(-n+2) { border-top: none; padding-top: 0; }
}

@media (max-width: 640px) {
  .container, .container-narrow { padding: 0 1.25rem; }
  .nav-inner { padding: 1rem 1.25rem; }
  .nav-links { display: none; }
  .nav-cta { display: inline-flex; }
  .logo-img { height: 52px; }
  .hero { padding-top: 6rem; min-height: auto; }
  .hero-content h1 { font-size: 2.4rem; }
  .promise-grid { grid-template-columns: 1fr; }
  .promise-item { border-left: none; border-top: 1px solid var(--line-gold); padding-top: 1.5rem; }
  .promise-item:first-child { border-top: none; padding-top: 0; }
  .editorial-body p:first-child::first-letter { font-size: 3.8rem; }
  .about-signature { font-size: 1.5rem; }
  .hero-cta-group { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; flex-wrap: wrap; gap: 1rem; }
  section { padding: 4.5rem 0; }
}
