/* ============================================================
   Elegant Glaze Pvt. Ltd. — Design Tokens
   Brand colors match the company's official letterhead format.
   ============================================================ */

:root {
  /* Brand */
  --color-navy: #1F3864;
  --color-navy-deep: #142443;
  --color-navy-soft: #2C4A7C;
  --color-gold: #C9A84C;
  --color-gold-soft: #E4CE8E;

  /* Neutrals */
  --color-bg: #FBFAF7;
  --color-bg-alt: #F3F1EA;
  --color-panel: #FFFFFF;
  --color-text: #1C1C1C;
  --color-text-muted: #55565B;
  --color-text-inverse: #F5F3EC;
  --color-border: #E4E0D6;
  --color-tint-blue: #D6E4F0;

  /* Typography */
  --font-display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;

  /* Spacing scale */
  --space-3xs: 4px;
  --space-2xs: 8px;
  --space-xs: 12px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 40px;
  --space-xl: 64px;
  --space-2xl: 96px;
  --space-3xl: 140px;

  /* Layout */
  --container-w: 1220px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --shadow-card: 0 12px 32px rgba(20, 36, 67, 0.09);
  --shadow-card-hover: 0 20px 48px rgba(20, 36, 67, 0.16);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============================================================
   Reset & base
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: var(--space-md);
}

@media (max-width: 640px) {
  .container { padding-inline: var(--space-sm); }
}

section { position: relative; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--color-gold);
}

h1, h2, h3, .font-display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--color-navy);
}

.section-head {
  max-width: 640px;
  margin-bottom: var(--space-xl);
}

.section-head h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  margin-top: var(--space-sm);
  line-height: 1.15;
}

.section-head p {
  margin-top: var(--space-sm);
  color: var(--color-text-muted);
  font-size: 17px;
}

.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  padding: 15px 30px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: transform 220ms var(--ease), background 220ms var(--ease), color 220ms var(--ease), border-color 220ms var(--ease), box-shadow 220ms var(--ease);
  cursor: pointer;
}

.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 2px solid var(--color-gold); outline-offset: 3px; }

.btn-gold {
  background: var(--color-gold);
  color: var(--color-navy-deep);
}
.btn-gold:hover { background: var(--color-gold-soft); box-shadow: var(--shadow-card); }

.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.5);
  color: var(--color-text-inverse);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

.btn-navy {
  background: var(--color-navy);
  color: #fff;
}
.btn-navy:hover { background: var(--color-navy-soft); }

.icon {
  width: 1em;
  height: 1em;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* Reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   Nav
   ============================================================ */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background 300ms var(--ease), padding 300ms var(--ease), box-shadow 300ms var(--ease);
}

.nav.is-scrolled {
  background: rgba(251, 250, 247, 0.94);
  backdrop-filter: blur(10px);
  padding: 12px 0;
  box-shadow: 0 1px 0 var(--color-border);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: 0.06em;
  color: var(--color-text-inverse);
  transition: color 300ms var(--ease);
}

.brand-sub {
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--color-gold);
  margin-top: 4px;
  font-weight: 600;
}

.nav.is-scrolled .brand-name { color: var(--color-navy); }

.nav-links {
  display: flex;
  gap: var(--space-lg);
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-inverse);
  position: relative;
  padding-block: 4px;
  transition: color 300ms var(--ease);
}

.nav.is-scrolled .nav-links a { color: var(--color-text); }

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--color-gold);
  transition: right 260ms var(--ease);
}

.nav-links a:hover::after,
.nav-links a.is-active::after { right: 0; }

.nav-actions { display: flex; align-items: center; gap: var(--space-md); }

.nav-call {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-inverse);
  transition: color 300ms var(--ease);
}
.nav.is-scrolled .nav-call { color: var(--color-navy); }
.nav-call .icon { color: var(--color-gold); font-size: 16px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 32px; height: 24px;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: var(--color-text-inverse);
  transition: transform 260ms var(--ease), opacity 260ms var(--ease), background 260ms var(--ease);
}
.nav.is-scrolled .nav-toggle span { background: var(--color-navy); }
.nav-toggle span:nth-child(1) { top: 2px; }
.nav-toggle span:nth-child(2) { top: 11px; }
.nav-toggle span:nth-child(3) { top: 20px; }

.nav-toggle.is-open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-call span { display: none; }
  .nav-toggle { display: block; }

  .nav-mobile {
    position: fixed;
    inset: 0;
    background: var(--color-navy-deep);
    padding: 100px var(--space-md) var(--space-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    transform: translateY(-100%);
    transition: transform 380ms var(--ease);
    z-index: 90;
  }
  .nav-mobile.is-open { transform: translateY(0); }
  .nav-mobile a {
    font-family: var(--font-display);
    font-size: 26px;
    color: var(--color-text-inverse);
    font-weight: 600;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    padding-bottom: var(--space-sm);
  }
}

@media (min-width: 901px) {
  .nav-mobile { display: none; }
}

/* ============================================================
   Hero
   ============================================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  color: var(--color-text-inverse);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15,25,48,0.55) 0%, rgba(15,25,48,0.35) 32%, rgba(15,25,48,0.72) 78%, rgba(15,25,48,0.92) 100%);
}

.hero-inner {
  width: 100%;
  padding-top: 180px;
  padding-bottom: var(--space-2xl);
}

.hero-tag {
  display: flex;
  align-items: center;
  gap: var(--space-2xs);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-gold-soft);
  margin-bottom: var(--space-md);
  font-weight: 600;
}
.hero-tag .icon { font-size: 15px; }

.hero h1 {
  color: #fff;
  font-size: clamp(38px, 6.2vw, 82px);
  line-height: 1.03;
  max-width: 16ch;
}

.hero-sub {
  margin-top: var(--space-md);
  font-size: clamp(16px, 1.6vw, 19px);
  color: rgba(245, 243, 236, 0.86);
  max-width: 46ch;
}

.hero-scope {
  margin-top: var(--space-sm);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--color-gold-soft);
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-xl);
}

.hero-scroll {
  position: absolute;
  right: var(--space-md);
  bottom: var(--space-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2xs);
  color: rgba(245,243,236,0.7);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.hero-scroll .line {
  width: 1px; height: 46px;
  background: linear-gradient(180deg, var(--color-gold), transparent);
  animation: scrollpulse 2.2s var(--ease) infinite;
}
@keyframes scrollpulse {
  0%, 100% { transform: scaleY(1); opacity: 0.7; }
  50% { transform: scaleY(0.6); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-scroll .line { animation: none; }
}

@media (max-width: 640px) {
  .hero-scroll { display: none; }
  .hero-inner { padding-top: 140px; }
}

/* ============================================================
   Stats strip
   ============================================================ */

.stats {
  background: var(--color-navy);
  color: var(--color-text-inverse);
  padding-block: var(--space-lg);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  text-align: center;
}

.stat-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 4vw, 48px);
  color: var(--color-gold-soft);
  line-height: 1;
}

.stat-label {
  margin-top: var(--space-2xs);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(245,243,236,0.72);
}

@media (max-width: 760px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: var(--space-lg); }
}

/* ============================================================
   Who we are
   ============================================================ */

.about {
  padding-block: var(--space-3xl);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.about-media {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.about-media img { aspect-ratio: 4/5; object-fit: cover; }

.about-quote {
  position: absolute;
  left: var(--space-md);
  right: var(--space-md);
  bottom: var(--space-md);
  background: rgba(20, 36, 67, 0.86);
  backdrop-filter: blur(6px);
  color: #fff;
  padding: var(--space-md);
  border-left: 3px solid var(--color-gold);
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
  line-height: 1.5;
}

.about-copy p {
  color: var(--color-text-muted);
  font-size: 17px;
  margin-top: var(--space-sm);
}

.about-feature-grid {
  margin-top: var(--space-xl);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.feature-item {
  display: flex;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  border-top: 1px solid var(--color-border);
}

.feature-icon {
  flex-shrink: 0;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--color-tint-blue);
  color: var(--color-navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 19px;
}

.feature-item h4 {
  font-family: var(--font-display);
  font-size: 15.5px;
  color: var(--color-navy);
  font-weight: 700;
}
.feature-item p {
  margin-top: 4px;
  font-size: 14px;
  color: var(--color-text-muted);
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-feature-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Services
   ============================================================ */

.services {
  padding-block: var(--space-3xl);
  background: var(--color-bg-alt);
}

/* System tile grid — "What We Build" */
.buildgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md) var(--space-sm);
}

.bitem {
  display: block;
  color: var(--color-text);
}

.bthumb {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--color-border);
}
.bthumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 500ms var(--ease);
}
.bitem:hover .bthumb img { transform: scale(1.07); }

.blabel {
  display: block;
  margin-top: var(--space-2xs);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-navy);
  line-height: 1.35;
}

@media (max-width: 760px) {
  .buildgrid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 460px) {
  .buildgrid { grid-template-columns: 1fr 1fr; gap: var(--space-sm) var(--space-xs); }
}

/* ============================================================
   Methodology
   ============================================================ */

.method {
  padding-block: var(--space-3xl);
}

.method-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  counter-reset: step;
}

.method-step {
  position: relative;
  padding-top: var(--space-lg);
}

.method-step::before {
  content: "0" counter(step);
  counter-increment: step;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 42px;
  color: var(--color-tint-blue);
  -webkit-text-stroke: 1px var(--color-gold);
}

.method-step h4 {
  margin-top: var(--space-sm);
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--color-navy);
}

.method-step p {
  margin-top: var(--space-2xs);
  font-size: 14px;
  color: var(--color-text-muted);
}

.method-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 26px;
  left: calc(100% - 4px);
  width: calc(var(--space-md) + 8px);
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--color-gold) 0 6px, transparent 6px 11px);
  display: none;
}

@media (min-width: 901px) {
  .method-step:not(:last-child)::after { display: block; }
}

.commitment {
  margin-top: var(--space-2xl);
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-xl);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

@media (max-width: 900px) {
  .method-steps { grid-template-columns: repeat(2, 1fr); gap: var(--space-xl) var(--space-md); }
  .commitment { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .method-steps { grid-template-columns: 1fr; }
  .commitment { grid-template-columns: 1fr; }
}

/* ============================================================
   Projects
   ============================================================ */

.projects {
  padding-block: var(--space-3xl);
  background: var(--color-bg-alt);
}

.project-tabs {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.project-tab {
  background: none;
  border: 1px solid var(--color-border);
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--color-text-muted);
  transition: all 220ms var(--ease);
}
.project-tab.is-active,
.project-tab:hover {
  background: var(--color-navy);
  border-color: var(--color-navy);
  color: #fff;
}

.project-panel { display: none; }
.project-panel.is-active { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-md); }

.project-card {
  display: block;
  background: var(--color-panel);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 320ms var(--ease), box-shadow 320ms var(--ease);
}
.project-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card-hover); }

.project-card .card-thumb {
  display: block;
  aspect-ratio: 8/5;
  overflow: hidden;
  background: var(--color-border);
}
.project-card .card-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease);
}
.project-card:hover .card-thumb img { transform: scale(1.06); }

.project-card .card-body {
  padding: var(--space-sm) var(--space-md) var(--space-md);
}

.project-info .loc {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold);
  font-weight: 700;
}
.project-info h4 {
  font-family: var(--font-display);
  font-size: 19px;
  margin-top: 6px;
  color: var(--color-navy);
  font-weight: 700;
}
.project-info .loc-line {
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--color-text-muted);
}
.project-info .loc-line strong {
  display: block;
  color: var(--color-text);
  font-weight: 600;
  margin-top: 2px;
}

.project-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: var(--space-sm);
}
.project-badge,
.project-chip {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 3px;
}
.project-badge {
  background: var(--color-tint-blue);
  color: var(--color-navy);
}
.project-badge.is-completed {
  background: #E7F0E5;
  color: #3D6B3A;
}
.project-chip {
  background: #F7ECD9;
  color: #8A5A12;
  border: 1px solid #EBD9AF;
  text-transform: none;
  font-weight: 600;
}

.also-delivered {
  margin-top: var(--space-lg);
  font-size: 14px;
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-md);
}
.also-delivered strong { color: var(--color-navy); }

@media (max-width: 900px) {
  .project-panel.is-active { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .project-panel.is-active { grid-template-columns: 1fr; }
  .project-tabs { flex-wrap: wrap; }
}

/* ============================================================
   Material assurance
   ============================================================ */

.material {
  padding-block: var(--space-3xl);
}

.material-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.material-media {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  position: relative;
}
.material-media img { aspect-ratio: 4/3; object-fit: cover; }

.material-badge {
  position: absolute;
  bottom: var(--space-md); right: var(--space-md);
  background: #fff;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  text-align: center;
}
.material-badge strong {
  display: block;
  font-family: var(--font-display);
  color: var(--color-navy);
  font-size: 22px;
}
.material-badge span {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-gold);
  font-weight: 700;
}

.material-copy p { color: var(--color-text-muted); font-size: 16px; margin-top: var(--space-sm); }

.capability-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: var(--space-md);
}
.capability-tags span {
  border: 1px solid var(--color-gold);
  color: var(--color-navy);
  font-size: 13px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
}

.assure-list {
  margin-top: var(--space-lg);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px var(--space-md);
}
.assure-list li {
  display: flex;
  gap: 10px;
  font-size: 14.5px;
  color: var(--color-text);
}
.assure-list li .icon { color: var(--color-gold); margin-top: 3px; font-size: 15px; }

@media (max-width: 900px) {
  .material-grid { grid-template-columns: 1fr; }
  .assure-list { grid-template-columns: 1fr; }
}

/* ============================================================
   Why us
   ============================================================ */

.why {
  padding-block: var(--space-3xl);
  background: var(--color-navy);
  color: var(--color-text-inverse);
}

.why .section-head .eyebrow { color: var(--color-gold-soft); }
.why .section-head h2 { color: #fff; }
.why .section-head p { color: rgba(245,243,236,0.75); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.why-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: var(--space-lg) var(--space-md);
  transition: background 260ms var(--ease), border-color 260ms var(--ease), transform 260ms var(--ease);
}
.why-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: var(--color-gold);
  transform: translateY(-4px);
}
.why-card .feature-icon {
  background: var(--color-gold);
  color: var(--color-navy-deep);
}
.why-card h3 { color: #fff; font-size: 18px; margin-top: var(--space-sm); }
.why-card p { color: rgba(245,243,236,0.72); font-size: 14.5px; margin-top: var(--space-2xs); }

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

/* ============================================================
   Contact / CTA
   ============================================================ */

.contact {
  padding-block: var(--space-3xl);
}

.contact-panel {
  background: var(--color-navy);
  border-radius: var(--radius-md);
  padding: var(--space-2xl) var(--space-lg);
  position: relative;
  overflow: hidden;
  color: #fff;
  text-align: center;
}

.contact-panel::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 0%, rgba(201,168,76,0.16), transparent 55%);
}

.contact-panel h2 {
  position: relative;
  color: #fff;
  font-size: clamp(28px, 4vw, 44px);
  max-width: 18ch;
  margin-inline: auto;
}
.contact-panel > p {
  position: relative;
  margin-top: var(--space-sm);
  color: rgba(245,243,236,0.78);
  max-width: 52ch;
  margin-inline: auto;
  font-size: 16px;
}

.contact-actions {
  position: relative;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-xl);
}

.contact-grid {
  position: relative;
  margin-top: var(--space-2xl);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  text-align: left;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: var(--space-xl);
}

.contact-item { display: flex; gap: var(--space-sm); }
.contact-item .feature-icon { background: rgba(255,255,255,0.08); color: var(--color-gold-soft); }
.contact-item h4 { font-family: var(--font-display); font-size: 14px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--color-gold-soft); }
.contact-item a, .contact-item p { margin-top: 6px; font-size: 15px; color: rgba(245,243,236,0.9); }
.contact-item a:hover { color: var(--color-gold-soft); }

@media (max-width: 760px) {
  .contact-grid { grid-template-columns: 1fr; text-align: center; }
  .contact-item { flex-direction: column; align-items: center; }
}

/* ============================================================
   Footer
   ============================================================ */

.site-footer {
  background: var(--color-navy-deep);
  color: rgba(245,243,236,0.65);
  padding-top: var(--space-2xl);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: var(--space-xl);
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .brand-name { color: #fff; font-size: 22px; }
.footer-brand p {
  margin-top: var(--space-sm);
  font-size: 14.5px;
  max-width: 34ch;
  line-height: 1.6;
}

.footer-col h5 {
  font-family: var(--font-display);
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}
.footer-col li { margin-bottom: 10px; font-size: 14.5px; }
.footer-col a:hover { color: var(--color-gold-soft); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
  padding-block: var(--space-md);
  font-size: 12.5px;
}

@media (max-width: 760px) {
  .footer-top { grid-template-columns: 1fr; gap: var(--space-lg); }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* Back to top */
.to-top {
  position: fixed;
  right: var(--space-md);
  bottom: var(--space-md);
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--color-navy);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-card);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 260ms var(--ease), transform 260ms var(--ease), background 220ms var(--ease);
  z-index: 80;
  border: none;
}
.to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.to-top:hover { background: var(--color-gold); color: var(--color-navy-deep); }
