/* ============================================================
   ENCIVIL INC., Stylesheet
   Color scheme: Dark Navy (#0e232d) + Orange-Red (#ff5532)
   Inspired by Spence Ltd design language
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

/* ---- Variables ---- */
:root {
  --dark:         #0e232d;
  --dark-mid:     #162e3b;
  --accent:       #ff5532;
  --accent-hover: #d94020;
  --white:        #ffffff;
  --off-white:    #f4f6f7;
  --text:         #364849;
  --muted:        #525c5e;
  --light:        #b8bfc1;
  --border:       #e1e1e1;
  --btn:          #ff5532;
  --btn-hover:    #d94020;
  --hero-bg:      #0e232d;
  --nav-h:        72px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  { font-family: 'Inter', sans-serif; color: var(--text); background: #fff; line-height: 1.6; overflow-x: hidden; }
img   { max-width: 100%; height: auto; display: block; }
a     { text-decoration: none; color: inherit; }
ul    { list-style: none; }
h1,h2,h3,h4 { font-family: 'Sora', sans-serif; line-height: 1.1; }

/* ---- Utility ---- */
.container  { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.section-pad { padding: 92px 0; }

.work-label,
.section-label {
  font-size: .72rem; font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 12px; font-family: 'Inter', sans-serif;
  display: block;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 2px;
  font-family: 'Sora', sans-serif; font-size: .85rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  cursor: pointer; transition: all .25s;
  border: 2px solid transparent;
}
.btn-warm,
.btn-primary   { background: var(--btn); color: #fff; border-color: var(--btn); }
.btn-warm:hover,
.btn-primary:hover { background: var(--btn-hover); border-color: var(--btn-hover); }

.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-outline-white:hover { background: #fff; color: var(--dark); }

.btn-outline-dark { background: transparent; color: var(--dark); border-color: var(--dark); }
.btn-outline-dark:hover { background: var(--dark); color: #fff; }

/* Bordered text link button */
.read-more {
  display: inline-block;
  font-family: 'Sora', sans-serif; font-size: .78rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--dark);
  padding: 10px 20px; border: 1.5px solid var(--dark);
  transition: background .2s, color .2s; margin-top: 14px;
}
.read-more:hover { background: var(--dark); color: #fff; }

.read-more-light {
  display: inline-block;
  font-family: 'Sora', sans-serif; font-size: .78rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: #fff;
  padding: 10px 20px; border: 1.5px solid rgba(255,255,255,.5);
  transition: background .2s, color .2s; margin-top: 14px;
}
.read-more-light:hover { background: #fff; color: var(--dark); }

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  height: var(--nav-h); background: #fff;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center;
}
.nav-container {
  max-width: 1200px; width: 100%; margin: 0 auto; padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo-box {
  width: 44px; height: 44px; background: var(--dark); border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: 'Sora', sans-serif; font-weight: 800; font-size: .88rem;
  letter-spacing: .02em; flex-shrink: 0;
  position: relative; overflow: hidden;
}
.nav-logo-box::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: var(--accent);
}
.nav-logo-text .name { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1.05rem; color: var(--dark); }
.nav-logo-text .sub  { font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  font-size: .875rem; font-weight: 500; color: var(--text);
  padding: 7px 13px; border-radius: 2px; transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); }

.nav-dropdown { position: relative; }
.nav-dropdown > a::after { content: ' ▾'; font-size: .65rem; }
.dropdown-menu {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: #fff; border: 1px solid var(--border); border-radius: 4px;
  min-width: 200px; box-shadow: 0 8px 32px rgba(0,0,0,.1);
  opacity: 0; pointer-events: none; transform: translateY(-6px);
  transition: opacity .2s, transform .2s; z-index: 200;
}
.nav-dropdown:hover .dropdown-menu { opacity: 1; pointer-events: all; transform: translateY(0); }
.dropdown-menu a { display: block; padding: 11px 18px; font-size: .86rem; transition: background .15s, color .15s; }
.dropdown-menu a:first-child { border-radius: 4px 4px 0 0; }
.dropdown-menu a:last-child  { border-radius: 0 0 4px 4px; }
.dropdown-menu a:hover { background: var(--off-white); color: var(--accent); }

.nav-phone {
  display: flex; align-items: center; gap: 8px;
  font-family: 'Sora', sans-serif; font-size: .88rem; font-weight: 700;
  color: var(--dark); white-space: nowrap;
  border: 2px solid var(--dark); border-radius: 40px;
  padding: 7px 18px;
  transition: background .2s, color .2s;
}
.nav-phone:hover { background: var(--dark); color: #fff; }
.nav-phone svg { color: var(--accent); flex-shrink: 0; }
.nav-phone:hover svg { color: #fff; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; background: none; border: none; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--dark); border-radius: 2px; transition: all .3s; }

/* ============================================================
   MOBILE NAV
   ============================================================ */
.mobile-nav {
  display: none; position: fixed; inset: 0; background: var(--dark); z-index: 1100;
  flex-direction: column; padding: 96px 36px 48px; overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav-close {
  position: absolute; top: 20px; right: 20px;
  background: none; border: none; color: #fff; font-size: 2rem; cursor: pointer; padding: 8px; line-height: 1;
}
.mobile-nav a {
  font-family: 'Sora', sans-serif; font-size: 1.2rem; font-weight: 600;
  color: rgba(255,255,255,.8); padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.08); transition: color .2s;
}
.mobile-nav a.sub { font-size: .95rem; padding-left: 20px; color: rgba(255,255,255,.45); }
.mobile-nav a:hover { color: var(--accent); }
.mobile-nav .mob-phone,
.mobile-nav .mobile-phone {
  margin-top: 28px; font-family: 'Sora', sans-serif;
  font-size: 1.1rem; font-weight: 700; color: var(--accent);
  display: flex; align-items: center; gap: 10px;
}

/* ============================================================
   PAGE HERO (interior pages)
   ============================================================ */
.page-hero {
  background: var(--dark);
  padding: 88px 0 80px; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='1' cy='1' r='1' fill='rgba(255,85,50,0.05)'/%3E%3C/svg%3E");
  background-size: 40px 40px;
}
/* Accent bar left-edge */
.page-hero::after {
  content: ''; position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px; background: var(--accent);
}
.page-hero .container { position: relative; z-index: 1; }

/* Vertical accent bar inline with heading */
.page-hero-bar,
.page-hero-accent {
  display: inline-block; width: 4px; height: 52px;
  background: var(--accent); border-radius: 1px;
  margin-right: 22px; vertical-align: middle;
}
.page-hero h1 {
  display: inline; font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  color: #fff; vertical-align: middle; font-weight: 800;
}
.page-hero p {
  margin-top: 20px; font-size: 1.02rem; color: rgba(255,255,255,.6);
  max-width: 560px; line-height: 1.8;
}
.page-hero .btn { margin-top: 32px; }

/* ============================================================
   HOME HERO, Split layout
   ============================================================ */
.hero {
  height: calc(100vh - var(--nav-h));
  min-height: 560px; max-height: 860px;
  display: grid; grid-template-columns: 44% 56%;
  overflow: hidden;
}

/* LEFT panel, dark navy */
.hero-left {
  background: var(--hero-bg);
  display: flex; flex-direction: column; justify-content: center;
  padding: 64px 60px 64px 64px;
  position: relative; overflow: hidden;
}
/* Orange accent left stripe */
.hero-left::before {
  content: ''; position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px; background: var(--accent);
}
/* Dot grid decoration */
.hero-left .dots {
  position: absolute; top: 52px; right: 48px;
  display: grid; grid-template-columns: repeat(6, 10px); gap: 8px;
  pointer-events: none;
}
.hero-left .dots span {
  width: 4px; height: 4px; border-radius: 50%;
  background: rgba(255,85,50,.25);
}
/* Radial glow bottom */
.hero-left::after {
  content: ''; position: absolute; width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,85,50,.06) 0%, transparent 70%);
  bottom: -160px; left: -100px; pointer-events: none;
}

.hero-eyebrow {
  font-size: .78rem; color: var(--accent);
  margin-bottom: 16px; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
}
.hero-title {
  font-size: clamp(2.4rem, 3.8vw, 3.8rem);
  font-weight: 800; color: #fff; line-height: 1.05;
  margin-bottom: 22px;
}
/* Orange underline accent on last word */
.hero-title .accent-word { color: var(--accent); }

.hero-desc {
  font-size: .94rem; color: rgba(255,255,255,.6);
  max-width: 380px; line-height: 1.85; margin-bottom: 40px;
}

/* RIGHT panel, photo */
.hero-right {
  position: relative; overflow: hidden;
  background: #0a1a22;
}
.hero-right img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center center;
  opacity: .88;
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar { background: var(--dark-mid); padding: 56px 0; border-top: 1px solid rgba(255,255,255,.05); }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.stat-item  {
  text-align: center; padding: 20px 16px;
  border-right: 1px solid rgba(255,255,255,.08);
}
.stat-item:last-child { border-right: none; }
.stat-num   {
  font-family: 'Sora', sans-serif; font-size: 3rem; font-weight: 800;
  color: var(--accent); line-height: 1;
}
.stat-label {
  font-size: .7rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: rgba(255,255,255,.45); margin-top: 10px;
}

/* ============================================================
   SERVICE ROWS, Alternating image / text
   ============================================================ */
.svc-rows { background: #fff; }
.svc-row {
  padding: 96px 0;
  border-bottom: 1px solid var(--border);
}
.svc-row:last-of-type { border-bottom: none; }

.svc-row-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 80px;
}

.svc-row-text h2 {
  font-size: clamp(2.6rem, 4.2vw, 4rem);
  font-weight: 800; color: var(--dark); margin-bottom: 18px; line-height: 1.05;
}
.svc-row-text p {
  font-size: .96rem; color: #666; line-height: 1.85; margin-bottom: 8px;
  max-width: 460px;
}

.svc-row-img { position: relative; overflow: visible; }
.svc-row-img img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  display: block; border-radius: 4px;
  box-shadow: 0 16px 56px rgba(14,35,45,.16);
  transition: transform .5s ease;
}
.svc-row:hover .svc-row-img img { transform: scale(1.02); }

/* Accent dot cluster */
.svc-row-img .img-dots {
  position: absolute; bottom: -20px; right: -20px; z-index: -1;
  display: grid; grid-template-columns: repeat(5, 10px); gap: 7px;
  pointer-events: none;
}
.svc-row-img .img-dots span {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent); opacity: .3;
}

/* img-right: text left, image right */
.svc-row.img-right .svc-row-text { order: 1; }
.svc-row.img-right .svc-row-img  { order: 2; }

/* ============================================================
   FULL-WIDTH BACKGROUND SECTION
   ============================================================ */
.svc-fullbg {
  position: relative; min-height: 520px;
  overflow: hidden; display: flex; align-items: center;
}
.svc-fullbg-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 40%;
}
.svc-fullbg-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(14,35,45,.92) 0%, rgba(14,35,45,.75) 45%, transparent 72%);
}
.svc-fullbg-content {
  position: relative; z-index: 1;
  max-width: 500px; padding: 88px 0 88px 80px;
}
.svc-fullbg-content .work-label { color: var(--accent); }
.svc-fullbg-content h2 {
  font-size: clamp(2.6rem, 4vw, 3.8rem); font-weight: 800;
  color: #fff; margin-bottom: 18px; line-height: 1.08;
}
.svc-fullbg-content p { font-size: .96rem; color: rgba(255,255,255,.65); line-height: 1.85; max-width: 420px; }

/* ============================================================
   ABOUT / CONTACT SECTION
   ============================================================ */
.about-contact { background: var(--off-white); padding: 96px 0; }

.about-header { text-align: center; margin-bottom: 68px; }
.about-header .label {
  font-size: .72rem; font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 12px;
  display: block;
}
.about-header h2 {
  font-size: clamp(1.9rem, 3vw, 2.8rem); font-weight: 800; color: var(--dark); margin-bottom: 16px;
}
.about-header p {
  font-size: .96rem; color: #666; line-height: 1.85;
  max-width: 640px; margin: 0 auto;
}

.about-contact-grid {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 72px; align-items: center;
}

/* Left: image stack */
.img-stack { position: relative; padding: 0 0 32px 0; }
.img-stack-box {
  position: absolute;
  width: 76%; aspect-ratio: 1;
  background: var(--dark); border-radius: 4px;
  bottom: 0; left: 0; opacity: .85;
}
.img-stack-photo {
  position: relative; z-index: 1;
  width: calc(100% - 28px); margin-left: 28px;
  border-radius: 4px;
  box-shadow: 0 16px 52px rgba(14,35,45,.22);
  object-fit: cover; aspect-ratio: 4/3;
}

/* Right: contact form */
.contact-form-wrap h2 {
  font-size: clamp(1.8rem, 2.8vw, 2.6rem); font-weight: 800;
  color: var(--dark); margin-bottom: 10px;
}
.contact-form-wrap > p {
  font-size: .93rem; color: #777; margin-bottom: 30px; line-height: 1.75;
}
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.form-row     { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group   { display: flex; flex-direction: column; }
.form-group input,
.form-group textarea,
.form-group select {
  padding: 13px 16px; border: 1.5px solid var(--border); border-radius: 2px;
  font-family: 'Inter', sans-serif; font-size: .9rem; color: var(--text);
  background: #fff; transition: border-color .2s; width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #aaa; }
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: var(--accent); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-bottom { display: flex; align-items: center; gap: 18px; margin-top: 4px; flex-wrap: wrap; }
.form-agree  { font-size: .78rem; color: #999; }

.submit-btn {
  padding: 14px 38px;
  background: var(--btn); color: #fff; border: none; border-radius: 2px;
  font-family: 'Sora', sans-serif; font-size: .88rem; font-weight: 700;
  letter-spacing: .08em; cursor: pointer; transition: background .2s;
  text-transform: uppercase;
}
.submit-btn:hover { background: var(--btn-hover); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--dark); padding: 72px 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 48px; padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-logo-box {
  width: 46px; height: 46px; background: var(--accent); border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: 'Sora', sans-serif; font-weight: 800; font-size: .9rem;
}
.footer-logo-text .name { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1.05rem; color: #fff; }
.footer-logo-text .sub  { font-size: .6rem; letter-spacing: .13em; text-transform: uppercase; color: rgba(255,255,255,.28); }
.footer-brand p { font-size: .875rem; color: rgba(255,255,255,.4); line-height: 1.8; max-width: 260px; }
.footer-col h4  {
  font-family: 'Sora', sans-serif; font-size: .75rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: 20px;
}
.footer-col ul  { display: flex; flex-direction: column; gap: 11px; }
.footer-col ul li a { font-size: .875rem; color: rgba(255,255,255,.42); transition: color .2s; }
.footer-col ul li a:hover { color: var(--accent); }
.footer-contacts { display: flex; flex-direction: column; gap: 14px; }
.f-contact { display: flex; align-items: flex-start; gap: 10px; font-size: .875rem; color: rgba(255,255,255,.42); line-height: 1.55; }
.f-contact svg { color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.footer-bottom {
  padding: 20px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: .76rem; color: rgba(255,255,255,.2);
}
.footer-bottom a { color: rgba(255,255,255,.3); transition: color .2s; }
.footer-bottom a:hover { color: var(--accent); }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-info-card {
  background: var(--dark); border-radius: 4px; padding: 44px 40px;
  display: flex; flex-direction: column; gap: 26px;
}
.contact-info-card h2 { font-size: 1.7rem; color: #fff; margin-bottom: -8px; }
.contact-info-card > p { font-size: .9rem; color: rgba(255,255,255,.45); line-height: 1.75; }
.c-item  { display: flex; align-items: flex-start; gap: 16px; border-bottom: 1px solid rgba(255,255,255,.06); padding-bottom: 22px; }
.c-item:last-of-type { border-bottom: none; padding-bottom: 0; }
.c-icon  {
  width: 42px; height: 42px; min-width: 42px;
  background: rgba(255,85,50,.15); border-radius: 6px;
  display: flex; align-items: center; justify-content: center; color: var(--accent);
}
.c-text strong { display: block; font-family: 'Sora',sans-serif; font-size: .88rem; font-weight: 600; color: #fff; margin-bottom: 3px; }
.c-text span   { font-size: .86rem; color: rgba(255,255,255,.45); }
.map-slot {
  width: 100%; height: 220px; background: rgba(255,255,255,.03);
  border-radius: 4px; border: 1px solid rgba(255,255,255,.06);
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem; color: rgba(255,255,255,.18); letter-spacing: .1em; text-transform: uppercase;
}
.contact-form-card {
  background: #fff; border-radius: 4px; padding: 44px 40px;
  box-shadow: 0 4px 28px rgba(14,35,45,.08);
}
.contact-form-card h2 { font-size: 1.7rem; color: var(--dark); margin-bottom: 8px; }
.contact-form-card > p { font-size: .9rem; color: #888; margin-bottom: 28px; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-home    { padding: 92px 0; }
.about-grid    { display: grid; grid-template-columns: 1fr 1fr; gap: 88px; align-items: center; }
.about-img-wrap { position: relative; }
.about-img-wrap img { width: 100%; border-radius: 4px; box-shadow: 0 16px 48px rgba(14,35,45,.16); }
.about-badge {
  position: absolute; bottom: -24px; right: -24px;
  background: var(--accent); color: #fff; padding: 24px 28px; border-radius: 4px;
  text-align: center; box-shadow: 0 8px 32px rgba(255,85,50,.35);
}
.about-badge .num   { font-family: 'Sora', sans-serif; font-size: 2.8rem; font-weight: 800; line-height: 1; }
.about-badge .label { font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin-top: 5px; opacity: .9; }
.about-content h2 { font-size: clamp(1.9rem, 2.6vw, 2.6rem); color: var(--dark); margin-bottom: 18px; font-weight: 800; }
.about-content p  { font-size: .96rem; color: #666; line-height: 1.85; margin-bottom: 14px; }
.checklist        { margin: 26px 0; display: flex; flex-direction: column; gap: 12px; }
.checklist li {
  display: flex; align-items: flex-start; gap: 12px; font-size: .92rem; color: var(--text); line-height: 1.55;
}
.checklist li::before {
  content: ''; flex-shrink: 0; width: 20px; height: 20px; margin-top: 1px;
  background: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2 7l3.5 3.5 6.5-7' stroke='white' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 14px; background-repeat: no-repeat; background-position: center; border-radius: 50%;
}

/* ---- Team section ---- */
.team-section { padding: 92px 0; }
.team-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; margin-top: 48px; }
.team-card { text-align: center; }
.team-card img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: 4px; margin-bottom: 18px;
  filter: grayscale(20%);
  transition: filter .3s;
}
.team-card:hover img { filter: grayscale(0); }
.team-card h3  { font-size: 1.1rem; color: var(--dark); margin-bottom: 4px; }
.team-card .role { font-size: .72rem; color: var(--accent); font-weight: 600; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 10px; display: block; }
.team-card p   { font-size: .875rem; color: #777; line-height: 1.75; }

/* ---- Values section ---- */
.values-section { background: var(--dark); padding: 92px 0; }
.values-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 48px; }
.val-card { background: rgba(255,255,255,.04); border-radius: 4px; padding: 32px 28px; border: 1px solid rgba(255,255,255,.06); transition: border-color .25s; }
.val-card:hover { border-color: rgba(255,85,50,.35); }
.val-icon { width: 48px; height: 48px; background: rgba(255,85,50,.14); border-radius: 6px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.val-icon svg { color: var(--accent); }
.val-card h3 { font-size: 1.05rem; color: #fff; margin-bottom: 10px; }
.val-card p  { font-size: .875rem; color: rgba(255,255,255,.42); line-height: 1.75; }

/* ============================================================
   PROJECTS PAGE
   ============================================================ */
.projects-section { padding: 92px 0; }
.projects-page-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 28px; margin-top: 48px; }
.proj-item { border-radius: 4px; overflow: hidden; box-shadow: 0 4px 20px rgba(14,35,45,.09); transition: transform .3s, box-shadow .3s; }
.proj-item:hover { transform: translateY(-5px); box-shadow: 0 16px 48px rgba(14,35,45,.16); }
.proj-item-img { height: 260px; overflow: hidden; background: var(--dark); position: relative; }
.proj-item-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.proj-item:hover .proj-item-img img { transform: scale(1.05); }
/* Accent line on image bottom */
.proj-item-img::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s;
}
.proj-item:hover .proj-item-img::after { transform: scaleX(1); }
.proj-item-body { padding: 28px; background: #fff; }
.proj-tag   { font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; display: block; }
.proj-item-body h3 { font-size: 1.15rem; color: var(--dark); margin-bottom: 10px; }
.proj-item-body p  { font-size: .88rem; color: #777; line-height: 1.7; }
.proj-meta { display: flex; gap: 16px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); flex-wrap: wrap; }
.proj-meta span { font-size: .78rem; color: #888; display: flex; align-items: center; gap: 5px; }

/* Section header (reusable) */
.sec-header { text-align: center; margin-bottom: 56px; }
.sec-header .label {
  font-size: .72rem; font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 12px; display: block;
}
.sec-header h2 { font-size: clamp(1.9rem, 3vw, 2.7rem); font-weight: 800; color: var(--dark); margin-top: 8px; }
.sec-header p  { font-size: .96rem; color: #777; margin-top: 14px; max-width: 500px; margin-left: auto; margin-right: auto; line-height: 1.8; }

/* ============================================================
   SERVICE DETAIL PAGES
   ============================================================ */
.svc-detail      { padding: 92px 0; }
.svc-detail.alt  { background: var(--off-white); }
.svc-detail-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center;
}
.svc-detail-grid.flip { direction: rtl; }
.svc-detail-grid.flip > * { direction: ltr; }
.svc-detail-content h2 {
  font-size: clamp(2rem, 3.2vw, 3rem); color: var(--dark);
  margin-bottom: 18px; font-weight: 800;
}
.svc-detail-content p {
  font-size: .96rem; color: #666; line-height: 1.85; margin-bottom: 24px;
}
.svc-detail-img          { border-radius: 4px; overflow: hidden; }
.svc-detail-img img      { width: 100%; height: 420px; object-fit: cover; }

/* ---- Accordion ---- */
.accordion   { border-top: 1px solid var(--border); margin-top: 28px; }
.acc-item    { border-bottom: 1px solid var(--border); }
.acc-header  {
  width: 100%; display: flex; align-items: center;
  justify-content: space-between; padding: 17px 0;
  background: none; border: none; cursor: pointer; text-align: left;
  font-family: 'Sora', sans-serif; font-size: .97rem; font-weight: 600;
  color: var(--dark); gap: 16px; transition: color .2s;
}
.acc-header:hover { color: var(--accent); }
.acc-icon  {
  width: 26px; height: 26px; min-width: 26px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 300; line-height: 1;
  transition: transform .3s;
}
.acc-item.open .acc-icon { transform: rotate(45deg); }
.acc-body       { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.acc-body-inner { padding: 4px 0 20px; font-size: .9rem; color: #777; line-height: 1.8; }
.acc-item.open .acc-body { max-height: 400px; }

/* ---- CTA banner ---- */
.cta-banner  { background: var(--dark); padding: 80px 0; position: relative; overflow: hidden; }
.cta-banner::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--accent);
}
.cta-inner   { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-inner h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); color: #fff; margin-bottom: 12px; font-weight: 800; }
.cta-inner p  { color: rgba(255,255,255,.6); font-size: .96rem; max-width: 500px; line-height: 1.8; }

/* ---- Contact section (inner pages) ---- */
.contact-section { padding: 92px 0; background: var(--off-white); }
.contact-grid    { display: grid; grid-template-columns: 1fr 1.6fr; gap: 72px; }
.contact-info h2 { font-size: clamp(1.6rem, 2.5vw, 2.2rem); color: var(--dark); margin-bottom: 14px; font-weight: 800; }
.contact-info > p { font-size: .96rem; color: #777; line-height: 1.8; margin-bottom: 32px; }
.contact-details { display: flex; flex-direction: column; gap: 20px; }
.contact-detail  { display: flex; align-items: flex-start; gap: 14px; }
.c-icon {
  width: 42px; height: 42px; min-width: 42px; background: var(--accent);
  border-radius: 6px; display: flex; align-items: center; justify-content: center; color: #fff;
}
.c-text strong { display: block; font-family: 'Sora',sans-serif; font-size: .88rem; font-weight: 600; color: var(--dark); margin-bottom: 2px; }
.c-text span   { font-size: .86rem; color: #888; }
.form-submit   { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 8px; }
.form-note     { font-size: .8rem; color: #999; }

/* ============================================================
   CAREERS PAGE
   ============================================================ */
.careers-intro { padding: 92px 0; }
.careers-intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.careers-intro-content h2 { font-size: clamp(2rem, 3vw, 2.8rem); color: var(--dark); margin-bottom: 18px; font-weight: 800; }
.careers-intro-content p  { font-size: .96rem; color: #666; line-height: 1.85; margin-bottom: 14px; }

.commitment-section { background: var(--off-white); padding: 80px 0; }
.commitment-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 48px; }
.commit-card {
  background: #fff; border-radius: 4px; padding: 32px 28px;
  border-left: 4px solid var(--accent);
  box-shadow: 0 2px 14px rgba(14,35,45,.06);
  transition: box-shadow .25s;
}
.commit-card:hover { box-shadow: 0 8px 32px rgba(14,35,45,.12); }
.commit-card h3 { font-size: 1.05rem; color: var(--dark); margin-bottom: 10px; }
.commit-card p  { font-size: .88rem; color: #777; line-height: 1.75; }

.positions-section { padding: 80px 0; }
.positions-list { margin-top: 40px; display: flex; flex-direction: column; gap: 16px; }
.position-item {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 28px 32px; border: 1.5px solid var(--border); border-radius: 4px;
  transition: border-color .25s, box-shadow .25s;
}
.position-item:hover { border-color: var(--accent); box-shadow: 0 4px 20px rgba(14,35,45,.08); }
.position-info h3 { font-size: 1.1rem; color: var(--dark); margin-bottom: 5px; }
.position-info p  { font-size: .86rem; color: #888; }
.position-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.pos-tag {
  font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 10px; background: rgba(255,85,50,.1); color: var(--accent); border-radius: 2px;
}
.no-positions {
  background: var(--off-white); border-radius: 4px; padding: 56px 40px; text-align: center;
}
.no-positions h3 { font-size: 1.4rem; color: var(--dark); margin-bottom: 10px; }
.no-positions p  { font-size: .96rem; color: #777; line-height: 1.8; max-width: 480px; margin: 0 auto 28px; }

/* ============================================================
   PHOTO PLACEHOLDERS
   ============================================================ */
.ph {
  background: #dde3e6;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 10px; color: #8fa0a6;
  font-size: .68rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  font-family: 'Inter', sans-serif;
  overflow: hidden;
}
.ph svg { width: 32px; height: 32px; min-width: 32px; min-height: 32px; flex-shrink: 0; opacity: .5; }
.ph-hero   { width: 100%; height: 100%; }
.ph-4x3    { width: 100%; aspect-ratio: 4/3; border-radius: 4px; box-shadow: 0 12px 48px rgba(14,35,45,.1); }
.ph-detail { width: 100%; height: 420px; border-radius: 4px; }
.ph-square { width: 100%; aspect-ratio: 1; border-radius: 4px; }
.ph-stack  {
  position: relative; z-index: 1;
  width: calc(100% - 28px); margin-left: 28px;
  aspect-ratio: 4/3; border-radius: 4px;
  box-shadow: 0 14px 48px rgba(14,35,45,.15);
}
.ph-fullbg { background: #1a2e38; }
.ph-proj   { width: 100%; height: 260px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 50% 50%; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .nav-links, .nav-phone { display: none; }
  .hamburger { display: flex; }

  .hero { grid-template-columns: 1fr; height: auto; max-height: none; min-height: 0; }
  .hero-right { height: 300px; order: -1; }
  .hero-left  { padding: 48px 24px 56px 28px; }
  .hero-left .dots { display: none; }

  .svc-row-inner { grid-template-columns: 1fr; gap: 40px; }
  .svc-row.img-right .svc-row-text { order: 2; }
  .svc-row.img-right .svc-row-img  { order: 1; }
  .svc-row { padding: 64px 0; }

  .svc-fullbg { min-height: 400px; }
  .svc-fullbg-content { padding: 52px 24px; max-width: 100%; }
  .svc-fullbg-bg::after { background: rgba(14,35,45,.82); }

  .about-contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .img-stack-box { display: none; }
  .img-stack-photo, .ph-stack { width: 100%; margin-left: 0; }

  .team-grid, .values-grid, .projects-page-grid,
  .commitment-grid, .careers-intro-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .stats-grid  { grid-template-columns: repeat(2,1fr); }
  .container { padding: 0 20px; }
  .cta-inner { flex-direction: column; text-align: center; }
  .svc-detail-grid, .svc-detail-grid.flip,
  .about-grid, .contact-grid { direction: ltr; grid-template-columns: 1fr; gap: 40px; }
  .svc-detail { padding: 64px 0; }
  .contact-section { padding: 64px 0; }
  .about-home { padding: 64px 0; }
  .about-badge { bottom: 12px; right: 12px; }
  .position-item { flex-direction: column; align-items: flex-start; }
}
