
:root {
  --bg: #060807;
  --panel: #0c100f;
  --panel-2: #111715;
  --line: rgba(255,255,255,.09);
  --text: #f4f7f6;
  --muted: #a7b0ad;
  --emerald: #03c9a9;
  --emerald-deep: #018b75;
  --max: 1180px;
  --radius: 20px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
    radial-gradient(circle at 80% 0%, rgba(3,201,169,.12), transparent 34%),
    var(--bg);
  background-size: 42px 42px, 42px 42px, auto, auto;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.eyebrow { color: var(--emerald); letter-spacing: .16em; text-transform: uppercase; font-size: .78rem; font-weight: 700; }
.muted { color: var(--muted); }
.site-header {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(6,8,7,.8);
  border-bottom: 1px solid var(--line);
}
.nav { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 190px; }
.brand img { height: 38px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 24px; font-size: .92rem; color: #d6dcda; }
.nav-links a:hover { color: var(--emerald); }
.menu-btn { display: none; border: 1px solid var(--line); background: transparent; color: white; border-radius: 12px; padding: 10px 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent; font-weight: 700; transition: .2s ease; }
.btn-primary { color: #02120f; background: var(--emerald); box-shadow: 0 12px 34px rgba(3,201,169,.18); }
.btn-primary:hover { transform: translateY(-2px); background: #15d8b8; }
.btn-secondary { border-color: var(--line); background: rgba(255,255,255,.03); }
.btn-secondary:hover { border-color: rgba(3,201,169,.5); color: var(--emerald); }
.hero { padding: 88px 0 60px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.hero h1 { margin: 14px 0 22px; font-size: clamp(3.2rem, 6vw, 6.4rem); line-height: .96; letter-spacing: -.055em; max-width: 820px; }
.hero h1 span { color: var(--emerald); }
.hero-copy { color: #c1cac7; font-size: 1.16rem; max-width: 650px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.hero-card { position: relative; min-height: 530px; border: 1px solid var(--line); border-radius: 34px; overflow: hidden; background: linear-gradient(145deg, rgba(255,255,255,.04), rgba(3,201,169,.035)); box-shadow: 0 50px 110px rgba(0,0,0,.45); }
.hero-card::before, .hero-card::after { content: ""; position: absolute; background: var(--emerald); opacity: .55; transform: skewX(-38deg); }
.hero-card::before { width: 180px; height: 9px; right: 30px; top: 34px; }
.hero-card::after { width: 110px; height: 6px; left: 36px; bottom: 32px; }
.hero-logo { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%); width: 88%; }
.hero-card-label { position: absolute; left: 34px; top: 30px; color: var(--muted); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; }
.hero-card-meta { position: absolute; right: 34px; bottom: 30px; text-align: right; color: var(--muted); font-size: .82rem; }
.trust-strip { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-item { padding: 24px 26px; display: flex; gap: 14px; align-items: flex-start; }
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-dot { width: 10px; height: 10px; margin-top: 7px; background: var(--emerald); clip-path: polygon(0 50%, 100% 0, 82% 100%); }
.section { padding: 96px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 42px; }
.section h2 { margin: 8px 0 0; font-size: clamp(2.25rem, 4.4vw, 4.5rem); line-height: 1; letter-spacing: -.045em; }
.section-lead { max-width: 530px; color: var(--muted); }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.015)); padding: 28px; min-height: 240px; transition: .2s ease; }
.card:hover { border-color: rgba(3,201,169,.45); transform: translateY(-4px); }
.card-number { color: var(--emerald); font-size: .78rem; letter-spacing: .14em; }
.card h3 { font-size: 1.35rem; margin: 28px 0 10px; }
.card p { color: var(--muted); margin: 0; }
.process { display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.process-step { padding: 28px; min-height: 230px; background: rgba(255,255,255,.02); }
.process-step + .process-step { border-left: 1px solid var(--line); }
.process-step strong { display: block; color: var(--emerald); font-size: 2rem; margin-bottom: 46px; }
.sector-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; }
.sector-list { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.sector-row { display: flex; justify-content: space-between; gap: 20px; padding: 22px 26px; border-bottom: 1px solid var(--line); }
.sector-row:last-child { border-bottom: 0; }
.sector-row span:last-child { color: var(--muted); }
.visual-panel { border: 1px solid var(--line); border-radius: var(--radius); min-height: 100%; position: relative; overflow: hidden; background: radial-gradient(circle at 35% 35%, rgba(3,201,169,.22), transparent 27%), #0a0d0c; }
.visual-symbol { width: 56%; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); opacity: .9; }
.visual-panel::after { content: ""; position: absolute; inset: 28px; border: 1px solid rgba(3,201,169,.25); clip-path: polygon(0 0, 100% 0, 100% 76%, 82% 100%, 0 100%); }
.project-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.project-card { min-height: 370px; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; background: #0a0d0c; position: relative; }
.project-art { height: 220px; background: linear-gradient(135deg, rgba(3,201,169,.22), transparent 55%), linear-gradient(40deg, #111715, #070908); position: relative; }
.project-art::before, .project-art::after { content: ""; position: absolute; background: rgba(255,255,255,.08); clip-path: polygon(0 50%, 100% 0, 84% 100%); }
.project-art::before { width: 62%; height: 68%; left: 12%; top: 13%; }
.project-art::after { width: 36%; height: 38%; right: 10%; bottom: 10%; background: rgba(3,201,169,.35); }
.project-body { padding: 24px; }
.project-body small { color: var(--emerald); text-transform: uppercase; letter-spacing: .13em; }
.project-body h3 { margin: 10px 0 8px; }
.quote-band { border: 1px solid rgba(3,201,169,.35); border-radius: 30px; padding: 48px; display: grid; grid-template-columns: 1fr auto; gap: 36px; align-items: center; background: linear-gradient(120deg, rgba(3,201,169,.12), rgba(255,255,255,.02)); }
.quote-band h2 { margin: 0 0 12px; font-size: clamp(2rem, 4vw, 4rem); }
.footer { border-top: 1px solid var(--line); padding: 42px 0 54px; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(2,.7fr); gap: 50px; }
.footer-logo { width: 220px; margin-bottom: 18px; }
.footer h4 { color: white; margin: 0 0 14px; }
.footer a { display: block; margin: 9px 0; }
.page-hero { padding: 82px 0 54px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(3rem, 6vw, 6rem); margin: 10px 0 18px; letter-spacing: -.055em; line-height: 1; }
.content-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; }
.prose p { color: #bbc4c1; font-size: 1.08rem; }
.form-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
label { color: #dce2e0; font-size: .9rem; }
input, textarea, select { width: 100%; color: white; background: #0b100e; border: 1px solid var(--line); border-radius: 12px; padding: 14px 15px; outline: none; }
input:focus, textarea:focus, select:focus { border-color: rgba(3,201,169,.65); }
textarea { min-height: 150px; resize: vertical; }
.notice { padding: 16px; border-left: 3px solid var(--emerald); background: rgba(3,201,169,.07); color: #c7d2ce; }
@media (max-width: 900px) {
  .nav-links { display: none; position: absolute; left: 20px; right: 20px; top: 82px; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: #0b0f0e; flex-direction: column; align-items: stretch; }
  .nav-links.open { display: flex; }
  .menu-btn { display: block; }
  .header-cta { display: none; }
  .hero-grid, .sector-grid, .content-grid, .quote-band { grid-template-columns: 1fr; }
  .hero { padding-top: 58px; }
  .hero-card { min-height: 420px; }
  .grid-3, .project-grid { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: 1fr 1fr; }
  .process-step:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .process-step:nth-child(4) { border-top: 1px solid var(--line); }
  .trust-strip { grid-template-columns: 1fr; }
  .trust-item + .trust-item { border-left: 0; border-top: 1px solid var(--line); }
  .section-head { align-items: start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .nav { min-height: 68px; }
  .brand img { height: 32px; }
  .hero h1 { font-size: 3.25rem; }
  .hero-card { min-height: 350px; }
  .grid-3, .project-grid, .process, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .process-step + .process-step { border-left: 0; border-top: 1px solid var(--line); }
  .quote-band { padding: 30px; }
  .section { padding: 72px 0; }
}


/* Live forms and contact details */
.email-link { color: var(--emerald); }
.email-link:hover { text-decoration: underline; }
.honeypot { position: absolute !important; left: -9999px !important; opacity: 0 !important; pointer-events: none !important; }
.live-form { position: relative; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.015)); }
.field-help { color: var(--muted); font-size: .82rem; }
.checkbox-label { display: flex; align-items: flex-start; gap: 12px; color: #c7cfcc; line-height: 1.45; cursor: pointer; }
.checkbox-label input { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 2px; accent-color: var(--emerald); }
.form-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form-status { margin: 0; font-size: .88rem; }
.contact-mini-card { margin-top: 28px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.02); }
.contact-mini-card h3 { margin: 10px 0 5px; font-size: 1.35rem; }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
.contact-details h2 { font-size: clamp(2.2rem, 4vw, 4rem); line-height: 1.05; margin: 12px 0 22px; }
.contact-email { display: inline-block; margin-bottom: 24px; color: var(--emerald); font-size: clamp(1.3rem, 2.5vw, 2.2rem); font-weight: 700; }
.contact-details .btn { margin-top: 12px; }
button[disabled] { opacity: .65; cursor: wait; transform: none !important; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 42px; } }
@media (max-width: 620px) { .live-form { padding: 20px; } .form-actions { align-items: stretch; } .form-actions .btn { width: 100%; } }

/* SMTP form result states */
.form-success { color: var(--emerald) !important; }
.form-error { color: #ff9f9f !important; }


/* Phase 3 refined content */
.section-tinted { background: rgba(255,255,255,.015); border-block: 1px solid var(--line); }
.projects-preview { padding-top: 30px; }
.compact-section { padding-top: 24px; }
.footer-bottom { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .86rem; }

/* Real project images: replace the JPG files in assets/images/projects/ */
.project-art.has-image { background: #0a0d0c; }
.project-art.has-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.project-art.has-image::before { display: none; }
.project-art.has-image::after { content: ""; position: absolute; inset: 0; width: auto; height: auto; right: 0; bottom: 0; background: linear-gradient(180deg, transparent 55%, rgba(6,8,7,.58)); clip-path: none; pointer-events: none; }

/* Phone number with separate international country code */
.phone-control { display: grid; grid-template-columns: 108px minmax(0, 1fr); gap: 10px; }
.country-code-input { text-align: center; font-weight: 700; }

/* Client reviews */
.reviews-section { border-block: 1px solid var(--line); background: linear-gradient(180deg, rgba(3,201,169,.045), rgba(255,255,255,.012)); }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review-card { display: flex; flex-direction: column; min-height: 285px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015)); }
.review-stars { color: var(--emerald); letter-spacing: .14em; font-size: 1.05rem; }
.review-card blockquote { margin: 30px 0; color: #e3e8e6; font-size: 1.08rem; line-height: 1.65; }
.review-person { margin-top: auto; display: grid; gap: 3px; }
.review-person strong { color: white; }
.review-person span { color: var(--muted); font-size: .9rem; }

/* Thank-you page */
.thank-you-nav { justify-content: space-between; }
.thank-you-main { min-height: calc(100vh - 79px); display: grid; place-items: center; padding: 60px 20px; }
.thank-you-card { width: min(100%, 760px); text-align: center; padding: clamp(34px, 7vw, 72px); border: 1px solid rgba(3,201,169,.32); border-radius: 32px; background: radial-gradient(circle at 50% 0%, rgba(3,201,169,.15), transparent 42%), var(--panel); box-shadow: 0 45px 100px rgba(0,0,0,.38); }
.thank-you-symbol { width: 86px; margin: 0 auto 30px; }
.thank-you-card h1 { margin: 12px auto 20px; max-width: 650px; font-size: clamp(2.5rem, 6vw, 5rem); line-height: 1; letter-spacing: -.05em; }
.thank-you-card .hero-copy { margin: 0 auto; }
.request-reference { display: inline-block; margin: 24px 0 0; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--emerald); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .88rem; }
.redirect-message { margin: 28px 0 22px; }

@media (max-width: 900px) {
  .reviews-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .phone-control { grid-template-columns: 96px minmax(0, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
  .thank-you-nav .btn { display: none; }
  .thank-you-main { min-height: calc(100vh - 69px); padding: 28px 14px; }
}


/* Phase 3 v6 — refined quotation form */
.quote-layout { align-items: start; }
.live-form.form-grid {
  align-items: start;
  column-gap: 20px;
  row-gap: 22px;
  padding: clamp(22px, 3vw, 34px);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012)),
    #090d0c;
}
.live-form .field {
  display: flex;
  flex-direction: column;
  align-self: start;
  min-width: 0;
  gap: 9px;
}
.live-form label {
  color: #edf3f1;
  font-size: .91rem;
  font-weight: 650;
  letter-spacing: -.01em;
}
.live-form input:not([type="checkbox"]):not([type="file"]),
.live-form select {
  min-height: 56px;
}
.live-form input,
.live-form textarea,
.live-form select {
  border-color: rgba(255,255,255,.12);
  border-radius: 14px;
  background: #0a0f0d;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.live-form input:hover,
.live-form textarea:hover,
.live-form select:hover {
  border-color: rgba(255,255,255,.2);
}
.live-form input:focus,
.live-form textarea:focus,
.live-form select:focus {
  border-color: var(--emerald);
  background: #0b1210;
  box-shadow: 0 0 0 3px rgba(3,201,169,.11);
}
.live-form textarea {
  min-height: 170px;
  padding: 16px;
  line-height: 1.55;
}
.live-form input[type="file"] {
  min-height: 58px;
  padding: 10px 12px;
}
.live-form input[type="file"]::file-selector-button {
  margin-right: 12px;
  padding: 10px 14px;
  color: #06120f;
  font-weight: 700;
  border: 0;
  border-radius: 10px;
  background: var(--emerald);
  cursor: pointer;
}
.live-form input::placeholder,
.live-form textarea::placeholder { color: #75817d; opacity: 1; }
.phone-control {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 0;
  min-height: 56px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  background: #0a0f0d;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.phone-control:hover { border-color: rgba(255,255,255,.2); }
.phone-control:focus-within {
  border-color: var(--emerald);
  background: #0b1210;
  box-shadow: 0 0 0 3px rgba(3,201,169,.11);
}
.live-form .phone-control .country-code-select,
.live-form .phone-control input {
  width: 100%;
  min-width: 0;
  min-height: 54px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.live-form .phone-control .country-code-select {
  padding-left: 14px;
  padding-right: 34px;
  border-right: 1px solid rgba(255,255,255,.11);
  color: #f4f7f6;
  font-weight: 650;
}
.live-form .phone-control input { padding-left: 16px; }
.live-form .phone-control .country-code-select:focus,
.live-form .phone-control input:focus { box-shadow: none; }
.consent-field {
  margin-top: 2px;
  padding: 16px 17px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 14px;
  background: rgba(255,255,255,.02);
}
@media (max-width: 620px) {
  .live-form.form-grid { row-gap: 18px; }
  .phone-control { grid-template-columns: 132px minmax(0, 1fr); }
}

/* Phase 3 v8 — custom dark country-code picker with local SVG flags */
.phone-control {
  overflow: visible;
  position: relative;
}
.country-code-picker {
  position: relative;
  min-width: 0;
}
.country-code-button {
  width: 100%;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 13px;
  border: 0;
  border-right: 1px solid rgba(255,255,255,.11);
  border-radius: 13px 0 0 13px;
  color: #f4f7f6;
  background: transparent;
  font-weight: 650;
  cursor: pointer;
  text-align: left;
}
.country-code-button:hover { background: rgba(255,255,255,.025); }
.country-code-button:focus-visible {
  outline: 2px solid var(--emerald);
  outline-offset: -3px;
}
.country-current,
.country-option-main,
.country-flag-group {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}
.country-current { gap: 9px; }
.country-option-main { gap: 11px; overflow: hidden; }
.country-flag-group { position: relative; flex: 0 0 auto; }
.country-flag {
  width: 24px;
  height: 18px;
  display: block;
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: 3px;
  border: 1px solid rgba(255,255,255,.2);
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.28);
}
.country-flag-group .country-flag + .country-flag {
  margin-left: -8px;
  transform: translateY(3px);
}
.country-chevron {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .18s ease;
}
.country-code-picker.open .country-chevron {
  transform: rotate(225deg) translate(-1px, -1px);
}
.country-code-menu {
  position: absolute;
  z-index: 60;
  top: calc(100% + 9px);
  left: 0;
  width: min(330px, calc(100vw - 48px));
  max-height: 330px;
  overflow-y: auto;
  padding: 7px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  background: #0a0f0d;
  box-shadow: 0 22px 60px rgba(0,0,0,.55);
  scrollbar-color: rgba(255,255,255,.28) transparent;
  scrollbar-width: thin;
}
.country-code-menu[hidden] { display: none; }
.country-option {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 9px 11px;
  border: 0;
  border-radius: 9px;
  color: #dce5e2;
  background: transparent;
  cursor: pointer;
  text-align: left;
}
.country-option:hover,
.country-option:focus-visible {
  color: #fff;
  background: rgba(255,255,255,.07);
  outline: none;
}
.country-option[aria-selected="true"] {
  color: #06120f;
  background: var(--emerald);
}
.country-option[aria-selected="true"] .country-flag {
  border-color: rgba(6,18,15,.32);
}
.country-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.country-dial-code { flex: 0 0 auto; font-weight: 750; }
@media (max-width: 620px) {
  .country-code-menu { width: min(300px, calc(100vw - 42px)); }
  .country-flag { width: 22px; height: 16px; }
}
