/* ── Local fonts ──────────────────────────────────────────────────────────── */

@font-face {
  font-family: 'Rajdhani';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/rajdhani/rajdhani-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Rajdhani';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/rajdhani/rajdhani-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Inter variable — one file serves 400–900 */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── Design tokens ────────────────────────────────────────────────────────── */

:root {
  --palette-black:    #000000;
  --palette-charcoal: #151515;
  --palette-gold:     #f2c300;
  --palette-mist:     #e7e5df;
  --palette-off-white:#faf9f5;
  --palette-white:    #ffffff;

  --brand-black:      var(--palette-black);
  --brand-charcoal:   var(--palette-charcoal);
  --brand-graphite:   var(--palette-charcoal);
  --brand-gold:       var(--palette-gold);
  --brand-gold-hover: var(--palette-gold);
  --brand-gold-soft:  var(--palette-mist);
  --brand-gold-muted: var(--palette-gold);
  --brand-mist:       var(--palette-mist);
  --brand-cloud:      var(--palette-off-white);
  --brand-off-white:  var(--palette-off-white);
  --brand-white:      var(--palette-white);

  --text-main:        var(--palette-charcoal);
  --text-muted:       var(--palette-charcoal);
  --background-main:  var(--palette-white);
  --background-soft:  var(--palette-off-white);
  --background-dark:  var(--palette-charcoal);
  --border-light:     var(--palette-mist);

  --font-heading: 'Rajdhani', 'Arial Black', Arial, sans-serif;
  --font-body:    'Inter', Arial, Helvetica, sans-serif;
  --font-ui:      Arial, Helvetica, sans-serif;

  --radius-sm:   6px;
  --radius-card: 10px;
}

/* ── Base reset ───────────────────────────────────────────────────────────── */

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

html {
  color-scheme: light;
  accent-color: var(--palette-gold);
}

::selection {
  background: var(--palette-gold);
  color: var(--palette-black);
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-main);
  background: var(--background-main);
  line-height: 1.55;
}

a { color: inherit; }

/* ── Layout ───────────────────────────────────────────────────────────────── */

.page {
  min-height: 100vh;
  background:
    linear-gradient(135deg, var(--palette-off-white), transparent 35%),
    var(--brand-off-white);
}

.container {
  width: min(1360px, calc(100% - 56px));
  margin: 0 auto;
}

/* ── Topbar / nav ─────────────────────────────────────────────────────────── */

.topbar {
  position: sticky;
  top: 0;
  background: var(--brand-charcoal);
  color: var(--brand-white);
  border-bottom: 6px solid var(--brand-gold);
  z-index: 100;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 1.35rem;
  text-decoration: none;
}

.logo-img {
  display: block;
  width: auto;
  height: 54px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 18px;
  font-family: var(--font-ui);
  font-size: 0.92rem;
  color: var(--palette-mist);
}

.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--brand-gold); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.phone-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  background: var(--palette-gold);
  color: var(--palette-black);
  font-family: var(--font-ui);
  font-weight: 900;
  text-decoration: none;
  letter-spacing: 0.03em;
  border: 2px solid var(--palette-gold);
  white-space: nowrap;
}

.phone-link:hover {
  background: var(--palette-white);
  border-color: var(--palette-white);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--palette-mist);
  border-radius: var(--radius-sm);
  background: var(--palette-charcoal);
  color: var(--palette-white);
  font-size: 1.1rem;
  cursor: pointer;
}

.menu-toggle:hover,
.menu-toggle:focus {
  background: var(--palette-gold);
  color: var(--palette-black);
  border-color: var(--palette-gold);
  outline: none;
}

/* ── Typography ───────────────────────────────────────────────────────────── */

h1, h2, h3 {
  font-family: var(--font-heading);
  line-height: 1.05;
  margin: 0;
  letter-spacing: -0.02em;
}

h1 {
  margin-top: 20px;
  font-size: clamp(2.25rem, 4.8vw, 4.1rem);
  text-transform: uppercase;
  max-width: 840px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  text-transform: uppercase;
}

h3 {
  font-size: 1.45rem;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-gold);
  color: var(--brand-black);
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ── Buttons ──────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: var(--radius-sm);
  font-family: var(--font-ui);
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 0.95rem;
}

.btn-primary {
  background: var(--brand-gold);
  color: var(--brand-black);
  border-color: var(--brand-gold);
}

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

.btn-secondary {
  background: transparent;
  color: var(--brand-white);
  border-color: var(--brand-white);
}

.btn-secondary:hover {
  color: var(--brand-black);
  background: var(--brand-white);
}

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

.btn-charcoal:hover {
  background: var(--palette-black);
  border-color: var(--palette-black);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

/* ── Sections ─────────────────────────────────────────────────────────────── */

section { padding: 64px 0; }

.section-white   { background: var(--brand-white); }
.section-soft    { background: var(--background-soft); }
.section-mist    { background: var(--brand-mist); }

.section-charcoal {
  background: linear-gradient(135deg, var(--brand-charcoal), var(--brand-graphite));
  color: var(--brand-white);
}

.section-charcoal .section-heading p,
.section-charcoal .card p { color: var(--palette-mist); }

.section-charcoal .card {
  background: var(--palette-charcoal);
  border-color: var(--palette-mist);
  box-shadow: none;
}

.section-charcoal .project-slider {
  background: var(--palette-charcoal);
  border-color: var(--palette-mist);
  box-shadow: none;
}

.section-gold {
  background:
    linear-gradient(135deg, var(--palette-off-white), transparent 42%),
    var(--brand-cloud);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}

.section-heading p {
  max-width: 460px;
  margin: 0;
  color: var(--text-muted);
}

/* ── Grid / Cards ─────────────────────────────────────────────────────────── */

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--brand-white);
  border: 1px solid var(--border-light);
  border-top: 6px solid var(--brand-gold);
  border-radius: var(--radius-card);
  padding: 24px;
}

.card p {
  margin: 12px 0 0;
  color: var(--text-muted);
}

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border-radius: 999px;
  background: var(--palette-gold);
  color: var(--palette-black);
  font-size: 1.25rem;
}

.service-card h3 { margin-bottom: 10px; }
.service-card p  { margin-top: 0; }

.service-card .learn-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  color: var(--palette-charcoal);
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.82rem;
}

/* ── Hero ─────────────────────────────────────────────────────────────────── */

.hero {
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  padding: clamp(56px, 8vw, 96px) 0;
  background:
    linear-gradient(90deg, var(--palette-charcoal) 0 38%, transparent 82%),
    linear-gradient(0deg, var(--palette-charcoal), transparent),
    url('/img/bg.jpg') center center / cover no-repeat;
  color: var(--brand-white);
  position: relative;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  width: min(1360px, calc(100% - 56px));
  margin: 0 auto;
  padding-inline: clamp(24px, 3.5vw, 56px);
}

.hero p {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--palette-mist);
  font-size: 1.14rem;
}

.hero-kicker-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
  max-width: 860px;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--palette-mist);
  color: var(--palette-mist);
  padding: 7px 10px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.84rem;
}

.hero-contact-card {
  background: var(--palette-off-white);
  color: var(--palette-charcoal);
  border: 1px solid var(--palette-mist);
  border-top: 8px solid var(--palette-gold);
  border-radius: var(--radius-card);
  padding: clamp(22px, 4vw, 34px);
}

.hero-contact-card h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  color: var(--palette-charcoal);
}

.hero-contact-card p {
  margin: 14px 0 0;
  color: var(--palette-charcoal);
}

.hero-contact-card .hero-card-subheading {
  color: var(--palette-charcoal);
  font-weight: 800;
}

.hero-card-pills { margin-top: 24px; }

.hero-card-pills .hero-chip {
  border-color: var(--palette-charcoal);
  color: var(--palette-charcoal);
  background: var(--palette-white);
}

.hero-card-pills .hero-chip i { color: var(--palette-gold); }

.hero-phone-large {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 56px;
  margin-top: 26px;
  padding: 0 18px;
  background: var(--palette-gold);
  color: var(--palette-black);
  border: 2px solid var(--palette-gold);
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 900;
  font-size: 1.12rem;
  letter-spacing: 0.03em;
}

.hero-phone-large:hover {
  background: var(--palette-white);
  border-color: var(--palette-charcoal);
}

/* ── Instagram slider ─────────────────────────────────────────────────────── */

.project-slider {
  background: var(--brand-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  padding: 22px;
  overflow: hidden;
}

.instagram-card {
  display: block;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  border-bottom: 4px solid var(--palette-gold);
  border-radius: var(--radius-card);
  background: var(--palette-charcoal);
}

.instagram-card img {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 200ms ease;
}

.instagram-card:hover img { transform: scale(1.04); }

.instagram-card span {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 16px;
  background: rgba(0, 0, 0, 0.65);
  color: var(--palette-white);
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ── Splide overrides ─────────────────────────────────────────────────────── */

.splide__slide { height: auto; }

.splide__pagination__page.is-active {
  background: var(--brand-gold);
  transform: scale(1.2);
}

.splide__arrow {
  background: var(--brand-gold);
  opacity: 1;
}

.splide__arrow svg { fill: var(--brand-black); }

/* ── Testimonials ─────────────────────────────────────────────────────────── */

.testimonials-slider {
  background: var(--palette-white);
  border: 1px solid var(--palette-mist);
  border-radius: var(--radius-card);
  padding: 18px;
  overflow: hidden;
}

.testimonial-card {
  min-height: 250px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 28px;
  background: var(--palette-off-white);
  border: 1px solid var(--palette-mist);
  border-top: 6px solid var(--palette-gold);
  border-radius: var(--radius-card);
  color: var(--palette-charcoal);
}

.testimonial-card p {
  margin: 0;
  color: var(--palette-charcoal);
  font-size: 1.03rem;
}

.testimonial-stars {
  display: flex;
  gap: 5px;
  color: var(--palette-gold);
}

/* ── CTA panel ────────────────────────────────────────────────────────────── */

.panel {
  background: linear-gradient(135deg, var(--brand-charcoal), var(--brand-graphite));
  color: var(--brand-white);
  padding: 40px;
  border-left: 12px solid var(--brand-gold);
  border-radius: var(--radius-card);
}

.panel p {
  color: var(--palette-mist);
  max-width: 680px;
}

/* ── Contact form ─────────────────────────────────────────────────────────── */

.contact-form { max-width: 900px; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

label {
  display: block;
  font-family: var(--font-ui);
  font-weight: 800;
  margin-bottom: 8px;
}

.req { color: var(--palette-gold); font-weight: 900; }

input,
select,
textarea {
  width: 100%;
  border: 2px solid var(--brand-graphite);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font: inherit;
  color: var(--palette-charcoal);
  background: var(--brand-white);
}

input:focus,
select:focus,
textarea:focus {
  outline: 4px solid var(--brand-gold-soft);
  border-color: var(--brand-black);
}

textarea,
.full {
  grid-column: 1 / -1;
}

/* Honeypot — visually hidden, not removed from DOM */
.hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.form-error {
  margin: 0;
  color: #c62828;
  font-weight: 700;
  font-size: 0.95rem;
}

/* ── Custom select ────────────────────────────────────────────────────────── */

.custom-select {
  position: relative;
  width: 100%;
  font: inherit;
}

.custom-select-button {
  width: 100%;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 2px solid var(--brand-graphite);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--palette-charcoal);
  background: var(--palette-white);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.custom-select-button::after {
  content: '';
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--palette-charcoal);
  border-bottom: 2px solid var(--palette-charcoal);
  transform: rotate(45deg) translateY(-2px);
  flex: 0 0 auto;
}

.custom-select.open .custom-select-button::after {
  transform: rotate(225deg) translateY(-2px);
}

.custom-select-button:focus {
  outline: 4px solid var(--brand-gold-soft);
  border-color: var(--brand-black);
}

.custom-select-options {
  position: absolute;
  z-index: 20;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  display: none;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--palette-white);
  border: 2px solid var(--palette-charcoal);
  border-radius: var(--radius-sm);
}

.custom-select.open .custom-select-options { display: block; }

.custom-select-option {
  padding: 11px 12px;
  color: var(--palette-charcoal);
  background: var(--palette-white);
  cursor: pointer;
  border-radius: var(--radius-sm);
}

.custom-select-option:hover,
.custom-select-option.active,
.custom-select-option[aria-selected='true'] {
  color: var(--palette-black);
  background: var(--palette-gold);
}

/* ── Thank-you modal ──────────────────────────────────────────────────────── */

.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal[hidden] { display: none; }

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.modal-box {
  position: relative;
  background: var(--palette-white);
  padding: clamp(28px, 5vw, 48px);
  max-width: 480px;
  width: calc(100% - 48px);
  text-align: center;
  border-top: 8px solid var(--palette-gold);
  border-radius: var(--radius-sm);
}

.modal-box h2 {
  margin-top: 16px;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
}

.modal-box p {
  margin: 12px 0 24px;
  color: var(--text-muted);
}

.modal-icon {
  font-size: 3rem;
  color: var(--palette-gold);
  line-height: 1;
}

/* ── Footer ───────────────────────────────────────────────────────────────── */

.footer {
  background: var(--brand-charcoal);
  color: var(--brand-white);
  padding: 30px 0;
  border-top: 6px solid var(--brand-gold);
  font-size: 0.95rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.site-credit { color: var(--palette-mist); }

.site-credit a {
  color: var(--brand-gold);
  font-weight: 800;
  text-decoration: none;
}

.site-credit a:hover { text-decoration: underline; }

.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--palette-gold);
  font-weight: 900;
  text-decoration: none;
}

.footer-social:hover { text-decoration: underline; }

/* ── Responsive ───────────────────────────────────────────────────────────── */

@media (max-width: 920px) {
  .grid { grid-template-columns: repeat(2, 1fr); }

  .hero-layout {
    grid-template-columns: 1fr;
    width: min(100%, calc(100% - 32px));
    padding-inline: 0;
  }

  .hero-contact-card { max-width: 620px; }
}

@media (max-width: 820px) {
  .container { width: min(100%, calc(100% - 32px)); }

  .nav-actions {
    flex-wrap: nowrap;
  }

  .menu-toggle { display: inline-flex; }

  /* Dropdown overlays content — does not push nav taller */
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 200;
    flex-direction: column;
    gap: 0;
    background: var(--palette-charcoal);
    border-bottom: 4px solid var(--palette-gold);
    padding: 4px min(28px, 4vw) 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  }

  .nav-links.open { display: flex; }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 13px 0;
    border-bottom: 1px solid rgba(231, 229, 223, 0.18);
    font-size: 1rem;
  }

  .nav-links a:last-child { border-bottom: none; }

  .hero {
    min-height: calc(100vh - 104px);
    padding: 52px 0;
    background:
      linear-gradient(90deg, var(--palette-charcoal) 0 44%, transparent 90%),
      linear-gradient(0deg, var(--palette-charcoal), transparent),
      url('/img/bg.jpg') center center / cover no-repeat;
  }

  .hero-content { max-width: 100%; }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-contact-card { margin-top: 8px; }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .topbar .nav {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
  }

  .topbar .logo-img { height: 44px; max-width: 150px; }

  .topbar .nav-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 8px;
  }

  .topbar .phone-link { min-height: 40px; padding: 0 11px; white-space: nowrap; }
  .topbar .menu-toggle { flex: 0 0 40px; width: 40px; height: 40px; }
}

@media (max-width: 520px) {
  .container,
  .hero-layout { width: min(100%, calc(100% - 24px)); }

  .logo-img { height: 46px; }

  h1 { font-size: clamp(2rem, 10vw, 3rem); }

  .button-row,
  .btn,
  .hero-phone-large { width: 100%; }

  .hero-chip { font-size: 0.8rem; }
  .hero-contact-card { padding: 22px; }
}

@media (max-width: 420px) {
  .topbar .logo-img { height: 38px; max-width: 122px; }

  .topbar .phone-link span { display: none; }

  .topbar .phone-link {
    width: 40px;
    min-width: 40px;
    padding: 0;
  }

  .topbar .phone-link i { margin: 0; }
}
