/* Theotech Global Technicians | Production styles */
:root {
  --navy: #0a1d3d;
  --navy-2: #122b57;
  --navy-deep: #061229;
  --gold-solid: #d4af37;
  --gold-dark: #9c6e18;
  --gold-light: #f4dc89;
  --gold-gradient: linear-gradient(135deg, #b88728 0%, #f5dc86 38%, #d4af37 68%, #9c6e18 100%);
  --gold-text-dark-bg: linear-gradient(135deg, #fff0b3 0%, #d4af37 52%, #f7e193 100%);
  --gold-text-light-bg: linear-gradient(135deg, #8f6210 0%, #c99a2c 48%, #855a0d 100%);
  --ink: #132238;
  --muted: #56657a;
  --paper: #f4f6fa;
  --line: #dfe5ee;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(10, 29, 61, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 102px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "DM Sans", Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.page-width {
  width: min(1200px, calc(100% - 56px));
  margin-inline: auto;
}

.section-pad {
  padding: 104px 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  padding: 12px 16px;
  background: var(--white);
  color: var(--navy);
  border-radius: 8px;
}

.skip-link:focus {
  top: 12px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 16px;
  color: var(--gold-dark);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold-gradient);
}

.eyebrow-light {
  color: var(--gold-light);
}

.eyebrow-light::before {
  background: var(--gold-text-dark-bg);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: "Manrope", Arial, sans-serif;
  font-style: normal;
}

h2 {
  margin-bottom: 20px;
  color: var(--navy);
  font-size: clamp(2rem, 4.1vw, 3.4rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.04em;
}

/* Straight metallic gold typography */
.gold-text,
h2 em {
  font-family: "Manrope", Arial, sans-serif;
  font-style: normal;
  font-weight: inherit;
  letter-spacing: inherit;
  color: #a87b1a;
  background-image: var(--gold-text-light-bg);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero .gold-text,
.contact-section .gold-text {
  color: var(--gold-light);
  background-image: var(--gold-text-dark-bg);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.icon-arrow {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  transition: transform 0.2s ease;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  transition: transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  cursor: pointer;
}

.button:hover {
  transform: translateY(-2px);
}

.button:hover .icon-arrow,
.text-link:hover .icon-arrow,
.service-card > a:hover .icon-arrow {
  transform: translate(2px, -2px);
}

.button-gold {
  color: #081730;
  background: var(--gold-gradient);
  box-shadow: 0 10px 26px rgba(212, 175, 55, 0.3);
}

.button-gold:hover {
  box-shadow: 0 14px 32px rgba(212, 175, 55, 0.45);
}

.button-glass {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(10, 29, 61, 0.45);
  backdrop-filter: blur(8px);
}

.button-glass:hover {
  color: var(--navy);
  background: var(--white);
  border-color: var(--white);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--gold-solid);
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 700;
}

.text-link .icon-arrow {
  color: var(--gold-dark);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(10, 29, 61, 0.08);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(1320px, calc(100% - 56px));
  min-height: 104px;
  padding: 8px 0;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  height: 92px;
  width: auto;
  align-items: center;
  flex: 0 0 auto;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(10, 29, 61, 0.08);
}

.brand img {
  height: 100%;
  width: auto;
  object-fit: contain;
  border-radius: 14px;
}

@media (min-width: 981px) {
  .header-inner {
    width: min(1440px, calc(100% - 32px));
    padding: 8px 12px 8px 0;
  }

  .brand {
    width: 224px;
    height: 84px;
    padding: 4px 20px;
    justify-content: center;
    background: linear-gradient(135deg, #051329 0%, #0a1d3d 50%, #051329 100%);
    border: 1px solid rgba(212, 175, 55, 0.45);
    box-shadow: 0 6px 18px rgba(10, 29, 61, 0.16);
  }

  .brand img {
    height: 100%;
    width: auto;
    border-radius: 8px;
  }
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.3vw, 32px);
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 600;
}

.primary-nav > a:not(.nav-cta) {
  position: relative;
  padding: 10px 0;
}

.primary-nav > a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  background: var(--gold-gradient);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.primary-nav > a:not(.nav-cta):hover::after {
  transform: scaleX(1);
}

.nav-cta {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  color: #081730;
  background: var(--gold-gradient);
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(212, 175, 55, 0.26);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(212, 175, 55, 0.38);
}

.menu-toggle {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  min-height: clamp(600px, 78vh, 800px);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-image {
  background-image: url("../images/theotech-hero-sunset.webp");
  background-position: center 55%;
  background-size: cover;
  transform: scale(1.015);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(6, 18, 41, 0.88) 0%, rgba(10, 29, 61, 0.74) 48%, rgba(10, 29, 61, 0.54) 100%),
    linear-gradient(180deg, rgba(6, 18, 41, 0.35) 0%, rgba(6, 18, 41, 0.2) 50%, rgba(6, 18, 41, 0.55) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 48px;
  padding-bottom: 84px;
}

.hero h1 {
  max-width: 860px;
  margin: 0 0 24px;
  color: var(--white);
  font-size: clamp(2.9rem, 6.8vw, 5.7rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.hero-copy {
  max-width: 560px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 1.45vw, 1.16rem);
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-location {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 42px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}

.location-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--gold-solid);
  box-shadow: 0 0 0 5px rgba(212, 175, 55, 0.2);
}

.hero-scroll {
  position: absolute;
  right: max(28px, calc((100vw - 1200px) / 2));
  bottom: 32px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-scroll span {
  width: 34px;
  height: 2px;
  background: var(--gold-gradient);
}

/* Intro */
.intro {
  background: var(--white);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8%;
  align-items: start;
}

.intro-heading h2 {
  max-width: 560px;
}

.intro-copy {
  padding-top: 34px;
  color: var(--muted);
  font-size: 0.98rem;
}

.intro-copy .lead {
  color: var(--navy);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.5;
}

.intro-copy p {
  margin-bottom: 20px;
}

.intro-copy .text-link {
  margin-top: 8px;
}

.proof-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 64px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.45);
  background-color: var(--navy);
  background-image:
    repeating-linear-gradient(0deg, rgba(212, 175, 55, 0.14) 0 1px, transparent 1px 36px),
    repeating-linear-gradient(90deg, rgba(212, 175, 55, 0.14) 0 1px, transparent 1px 36px),
    linear-gradient(135deg, rgba(18, 43, 87, 0.85) 0%, rgba(10, 29, 61, 0.96) 55%, rgba(6, 18, 41, 0.98) 100%);
  box-shadow: 0 16px 38px rgba(10, 29, 61, 0.16);
}

.proof-row > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 26px 28px;
  border-right: 1px solid rgba(212, 175, 55, 0.28);
}

.proof-row > div:last-child {
  border-right: 0;
}

.proof-row strong {
  color: var(--gold-light);
  font: 700 1.06rem "Manrope", Arial, sans-serif;
  letter-spacing: -0.01em;
}

.proof-row span {
  color: rgba(244, 247, 252, 0.9);
  font-size: 0.84rem;
}

/* Services: 9 separated, uniform rounded cards */
.services-section {
  background: var(--paper);
}

.section-heading {
  max-width: 660px;
}

.section-heading > p:last-child {
  max-width: 560px;
  color: var(--muted);
}

.section-heading-centre {
  margin: 0 auto 48px;
  text-align: center;
}

.section-heading-centre .eyebrow {
  justify-content: center;
}

.section-heading-centre > p:last-child {
  margin-inline: auto;
}

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

.service-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(10, 29, 61, 0.05);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.75);
  box-shadow: 0 16px 34px rgba(10, 29, 61, 0.1);
}

.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.service-number {
  color: #8a97a8;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.service-icon {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.45);
  color: var(--gold-dark);
}

.service-icon svg {
  width: 21px;
  height: 21px;
}

.service-card h3 {
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.service-card p {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.6;
  flex-grow: 1;
}

.service-card > a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  align-self: flex-start;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 999px;
  background: #f5f7fb;
  border: 1px solid #e1e7f0;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.service-card > a .icon-arrow {
  color: var(--gold-dark);
}

.service-card > a:hover {
  background: var(--gold-gradient);
  border-color: transparent;
  color: #081730;
}

.service-card > a:hover .icon-arrow {
  color: #081730;
}

/* Projects gallery: clean white background, rounded cards, name-tag badges */
.projects-section {
  overflow: hidden;
  color: var(--ink);
  background: var(--white);
}

.projects-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 44px;
}

.projects-intro h2 {
  margin-bottom: 0;
  color: var(--navy);
}

.projects-intro > p {
  max-width: 390px;
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 0.94rem;
}

.gallery-window {
  position: relative;
  max-height: 680px;
  overflow: hidden;
}

.gallery-window::before,
.gallery-window::after {
  position: absolute;
  right: 0;
  left: 0;
  z-index: 3;
  height: 76px;
  content: "";
  pointer-events: none;
}

.gallery-window::before {
  top: 0;
  background: linear-gradient(var(--white), rgba(255, 255, 255, 0));
}

.gallery-window::after {
  bottom: 0;
  background: linear-gradient(rgba(255, 255, 255, 0), var(--white));
}

.gallery-grid {
  display: grid;
  width: min(1280px, calc(100% - 56px));
  height: 680px;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: auto;
  overflow: hidden;
}

.gallery-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
  will-change: transform;
}

.gallery-column[data-column="0"] {
  animation: gallery-up 68s linear infinite;
}

.gallery-column[data-column="1"] {
  animation: gallery-down 78s linear infinite;
}

.gallery-column[data-column="2"] {
  animation: gallery-up 84s linear infinite;
}

.gallery-column:hover {
  animation-play-state: paused;
}

.gallery-item {
  flex: 0 0 auto;
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid #e6ebf2;
  box-shadow: 0 6px 20px rgba(10, 29, 61, 0.05);
}

.gallery-item img {
  width: 100%;
  height: 205px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.03);
}

.gallery-caption {
  position: relative;
  z-index: 1;
  padding: 11px 14px 13px;
  background: var(--white);
  color: var(--muted);
  font: 600 0.8rem/1.4 "Manrope", Arial, sans-serif;
}

.gallery-footnote {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.03em;
}

@keyframes gallery-up {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}

@keyframes gallery-down {
  from { transform: translateY(-50%); }
  to { transform: translateY(0); }
}

/* Process */
.process-section {
  background: var(--paper);
}

.process-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 10%;
}

.process-intro > p:not(.eyebrow) {
  max-width: 400px;
  margin-bottom: 26px;
  color: var(--muted);
}

.process-steps article {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.process-steps article:first-child {
  padding-top: 0;
}

.process-steps article > span {
  color: var(--gold-dark);
  font: 700 0.85rem "Manrope", Arial, sans-serif;
}

.process-steps h3 {
  margin: 0 0 7px;
  color: var(--navy);
  font-size: 1.05rem;
}

.process-steps p {
  max-width: 540px;
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

/* Areas and map */
.areas-section {
  background: var(--white);
}

.areas-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 8%;
  align-items: center;
}

.areas-copy > p:not(.eyebrow) {
  max-width: 510px;
  color: var(--muted);
}

.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 26px 0 30px;
}

.area-tags span {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid #d9e1ec;
  background: var(--paper);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 600;
}

.map-frame {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #e5e9ec;
  box-shadow: var(--shadow);
}

.map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 430px;
  border: 0;
}

.map-label {
  position: absolute;
  bottom: 18px;
  left: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid rgba(10, 29, 61, 0.08);
  box-shadow: 0 8px 26px rgba(10, 29, 61, 0.14);
}

.map-pin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-dark);
}

.map-pin svg {
  width: 18px;
  height: 18px;
}

.map-label strong,
.map-label small {
  display: block;
}

.map-label strong {
  color: var(--navy);
  font: 700 0.84rem "Manrope", Arial, sans-serif;
}

.map-label small {
  color: var(--muted);
  font-size: 0.72rem;
}

/* FAQ */
.faq-section {
  background: var(--paper);
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 10%;
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list details:first-child {
  border-top: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 20px 38px 20px 0;
  color: var(--navy);
  font: 700 0.97rem "Manrope", Arial, sans-serif;
  list-style: none;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 18px;
  right: 4px;
  color: var(--gold-dark);
  content: "+";
  font-size: 1.35rem;
  font-weight: 500;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list details p {
  max-width: 650px;
  padding: 0 28px 18px 0;
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

/* Contact */
.contact-section {
  color: var(--ink);
  background: var(--white);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 32px;
  align-items: stretch;
}

.contact-copy {
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 4vw, 44px);
  color: var(--white);
  border-radius: 20px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  background:
    radial-gradient(circle at 85% 15%, rgba(212, 175, 55, 0.16), transparent 38%),
    var(--navy);
  box-shadow: 0 20px 55px rgba(10, 29, 61, 0.16);
}

.contact-copy h2 {
  color: var(--white);
}

.contact-copy > p:not(.eyebrow) {
  max-width: 450px;
  color: rgba(255, 255, 255, 0.8);
}

.contact-methods {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 18px;
  margin-top: 30px;
}

.contact-phone {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-align: left;
}
.contact-icon {
  display: flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(244, 220, 137, 0.55);
  border-radius: 50%;
  color: var(--gold-light);
  background: rgba(255, 255, 255, 0.04);
}

.contact-icon svg {
  width: 20px;
  height: 20px;
}

.contact-phone small,
.contact-phone strong {
  display: block;
}

.contact-phone small {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.74rem;
}

.contact-phone strong {
  color: var(--white);
  font: 700 1.06rem "Manrope", Arial, sans-serif;
}

.contact-whatsapp-btn {
  display: inline-flex;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--white);
  background: #25d366;
  border: 2px solid rgba(255, 255, 255, 0.88);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-whatsapp-btn:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.38);
}

.contact-whatsapp-btn svg {
  width: 29px;
  height: 29px;
}

.contact-note {
  margin-top: auto;
  padding-top: 28px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8rem;
}

.enquiry-form {
  padding: clamp(24px, 4vw, 40px);
  color: var(--ink);
  background: var(--white);
  border: 1px solid #e4eaf2;
  border-radius: 20px;
  box-shadow: 0 20px 55px rgba(10, 29, 61, 0.08);
}

.form-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 18px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.form-heading span {
  color: var(--navy);
  font: 700 1.25rem "Manrope", Arial, sans-serif;
}

.form-heading small {
  color: var(--muted);
  font-size: 0.74rem;
}

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

.form-grid label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 700;
}

.form-grid .field-wide {
  grid-column: 1 / -1;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #d2dbe7;
  border-radius: 10px;
  outline: none;
  color: var(--ink);
  background: var(--white);
  font-size: 0.86rem;
  font-weight: 400;
}

.form-grid textarea {
  min-height: 112px;
  resize: vertical;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  border-color: var(--gold-solid);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.form-submit {
  width: 100%;
  margin-top: 22px;
  border: 0;
}

.form-privacy,
.form-status {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.5;
}

.form-status {
  color: #1c6b41;
  font-weight: 600;
}

/* Footer and floating WhatsApp */
.site-footer {
  color: rgba(255, 255, 255, 0.78);
  background: var(--navy-deep);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.55fr 0.85fr 1fr;
  gap: 44px;
  padding-top: 56px;
  padding-bottom: 44px;
}

.footer-title {
  display: block;
  margin-bottom: 10px;
  color: var(--gold-light);
  font: 700 1.02rem "Manrope", Arial, sans-serif;
  letter-spacing: -0.02em;
}

.footer-blurb p {
  max-width: 340px;
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.88rem;
}

.footer-blurb span {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.78rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
}

.footer-links strong {
  margin-bottom: 6px;
  color: var(--gold-light);
  font: 700 0.84rem "Manrope", Arial, sans-serif;
}

.footer-links a:hover,
.footer-bottom a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 18px;
  padding-bottom: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.74rem;
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.back-to-top:hover .icon-arrow {
  transform: translateY(-2px);
}

.floating-whatsapp {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  display: flex;
  width: 62px;
  height: 62px;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--white);
  border-radius: 50%;
  color: var(--white);
  background: #25d366;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.24);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-whatsapp:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.3);
}

.floating-whatsapp svg {
  width: 34px;
  height: 34px;
}

@media (prefers-reduced-motion: no-preference) {
  .floating-whatsapp {
    animation: whatsapp-pulse 3.8s ease-in-out infinite;
  }

  @keyframes whatsapp-pulse {
    0%, 82%, 100% {
      box-shadow: 0 8px 28px rgba(0, 0, 0, 0.24), 0 0 0 0 rgba(37, 211, 102, 0.28);
    }
    90% {
      box-shadow: 0 8px 28px rgba(0, 0, 0, 0.24), 0 0 0 12px rgba(37, 211, 102, 0);
    }
  }
}

/* Tablet */
@media (max-width: 980px) {
  .header-inner {
    min-height: 92px;
  }

  .brand {
    height: 82px;
  }

  .primary-nav {
    gap: 14px;
    font-size: 0.8rem;
  }

  .nav-cta {
    padding: 9px 14px;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .footer-main {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 24px;
  }
}

/* Mobile Portrait and Small Tablet */
@media (max-width: 760px) {
  html {
    scroll-padding-top: 86px;
  }

  .page-width {
    width: min(100% - 36px, 640px);
  }

  .section-pad {
    padding: 72px 0;
  }

  .header-inner {
    width: calc(100% - 32px);
    min-height: 86px;
  }

  .brand {
    height: 76px;
    border-radius: 12px;
  }

  .brand img {
    border-radius: 12px;
  }

  .menu-toggle {
    display: flex;
    width: 44px;
    height: 44px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid #d5dde8;
    border-radius: 10px;
    background: var(--white);
    cursor: pointer;
  }

  .menu-toggle span {
    width: 19px;
    height: 2px;
    background: var(--navy);
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(8px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-8px) rotate(-45deg);
  }

  .primary-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 12px 18px 22px;
    border-top: 1px solid var(--line);
    background: var(--white);
    box-shadow: 0 18px 28px rgba(10, 29, 61, 0.14);
  }

  .primary-nav.is-open {
    display: flex;
    flex-direction: column;
  }

  .primary-nav > a:not(.nav-cta) {
    padding: 13px 4px;
    border-bottom: 1px solid #eef2f7;
  }

  .primary-nav > a:not(.nav-cta)::after {
    display: none;
  }

  .nav-cta {
    justify-content: center;
    margin-top: 14px;
    padding: 13px 18px;
  }

  .hero {
    min-height: clamp(580px, calc(100svh - 86px), 740px);
  }

  .hero-image {
    background-position: 57% center;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(6, 18, 41, 0.62) 0%, rgba(10, 29, 61, 0.68) 55%, rgba(6, 18, 41, 0.78) 100%);
  }

  .hero-content {
    padding-top: 56px;
    padding-bottom: 68px;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 11vw, 4.2rem);
  }

  .hero-copy {
    max-width: 440px;
    font-size: 0.98rem;
  }

  .hero-location {
    max-width: 300px;
    margin-top: 32px;
    font-size: 0.74rem;
  }

  .hero-scroll {
    display: none;
  }

  .intro-grid,
  .process-layout,
  .areas-grid,
  .faq-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .intro-copy {
    padding-top: 0;
  }

  .proof-row {
    margin-top: 44px;
  }

  .proof-row > div {
    padding: 16px 12px;
  }

  .proof-row strong {
    font-size: 0.9rem;
  }

  .proof-row span {
    font-size: 0.74rem;
  }

  .section-heading-centre {
    margin-bottom: 34px;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .service-card {
    padding: 20px 18px;
  }

  .service-card h3 {
    font-size: 0.98rem;
  }

  .service-card p {
    font-size: 0.81rem;
  }

  .projects-intro {
    display: block;
    margin-bottom: 28px;
  }

  .projects-intro > p {
    margin-top: 16px;
  }

  .gallery-grid {
    width: calc(100% - 32px);
    height: 560px;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .gallery-column {
    gap: 12px;
  }

  .gallery-column[data-column="2"] {
    display: none;
  }

  .gallery-item {
    border-radius: 12px;
  }

  .gallery-item img {
    height: 168px;
  }

  .gallery-caption {
    padding: 9px 11px 11px;
    font-size: 0.74rem;
  }

  .gallery-window {
    max-height: 560px;
  }

  .gallery-window::before,
  .gallery-window::after {
    height: 46px;
  }

  .gallery-footnote {
    font-size: 0.7rem;
  }

  .process-steps article {
    grid-template-columns: 36px 1fr;
    gap: 12px;
  }

  .map-frame,
  .map-frame iframe {
    min-height: 340px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
  }

  .footer-blurb {
    grid-column: 1 / -1;
  }
}

/* Narrow Mobile Portrait */
@media (max-width: 500px) {
  .page-width {
    width: calc(100% - 30px);
  }

  .brand {
    height: 70px;
  }

  .hero h1 {
    font-size: clamp(2.4rem, 11.5vw, 3.3rem);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    max-width: 280px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .proof-row {
    grid-template-columns: 1fr;
  }

  .proof-row > div,
  .proof-row > div:first-child {
    padding: 16px 20px;
    border-right: 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.28);
  }

  .proof-row > div:last-child {
    border-bottom: 0;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    width: calc(100% - 28px);
    height: 500px;
    gap: 10px;
  }

  .gallery-window {
    max-height: 500px;
  }

  .gallery-item img {
    height: 148px;
  }

  .gallery-caption {
    padding: 8px 10px 10px;
    font-size: 0.7rem;
  }

  .gallery-footnote {
    flex-direction: column;
    gap: 4px;
  }

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

  .form-grid .field-wide {
    grid-column: auto;
  }

  .form-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-blurb {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .floating-whatsapp {
    right: 16px;
    bottom: 16px;
    width: 56px;
    height: 56px;
  }
}

/* Mobile Landscape */
@media (orientation: landscape) and (max-height: 560px) {
  .header-inner {
    min-height: 74px;
    padding: 6px 0;
  }

  .brand {
    height: 64px;
  }

  .hero {
    min-height: 460px;
  }

  .hero-content {
    padding-top: 32px;
    padding-bottom: 42px;
  }

  .hero h1 {
    font-size: clamp(2.3rem, 7vh, 3.6rem);
    margin-bottom: 14px;
  }

  .hero-copy {
    margin-bottom: 20px;
    font-size: 0.94rem;
  }

  .hero-location {
    margin-top: 20px;
  }

  .section-pad {
    padding: 58px 0;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .gallery-window,
  .gallery-grid {
    height: 420px;
    max-height: 420px;
  }

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

  .gallery-column[data-column="2"] {
    display: flex;
  }

  .gallery-item img {
    height: 155px;
  }

  .map-frame,
  .map-frame iframe {
    min-height: 290px;
  }
}

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

  .gallery-column {
    transform: none !important;
  }
}
