/* BaseRock Agency — shared stylesheet.
 *
 * Rules identical on all six pages, extracted from their inline <style> blocks.
 * Loaded BEFORE each page's remaining inline CSS, so page-specific rules still
 * override these exactly as they did before.
 *
 * Edit a colour, font or shared component HERE — not in the HTML files.
 * 194 rules.
 */

/* =========================================================================
   BaseRock Agency — Stylesheet
   Single source of truth for the entire site.
   ========================================================================= */

/* ---- Design tokens ----------------------------------------------------- */
:root {
  /* Color */
  --bg:            #0C0E0F;
  --bg-elevated:   #131617;
  --bg-input:      #090B0C;
  --border:        #1f2326;
  --text:          #FFFFFF;
  --text-muted:    #B8BDC2;
  --text-dim:      #7d8389;
  --accent:        #FFFFFF;
  --accent-warm-1: #FFFFFF;
  --accent-warm-2: #232729;
  --accent-brand:  #B89D6A;

  /* Type */
  --font-sans: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Layout */
  --container:     1200px;
  --container-pad: clamp(1rem, 4vw, 2.5rem);
  --section-pad:   clamp(5rem, 10vw, 9rem);
  --radius:        4px;

  /* Motion */
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---- Reset ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

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

a { color: inherit; text-decoration: none; }

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

ul, ol { padding: 0; margin: 0; list-style: none; }

h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; }

p  { margin: 0; }

:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
  border-radius: 2px;
}

@media (prefers-reduced-motion: reduce) {
*, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---- Layout helpers ---------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section { padding-block: var(--section-pad); }

.section-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1rem;
}

.site-header__smoke {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.smoke-layer {
  position: absolute;
  inset: -40px;
  border-radius: 50%;
  filter: blur(22px);
  mix-blend-mode: screen;
  animation: smokeFloat 12s ease-in-out infinite;
}

.smoke-layer--1 {
  background: radial-gradient(ellipse 80% 70% at 15% 50%, rgba(184,157,106,0.55) 0%, rgba(184,157,106,0.20) 45%, transparent 68%);
  animation-duration: 14s;
  animation-delay: 0s;
}

.smoke-layer--2 {
  background: radial-gradient(ellipse 70% 90% at 65% 40%, rgba(212,184,118,0.45) 0%, rgba(184,157,106,0.15) 45%, transparent 70%);
  animation-duration: 18s;
  animation-delay: -6s;
}

.smoke-layer--3 {
  background: radial-gradient(ellipse 90% 60% at 85% 60%, rgba(184,157,106,0.40) 0%, rgba(160,134,88,0.12) 45%, transparent 70%);
  animation-duration: 22s;
  animation-delay: -11s;
}

.smoke-layer--4 {
  background: radial-gradient(ellipse 60% 80% at 45% 30%, rgba(220,192,130,0.50) 0%, rgba(184,157,106,0.18) 50%, transparent 70%);
  animation-duration: 16s;
  animation-delay: -4s;
}

.smoke-layer--5 {
  background: radial-gradient(ellipse 50% 65% at 90% 20%, rgba(184,157,106,0.42) 0%, rgba(200,170,100,0.14) 50%, transparent 70%);
  animation-duration: 20s;
  animation-delay: -8s;
}

@keyframes smokeFloat {
  0%   { opacity: 0.80; transform: translateX(-8%) scaleY(0.90); }
  50%  { opacity: 1;    transform: translateX(7%)  scaleY(1.15); }
  100% { opacity: 0.80; transform: translateX(-8%) scaleY(0.90); }
}

.site-header__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  letter-spacing: 0.18em;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
}

.brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.nav-primary ul {
  display: flex;
  gap: 2.25rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.nav-primary a {
  position: relative;
  padding-block: 0.25rem;
  transition: opacity 0.2s var(--ease);
}

.nav-primary a::after {
  content: "";
  position: absolute;
  inset: auto 0 -2px 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav-primary a:hover::after,
.nav-primary a[aria-current="page"]::after {
  transform: scaleX(1);
  background: var(--accent-brand);
}

.nav-primary a:hover {
  color: var(--accent-brand);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  position: relative;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: currentColor;
  transition: transform 0.3s var(--ease);
}

.nav-toggle span::before { transform: translateY(-7px); }

.nav-toggle span::after  { transform: translateY( 7px); }

.nav-toggle[aria-expanded="true"] span                  { background: transparent; }

.nav-toggle[aria-expanded="true"] span::before          { transform: translateY(0) rotate(45deg); }

.nav-toggle[aria-expanded="true"] span::after           { transform: translateY(0) rotate(-45deg); }

/* ---- Buttons ---------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 2.4rem;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 999px;
  background: #fff;
  color: var(--bg);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
  will-change: transform;
}

.btn:hover, .btn:focus-visible {
  transform: scale(1.06);
  box-shadow: 0 12px 30px -12px rgba(255, 255, 255, 0.35);
}

.btn:active { transform: scale(1.02); }

.btn--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
}

.btn--ghost:hover { background: #fff; color: var(--bg); }

.btn--sm { padding: 0.65rem 1.6rem; font-size: 0.75rem; }

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__media video,
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.15);
  transition: transform 0.12s ease-out;
  will-change: transform;
  filter: brightness(1.8) contrast(1.1);
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(12,14,15,.10), rgba(12,14,15,.45) 70%),
    linear-gradient(180deg, rgba(12,14,15,.15) 0%, rgba(12,14,15,.60) 100%);
}

.hero__inner::before {
  content: "";
  position: absolute;
  right: 8%;
  top: 50%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(184,157,106,0.14) 0%, transparent 72%);
  transform: translateY(-50%);
  pointer-events: none;
  filter: blur(12px);
}

.hero__logo {
  width: clamp(96px, 14vw, 150px);
  height: auto;
  filter: drop-shadow(0 4px 24px rgba(0,0,0,0.4));
  animation: rise 0.8s var(--ease) both;
}

.hero__title {
  font-size: clamp(2rem, 5.4vw, 4.25rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.05;
  text-wrap: balance;
  animation: rise 0.8s var(--ease) 0.15s both;
}

.hero__cta { animation: rise 0.8s var(--ease) 0.45s both; }

.hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero__logo {
  width: clamp(120px, 18vw, 220px);
}

@media (max-width: 820px) {
.hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
.hero__content {
    align-items: center;
    text-align: center;
  }
.hero__inner::before {
    right: 50%;
    transform: translate(50%, -50%);
  }
}

.hero--compact { min-height: clamp(360px, 50vh, 460px); }

.hero--compact .hero__title { font-size: clamp(2rem, 5vw, 3.25rem); }

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---- Section heading ---------------------------------------------------- */
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

@media (max-width: 600px) {
.section-head { flex-direction: column; align-items: start; }
}

/* ---- Portfolio carousel ------------------------------------------------ */
.carousel { position: relative; }

.carousel__track::-webkit-scrollbar { display: none; }

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(255,255,255,0.04) 100%);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(184,157,106,0.35);
  box-shadow: 0 18px 40px -24px rgba(184,157,106,0.22);
}

.card__title {
  font-size: 1.05rem;
  letter-spacing: 0.16em;
  text-align: center;
  text-transform: uppercase;
  line-height: 1.25;
}

.carousel__btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
  flex-shrink: 0;
}

.carousel__btn:hover { background: #fff; color: var(--bg); border-color: #fff; }

.carousel__btn[disabled] { opacity: 0.3; cursor: not-allowed; }

.carousel__btn[disabled]:hover { background: transparent; color: inherit; border-color: var(--border); }

.carousel__btn svg { width: 16px; height: 16px; }

.carousel-with-btns .carousel {
  flex: 1;
  min-width: 0;
}

/* ---- FAQ -------------------------------------------------------------- */
.faq { max-width: 880px; margin-inline: auto; }

.faq__item {
  border-bottom: 1px solid var(--border);
}

.faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.5rem 0;
  font-weight: 700;
  letter-spacing: 0.1em;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  text-transform: uppercase;
  transition: color 0.2s var(--ease);
}

.faq__item summary::-webkit-details-marker { display: none; }

.faq__item summary:hover { color: var(--accent-warm-1); }

.faq__item summary::after {
  content: "";
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-4px);
  transition: transform 0.3s var(--ease);
}

.faq__item[open] summary::after { transform: rotate(-135deg) translateY(-2px); }

.faq__body {
  padding: 0 0 1.75rem;
  color: var(--text-muted);
  max-width: 70ch;
  animation: faqOpen 0.35s var(--ease) both;
}

.faq__body p + p { margin-top: 0.75rem; }

.faq__body ol, .faq__body ul {
  list-style: decimal;
  padding-left: 1.25rem;
  margin-top: 0.5rem;
}

.faq__body ul { list-style: disc; }

@keyframes faqOpen {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---- Contact / Form --------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

@media (max-width: 820px) {
.contact-grid { grid-template-columns: 1fr; }
}

.form {
  display: grid;
  gap: 1.25rem;
}

.field {
  display: grid;
  gap: 0.5rem;
}

.field label {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-muted);
}

.field input,
.field textarea {
  width: 100%;
  background: var(--bg-input);
  color: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.95rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(255,255,255,0.4);
  background: #0e1112;
}

.field textarea { min-height: 140px; resize: vertical; }

.form__actions { margin-top: 0.5rem; }

.form__status  { min-height: 1.25rem; color: var(--text-muted); font-size: 0.9rem; }

.form__status[data-state="error"]   { color: #ff7a7a; }

.form__status[data-state="success"] { color: #7afebc; }

/* ---- Contact details -------------------------------------------------- */
.contact-info {
  display: grid;
  gap: 2.25rem;
}

.contact-info__group h3 {
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: var(--text-dim);
}

.contact-info__list {
  display: grid;
  gap: 0.75rem;
}

.contact-info__list li {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  font-weight: 500;
}

.contact-info__list a:hover { color: var(--accent-warm-1); }

.contact-info__list svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 0.7;
}

/* ---- Article (Cookies page) ------------------------------------------ */
.article {
  max-width: 800px;
  margin-inline: auto;
}

.article h2 {
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  text-align: center;
}

.article h3 {
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 2.75rem 0 1rem;
}

.article p   { color: var(--text-muted); }

.article p + p, .article ul + p, .article p + ul { margin-top: 1rem; }

.article ul {
  list-style: disc;
  padding-left: 1.25rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.article ul li + li { margin-top: 0.5rem; }

.article a { text-decoration: underline; text-underline-offset: 3px; }

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (max-width: 820px) {
.site-footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 480px) {
.site-footer__grid { grid-template-columns: 1fr; }
}

.site-footer__col h4 {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1rem;
  font-weight: 600;
}

.site-footer__col ul { display: grid; gap: 0.6rem; font-size: 0.95rem; }

.site-footer__col a { color: var(--text-muted); transition: color 0.2s var(--ease); }

.site-footer__col a:hover { color: #fff; }

.site-footer__brand { display: flex; flex-direction: column; gap: 1rem; }

.site-footer__brand img { width: 56px; height: 56px; object-fit: contain; }

.site-footer__brand p { color: var(--text-muted); font-size: 0.9rem; max-width: 30ch; }

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-dim);
  flex-wrap: wrap;
}

.site-footer__legal { display: flex; gap: 1.5rem; flex-wrap: wrap; }

.site-footer__legal a:hover { color: #fff; }

/* ---- Stats bar -------------------------------------------------------- */
.stats-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(2.5rem, 9vw, 7rem);
  padding: 2.5rem 0 3rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 3rem;
}

.stats-number {
  display: block;
  font-size: clamp(2.8rem, 5.5vw, 4.2rem);
  font-weight: 800;
  color: var(--accent-brand);
  line-height: 1;
  letter-spacing: -0.03em;
}

.stats-label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 0.45rem;
  font-weight: 600;
}

/* ---- Carousel dots ---------------------------------------------------- */
.carousel__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 1.75rem;
}

.carousel__dot {
  width: 18px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.22);
  transition: width 0.35s ease, background 0.35s ease;
  cursor: pointer;
  border: none;
  padding: 0;
  flex-shrink: 0;
}

.carousel__dot.is-active {
  background: var(--accent-brand);
  width: 32px;
}

/* ---- Skip link -------------------------------------------------------- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: #fff;
  color: var(--bg);
  font-weight: 700;
  border-radius: var(--radius);
  transition: top 0.2s var(--ease);
}

.skip-link:focus { top: 1rem; }

/* ---- Name Strike intro -------------------------------------------------- */
#name-strike {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  pointer-events: none;
}

#name-strike__flash {
  position: absolute;
  inset: 0;
  background: #fff;
  opacity: 0;
}

#name-strike__letters {
  display: flex;
  align-items: baseline;
}

.ns-letter {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(2.4rem, 9vw, 6.5rem);
  text-transform: uppercase;
  color: #fff;
  opacity: 0;
  position: relative;
  animation: ns-drop 0.48s cubic-bezier(0.15, 0.75, 0.25, 1.12) both;
  animation-delay: calc(0.15s + var(--i) * 0.13s);
}

.ns-letter::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: -15%;
  width: 130%;
  height: 2px;
  background: rgba(255,255,255,0.65);
  transform-origin: center;
  opacity: 0;
  animation: ns-dust 0.38s ease-out both;
  animation-delay: calc(0.15s + var(--i) * 0.13s + 0.44s);
}

@keyframes ns-drop {
  0%   { opacity: 0; transform: translateY(-65px); }
  55%  { opacity: 1; transform: translateY(7px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes ns-dust {
  0%   { transform: scaleX(0.15); opacity: 0.9; }
  35%  { transform: scaleX(1.1);  opacity: 0.55; }
  100% { transform: scaleX(2.4);  opacity: 0; }
}

/* Pause hero animations until intro ends */
body.intro-active .hero__logo,
body.intro-active .hero__title,
body.intro-active .hero__subtitle,
body.intro-active .hero__cta {
  animation-play-state: paused;
  opacity: 0;
}

/* ================= PREMIUM DESIGN ENHANCEMENTS ================= */

/* Ambient background lighting */
body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:-2;
  background:
    radial-gradient(circle at 15% 20%, rgba(184,157,106,0.12), transparent 28%),
    radial-gradient(circle at 85% 15%, rgba(255,255,255,0.05), transparent 22%),
    radial-gradient(circle at 50% 80%, rgba(184,157,106,0.08), transparent 35%);
}

/* Noise texture */
body::after{
  content:"";
  position:fixed;
  inset:0;
  opacity:.045;
  pointer-events:none;
  z-index:-1;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

/* More cinematic sections */
section{
  position:relative;
}

section::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(180deg, rgba(255,255,255,.015), transparent 20%, transparent 80%, rgba(255,255,255,.01));
  opacity:.6;
}

.hero::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 20% 30%, rgba(184,157,106,.22), transparent 35%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,.08), transparent 28%);
  pointer-events:none;
}

.hero__title{
  font-size:clamp(2rem, 5.5vw, 7rem) !important;
  line-height:1.08 !important;
  letter-spacing:-0.03em !important;
  text-shadow:0 10px 40px rgba(0,0,0,.45);
}

.hero__content{
  position:relative;
  z-index:2;
}

/* Better buttons */
.btn,
.hero__cta{
  position:relative;
  overflow:hidden;
  border-radius:999px !important;
  transition:
    transform .35s ease,
    box-shadow .35s ease,
    border-color .35s ease !important;
  box-shadow:
    0 10px 30px rgba(0,0,0,.35),
    inset 0 1px rgba(255,255,255,.08);
}

.btn:hover,
.hero__cta:hover{
  transform:translateY(-4px);
  box-shadow:
    0 18px 40px rgba(0,0,0,.45),
    0 0 30px rgba(184,157,106,.18);
}

.card:hover {
  transform:translateY(-8px);
  border-color:rgba(184,157,106,.35) !important;
  box-shadow:
    0 24px 60px rgba(0,0,0,.4),
    0 0 40px rgba(184,157,106,.12);
}

/* Typography polish */
h1,h2,h3{
  letter-spacing:-0.03em;
}

p{
  line-height:1.8;
}

.nav-primary a{
  position:relative;
  transition:color .3s ease;
}

.nav-primary a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-8px;
  width:0%;
  height:1.5px;
  background: var(--accent-brand);
  border-radius: 999px;
  transition: width .45s cubic-bezier(.2,.7,.2,1), opacity .45s ease;
  opacity: 0;
}

.nav-primary a:hover::after,
.nav-primary a[aria-current="page"]::after{
  width:100%;
  opacity: 1;
}

/* Reveal animations */
.reveal{
  opacity:0;
  transform:translateY(30px);
  transition:
    opacity .8s ease,
    transform .8s ease;
}

.reveal.is-visible{
  opacity:1;
  transform:translateY(0);
}

/* Footer upgrade */
footer{
  position:relative;
  overflow:hidden;
}

footer::before{
  content:"";
  position:absolute;
  inset:-20%;
  background:
    radial-gradient(circle at center, rgba(184,157,106,.14), transparent 40%);
  pointer-events:none;
}

/* Better image treatment */
img{
  transition:transform .6s ease;
}

.hero__visual img:hover,
.hero__logo:hover{
  transform:scale(1.03);
}

/* Luxury spacing */
.hero,
section{
  isolation:isolate;
}

@media (max-width:768px){
.hero__title{
    font-size: clamp(1.75rem, 7.5vw, 2.8rem) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.02em !important;
  }
}

.card::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(
      115deg,
      transparent 15%,
      rgba(255,255,255,0.10) 40%,
      rgba(255,255,255,0.03) 50%,
      transparent 75%
    );
  transform:translateY(-130%) skewY(-8deg);
  transition:transform 0.9s cubic-bezier(.2,.7,.2,1);
  pointer-events:none;
}

.card:hover::after{
  transform:translateY(130%) skewY(-8deg);
}

.card:hover{
  transform:
    translateY(-8px)
    scale(1.015) !important;
}

/* =========================================================================
   RESPONSIVE & SMOOTHING PASS
   ========================================================================= */

/* ---- Global smoothing -------------------------------------------------- */
.carousel__track {
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

.card,
.carousel__btn,
.btn,
.faq__item summary {
  -webkit-tap-highlight-color: transparent;
}

/* Ensure all interactive elements meet 44px min touch target */
.carousel__btn { min-width: 44px; min-height: 44px; }

.carousel__dot  { min-width: 20px; min-height: 20px; }

@media (hover: hover) {
.card { will-change: transform; }
}

/* ---- Floating contact button ------------------------------------------ */
.float-cta {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--accent-brand);
  color: #0C0E0F;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 8px 28px rgba(184,157,106,0.35);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.float-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(184,157,106,0.5);
  color: #0C0E0F;
}

@media (max-width: 480px) {
.float-cta { bottom: 1.25rem; right: 1.25rem; padding: 0.65rem 1.2rem; font-size: 0.72rem; }
}

.cookie-banner.is-visible { transform: translateY(0); }

.cookie-banner p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.6;
  max-width: 65ch;
  margin: 0;
}

.cookie-banner p a { color: var(--accent-brand); text-decoration: underline; text-underline-offset: 3px; }

.cookie-banner__actions { display: flex; gap: 0.75rem; flex-shrink: 0; }

.cookie-btn {
  padding: 0.55rem 1.35rem;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
  border: 1px solid transparent;
}

.cookie-btn--accept { background: var(--accent-brand); color: #0C0E0F; }

.cookie-btn--accept:hover { background: #cdb47e; }

.cookie-btn--decline { background: transparent; color: var(--text-muted); border-color: var(--border); }

.cookie-btn--decline:hover { color: #fff; border-color: rgba(255,255,255,0.3); }

/* ---- Contact chips ---------------------------------------------------- */
.contact-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.contact-chip:hover { border-color: rgba(184,157,106,0.5); color: #fff; }

@media (max-width: 768px) {
.hero__media video       { display: none !important; }
.hero__media .hero__mobile-bg {
    display: block !important;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.4);
    filter: brightness(1.3) contrast(1.05);
  }
}
