:root {
  --primary: #1A365D;
  --primary-light: #2A4A7F;
  --primary-dark: #0F2440;
  --gold: #B8860B;
  --gold-light: #D4A619;
  --charcoal: #2D3748;
  --parchment: #FDFDFD;
  --slate: #E2E8F0;
  --muted: #718096;
  --white: #FFFFFF;
  --serif: 'Playfair Display', serif;
  --sans: 'Inter', sans-serif;
  --shadow-sm: 0 1px 3px rgba(26, 54, 93, 0.04);
  --shadow-md: 0 4px 12px rgba(26, 54, 93, 0.08);
  --shadow-lg: 0 12px 32px rgba(26, 54, 93, 0.12);
  --radius: 0.25rem;
  --radius-lg: 0.5rem;
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  background: var(--parchment);
  color: var(--charcoal);
  line-height: 1.6;
  font-size: 16px;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.2;
  color: var(--primary);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 3rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 1.75rem);
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

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

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

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

.center {
  text-align: center;
}

section {
  padding: 6rem 8vw;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.gold-divider {
  width: 60px;
  height: 4px;
  background: var(--gold);
  margin-bottom: 1.5rem;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 8vw;
  transition: all var(--transition);
  background: transparent;
  color: var(--white);
}

.nav__background {
  position: absolute;
  inset: 0;
  background: transparent;
  transition: all var(--transition);
  z-index: -1;
  pointer-events: none;
}

.nav.scrolled {
  padding: 1rem 8vw;
  color: var(--charcoal);
}

.nav.scrolled .nav__background {
  background: rgba(253, 253, 253, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}

.nav__logo {
  display: flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.5rem;
  letter-spacing: 0.15em;
  font-weight: 600;
  transition: color var(--transition);
}

.nav__logo svg {
  height: 40px;
  width: auto;
}

.nav__logo-img {
  height: 44px;
  width: auto;
  display: block;
}

.nav__links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav__links a {
  color: inherit;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
  transition: color var(--transition);
}

.nav__links a:not(.btn--nav)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav__links a:not(.btn--nav):hover::after {
  width: 100%;
}

.nav__links a.active-nav {
  color: var(--gold) !important;
}

.nav__links a.active-nav::after {
  width: 100%;
}

.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  background: var(--primary);
  color: var(--white);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  font-weight: 600;
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  text-transform: uppercase;
}

.btn:hover {
  background: transparent;
  color: var(--primary);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--gold);
}

.btn--outline:hover {
  background: var(--gold);
  color: var(--white);
}

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

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

.btn--primary {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.btn--primary:hover {
  background: transparent;
  color: var(--primary);
}

.btn--nav {
  padding: 0.6rem 1.4rem;
  background: var(--gold);
  color: var(--white) !important;
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  font-weight: 600;
  letter-spacing: 0.08em;
}

.btn--nav:hover {
  background: transparent;
  color: var(--gold) !important;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
}

.nav__toggle span {
  width: 26px;
  height: 2px;
  background: currentColor;
  transition: background var(--transition);
}

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  overflow: hidden;
  padding: 8rem 1rem;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(184, 134, 11, 0.15), transparent 60%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 840px;
}

.hero__eyebrow {
  letter-spacing: 0.4em;
  font-size: 0.8rem;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.hero__title {
  font-size: clamp(2.5rem, 7vw, 3.5rem);
  margin-bottom: 1.5rem;
  color: var(--white);
}

.hero__sub {
  font-weight: 300;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

.hero__btns {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hero__scroll span {
  display: block;
  width: 1px;
  height: 50px;
  background: var(--gold);
  animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {
  0%, 100% {
    opacity: 0.3;
    transform: scaleY(0.6);
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

.page-hero {
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  overflow: hidden;
  padding: 10rem 1rem 6rem;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(184, 134, 11, 0.12), transparent 60%);
}

.page-hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.page-hero__title {
  font-size: clamp(2.2rem, 5vw, 3rem);
  margin-bottom: 1.2rem;
  color: var(--white);
}

.about-hero {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  overflow: hidden;
  padding: 10rem 8vw 6rem;
  color: var(--white);
}

.about-hero__grid {
  display: grid;
  grid-template-columns: 8fr 4fr;
  gap: 3rem;
  align-items: center;
  max-width: 1200px;
  width: 100%;
  position: relative;
  z-index: 2;
}

.about-hero__text h1 {
  font-size: clamp(2.2rem, 5vw, 3rem);
  color: var(--white);
  margin-bottom: 1.2rem;
}

.about-hero__text p {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 300;
  max-width: 560px;
}

.about-hero__img {
  position: relative;
}

.about-hero__img img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.about-hero__badge {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background: var(--white);
  padding: 1.5rem 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.about-hero__badge-num {
  font-family: var(--serif);
  font-size: 2.5rem;
  color: var(--gold);
  font-weight: 700;
  line-height: 1;
}

.about-hero__badge-label {
  font-size: 0.75rem;
  color: var(--charcoal);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.3rem;
}

.about-story {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
  background: #F7FAFC;
  border: 1px solid var(--slate);
  padding: 6rem 8vw;
}

.about-story__sidebar {
  padding: 2rem;
}

.about-story__sidebar h2 {
  margin-bottom: 1rem;
}

.about-story__text p {
  color: var(--charcoal);
  margin-bottom: 1.1rem;
  max-width: 600px;
}

.link-arrow {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 3px;
  transition: all var(--transition);
  display: inline-block;
  margin-top: 0.5rem;
}

.link-arrow:hover {
  color: var(--gold);
  letter-spacing: 0.03em;
}

.legacy {
  background: #F7FAFC;
  border: 1px solid var(--slate);
}

.legacy__inner {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 4rem;
  align-items: center;
}

.legacy__img {
  position: relative;
  height: 480px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

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

.legacy__img::before,
.legacy__img::after {
  content: "";
  position: absolute;
  width: 60px;
  height: 60px;
  border: 3px solid var(--gold);
  z-index: 2;
}

.legacy__img::before {
  top: -10px;
  left: -10px;
  border-right: 0;
  border-bottom: 0;
}

.legacy__img::after {
  bottom: -10px;
  right: -10px;
  border-left: 0;
  border-top: 0;
}

.legacy__text h2 {
  margin: 1rem 0 1.5rem;
}

.legacy__text p {
  color: var(--charcoal);
  margin-bottom: 1.1rem;
}

.services-detail {
  padding: 6rem 8vw;
}

.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 5rem;
}

.service-row:last-child {
  margin-bottom: 0;
}

.service-row__media--right {
  order: 2;
}

.service-row__img {
  height: 360px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

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

.service-row__placeholder {
  height: 360px;
  border-radius: var(--radius-lg);
  background: var(--primary);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-lg);
}

.service-row__placeholder .material-symbols-outlined {
  font-size: 6rem;
  color: var(--gold);
}

.service-row__content h2 {
  margin-bottom: 1rem;
}

.service-row__content p {
  color: var(--charcoal);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.services {
  background: var(--white);
  border-top: 1px solid var(--slate);
  border-bottom: 1px solid var(--slate);
}

.services h2 {
  margin: 0.5rem 0 3.5rem;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.card {
  padding: 2.5rem 2rem;
  border: 1px solid var(--slate);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all var(--transition);
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.card:hover::before {
  transform: scaleX(1);
}

.card__icon {
  margin-bottom: 1.2rem;
  color: var(--gold);
  line-height: 1;
}

.card__icon .material-symbols-outlined {
  font-size: 2.5rem;
}

.card__img {
  width: 100%;
  height: 200px;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1.5rem;
}

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

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
  color: var(--primary);
}

.card p {
  color: var(--charcoal);
  font-weight: 300;
  line-height: 1.7;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  background: var(--primary);
  color: var(--white);
  padding: 5rem 8vw;
  text-align: center;
}

.stat__number {
  font-family: var(--serif);
  font-size: 3rem;
  color: var(--gold);
  font-weight: 700;
}

.stat__label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin-top: 0.3rem;
}

.commitment {
  background: var(--white);
  border-top: 1px solid var(--slate);
}

.commitment h2 {
  margin: 0.5rem 0 3.5rem;
}

.commitment__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

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

.hq__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hq__info h2 {
  color: var(--white);
  margin: 0.5rem 0 2rem;
}

.hq__details {
  margin-bottom: 2rem;
}

.hq__details p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.hq__details .material-symbols-outlined {
  color: var(--gold);
  font-size: 1.2rem;
  margin-top: 0.2rem;
}

.hq__map {
  height: 400px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05);
  display: grid;
  place-items: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.location__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.location__map {
  height: 400px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.location__map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.location__info h2 {
  color: var(--white);
  margin: 0.5rem 0 1.5rem;
}

.location__info p {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 300;
  margin-bottom: 0.8rem;
}

.location__info a {
  color: var(--gold);
  text-decoration: none;
}

.location__info a:hover {
  text-decoration: underline;
}

.location-icon {
  color: var(--gold);
  font-size: 1.1rem;
  vertical-align: middle;
  margin-right: 0.5rem;
}

.contact {
  background:
    radial-gradient(ellipse at 20% 50%, rgba(184, 134, 11, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(184, 134, 11, 0.06) 0%, transparent 40%),
    linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white);
  padding: 5rem 8vw;
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.03) 1px, transparent 0);
  background-size: 32px 32px;
  pointer-events: none;
}

.contact::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 134, 11, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.contact__inner {
  max-width: 740px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.contact h2 {
  color: var(--white);
  margin: 0.5rem 0 1rem;
}

.contact__lead {
  text-align: center;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 300;
  margin-bottom: 3rem;
}

.contact__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.contact .field {
  position: relative;
}

.contact .field--full {
  grid-column: 1 / -1;
}

.contact .field input,
.contact .field textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  padding: 1rem;
  color: var(--white);
  font-family: inherit;
  font-size: 1rem;
  resize: none;
  transition: all var(--transition);
  min-height: 52px;
}

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

.contact .field input:focus,
.contact .field textarea:focus {
  outline: 0;
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.15), 0 2px 8px rgba(0, 0, 0, 0.1);
}

.contact .field label {
  position: absolute;
  left: 1rem;
  top: 1rem;
  color: rgba(255, 255, 255, 0.6);
  pointer-events: none;
  transition: var(--transition);
  background: transparent;
  padding: 0;
}

.contact .field input:focus ~ label,
.contact .field input:valid ~ label,
.contact .field textarea:focus ~ label,
.contact .field textarea:valid ~ label {
  top: -0.6rem;
  left: 0.8rem;
  font-size: 0.75rem;
  color: var(--gold);
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 0 0.3rem;
}

.contact .btn {
  grid-column: 1 / -1;
  justify-self: center;
  margin-top: 1rem;
}

.contact-form--light {
  background: var(--white);
  border: 1px solid rgba(26, 54, 93, 0.08);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 2.8rem 3rem;
  box-shadow: 0 8px 32px rgba(26, 54, 93, 0.06), 0 2px 8px rgba(26, 54, 93, 0.04);
}

.contact-form--light .field {
  position: relative;
  margin-bottom: 1.8rem;
}

.contact-form--light .field input,
.contact-form--light .field textarea {
  width: 100%;
  background: rgba(26, 54, 93, 0.02);
  border: 1px solid rgba(26, 54, 93, 0.12);
  border-bottom: 2px solid rgba(26, 54, 93, 0.1);
  border-radius: var(--radius);
  padding: 1rem 1rem 0.6rem;
  color: var(--charcoal);
  font-family: inherit;
  font-size: 0.95rem;
  transition: all var(--transition);
  min-height: 52px;
}

.contact-form--light .field textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form--light .field input:focus,
.contact-form--light .field textarea:focus {
  outline: 0;
  border-color: var(--gold);
  border-bottom-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.08), 0 2px 8px rgba(184, 134, 11, 0.06);
}

.contact-form--light .field label {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
  transition: all var(--transition);
  background: transparent;
  padding: 0;
  font-size: 1rem;
}

.contact-form--light .field textarea ~ label {
  top: 1.2rem;
  transform: none;
}

.contact-form--light .field input:focus ~ label,
.contact-form--light .field input:valid ~ label,
.contact-form--light .field textarea:focus ~ label,
.contact-form--light .field textarea:valid ~ label {
  top: 0;
  transform: translateY(-50%);
  left: 0.8rem;
  font-size: 0.75rem;
  color: var(--gold);
  background: var(--white);
  padding: 0 0.4rem;
  font-weight: 500;
}

.contact-form--light .btn {
  width: 100%;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  margin-top: 0.5rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

.contact-section {
  padding: 6rem 8vw;
  background: var(--parchment);
}

.contact-section__heading {
  margin-bottom: 0.75rem;
}

.contact-section__lead {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  margin-bottom: 2.5rem;
  max-width: 42ch;
}

.contact-form--light__title {
  margin-bottom: 0.5rem;
  font-family: var(--serif);
  font-size: 1.45rem;
  color: var(--primary-dark);
}

.contact-form--light__subtitle {
  color: var(--muted);
  margin-bottom: 2rem;
  font-size: 0.92rem;
  line-height: 1.6;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.4rem 1.5rem;
  background: var(--white);
  border: 1px solid rgba(26, 54, 93, 0.06);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.contact-info-card:hover {
  box-shadow: 0 6px 24px rgba(184, 134, 11, 0.1), 0 2px 8px rgba(26, 54, 93, 0.06);
  transform: translateY(-3px);
  border-left-color: var(--primary);
}

.contact-info-card .material-symbols-outlined {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(184, 134, 11, 0.1) 0%, rgba(184, 134, 11, 0.04) 100%);
  color: var(--gold);
  font-size: 1.3rem;
  margin-top: 0.1rem;
  transition: all var(--transition);
}

.contact-info-card:hover .material-symbols-outlined {
  background: var(--gold);
  color: var(--white);
}

.contact-info-card h3 {
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
  color: var(--primary);
  letter-spacing: 0.02em;
}

.contact-info-card p {
  color: var(--charcoal);
  font-weight: 400;
  font-size: 0.92rem;
  line-height: 1.5;
}

.contact-info-card a {
  color: var(--charcoal);
  transition: color var(--transition);
  text-decoration: none;
}

.contact-info-card a:hover {
  color: var(--gold);
}
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.insights-grid__last {
  grid-column: 1 / -1;
}

.properties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.property-card {
  text-align: left;
  padding: 0;
  overflow: hidden;
}

.property-card__img {
  height: 240px;
  overflow: hidden;
}

.property-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}

.property-card:hover .property-card__img img {
  transform: scale(1.08);
}

.property-card__body {
  padding: 2rem;
}

.property-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.property-card__type {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
}

.property-card__status {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius);
  color: var(--white);
  font-weight: 600;
  text-transform: uppercase;
}

.property-card__status--available {
  background: #38A169;
}

.property-card__status--let {
  background: var(--gold);
}

.property-card__status--sold {
  background: var(--muted);
}

.property-card__title {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.property-card__location {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.property-card__desc {
  color: var(--charcoal);
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer {
  background: var(--primary-dark);
  color: var(--white);
  padding: 0;
  position: relative;
}

.footer__accent {
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  gap: 1rem;
  text-align: left;
  width: 100%;
  margin: 0 auto;
  padding: 2.5rem 6vw 1.5rem;
}

.footer__logo {
  margin-bottom: 1rem;
}

.footer__logo svg {
  height: 38px;
  width: auto;
}

.footer__desc {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.82rem;
  font-weight: 300;
  line-height: 1.5;
  margin-bottom: 1rem;
  max-width: 300px;
}

.footer__social {
  display: flex;
  gap: 0.5rem;
}

.footer__social-link {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all var(--transition);
}

.footer__social-link .material-symbols-outlined {
  font-size: 1rem;
}

.footer__social-link:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--primary-dark);
}

.footer__col h4 {
  font-family: var(--serif);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.8rem;
  color: var(--gold);
  text-transform: uppercase;
}

.footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__col li {
  margin-bottom: 0.4rem;
}

.footer__col a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 300;
  transition: all var(--transition);
  display: inline-block;
}

.footer__col a:hover {
  color: var(--gold);
  transform: translateX(4px);
}

.footer__contact-item {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.8rem;
  font-weight: 300;
  margin-bottom: 0.6rem;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
}

.footer__contact-item .material-symbols-outlined {
  color: var(--gold);
  font-size: 1rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.footer__contact-item a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color var(--transition);
}

.footer__contact-item a:hover {
  color: var(--gold);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  padding: 1rem 6vw;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.75rem;
}

.reveal,
.reveal-load {
  opacity: 0;
  transform: translateY(40px);
}

.reveal-load {
  animation: rise 0.9s forwards;
  animation-delay: var(--d, 0s);
}

.reveal.in {
  animation: rise 0.9s forwards;
  animation-delay: var(--d, 0s);
}

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

.nav__overlay {
  display: none;
}

.nav.open .nav__background {
  opacity: 0 !important;
}

@media (min-width: 861px) and (max-width: 1100px) {
  .footer__inner {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
    padding: 2rem 5vw 1rem;
  }
  .footer__brand {
    grid-column: 1 / -1;
    text-align: center;
  }
  .footer__desc {
    margin: 0 auto 1rem;
    max-width: 400px;
  }
  .footer__social {
    justify-content: center;
  }
  .footer__col {
    text-align: center;
  }
  .footer__col ul {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .footer__contact-item {
    justify-content: center;
  }
}

@media (max-width: 860px) {
  .nav.open {
    color: var(--white) !important;
    /* Force header to not clip fixed children in Safari when open */
    -webkit-transform: none !important;
    transform: none !important;
    contain: none !important;
  }

  .nav {
    padding: 1rem 5vw;
  }

  .nav__links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 100%;
    background: rgba(15, 36, 64, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    transform: translateY(-100%) translateZ(0);
    -webkit-transform: translateY(-100%) translateZ(0);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    -webkit-transition: -webkit-transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 990;
    color: var(--white);
    padding: 2rem;
    border-bottom: 2px solid transparent;
    -webkit-border-image: linear-gradient(90deg, transparent, var(--gold), transparent) 1;
    border-image: linear-gradient(90deg, transparent, var(--gold), transparent) 1;
    overflow: hidden;
  }
  
  /* Electric border animation effect */
  .nav__links::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -100%;
    width: 200%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #fff, var(--gold), #fff, transparent);
    animation: electric-flow 3s linear infinite;
    -webkit-animation: electric-flow 3s linear infinite;
    opacity: 0.8;
  }

  @keyframes electric-flow {
    0% { transform: translateX(0); }
    100% { transform: translateX(50%); }
  }

  @-webkit-keyframes electric-flow {
    0% { -webkit-transform: translateX(0); }
    100% { -webkit-transform: translateX(50%); }
  }
  
  .nav__links.open {
    transform: translateY(0) translateZ(0);
    -webkit-transform: translateY(0) translateZ(0);
  }

  .nav__links a {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 1rem 2rem;
    width: 100%;
    text-align: center;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
  }

  .nav__links a:active {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(0.95);
    -webkit-transform: scale(0.95);
  }

  /* Click spark container */
  .spark {
    position: absolute;
    background: rgba(255, 255, 255, 0.4);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    transform: scale(0);
    -webkit-transform: scale(0);
    animation: spark-pulse 0.6s ease-out;
    -webkit-animation: spark-pulse 0.6s ease-out;
    pointer-events: none;
  }

  @keyframes spark-pulse {
    to {
      transform: scale(4);
      opacity: 0;
    }
  }

  @-webkit-keyframes spark-pulse {
    to {
      -webkit-transform: scale(4);
      opacity: 0;
    }
  }
  
  .nav__toggle {
    display: flex;
    z-index: 1000;
    width: 30px;
    height: 24px;
    justify-content: center;
    position: relative;
    padding: 0;
    color: inherit;
  }

  .nav__toggle span {
    width: 100%;
    height: 2px;
    background: currentColor;
    transition: all 0.3s ease;
    position: absolute;
    left: 0;
  }

  .nav__toggle span:nth-child(1) { top: 4px; }
  .nav__toggle span:nth-child(2) { top: 11px; }
  .nav__toggle span:nth-child(3) { top: 18px; }

  .nav__toggle.open {
    color: var(--white) !important;
  }

  .nav__toggle.open span:nth-child(1) {
    top: 11px;
    transform: rotate(45deg);
  }

  .nav__toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .nav__toggle.open span:nth-child(3) {
    top: 11px;
    transform: rotate(-45deg);
  }
  
  .about-hero__grid {
    grid-template-columns: 1fr;
  }
  
  .about-hero__img img {
    height: 340px;
  }
  
  .about-hero__badge {
    bottom: 1rem;
    left: 1rem;
    padding: 1rem 1.5rem;
  }
  
  .about-story {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .legacy__inner {
    grid-template-columns: 1fr;
  }
  
  .legacy__img {
    height: 340px;
  }
  
  .services__grid,
  .commitment__grid,
  .stats {
    grid-template-columns: 1fr;
  }
  
  .properties-grid {
    grid-template-columns: 1fr;
  }
  
  .service-row {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .service-row__media--right {
    order: 0;
  }
  
  .service-row__img,
  .service-row__placeholder {
    height: 280px;
  }
  
  .hq__inner,
  .location__inner {
    grid-template-columns: 1fr;
  }
  
  .hq__map,
  .location__map {
    height: 280px;
  }
  
  .contact__form {
    grid-template-columns: 1fr;
  }
  
  .contact {
    padding: 4rem 5vw;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-section {
    padding: 4rem 5vw;
  }
  
  .insights-grid {
    grid-template-columns: 1fr;
  }
  
  .insights-grid__last {
    grid-column: auto;
  }
  
  .footer__inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 2rem 5vw 1rem;
  }
  
  .footer__brand {
    text-align: center;
  }
  
  .footer__desc {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }
  
  .footer__social {
    justify-content: center;
  }
  
  .footer__col {
    text-align: center;
  }
  
  .footer__col ul {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .footer__contact-item {
    justify-content: center;
  }
}

/* ==========================================================================
   Legal pages & footer legal links
   ========================================================================== */
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: center;
  justify-content: center;
}

.footer__legal {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.footer__legal a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color var(--transition);
}

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

.legal {
  max-width: 800px;
  margin: 0 auto;
  font-weight: 300;
  line-height: 1.8;
  color: var(--charcoal);
}

.legal__updated {
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
}

.legal h2 {
  font-size: 1.4rem;
  margin: 2.5rem 0 1rem;
}

.legal p {
  margin-bottom: 1.2rem;
}

.legal ul {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}

.legal ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.6rem;
}

.legal ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

.legal strong {
  font-weight: 600;
  color: var(--primary);
}

.legal a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

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

.legal__address {
  font-style: normal;
  margin: 0 0 1.5rem;
  padding: 1rem 1.5rem;
  border-left: 3px solid var(--gold);
  background: var(--slate);
  border-radius: var(--radius);
  line-height: 1.8;
}

.legal__contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.legal__contact li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.legal__contact .material-symbols-outlined {
  color: var(--gold);
  font-size: 1.2rem;
}

.legal__table-wrap {
  overflow-x: auto;
  margin: 0 0 1.5rem;
}

.legal__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.legal__table th,
.legal__table td {
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--slate);
  vertical-align: top;
}

.legal__table th {
  background: var(--primary);
  color: var(--white);
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.legal__table tr:nth-child(even) td {
  background: rgba(226, 232, 240, 0.4);
}

.legal__note {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--slate);
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
}

/* ==========================================================================
   Cookie consent banner — glassmorphism floating card
   ========================================================================== */
.cookie-banner {
  /* Fluid tokens — wider card, trimmed padding */
  --cb-pad-y: clamp(0.45rem, 0.85vw, 0.65rem);
  --cb-pad-x: clamp(0.6rem, 1.4vw, 0.95rem);
  --cb-gap-col: clamp(0.55rem, 1.1vw, 0.85rem);
  --cb-gap-row: clamp(0.18rem, 0.4vw, 0.3rem);
  --cb-icon: clamp(48px, 6vw, 60px);
  --cb-radius: clamp(0.75rem, 1.6vw, 1rem);
  --cb-bottom: clamp(0.6rem, 1.6vw, 1rem);
  --cb-max-w: 820px;

  position: fixed;
  left: 50%;
  bottom: var(--cb-bottom);
  transform: translateX(-50%) translateY(calc(100% + 2rem));
  z-index: 1000;
  width: min(var(--cb-max-w), calc(100% - 1rem));
  opacity: 0;
  pointer-events: none;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.4s ease;
}

.cookie-banner.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "title   actions"
    "text    actions";
  column-gap: clamp(0.85rem, 2vw, 1.4rem);
  row-gap: clamp(0.15rem, 0.4vw, 0.3rem);
  align-items: center;
  /* Extra left padding to clear the diamond badge on the edge */
  padding: var(--cb-pad-y) var(--cb-pad-x);
  padding-left: calc(var(--cb-pad-x) + var(--cb-icon) * 0.95);
  /* Layered glass: very low alpha, more transparent */
  background:
    linear-gradient(135deg,
      rgba(255, 255, 255, 0.14) 0%,
      rgba(255, 255, 255, 0.04) 100%),
    rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(32px) saturate(200%);
  backdrop-filter: blur(32px) saturate(200%);
  border-radius: var(--cb-radius);
  overflow: hidden;
  /* Pulsing shadow + soft gold ambient glow */
  box-shadow:
    inset 0 1px 0 0 rgba(255, 255, 255, 0.45),
    inset 0 -1px 0 0 rgba(15, 36, 64, 0.04),
    0 -8px 24px -8px rgba(184, 134, 11, 0.22),
    0 20px 50px rgba(15, 36, 64, 0.22),
    0 6px 18px rgba(15, 36, 64, 0.10);
  animation: cb-glow-pulse 4.5s ease-in-out infinite;
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s ease;
}

.cookie-banner.is-visible:hover .cookie-banner__inner {
  animation: none;
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 0 rgba(255, 255, 255, 0.55),
    inset 0 -1px 0 0 rgba(15, 36, 64, 0.04),
    0 -10px 30px -8px rgba(184, 134, 11, 0.32),
    0 26px 62px rgba(15, 36, 64, 0.26),
    0 10px 22px rgba(15, 36, 64, 0.12);
}

/* Animated rotating conic-gradient border */
.cookie-banner__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(
    from 0deg,
    rgba(184, 134, 11, 0)    0%,
    rgba(184, 134, 11, 0.8)  14%,
    rgba(212, 166, 25, 1)    30%,
    rgba(184, 134, 11, 0.8)  44%,
    rgba(184, 134, 11, 0)    58%,
    rgba(26, 54, 93, 0.4)   78%,
    rgba(184, 134, 11, 0)    100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

/* Top sheen — diagonal highlight */
.cookie-banner__inner::after {
  content: "";
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.85) 50%,
    transparent 100%);
  pointer-events: none;
  z-index: 1;
}



@keyframes cb-glow-pulse {
  0%, 100% {
    box-shadow:
      inset 0 1px 0 0 rgba(255, 255, 255, 0.45),
      inset 0 -1px 0 0 rgba(15, 36, 64, 0.04),
      0 -8px 22px -8px rgba(184, 134, 11, 0.20),
      0 20px 50px rgba(15, 36, 64, 0.22),
      0 6px 18px rgba(15, 36, 64, 0.10);
  }
  50% {
    box-shadow:
      inset 0 1px 0 0 rgba(255, 255, 255, 0.55),
      inset 0 -1px 0 0 rgba(15, 36, 64, 0.04),
      0 -12px 34px -8px rgba(184, 134, 11, 0.38),
      0 24px 58px rgba(15, 36, 64, 0.26),
      0 8px 22px rgba(15, 36, 64, 0.13);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-banner__inner {
    animation: none;
  }
}

/* Diamond badge — vertically centered, overlapping the left edge */
.cookie-banner__icon {
  position: absolute;
  top: 50%;
  left: calc(var(--cb-icon) * -0.28);
  transform: translateY(-50%);
  width: var(--cb-icon);
  height: var(--cb-icon);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  -webkit-clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  color: var(--white);
  z-index: 3;
  filter: drop-shadow(0 6px 12px rgba(184, 134, 11, 0.45));
}

.cookie-banner__icon svg {
  width: 48%;
  height: 48%;
}

.cookie-banner__title {
  grid-area: title;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(0.98rem, 1.5vw, 1.1rem);
  font-weight: 600;
  color: var(--primary-dark);
  line-height: 1.25;
  letter-spacing: 0;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.55),
    0 0 8px rgba(255, 255, 255, 0.35);
}

.cookie-banner__text {
  grid-area: text;
  margin: 0;
  font-size: clamp(0.82rem, 1.2vw, 0.9rem);
  font-weight: 500;
  line-height: 1.5;
  color: #1a2438;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.5),
    0 0 6px rgba(255, 255, 255, 0.4);
  /* Allow the body to wrap naturally without crowding the buttons */
  max-width: 62ch;
}

.cookie-banner__text a {
  color: var(--gold);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
  transition: color var(--transition);
}

.cookie-banner__text a:hover {
  color: var(--primary);
}

.cookie-banner__actions {
  grid-area: actions;
  display: flex;
  gap: clamp(0.35rem, 0.7vw, 0.5rem);
  flex-wrap: nowrap;
  align-self: center;
  justify-self: end;
}

.cookie-banner__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.42rem, 0.85vw, 0.55rem) clamp(0.8rem, 1.4vw, 1rem);
  font-family: var(--sans);
  font-size: clamp(0.68rem, 0.95vw, 0.74rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: clamp(0.35rem, 0.7vw, 0.45rem);
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1.5px solid transparent;
  white-space: nowrap;
  line-height: 1;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.cookie-banner__btn--ghost {
  background: rgba(255, 255, 255, 0.14);
  color: var(--primary);
  border-color: rgba(26, 54, 93, 0.22);
}

.cookie-banner__btn--ghost:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: translateY(-1px);
}

.cookie-banner__btn--solid {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--white);
  border-color: rgba(184, 134, 11, 0.6);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 4px 12px rgba(184, 134, 11, 0.38);
}

.cookie-banner__btn--solid:hover {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-color: var(--primary);
  color: var(--white);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 8px 18px rgba(15, 36, 64, 0.3);
  transform: translateY(-1px);
}

.cookie-banner__btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ---- Mobile: full-width sheet, stack everything ---- */
@media (max-width: 640px) {
  .cookie-banner {
    --cb-bottom: 0;
    --cb-radius: 1rem 1rem 0 0;
    --cb-pad-x: 0.75rem;
    --cb-pad-y: 0.65rem;
    --cb-icon: 50px;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    transform: translateY(calc(100% + 1rem));
  }

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

  .cookie-banner__inner {
    padding: var(--cb-pad-y) var(--cb-pad-x) 0.9rem;
    padding-left: calc(var(--cb-pad-x) + var(--cb-icon) * 0.95);
    border-radius: inherit;
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "text"
      "actions";
    row-gap: 0.35rem;
  }

  .cookie-banner__actions {
    flex-direction: column-reverse;
    gap: 0.4rem;
    margin-top: 0.35rem;
    justify-self: stretch;
  }

  .cookie-banner__btn {
    width: 100%;
    padding: 0.65rem 1rem;
  }
}

/* ---- Very narrow: even tighter ---- */
@media (max-width: 380px) {
  .cookie-banner {
    --cb-icon: 42px;
    --cb-pad-x: 0.7rem;
    --cb-pad-y: 0.6rem;
  }

  .cookie-banner__inner {
    padding: var(--cb-pad-y) var(--cb-pad-x) 0.8rem;
    padding-left: calc(var(--cb-pad-x) + var(--cb-icon) * 0.95);
  }

  .cookie-banner__btn {
    font-size: 0.66rem;
    padding: 0.55rem 0.9rem;
  }
}

