/* ============================================
   DecEmms Decorators — style.css
   Aesthetic: Refined craft. Warm neutrals,
   deep slate, brushstroke personality.
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=DM+Sans:wght@300;400;500&display=swap');

/* ─── CSS Variables ─────────────────────────── */
:root {
  --background: #F7F5F1;
  --surface: #FFFFFF;
  --surface-soft: #F4F1ED;
  --text: #212529;
  --text-mid: #5F6A73;
  --text-light: #8A95A0;
  --border: rgba(33, 37, 41, 0.08);
  --accent: #305B7A;
  --accent-soft: #7A9AB8;
  --accent-warm: #C39F72;
  --accent-warm-soft: #E5D3B5;
  --shadow-sm: 0 4px 18px rgba(33, 37, 41, 0.07);
  --shadow-md: 0 12px 38px rgba(33, 37, 41, 0.10);
  --shadow-lg: 0 24px 80px rgba(33, 37, 41, 0.12);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;

  --radius: 6px;
  --transition: 0.32s cubic-bezier(0.26, 0.20, 0.25, 1);

  /* legacy palette aliases */
  --cream: var(--surface-soft);
  --warm-white: var(--background);
  --slate: #1F3346;
  --slate-mid: #3A5168;
  --green: #4A6741;
  --green-light: #5E7F5E;
  --gold: var(--accent-warm);
  --gold-light: var(--accent-warm-soft);
}

/* ─── Dark Mode Variables ───────────────────── */
body.dark-mode {
  --background: #121212;
  --surface: #1e1e1e;
  --surface-soft: #2a2a2a;
  --text: #ffffff;
  --text-mid: #e2e8f0;
  --text-light: #cbd5e1;
  --border: rgba(255, 255, 255, 0.15);
  --cream: #1e1e1e;
  --warm-white: #121212;
}

/* ─── Reset & Base ──────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--background);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ─── Utility ───────────────────────────────── */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-warm);
  font-weight: 700;
  line-height: 1.15;
  color: var(--slate);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-mid);
  margin-top: 14px;
  max-width: 540px;
  line-height: 1.7;
}

/* ─── Navigation ────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(253, 250, 245, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}

.nav.scrolled {
  box-shadow: var(--shadow-sm);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav__logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.nav__logo-main {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--slate);
  letter-spacing: -0.01em;
}

.nav__logo-sub {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-mid);
  letter-spacing: 0.03em;
  transition: color var(--transition);
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav__links a:hover {
  color: var(--slate);
}

.nav__links a:hover::after {
  width: 100%;
}

.nav__cta {
  background: var(--slate);
  color: var(--cream) !important;
  padding: 10px 22px;
  border-radius: 2px;
  font-weight: 500 !important;
  letter-spacing: 0.04em;
  transition: background var(--transition) !important;
}

.nav__cta:hover {
  background: var(--green) !important;
}

.nav__cta::after {
  display: none !important;
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav__hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--slate);
  border-radius: 2px;
  transition: var(--transition);
}

.nav__hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__hamburger.open span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.nav__mobile {
  display: none;
  flex-direction: column;
  padding: 20px 24px 28px;
  border-top: 1px solid var(--border);
  gap: 4px;
  background: var(--warm-white);
}

.nav__mobile.open {
  display: flex;
}

.nav__mobile a {
  font-size: 1rem;
  font-weight: 500;
  padding: 10px 0;
  color: var(--text-mid);
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}

.nav__mobile a:last-child {
  border-bottom: none;
}

.nav__mobile a:hover {
  color: var(--slate);
}

/* ─── Hero ──────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--accent);
  padding-top: 70px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(255, 220, 160, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 80% at 20% 80%, rgba(255, 255, 255, 0.12) 0%, transparent 55%),
    linear-gradient(135deg, #1F3346 0%, #305B7A 25%, #24486A 50%, #4A6741 75%, #1F3346 100%);
  background-size: 400% 400%;
  animation: heroGradientAnim 12s ease infinite;
}

@keyframes heroGradientAnim {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.hero__texture {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.015'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero__content {
  max-width: 680px;
  animation: heroFadeIn 1s ease both;
}

@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  animation: heroFadeIn 1s ease 0.1s both;
}

.hero__eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  font-weight: 900;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 24px;
  animation: heroFadeIn 1s ease 0.2s both;
}

.hero__title em {
  font-style: normal;
  color: var(--gold-light);
}

.hero__desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 520px;
  animation: heroFadeIn 1s ease 0.3s both;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: heroFadeIn 1s ease 0.4s both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 32px;
  background: var(--accent-warm);
  color: var(--surface);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.btn-primary:hover {
  background: #b4885d;
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: transparent;
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.hero__stats {
  display: flex;
  gap: 48px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  animation: heroFadeIn 1s ease 0.5s both;
}

.hero__stat-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}

.hero__stat-label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.08em;
  margin-top: 4px;
  text-transform: uppercase;
}

/* ─── Services ──────────────────────────────── */
.services {
  padding: 100px 0;
  background: var(--cream);
}

.services__header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 64px;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--warm-white);
  padding: 36px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
}

.service-card__icon svg {
  width: 100%;
  height: 100%;
}

.service-card__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 10px;
}

.service-card__desc {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.7;
}

/* ─── Work / Gallery ────────────────────────── */
.work {
  padding: 100px 0;
  background: var(--surface);
}

.work__header {
  text-align: center;
  margin-bottom: 60px;
}

.work__header .section-subtitle {
  margin: 14px auto 0;
}

.work .container {
  max-width: 1280px;
}

.work__projects {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.project {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 60px;
  align-items: center;
}

.project:nth-child(even) {
  direction: rtl;
}

.project:nth-child(even)>* {
  direction: ltr;
}

.project__images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.project__img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  background: var(--cream);
}

.project__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project__img-wrap:hover img {
  transform: scale(1.04);
}

.project__badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
  font-weight: 500;
}

.project__badge.after {
  background: rgba(74, 103, 65, 0.88);
}

.project__info {
  padding: 20px 0;
}

.project__number {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 900;
  color: var(--border);
  line-height: 1;
  margin-bottom: -10px;
}

.project__title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 14px;
  line-height: 1.2;
}

.project__desc {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 24px;
}

.project__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project__tag {
  background: var(--cream);
  color: var(--slate);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: 2px;
  border: 1px solid var(--border);
}

/* ─── Colour Library ────────────────────────── */
.colour {
  padding: 100px 0;
  background: var(--surface);
}

.colour__header {
  max-width: 780px;
  margin: 0 auto 36px;
  text-align: center;
}

.colour__controls {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 18px;
  align-items: end;
  margin-bottom: 20px;
}

.colour__search,
.colour__filters>div {
  display: grid;
  gap: 10px;
}

.colour__filters {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.colour__search label,
.colour__filters label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-mid);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.colour__search input,
.colour__filters select {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface-soft);
  color: var(--text);
  font-size: 0.95rem;
}

.colour__status {
  color: var(--text-mid);
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.colour__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.colour-card {
  display: grid;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.colour-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.colour-card__swatch {
  min-height: 170px;
}

.colour-card__meta {
  padding: 20px;
  display: grid;
  gap: 12px;
}

.colour-card__name {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.colour-card__tags {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--text-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.colour-card__desc {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin: 0;
}

.colour-card__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--accent);
  font-weight: 600;
  transition: color var(--transition), background var(--transition), border-color var(--transition);
}

.colour-card__link:hover {
  color: #23495f;
  background: rgba(48, 91, 122, 0.06);
  border-color: rgba(48, 91, 122, 0.12);
}

.colour__empty {
  grid-column: 1 / -1;
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface-soft);
  color: var(--text-mid);
  text-align: center;
}

/* Hex code on swatch */
.colour-card__hex {
  position: absolute;
  bottom: 10px;
  right: 12px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(0, 0, 0, 0.35);
  text-transform: uppercase;
}

.colour-card__swatch--light .colour-card__hex {
  color: rgba(0, 0, 0, 0.28);
}

.colour-card__swatch {
  position: relative;
}

/* Pagination */
.colour__pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.pag-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-mid);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}

.pag-btn:hover:not(:disabled) {
  background: var(--slate);
  color: #fff;
  border-color: var(--slate);
}

.pag-btn--active {
  background: var(--slate);
  color: #fff;
  border-color: var(--slate);
}

.pag-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.pag-dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 40px;
  color: var(--text-light);
  font-size: 0.9rem;
}

/* ─── Why Choose Us ─────────────────────────── */
.why {
  padding: 100px 0;
  background: var(--slate);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.why::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 80% 50%, rgba(74, 103, 65, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.why__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.why__label {
  color: var(--gold);
}

.why__title {
  color: #fff;
  margin-bottom: 20px;
}

.why__intro {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.75;
  margin-bottom: 36px;
}

.why__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: gap var(--transition);
  cursor: pointer;
}

.why__cta:hover {
  gap: 16px;
}

.why__features {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.feature {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  transition: background var(--transition);
}

.feature:hover {
  background: rgba(255, 255, 255, 0.07);
}

.feature__icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: rgba(200, 169, 110, 0.15);
  border: 1px solid rgba(200, 169, 110, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature__icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--gold);
}

.feature__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 5px;
}

.feature__desc {
  font-size: 0.87rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.65;
}

/* ─── Testimonials ──────────────────────────── */
.testimonials {
  padding: 100px 0;
  background: var(--cream);
}

.testimonials__header {
  text-align: center;
  margin-bottom: 56px;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--warm-white);
  padding: 32px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  position: relative;
}

.testimonial-card__quote {
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--gold-light);
  line-height: 0.6;
  margin-bottom: 16px;
}

.testimonial-card__text {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-card__stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
}

.testimonial-card__stars span {
  color: var(--gold);
  font-size: 0.9rem;
}

.testimonial-card__author {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--slate);
}

.testimonial-card__location {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 3px;
}

/* ─── Contact ───────────────────────────────── */
.contact {
  padding: 100px 0;
  background: var(--warm-white);
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact__info {
  position: sticky;
  top: 100px;
}

.contact__channels {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
}

.contact-channel {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
  background: var(--cream);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}

.contact-channel:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-sm);
}

.contact-channel__icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--slate);
}

.contact-channel__icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--gold);
  fill: none;
}

.contact-channel__label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 2px;
}

.contact-channel__value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--slate);
}

/* Contact form */
.contact__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form__label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-mid);
}

.form__input,
.form__textarea,
.form__select {
  padding: 13px 16px;
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  transition: border-color var(--transition), background var(--transition);
  outline: none;
  -webkit-appearance: none;
}

.form__input:focus,
.form__textarea:focus,
.form__select:focus {
  border-color: var(--gold);
  background: var(--warm-white);
}

.form__textarea {
  min-height: 130px;
  resize: vertical;
}

.form__select {
  cursor: pointer;
}

.form__submit {
  width: 100%;
  padding: 16px;
  background: var(--slate);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.form__submit:hover {
  background: var(--green);
  transform: translateY(-2px);
}

.form__success {
  display: none;
  text-align: center;
  padding: 32px;
  background: var(--cream);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.form__success.visible {
  display: block;
}

.form__success-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.form__success-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 8px;
}

.form__success-text {
  color: var(--text-mid);
  font-size: 0.92rem;
}

/* ─── Footer ────────────────────────────────── */
.footer {
  background: var(--slate);
  color: rgba(255, 255, 255, 0.65);
  padding: 56px 0 32px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__brand-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.footer__brand-sub {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.footer__brand-desc {
  font-size: 0.87rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer__col-title {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 20px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  font-size: 0.87rem;
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--transition);
}

.footer__links a:hover {
  color: var(--gold);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  font-size: 0.8rem;
}

.footer__bottom-link {
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition);
}

.footer__bottom-link:hover {
  color: var(--gold);
}

/* ─── Scroll reveal ─────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

/* ─── Responsive ────────────────────────────── */
@media (max-width: 900px) {
  .nav__links {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  .services__header {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .services__grid {
    grid-template-columns: 1fr 1fr;
  }

  .project {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .project:nth-child(even) {
    direction: ltr;
  }

  .why__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .testimonials__grid {
    grid-template-columns: 1fr 1fr;
  }

  .colour__controls {
    grid-template-columns: 1fr;
  }

  .colour__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact__info {
    position: static;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .hero__stats {
    gap: 28px;
  }

  .services__grid {
    grid-template-columns: 1fr;
  }

  .testimonials__grid {
    grid-template-columns: 1fr;
  }

  .colour__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .colour__filters {
    grid-template-columns: 1fr;
  }

  .form__row {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .project__images {
    grid-template-columns: 1fr 1fr;
    gap: 8px !important;
  }
}

@media (max-width: 500px) {
  .project__images {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}

@media (max-width: 400px) {
  .hero__actions {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    text-align: center;
    justify-content: center;
  }
}

/* ─── NEW COOLER STYLES & FB BUTTON ─────────── */

.nav {
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav__fb-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1877F2, #0b5ac3);
  color: white;
  margin-left: 10px;
  box-shadow: 0 4px 12px rgba(24, 119, 242, 0.3);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: pulse-fb 2s infinite;
}

.nav__fb-btn svg {
  width: 20px;
  height: 20px;
}

.nav__fb-btn:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 6px 16px rgba(24, 119, 242, 0.4);
  animation: none;
}

@keyframes pulse-fb {
  0% {
    box-shadow: 0 0 0 0 rgba(24, 119, 242, 0.5);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(24, 119, 242, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(24, 119, 242, 0);
  }
}

.btn-primary {
  background: linear-gradient(135deg, var(--slate), #11202e);
  box-shadow: 0 4px 15px rgba(31, 51, 70, 0.3);
  border: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(31, 51, 70, 0.4);
  background: linear-gradient(135deg, #11202e, var(--slate));
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  color: #fff;
}

.nav__cta {
  background: linear-gradient(135deg, var(--accent-warm), #a8855a);
  color: white !important;
  padding: 8px 18px !important;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.nav__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(195, 159, 114, 0.3);
}

body {
  transition: background-color 0.4s ease, color 0.4s ease;
}

body.dark-mode .nav {
  background: rgba(18, 18, 18, 0.85) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

body.dark-mode .nav__links a,
body.dark-mode .nav__logo-main,
body.dark-mode .section-title {
  color: #ffffff;
}

body.dark-mode .btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

body.dark-mode .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

body.dark-mode .service-card,
body.dark-mode .colour-card {
  background: var(--surface);
  border-color: var(--border);
}

.nav__theme-toggle {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 50%;
  transition: background 0.3s ease, color 0.3s ease;
}

.nav__theme-toggle:hover {
  background: rgba(0, 0, 0, 0.05);
}

body.dark-mode .nav__theme-toggle {
  color: #fff;
}

body.dark-mode .nav__theme-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* (consolidated into the .btn-secondary block above) */

/* --- Dark Mode Text & Input Adjustments --- */
body.dark-mode p,
body.dark-mode li,
body.dark-mode label,
body.dark-mode .service-card__desc,
body.dark-mode .section-subtitle,
body.dark-mode .contact-channel__value,
body.dark-mode .project__desc {
  color: var(--text-mid) !important;
}

body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode .contact-channel__label {
  color: #ffffff !important;
}

body.dark-mode .form__input,
body.dark-mode .form__select,
body.dark-mode .form__textarea {
  background: var(--surface-soft) !important;
  color: #ffffff !important;
  border-color: var(--border) !important;
}

body.dark-mode .form__input::placeholder,
body.dark-mode .form__textarea::placeholder {
  color: #888888 !important;
}

body.dark-mode .form__label {
  color: #ffffff !important;
}

body.dark-mode .section-label {
  color: var(--accent-warm-soft) !important;
}

/* Ensure primary button text remains bright white in dark mode */
body.dark-mode .btn-primary {
  color: #ffffff !important;
}

/* Fix legibility of little project tags under Recent Projects in dark mode */
body.dark-mode .project__tag {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
}

/* Make sure mobile hamburger icon is visible in dark mode */
body.dark-mode .nav__hamburger span {
  background: #ffffff !important;
}

/* Optimize spacing of logo, toggle, and buttons on mobile screens */
@media (max-width: 768px) {
  .container {
    padding: 0 16px !important;
  }

  .nav__inner {
    padding: 0 10px;
  }

  .nav__actions {
    gap: 8px !important;
  }

  .nav__fb-btn {
    width: 32px;
    height: 32px;
    margin-left: 0;
  }

  .nav__fb-btn svg {
    width: 16px;
    height: 16px;
  }

  .nav__theme-toggle {
    padding: 6px;
  }

  .nav__theme-toggle svg {
    width: 18px;
    height: 18px;
  }
}