:root {
  --bg: #0b0f14;
  --panel: #11161d;
  --gold: #c9a227;
  --text: #e8edf3;
  --muted: #9fb0c0;
  --accent: #1c2733;
}

/* Base */
* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: var(--bg); color: var(--text);
  font-family: Poppins, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  line-height: 1.6;
}
a { color: var(--text); text-decoration: none; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11,15,20,.8);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(201,162,39,.25);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.logo { font-weight: 700; letter-spacing: .2em; color: var(--gold); }
nav { display: flex; gap: 20px; }
/* Logo text link */
.logo.brand-text a {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-weight: 700;
}

/* Navigation (clean, no circles) */
.nav-link {
  color: #fff;
  text-decoration: none;
  padding: 8px 12px;
  transition: color .3s ease;
  border: none; border-radius: 0;
  background: transparent; box-shadow: none; outline: none;
}
.nav-link:hover { color: var(--gold); }
.nav-link.active { color: var(--gold); font-weight: 600; }
.nav-link::before, .nav-link::after { content: none !important; display: none !important; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid rgba(201,162,39,.3);
  background: linear-gradient(180deg, rgba(201,162,39,.12), rgba(201,162,39,.05));
  color: var(--text);
}
.btn.primary {
  background: linear-gradient(180deg, #c9a227, #a7841d);
  color: #0b0f14;
  border-color: #c9a227;
  font-weight: 600;
}

/* HERO */
.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;  /* left wider, right card */
  gap: 32px;
  align-items: stretch;
  padding: 60px 0;
}
.hero .copy { display: flex; flex-direction: column; justify-content: center; }

/* Logo in hero – size cap */
.hero-logo {
  max-width: 220px;   /* adjust to taste */
  height: auto;
  display: block;
  margin: 0 0 16px 0;
  opacity: .95;
}

/* Right card with two images inside */
.hero .media-wall.card {
  position: relative;
  margin: 0; padding: 0;
  border-radius: 18px; overflow: hidden;
  min-height: 480px;
  background: #0e141b;
  border: 1px solid rgba(255,255,255,.08);
}

/* Two stacked images that fill the card */
.hero .hero-stack {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  height: 100%;
}
.hero .hero-stack .hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;   /* flush to card edges */
}

/* Overlay gradient & glow for readability */
.hero .image-gradient {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(0,0,0,.75), rgba(0,0,0,0));
  pointer-events: none;
}
.hero .image-glow {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 80%; height: 30px;
  background: radial-gradient(circle, rgba(201,162,39,.6), transparent);
  filter: blur(18px); opacity: .7; pointer-events: none;
}

/* Overlay content (title, text, buttons) */
.hero .image-overlay {
  position: absolute; left: 20px; right: 20px; bottom: 20px;
  z-index: 2; color: #fff;
  display: flex; flex-direction: column; gap: 10px;
  max-width: 90%;
}
.hero .image-overlay h2 { font-size: 1.8rem; margin: 0; }
.hero .image-overlay p  { margin: 0 0 8px; }
.hero .overlay-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* Typography near hero */
.kicker { color: var(--gold); letter-spacing: .28em; text-transform: uppercase; font-size: .78rem; }
h1 { font-size: clamp(28px, 4vw, 46px); margin: 8px 0 12px; }
h2 { font-size: clamp(22px, 3vw, 34px); margin: 28px 0 10px; }
p.lede { color: var(--muted); font-size: 1.05rem; }
.cta-row { display: flex; gap: 12px; margin-top: 18px; }

/* Cards & grids */
.card {
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.01));
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  padding: 18px;
}
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }

/* Sections & lists */
.section { padding: 36px 0 56px; }
.section .eyebrow {
  color: var(--gold); text-transform: uppercase;
  letter-spacing: .26em; font-size: .78rem; margin-bottom: 8px;
}
.list { display: grid; gap: 10px; }
.list li {
  background: rgba(255,255,255,.02);
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.07);
}

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-item {
  aspect-ratio: 4/3;
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.01));
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
}

/* Forms */
.form { display: grid; gap: 12px; }
input, textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.1);
  background: #0f141b;
  color: var(--text);
}
textarea { min-height: 140px; resize: vertical; }
.success {
  display: none;
  margin-top: 12px; padding: 14px;
  border-radius: 12px;
  background: rgba(26,161,96,.15);
  border: 1px solid rgba(26,161,96,.35);
  color: #c7f7df;
}
.small { color: var(--muted); font-size: .9rem; }

/* How It Works */
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.how {
  border-radius: 20px; padding-top: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.01));
  border: 1px solid rgba(255,255,255,.08);
}
.how .eyebrow { text-align: center; margin-bottom: 18px; }
.how-card {
  text-align: center;
  padding: 24px;
  border-radius: 16px;
  background:
    radial-gradient(600px 200px at 50% 0, rgba(201,162,39,.06), transparent),
    linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.01));
  border: 1px solid rgba(255,255,255,.08);
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
}
.how-icon {
  width: 56px; height: 56px; margin: 0 auto 12px;
  display: grid; place-items: center; color: var(--gold);
  background: rgba(201,162,39,.10);
  border: 1px solid rgba(201,162,39,.35);
  border-radius: 12px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.how-card h3 { margin: 8px 0 6px; position: relative; display: inline-block; }
.how-card p  { color: var(--muted); margin: 0; }

/* Hover effects */
.how-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201,162,39,.45);
  box-shadow: 0 10px 24px rgba(0,0,0,.35), 0 12px 32px rgba(201,162,39,.12);
}
.how-card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(120% 60% at 50% -20%, rgba(201,162,39,.16), transparent 60%);
  opacity: 0; transition: opacity .3s ease; pointer-events: none;
}
.how-card:hover::before { opacity: 1; }
.how-card:hover .how-icon {
  transform: translateY(-2px) scale(1.06);
  background: rgba(201,162,39,.14);
  border-color: var(--gold);
  box-shadow: 0 6px 18px rgba(201,162,39,.25);
}
.how-card h3::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0); transform-origin: center; transition: transform .3s ease;
}
.how-card:hover h3::after { transform: scaleX(1); }

/* Responsive */
@media (max-width: 1100px) { .grid-4 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 860px)  {
  .hero { grid-template-columns: 1fr; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 680px)  { .grid-4 { grid-template-columns: 1fr; } }
.featured .service-card {
  position: relative;
  background-size: cover;
  background-position: center;
  border-radius: 16px;
  overflow: hidden;
  color: #fff;
  padding: 24px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: flex-end;
}

.featured .service-card .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.55) 70%);
  z-index: 1;
}

.featured .service-card > * {
  position: relative;
  z-index: 2;
}
/* Hover effect for Featured Service cards */
.featured .service-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured .service-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 24px rgba(0,0,0,0.25);
}

.featured .service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1);
  transition: transform 0.4s ease;
  z-index: 0;
}

.featured .service-card:hover::before {
  transform: scale(1.05); /* subtle zoom on background */
}
/* Service cards with background images */
.service-card {
  position: relative;
  background-size: cover;
  background-position: center;
  border-radius: 16px;
  overflow: hidden;
  color: #fff;
  padding: 24px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.6) 85%);
  z-index: 1;
}

.service-card > * {
  position: relative;
  z-index: 2;
}

/* Hover effect */
.service-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 24px rgba(0,0,0,0.25);
}
/* --- Gallery sizing & fit --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.gallery-item {
  display: block;                 /* make the link behave like a block */
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);

  /* Pick ONE sizing style: aspect-ratio OR fixed height */
  aspect-ratio: 4 / 3;            /* keeps a neat ‘box’ no matter the image */
  /* height: 220px;               // ← if you prefer a fixed height, uncomment this
                                   // and REMOVE the aspect-ratio line above */
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;              /* fill the box without distortion */
  display: block;
  transition: transform .3s ease, filter .3s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
  filter: saturate(1.05);
}
/* ===========================
   Footer phone styling + icon
   =========================== */
.site-footer .phone {
  margin-top: 6px;
  font-size: 1.05rem;
}

.site-footer .phone a {
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid currentColor; /* subtle underline */
  padding-bottom: 2px;
}

/* Small phone icon before the number */
.site-footer .phone a::before {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  margin-right: 8px;
  vertical-align: -2px;
  background: currentColor;

  /* Use an SVG mask so the icon inherits currentColor */
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6.62 10.79a15.05 15.05 0 006.59 6.59l2.2-2.2a1 1 0 011.01-.24 11.36 11.36 0 003.56.57 1 1 0 011 1v3.61a1 1 0 01-1 1A17 17 0 013 5a1 1 0 011-1h3.61a1 1 0 011 1 11.36 11.36 0 00.57 3.56 1 1 0 01-.24 1.01l-2.32 2.22z'/></svg>") no-repeat center / contain;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6.62 10.79a15.05 15.05 0 006.59 6.59l2.2-2.2a1 1 0 011.01-.24 11.36 11.36 0 003.56.57 1 1 0 011 1v3.61a1 1 0 01-1 1A17 17 0 013 5a1 1 0 011-1h3.61a1 1 0 011 1 11.36 11.36 0 00.57 3.56 1 1 0 01-.24 1.01l-2.32 2.22z'/></svg>") no-repeat center / contain;
}

/* Hover/Focus emphasis */
.site-footer .phone a:hover,
.site-footer .phone a:focus {
  border-bottom-width: 2px;
}

/* Bigger tap target on mobile */
@media (max-width: 640px) {
  .site-footer .phone a {
    display: inline-block;
    padding: 8px 0;
  }
}

/* Fallback: older browsers without CSS masks */
@supports not ((mask: url()) or (-webkit-mask: url())) {
  .site-footer .phone a::before {
    content: "☎️";
    background: none;
    width: auto;
    height: auto;
    vertical-align: 0;
    margin-right: 6px;
  }
}
/* Remove underline from footer phone link */
.site-footer .phone a {
  text-decoration: none !important;
  border-bottom: 0 !important;
}

.site-footer .phone a:hover,
.site-footer .phone a:focus {
  text-decoration: none !important;
  border-bottom: 0 !important;
}