/* =====================================================================
   Rock Celine — v2 design system
   ---------------------------------------------------------------------
   Built on the original's confirmed DNA (amber accent #f9ad4a, dark
   curtain hero, Roboto + Raleway, minimalist high-contrast) and pushed
   with real design craft: transparent→solid header, organic wave
   dividers, deliberate typographic rhythm, refined cards.

   Sections:
     1. Tokens          6. Header / nav
     2. Reset / base    7. Hero
     3. Type            8. Cards & grids
     4. Layout          9. CTA band
     5. Buttons        10. Footer & misc
   ===================================================================== */

/* 1. ── Design tokens ─────────────────────────────────────────────── */
:root {
  --accent:        #f9ad4a;
  --accent-dark:   #e8922a;
  --accent-deep:   #b56a0e;
  --accent-soft:   #fff6e9;
  --accent-line:   #ffe2bf;

  --ink:           #16181d;
  --ink-body:      #45494f;
  --ink-muted:     #71777f;
  --bg:            #eef3f7;
  --bg-alt:        #f6f9fb;
  --surface:       #ffffff;
  --line:          #e2e8ee;
  --line-soft:     #eef2f6;

  --dark:          #14181d;
  --dark-2:        #1c2128;

  --font-display:  "Raleway", system-ui, sans-serif;
  --font-body:     "Roboto", system-ui, sans-serif;

  --container:     1200px;
  --radius:        8px;
  --radius-lg:     18px;
  --radius-xl:     26px;
  --shadow-sm:     0 4px 14px -8px rgba(20, 40, 60, .35);
  --shadow:        0 24px 50px -28px rgba(20, 40, 60, .4);
  --shadow-hover:  0 34px 60px -26px rgba(20, 40, 60, .45);
  --header-h:      78px;
  --ease:          cubic-bezier(.22, .61, .36, 1);
}

/* 2. ── Reset & base ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--ink-body);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
::selection { background: var(--accent); color: #fff; }

/* 3. ── Typography ────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.14;
  letter-spacing: -.01em;
  margin: 0 0 .55em;
}
h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.05rem; }
p  { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700;
  font-size: .76rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent-deep); margin-bottom: .85rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--accent); border-radius: 2px;
}
.eyebrow.center::after {
  content: ""; width: 26px; height: 2px; background: var(--accent); border-radius: 2px;
}

/* 4. ── Layout ────────────────────────────────────────────────────── */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 28px; }
.section { position: relative; padding-block: clamp(56px, 8vw, 112px); }
.section--tight { padding-block: clamp(40px, 5vw, 72px); }
.section--surface { background: var(--surface); }
.section--soft    { background: var(--bg-alt); }
.section--accent  { background: var(--accent-soft); }
.section--dark    { background: var(--dark); color: #c4ccd4; }
.section--dark h2, .section--dark h3 { color: #fff; }

.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.lead { font-size: 1.1rem; color: var(--ink-muted); }

/* organic wave divider */
.wave { position: absolute; left: 0; right: 0; line-height: 0; pointer-events: none; width: 100%; }
.wave--top { top: -1px; transform: rotate(180deg); }
.wave--bottom { bottom: -1px; }
.wave svg { display: block; width: 100%; height: 56px; }

/* 5. ── Buttons ───────────────────────────────────────────────────── */
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 15px 30px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 700;
  font-size: .86rem; letter-spacing: .06em; text-transform: uppercase;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn.has-arrow::after { content: "→"; transition: transform .25s var(--ease); }
.btn.has-arrow:hover::after { transform: translateX(4px); }

.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 16px 30px -14px rgba(249, 173, 74, .85); }
.btn--primary:hover { background: var(--accent-dark); transform: translateY(-3px); }

.btn--ghost { background: transparent; color: #fff; border: 1.6px solid rgba(255,255,255,.7); }
.btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; transform: translateY(-3px); }

.btn--ink { background: transparent; color: var(--ink); border: 1.6px solid var(--ink); }
.btn--ink:hover { background: var(--ink); color: #fff; transform: translateY(-3px); }

.btn--light { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.btn--light:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.btn--block { width: 100%; justify-content: center; }
.link-more { font-family: var(--font-display); font-weight: 700; color: var(--accent-deep); font-size: .85rem; letter-spacing: .05em; text-transform: uppercase; }
.link-more:hover { color: var(--accent); }

/* 6. ── Header / nav ──────────────────────────────────────────────── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  height: var(--header-h); display: flex; align-items: center;
  background: transparent;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), height .3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(150%) blur(10px);
  box-shadow: 0 8px 30px -18px rgba(20,40,60,.4);
  height: 66px;
}
.site-header__inner {
  width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand {
  display: inline-flex; flex-direction: column; line-height: 1;
  font-family: var(--font-display); font-weight: 700; font-size: 1.5rem;
  color: #fff; letter-spacing: .01em; transition: color .3s var(--ease);
}
.site-header.is-scrolled .brand { color: var(--ink); }
.brand__accent { color: var(--accent); }
.brand__sub { font-size: .6rem; letter-spacing: .3em; text-transform: uppercase; font-weight: 500; opacity: .75; margin-top: 3px; }

.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav a {
  position: relative; padding: 9px 16px; font-weight: 500; font-size: .95rem;
  color: rgba(255,255,255,.92); border-radius: var(--radius); transition: color .2s var(--ease);
}
.site-header.is-scrolled .main-nav a { color: var(--ink-body); }
.main-nav a:hover { color: var(--accent); }
.main-nav a.is-active { color: var(--accent); }
.main-nav a.is-active::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 1px;
  height: 2px; background: var(--accent); border-radius: 2px;
}
.header-cta { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: var(--radius);
  align-items: center; justify-content: center; color: #fff;
}
.site-header.is-scrolled .nav-toggle { color: var(--ink); }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 22px; height: 2px; background: currentColor;
  transition: transform .25s var(--ease);
}
.nav-toggle span::before { transform: translateY(-7px); }
.nav-toggle span::after  { transform: translateY(5px); }

/* 7. ── Hero ──────────────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  background-size: cover; background-position: center;
  color: #fff; padding-top: var(--header-h);
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(12,18,24,.62) 0%, rgba(12,18,24,.28) 45%, rgba(12,18,24,.72) 100%),
    radial-gradient(120% 80% at 20% 40%, rgba(12,18,24,.5), transparent 60%);
}
.hero__inner { position: relative; z-index: 1; max-width: 720px; }
.hero h1 { color: #fff; }
.hero h1 .hl { color: var(--accent); }
.hero p  { color: rgba(255,255,255,.9); font-size: 1.16rem; max-width: 560px; }
.hero .eyebrow { color: var(--accent); }
.hero .eyebrow::before { background: var(--accent); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 34px; }
.hero__scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  z-index: 1; color: rgba(255,255,255,.7);
  font-size: .7rem; letter-spacing: .25em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.hero__scroll .mouse {
  width: 24px; height: 38px; border: 2px solid rgba(255,255,255,.5); border-radius: 14px; position: relative;
}
.hero__scroll .mouse::after {
  content: ""; position: absolute; top: 7px; left: 50%; transform: translateX(-50%);
  width: 3px; height: 7px; background: var(--accent); border-radius: 2px;
  animation: scrollDot 1.6s var(--ease) infinite;
}
@keyframes scrollDot { 0%{opacity:0;transform:translate(-50%,0)} 40%{opacity:1} 80%{opacity:0;transform:translate(-50%,12px)} 100%{opacity:0} }

/* page hero (interior) */
.page-hero {
  position: relative; padding: calc(var(--header-h) + 70px) 0 90px;
  text-align: center; background-size: cover; background-position: center; color: #fff;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12,18,24,.5), rgba(12,18,24,.72));
}
.page-hero__inner { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; margin-bottom: .2em; }
.page-hero .eyebrow { color: var(--accent); justify-content: center; }
.breadcrumb { color: rgba(255,255,255,.78); font-size: .9rem; }
.breadcrumb a:hover { color: var(--accent); }

/* 8. ── Cards & grids ─────────────────────────────────────────────── */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stat { text-align: center; padding: 18px 10px; }
.stat__num { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.9rem,4vw,2.8rem); color: var(--accent); line-height: 1; }
.stat__label { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); margin-top: 8px; }
.section--dark .stat__label { color: #9aa3ad; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.split__media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.split__media::after {
  content: ""; position: absolute; inset: auto -16px -16px auto; width: 42%; height: 42%;
  background: var(--accent); opacity: .14; border-radius: var(--radius-lg); z-index: -1;
}

.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cat-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 3 / 4; background: var(--line); box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.cat-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.cat-card:hover img { transform: scale(1.08); }
.cat-card__body {
  position: absolute; inset: auto 0 0 0; padding: 26px 24px;
  background: linear-gradient(transparent, rgba(10,16,22,.85)); color: #fff;
}
.cat-card__body h3 { color: #fff; margin: 0 0 4px; }
.cat-card__body .go { font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); font-weight: 600; display: inline-flex; gap: 6px; align-items: center; }
.cat-card__tag {
  position: absolute; top: 16px; left: 16px;
  background: var(--accent); color: #fff; font-family: var(--font-display); font-weight: 700;
  font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px;
}

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.feature {
  text-align: center; padding: 42px 30px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.feature__icon {
  width: 72px; height: 72px; margin: 0 auto 22px; display: grid; place-items: center; font-size: 1.9rem;
  border-radius: 50%; background: var(--accent-soft); color: var(--accent-deep);
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.feature:hover .feature__icon { background: var(--accent); color: #fff; transform: rotate(-6deg) scale(1.05); }
.feature h3 { margin-bottom: .4em; }
.feature p  { margin: 0; font-size: .97rem; }

.check-list { display: grid; gap: 14px; }
.check-list li { display: flex; align-items: center; gap: 14px; font-weight: 400; font-size: 1rem; }
.check-list li::before {
  content: "✓"; flex: 0 0 26px; height: 26px; display: grid; place-items: center; border-radius: 50%;
  background: var(--accent); color: #fff; font-size: .8rem; font-weight: 700;
}

.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.testi {
  position: relative; padding: 38px 32px 30px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
}
.testi::before {
  content: "“"; position: absolute; top: 6px; right: 26px;
  font-family: Georgia, serif; font-size: 4.5rem; line-height: 1; color: var(--accent-line);
}
.testi__stars { color: var(--accent); letter-spacing: 3px; margin-bottom: 14px; font-size: 1rem; }
.testi blockquote { margin: 0 0 22px; font-size: 1rem; line-height: 1.75; color: var(--ink-body); }
.testi__person { display: flex; align-items: center; gap: 13px; }
.testi__person img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; border: 2px solid var(--accent-line); }
.testi__person strong { display: block; color: var(--ink); font-family: var(--font-display); }
.testi__person small { color: var(--ink-muted); }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery-grid figure {
  position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 4 / 3; background: var(--line); box-shadow: var(--shadow-sm);
}
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery-grid figure::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(transparent 55%, rgba(10,16,22,.6)); opacity: 0; transition: opacity .35s var(--ease);
}
.gallery-grid figure:hover img { transform: scale(1.07); }
.gallery-grid figure:hover::after { opacity: 1; }
.gallery-grid .wide { grid-column: span 2; aspect-ratio: 2 / 1; }

/* 9. ── CTA band ──────────────────────────────────────────────────── */
.cta-band { position: relative; background-size: cover; background-position: center; text-align: center; color: #fff; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,18,24,.7), rgba(12,18,24,.78)); }
.cta-band__inner { position: relative; z-index: 1; max-width: 740px; margin-inline: auto; }
.cta-band h2 { color: #fff; }
.cta-band p  { color: rgba(255,255,255,.9); font-size: 1.1rem; }
.cta-band .hero__actions { justify-content: center; }

/* 10. ── Footer ───────────────────────────────────────────────────── */
.site-footer { background: var(--dark); color: #9aa3ad; padding-top: 76px; position: relative; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 44px; padding-bottom: 54px; }
.site-footer .brand { color: #fff; margin-bottom: 16px; }
.site-footer h4 { color: #fff; margin-bottom: 20px; font-size: 1.02rem; }
.site-footer p { font-size: .92rem; color: #9aa3ad; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #9aa3ad; transition: color .2s var(--ease), padding .2s var(--ease); }
.footer-links a:hover { color: var(--accent); padding-left: 5px; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 14px; font-size: .92rem; }
.footer-contact .ico { color: var(--accent); flex: 0 0 18px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; font-size: .84rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: #6c7480;
}
.socials { display: flex; gap: 10px; }
.socials a {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.15);
  display: grid; place-items: center; color: #9aa3ad; transition: all .25s var(--ease);
}
.socials a:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ── Scroll reveal ────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .hero__scroll .mouse::after { animation: none; }
}

/* ── Utilities ────────────────────────────────────────────────────── */
.center { text-align: center; }

/* ── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 1040px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid, .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .header-cta .btn--ghost, .header-cta .btn--ink { display: none; }
  .main-nav {
    position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px);
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: calc(var(--header-h) + 10px) 22px 30px;
    box-shadow: -30px 0 60px -30px rgba(0,0,0,.4);
    transform: translateX(110%); transition: transform .35s var(--ease);
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { color: var(--ink-body) !important; padding: 15px 6px; border-bottom: 1px solid var(--line-soft); border-radius: 0; }
  .main-nav a.is-active::after { display: none; }
  .split, .split--reverse .split__media { grid-template-columns: 1fr; gap: 36px; }
  .split--reverse .split__media { order: 0; }
  .feature-grid, .testi-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid .wide { grid-column: span 2; }
  .stats { grid-template-columns: 1fr 1fr; gap: 8px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero { min-height: 90vh; }
}
