/* Yacht Upholstery Sardinia - Premium CSS
   Core file: assets/css/yacht-premium.css
   Design: deep navy, warm white, soft gold, muted teal, premium nautical details.
*/

:root {
  --color-navy-950: #06111f;
  --color-navy-900: #071827;
  --color-navy-800: #0c2338;
  --color-navy-700: #12314d;
  --color-teal: #1f6f78;
  --color-teal-soft: #cce8e5;
  --color-gold: #c9a55a;
  --color-gold-soft: #ead8aa;
  --color-sand: #efe6d2;
  --color-cream: #fbf7ef;
  --color-white: #ffffff;
  --color-ink: #15212f;
  --color-muted: #5f6c7a;
  --color-border: rgba(12, 35, 56, 0.14);
  --color-border-light: rgba(255, 255, 255, 0.16);

  --font-main: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: Georgia, "Times New Roman", serif;

  --container: 1160px;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;

  --shadow-soft: 0 22px 60px rgba(6, 17, 31, 0.12);
  --shadow-card: 0 18px 44px rgba(6, 17, 31, 0.10);

  --header-height: 78px;
}

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

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-main);
  color: var(--color-ink);
  background: var(--color-cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::selection {
  background: var(--color-gold-soft);
  color: var(--color-navy-950);
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

p,
h1,
h2,
h3 {
  margin-top: 0;
}

p {
  margin-bottom: 1rem;
}

h1,
h2,
h3 {
  color: inherit;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 780px;
  margin-bottom: 1.2rem;
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 500;
}

h2 {
  max-width: 780px;
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.8vw, 4.15rem);
  font-weight: 500;
}

h3 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 650;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.narrow {
  max-width: 850px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 0.7rem 1rem;
  color: var(--color-white);
  background: var(--color-navy-950);
  border-radius: 999px;
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

.section-dark,
.section-navy {
  color: var(--color-white);
  background:
    radial-gradient(circle at 78% 18%, rgba(201, 165, 90, 0.18), transparent 32%),
    linear-gradient(135deg, var(--color-navy-950), var(--color-navy-800));
}

.section-light {
  background: var(--color-cream);
}

.section-white {
  background: var(--color-white);
}

.section-kicker,
.eyebrow,
.card-kicker {
  margin-bottom: 0.8rem;
  color: var(--color-gold);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.section-heading {
  max-width: 800px;
  margin-bottom: 2.4rem;
}

.section-heading p {
  max-width: 660px;
  color: var(--color-muted);
}

.section-dark .section-heading p,
.section-navy .section-heading p {
  color: rgba(255, 255, 255, 0.76);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-height);
  color: var(--color-white);
  background: rgba(6, 17, 31, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--color-white);
  text-decoration: none;
}

.brand-symbol {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
}

.brand-symbol-svg {
  width: 46px;
  height: 46px;
}

.brand-symbol-ring,
.brand-symbol-inner,
.brand-symbol-wave,
.brand-symbol-horizon {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-symbol-ring {
  stroke: var(--color-gold);
  stroke-width: 2.2;
}

.brand-symbol-inner {
  stroke: rgba(255, 255, 255, 0.26);
  stroke-width: 1.4;
}

.brand-symbol-wave,
.brand-symbol-horizon {
  stroke: var(--color-teal-soft);
  stroke-width: 2.1;
}

.brand-text {
  display: grid;
  gap: 0.1rem;
}

.brand-name {
  font-size: 0.98rem;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.brand-subtitle {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.35rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.92rem;
}

.main-nav a {
  text-decoration: none;
}

.main-nav a:hover {
  color: var(--color-white);
}

.header-cta {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.05rem;
  color: var(--color-navy-950);
  background: var(--color-gold);
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 750;
  text-decoration: none;
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(5.2rem, 9vw, 9rem) 0 clamp(4.5rem, 8vw, 7rem);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.038) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), transparent 76%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}

.hero-lead {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.80);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.hero-note {
  max-width: 560px;
  margin: 1.15rem 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.94rem;
}

.hero-panel {
  position: relative;
}

.hero-card {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.2rem);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(16px);
}

.hero-card::before {
  content: "";
  position: absolute;
  width: 110px;
  height: 110px;
  right: 22px;
  top: 22px;
  border: 1px solid rgba(201, 165, 90, 0.42);
  border-radius: 50%;
  opacity: 0.75;
}

.check-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 0.72rem;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.86);
}

.check-list li::before {
  content: "";
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  margin-top: 0.52rem;
  border-radius: 50%;
  background: var(--color-gold);
}

/* Buttons */

.btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0.88rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
}

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

.btn-primary:hover,
.header-cta:hover {
  background: var(--color-gold-soft);
}

.btn-secondary {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

.text-link {
  display: inline-flex;
  margin-top: 0.6rem;
  color: var(--color-gold-soft);
  font-weight: 800;
}

/* Trust strip */

.trust-strip {
  color: var(--color-white);
  background: var(--color-navy-950);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-strip-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem 1.6rem;
  padding: 1rem 0;
}

.trust-strip span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

/* Content sections */

.intro,
.services,
.who,
.areas,
.process,
.guides,
.faq,
.final-cta {
  padding: clamp(4.5rem, 8vw, 7rem) 0;
}

.intro {
  position: relative;
  overflow: hidden;
}

.intro::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -115px;
  width: 310px;
  height: 310px;
  border: 1px solid rgba(31, 111, 120, 0.25);
  border-radius: 50%;
  box-shadow: inset 0 0 0 36px rgba(31, 111, 120, 0.055);
  pointer-events: none;
}

.intro p:not(.section-kicker) {
  color: var(--color-muted);
  font-size: 1.06rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.service-card,
.guide-card {
  position: relative;
  min-height: 100%;
  padding: clamp(1.35rem, 3vw, 2rem);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.service-card {
  overflow: hidden;
}

.service-media {
  position: relative;
  z-index: 1;
  overflow: hidden;
  margin: -0.35rem -0.35rem 1.35rem;
  aspect-ratio: 16 / 10;
  background: var(--color-navy-900);
  border-radius: calc(var(--radius-md) - 6px);
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card::after {
  content: "";
  position: absolute;
  right: -42px;
  bottom: -42px;
  width: 132px;
  height: 132px;
  border: 1px solid rgba(201, 165, 90, 0.34);
  border-radius: 50%;
}

.service-card p,
.guide-card p {
  color: var(--color-muted);
}

.service-card a,
.guide-card a {
  position: relative;
  z-index: 1;
  color: var(--color-navy-800);
  font-weight: 800;
}

.service-number {
  display: inline-flex;
  margin-bottom: 1.3rem;
  color: var(--color-gold);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

/* Premium band */

.premium-band {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 7vw, 6.2rem) 0;
}

.premium-band::before {
  content: "";
  position: absolute;
  left: -140px;
  top: 50%;
  width: 440px;
  height: 440px;
  border: 1px solid rgba(201, 165, 90, 0.24);
  border-radius: 50%;
  transform: translateY(-50%);
  box-shadow: inset 0 0 0 58px rgba(255, 255, 255, 0.025);
}

.premium-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.premium-grid p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.05rem;
}

/* Who */

.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.pill-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0.62rem 0.95rem;
  color: var(--color-navy-800);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-weight: 700;
}

/* Areas */

.areas-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.areas-copy p:not(.section-kicker) {
  color: var(--color-muted);
}

.location-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.location-list span,
.location-list a {
  display: flex;
  min-height: 58px;
  align-items: center;
  padding: 0.85rem 1rem;
  color: var(--color-ink);
  background:
    linear-gradient(135deg, rgba(239, 230, 210, 0.82), rgba(255, 255, 255, 0.96));
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-weight: 750;
  text-decoration: none;
}

.location-list a:hover {
  border-color: rgba(201, 165, 90, 0.58);
}

/* Process */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  counter-reset: steps;
}

.steps article {
  padding: 1.4rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.steps span {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  color: var(--color-navy-950);
  background: var(--color-gold-soft);
  border-radius: 50%;
  font-weight: 850;
}

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

/* FAQ */

.faq h2 {
  margin-bottom: 1.8rem;
}

details {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(6, 17, 31, 0.055);
}

details + details {
  margin-top: 0.85rem;
}

summary {
  cursor: pointer;
  padding: 1.1rem 1.25rem;
  color: var(--color-navy-900);
  font-weight: 800;
}

details p {
  margin: 0;
  padding: 0 1.25rem 1.25rem;
  color: var(--color-muted);
}

/* Final CTA */

.final-cta {
  text-align: center;
}

.final-cta h2,
.final-cta p {
  margin-inline: auto;
}

.final-cta p {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.78);
}

/* Footer, loaded separately */

.site-footer {
  color: rgba(255, 255, 255, 0.72);
  background: var(--color-navy-950);
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 0.7fr));
  gap: 2rem;
  padding: 3rem 0;
}

.footer-brand {
  max-width: 360px;
}

.footer-title {
  margin-bottom: 0.7rem;
  color: var(--color-white);
  font-weight: 850;
}

.footer-column h3 {
  margin-bottom: 0.9rem;
  color: var(--color-gold-soft);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-column a {
  display: table;
  margin-bottom: 0.55rem;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

.footer-column a:hover {
  color: var(--color-white);
}

.footer-bottom {
  padding: 1rem 0 1.4rem;
  color: rgba(255, 255, 255, 0.50);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
}

/* Focus and motion */

:focus-visible {
  outline: 3px solid var(--color-gold);
  outline-offset: 3px;
}

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

/* Responsive */

@media (max-width: 980px) {
  :root {
    --header-height: auto;
  }

  .header-inner {
    min-height: 72px;
  }

  .main-nav {
    display: none;
  }

  .hero-grid,
  .premium-grid,
  .areas-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    max-width: 560px;
  }

  .cards-grid,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .site-header {
    position: sticky;
  }

  .header-inner {
    gap: 0.8rem;
    padding: 0.75rem 0;
  }

  .brand {
    min-width: 0;
  }

  .brand-symbol {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .brand-symbol-svg {
    width: 42px;
    height: 42px;
  }

  .brand-name {
    font-size: 0.9rem;
  }

  .brand-subtitle {
    font-size: 0.66rem;
  }

  .header-cta {
    min-height: 40px;
    padding: 0.62rem 0.9rem;
    font-size: 0.88rem;
  }

  .hero {
    padding: 4.5rem 0 4.2rem;
  }

  .hero-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .hero-card::before {
    width: 82px;
    height: 82px;
  }

  .trust-strip-inner {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 1.1rem;
    scrollbar-width: none;
  }

  .trust-strip-inner::-webkit-scrollbar {
    display: none;
  }

  .trust-strip span {
    white-space: nowrap;
  }

  .cards-grid,
  .steps,
  .location-list,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .service-card,
  .guide-card,
  .steps article {
    padding: 1.25rem;
  }

  .intro::after,
  .premium-band::before {
    opacity: 0.45;
  }

  summary {
    padding: 1rem;
  }

  details p {
    padding: 0 1rem 1rem;
  }
}


/* Hero image and stronger sales sections */

.hero-panel {
  display: grid;
  gap: 1rem;
}

.hero-visual {
  position: relative;
  overflow: hidden;
  margin: 0;
  aspect-ratio: 14 / 11;
  background: var(--color-navy-900);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.30);
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 45%, rgba(6, 17, 31, 0.34)),
    radial-gradient(circle at 84% 12%, rgba(201, 165, 90, 0.18), transparent 30%);
  pointer-events: none;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card-floating {
  margin-top: -74px;
  margin-left: clamp(1rem, 4vw, 3rem);
  margin-right: clamp(1rem, 4vw, 3rem);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.intro-copy {
  color: var(--color-muted);
  font-size: 1.06rem;
}

.positioning {
  padding: clamp(3rem, 6vw, 5rem) 0;
  border-top: 1px solid rgba(12, 35, 56, 0.08);
}

.positioning-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.positioning-card {
  padding: clamp(1.25rem, 3vw, 1.75rem);
  background:
    linear-gradient(135deg, rgba(251, 247, 239, 0.96), rgba(255, 255, 255, 0.96));
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: 0 14px 36px rgba(6, 17, 31, 0.07);
}

.positioning-card span {
  display: inline-flex;
  margin-bottom: 1rem;
  color: var(--color-gold);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.positioning-card p {
  color: var(--color-muted);
  margin-bottom: 0;
}

@media (max-width: 980px) {
  .intro-grid,
  .positioning-grid {
    grid-template-columns: 1fr;
  }

  .hero-card-floating {
    margin-top: -42px;
  }
}

@media (max-width: 680px) {
  .hero-visual {
    aspect-ratio: 4 / 3;
  }

  .hero-card-floating {
    margin: -30px 0 0;
  }
}


/* V2 refinements: cleaner hero image, proof chips, real premium proof cards */

.hero-visual {
  min-height: 520px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.hero-proof li {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.48rem 0.72rem;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 750;
}

.positioning {
  background:
    radial-gradient(circle at 92% 0%, rgba(201, 165, 90, 0.12), transparent 28%),
    var(--color-cream);
}

.positioning-grid {
  align-items: stretch;
}

.positioning-card {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  padding: 1.65rem;
  background: var(--color-white);
  border: 1px solid rgba(12, 35, 56, 0.14);
  border-radius: var(--radius-md);
  box-shadow: 0 18px 44px rgba(6, 17, 31, 0.08);
}

.positioning-card::after {
  content: "";
  position: absolute;
  right: -42px;
  bottom: -42px;
  width: 130px;
  height: 130px;
  border: 1px solid rgba(201, 165, 90, 0.35);
  border-radius: 50%;
}

.positioning-card span {
  display: inline-flex;
  margin-bottom: 1rem;
  color: var(--color-gold);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.positioning-card h3,
.positioning-card p {
  position: relative;
  z-index: 1;
}

@media (max-width: 980px) {
  .hero-visual {
    min-height: auto;
  }
}


/* V3 fix: keep hero assessment card clean, no awkward overlap */

.hero-card-floating {
  margin-top: 1rem;
  margin-left: 0;
  margin-right: 0;
}

.hero-panel {
  align-self: center;
}

@media (max-width: 980px) {
  .hero-card-floating {
    margin-top: 1rem;
  }
}

@media (max-width: 680px) {
  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-proof {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-proof li {
    justify-content: center;
    text-align: center;
  }

  .hero-card-floating {
    margin-top: 1rem;
  }
}


/* V4 fix: service cards should not stretch into skyscrapers */

.services .cards-grid {
  align-items: start;
}

.service-card,
.guide-card {
  min-height: auto;
  height: auto;
}

.service-card p,
.guide-card p {
  margin-bottom: 1rem;
}

.service-card a,
.guide-card a {
  display: inline-block;
  margin-top: 0.2rem;
}

@media (min-width: 981px) {
  .services .service-card {
    align-self: start;
  }
}


/* Cookie consent banner */

.cookie-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  padding: 1rem;
  color: var(--color-white);
  pointer-events: none;
}

.cookie-consent__panel {
  width: min(100%, 1040px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.4rem;
  align-items: end;
  padding: 1.15rem;
  background:
    radial-gradient(circle at 92% 0%, rgba(201, 165, 90, 0.20), transparent 28%),
    rgba(6, 17, 31, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
  pointer-events: auto;
}

.cookie-consent__kicker {
  margin: 0 0 0.35rem;
  color: var(--color-gold);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.cookie-consent h2 {
  margin: 0 0 0.45rem;
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-weight: 500;
}

.cookie-consent p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.cookie-consent__settings {
  display: grid;
  gap: 0.55rem;
  margin-top: 1rem;
}

.cookie-consent__settings label {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.92rem;
}

.cookie-consent__settings input {
  margin-top: 0.22rem;
  accent-color: var(--color-gold);
}

.cookie-consent__settings small {
  display: block;
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.78rem;
}

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.6rem;
}

.cookie-btn {
  min-height: 42px;
  padding: 0.68rem 0.95rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 800;
}

.cookie-btn--primary {
  color: var(--color-navy-950);
  background: var(--color-gold);
}

.cookie-btn--primary:hover {
  background: var(--color-gold-soft);
}

.cookie-btn--ghost {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.cookie-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.14);
}

@media (max-width: 760px) {
  .cookie-consent {
    padding: 0.75rem;
  }

  .cookie-consent__panel {
    grid-template-columns: 1fr;
    align-items: stretch;
    border-radius: 18px;
  }

  .cookie-consent__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cookie-btn {
    width: 100%;
  }
}


.cookie-consent__panel {
  position: relative;
}

.cookie-consent__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.74);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
}

.cookie-consent__close:hover {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.14);
}
