/* Cladco — style.css */

:root {
  --bg:      #0b0b0b;
  --bg-2:    #101010;
  --bg-3:    #161616;
  --accent:  #C94B09;
  --accent-l:#E8580F;
  --white:   #F0EBE1;
  --grey:    #606060;
  --border:  #1e1e1e;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body:    'DM Sans', sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  cursor: none;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

/* ─── GRAIN ─── */
#grain {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 9999; opacity: 0.04;
}

/* ─── CURSOR ─── */
.cursor {
  position: fixed; width: 10px; height: 10px;
  background: var(--accent); border-radius: 50%;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%,-50%);
  transition: width .25s, height .25s, background .25s;
}
.cursor.expanded {
  width: 40px; height: 40px;
  background: transparent;
  border: 1px solid rgba(240,235,225,.55);
}

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  display: flex; justify-content: space-between; align-items: center;
  padding: 28px 52px;
  transition: background .4s, padding .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
nav.scrolled {
  background: rgba(11,11,11,.95);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
  padding: 16px 52px;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 24px; letter-spacing: 5px;
  color: var(--white); text-decoration: none;
}
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; gap: 44px; list-style: none; }
.nav-links a {
  color: var(--white); text-decoration: none;
  font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase;
  opacity: 1; transition: opacity .2s, color .2s;
}
.nav-links a:hover { opacity: .6; }
.nav-links a.active { color: var(--accent-l); }
.nav-links a.nav-phone {
  color: var(--accent-l);
  border: 1px solid rgba(201,75,9,.4);
  padding: 8px 18px;
  transition: background .25s, color .25s;
}
.nav-links a.nav-phone:hover { background: var(--accent); color: var(--white); opacity: 1; }

/* ─── HAMBURGER ─── */
.nav-burger {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; background: none; border: none; cursor: pointer;
  padding: 4px; z-index: 600; position: relative;
}
.nav-burger span {
  display: block; width: 24px; height: 1.5px;
  background: var(--white);
  transition: transform .3s ease, opacity .2s ease;
  transform-origin: center;
}
.nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ─── MOBILE NAV OVERLAY ─── */
.mobile-nav-overlay {
  display: none; position: fixed; inset: 0;
  background: #0b0b0b; z-index: 550;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 28px; opacity: 0; pointer-events: none;
  transition: opacity .35s ease; overflow: hidden;
}
.mobile-nav-overlay::before {
  content: 'CLAD\ACO';
  font-family: 'Bebas Neue', sans-serif; font-size: 42vw;
  color: #f0ebe1; opacity: 0.03;
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  white-space: pre; text-align: center;
  pointer-events: none; letter-spacing: 6px; line-height: .88;
}
.mobile-nav-overlay.open { opacity: 1; pointer-events: all; }
.mobile-nav-overlay a {
  font-family: 'Bebas Neue', sans-serif; font-size: 48px;
  letter-spacing: 5px; color: #f0ebe1; text-decoration: none;
  position: relative; z-index: 1;
  transition: opacity .2s, color .2s;
}
.mobile-nav-overlay a:active { opacity: .5; }
.mobile-nav-overlay a.active { color: var(--accent-l); }

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  min-height: 100dvh; /* iOS Safari: fills visible viewport, excludes browser chrome */
  height: auto;
  display: flex; flex-direction: column; justify-content: flex-start;
  align-items: flex-start; position: relative; overflow: hidden;
  padding: clamp(100px, 13vh, 160px) 52px clamp(64px, 8vh, 88px);
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #0e0e0e 0%, #1a1512 40%, #0e0e0e 100%) center/cover no-repeat;
  background-image: url(images/hero.jpg);
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(11,11,11,.82) 0%, rgba(11,11,11,.55) 100%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image:
    linear-gradient(rgba(201,75,9,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,75,9,.055) 1px, transparent 1px);
  background-size: 80px 80px;
}
.hero-content { position: relative; z-index: 2; max-width: 900px; }
.hero-eyebrow {
  display: flex; align-items: center; gap: 20px; margin-bottom: clamp(16px, 2.5vh, 28px);
}
.eyebrow-line {
  display: block; width: 44px; height: 2px;
  background: var(--accent);
}
.hero-eyebrow p {
  font-size: 11px; letter-spacing: 4px; text-transform: uppercase;
  opacity: .75;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(52px, min(10vw, 14vh), 130px);
  line-height: .88; letter-spacing: 1px;
  margin-bottom: clamp(20px, 3vh, 36px);
}
.hero-title .ht-wrap {
  display: block; overflow: hidden;
}
.hero-title .ht-line {
  display: block;
}
.hero-title .accent { color: var(--accent); }
.hero-desc {
  font-size: clamp(14px, 1.3vw, 17px); line-height: 1.7;
  opacity: .85; max-width: 520px; margin-bottom: clamp(24px, 3.5vh, 44px); font-weight: 300;
}
.hero-ctas { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }

.btn {
  display: inline-block; padding: 16px 44px;
  font-family: var(--font-body); font-size: 11px;
  letter-spacing: 4px; text-transform: uppercase; font-weight: 500;
  text-decoration: none; position: relative; z-index: 2;
  transition: background .3s, color .3s, border-color .3s;
  border: 1px solid transparent;
}
.btn.accent { background: var(--accent); color: var(--white); border-color: var(--accent); }
.btn.accent:hover { background: var(--accent-l); border-color: var(--accent-l); }
.btn.outline { border-color: rgba(240,235,225,.35); color: var(--white); }
.btn.outline:hover { background: var(--white); color: var(--bg); border-color: var(--white); }
.btn.small { padding: 11px 28px; font-size: 10px; }

.hero-accent-line {
  position: absolute; left: 52px; bottom: 64px;
  height: 2px; width: 38%;
  background: linear-gradient(90deg, var(--accent), transparent);
  z-index: 2; transform-origin: left;
}

.hero-badge {
  position: absolute; right: 52px; bottom: 64px;
  display: flex; flex-direction: column; align-items: flex-end;
  z-index: 2;
}
.hero-badge span:first-child {
  font-size: 10px; letter-spacing: 4px; text-transform: uppercase; opacity: .3;
}
.hero-badge-num {
  font-family: var(--font-display); font-size: 80px;
  line-height: .85; color: var(--accent); opacity: .18;
  letter-spacing: 2px;
}

.scroll-ind {
  position: absolute; bottom: 36px; left: 50%;
  transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  animation: indBounce 2s ease-in-out infinite;
}
.scroll-ind span { font-size: 9px; letter-spacing: 4px; text-transform: uppercase; opacity: .25; }
.scroll-ind .line { width: 1px; height: 44px; background: linear-gradient(to bottom, var(--white), transparent); }
@keyframes indBounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* ─── STATS BAR ─── */
.stats-bar {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: var(--bg-2);
}
.stat {
  padding: 44px 40px;
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 8px;
}
.stat:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-display); font-size: clamp(44px, 5vw, 72px);
  color: var(--accent); line-height: 1; display: flex; align-items: baseline; gap: 4px;
}
.stat-suffix { font-size: .5em; opacity: .6; }
.stat-label { font-size: 11px; letter-spacing: 3px; text-transform: uppercase; opacity: .35; }

/* ─── MARQUEE ─── */
.marquee-wrap {
  overflow: hidden;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 13px 0; background: var(--bg-3);
}
.marquee-track {
  display: flex; width: max-content;
  animation: marquee 24s linear infinite;
}
.marquee-track.rev { animation-direction: reverse; }
.marquee-track span {
  font-family: var(--font-display); font-size: 13px;
  letter-spacing: 4px; white-space: nowrap;
  padding: 0 28px; color: var(--grey);
}
.marquee-track span.dot { color: var(--accent); padding: 0 4px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ─── SECTIONS ─── */
section { padding: 120px 52px; }
.label {
  font-size: 11px; letter-spacing: 5px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.big-title {
  font-family: var(--font-display);
  font-size: clamp(52px, 7vw, 96px);
  line-height: .9; margin-bottom: 56px;
}

/* ─── SERVICES GRID (HOME) ─── */
.services-header {
  display: flex; justify-content: space-between;
  align-items: flex-end; margin-bottom: 64px;
}
.services-header .big-title { margin-bottom: 0; }
.so-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--border);
}
.so-card {
  background: var(--bg-2); padding: 48px 36px 40px;
  position: relative; overflow: hidden; cursor: none;
  transition: background .3s;
}
.so-card::after {
  content: ''; position: absolute;
  bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .45s ease;
}
.so-card:hover::after { transform: scaleX(1); }
.so-card:hover { background: #141414; }
.so-num {
  font-family: var(--font-display);
  font-size: 88px; line-height: 1;
  color: var(--accent); opacity: .08;
  position: absolute; top: 16px; right: 24px;
  pointer-events: none;
}
.so-card-img {
  height: 180px; overflow: hidden; margin: -48px -36px 32px;
  position: relative;
}
.so-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
  filter: brightness(.75) saturate(.9);
}
.so-card:hover .so-card-img img { transform: scale(1.05); }
.so-card-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 40%, var(--bg-2) 100%);
}
.so-card h3 {
  font-family: var(--font-display);
  font-size: 28px; letter-spacing: 1px; margin-bottom: 14px;
}
.so-card p { font-size: 14px; line-height: 1.75; opacity: .78; font-weight: 300; }

/* ─── ABOUT SECTION ─── */
.about-section {
  background: var(--bg-2);
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
  overflow-x: clip; /* prevents x-animated children overflowing viewport */
}
.about-quote {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.0; color: var(--white);
  margin-bottom: 32px;
}
.about-quote span { color: var(--accent); }
.about-text { font-size: 15px; line-height: 1.8; opacity: .82; font-weight: 300; margin-bottom: 20px; }
.about-right { display: flex; flex-direction: column; gap: 1px; background: var(--border); overflow: hidden; }
.about-side-img {
  height: 220px; overflow: hidden; position: relative;
}
.about-side-img img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(.7) saturate(.85);
  transition: transform .6s ease;
}
.about-side-img:hover img { transform: scale(1.04); }
.about-side-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(11,11,11,.6) 100%);
}
.about-director {
  background: var(--bg); padding: 32px 36px;
  display: flex; flex-direction: column; gap: 6px;
  transition: background .25s;
}
.about-director:hover { background: #131313; }
.dir-name { font-family: var(--font-display); font-size: 22px; letter-spacing: 1px; }
.dir-role { font-size: 12px; opacity: .68; letter-spacing: 1px; }
.dir-qual { font-size: 11px; color: var(--accent); letter-spacing: .5px; }

/* ─── BRANCHES ─── */
.branches-wrap { background: var(--bg-3); padding: 0; }
.branches-label { padding: 80px 52px 48px; }
.branches-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--border);
}
.branch-card {
  background: var(--bg); padding: 52px 40px 48px;
  position: relative; overflow: hidden; cursor: none;
  transition: background .3s;
}
.branch-card:hover { background: #0e0e0e; }
.branch-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); margin-bottom: 28px;
}
.branch-city {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 60px);
  line-height: .9; margin-bottom: 20px;
  color: var(--white);
}
.branch-province { font-size: 11px; letter-spacing: 3px; text-transform: uppercase; opacity: .62; }
.branch-num {
  position: absolute; bottom: -8px; right: 16px;
  font-family: var(--font-display); font-size: 100px;
  color: var(--accent); opacity: .05; line-height: 1; pointer-events: none;
}

/* ─── CTA ─── */
.cta-section {
  background: var(--accent);
  padding: 96px 52px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 48px;
  overflow-x: clip;
}
.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(44px, 6vw, 80px);
  line-height: .9; color: var(--white);
}
.cta-section .cta-right { flex-shrink: 0; }
.btn.white { background: var(--white); color: var(--accent); border-color: var(--white); font-weight: 700; }
.btn.white:hover { background: transparent; color: var(--white); border-color: var(--white); }

/* ─── FOOTER ─── */
footer {
  background: var(--bg); border-top: 1px solid var(--border);
  padding: 56px 52px;
}
.foot-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 52px; gap: 40px;
}
.foot-logo { font-family: var(--font-display); font-size: 28px; letter-spacing: 5px; margin-bottom: 12px; }
.foot-logo span { color: var(--accent); }
.foot-tagline { font-size: 12px; opacity: .55; letter-spacing: 2px; }
.foot-cols { display: flex; gap: 80px; }
.foot-col h4 {
  font-size: 10px; letter-spacing: 4px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 20px; opacity: .8;
}
.foot-col a, .foot-col p {
  display: block; color: var(--white); text-decoration: none;
  font-size: 13px; opacity: .68; margin-bottom: 12px; line-height: 1.6;
  transition: opacity .2s;
}
.foot-col a:hover { opacity: .9; }
.foot-bottom {
  padding-top: 32px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
}
.foot-copy { font-size: 11px; opacity: .5; }
.foot-credit { font-size: 11px; opacity: .4; letter-spacing: 1px; }

/* ─── SERVICES PAGE ─── */
.page-hero {
  height: 75vh;
  height: 75dvh;
  min-height: 480px;
  display: flex; align-items: flex-end;
  padding: 80px 52px; position: relative; overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #0e0e0e 0%, #1a1210 50%, #0e0e0e 100%) center/cover no-repeat;
}
.page-hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11,11,11,.97) 0%, rgba(11,11,11,.3) 100%);
}
.page-hero-grid {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image:
    linear-gradient(rgba(201,75,9,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,75,9,.045) 1px, transparent 1px);
  background-size: 80px 80px;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(72px, 12vw, 152px);
  line-height: .87; position: relative; z-index: 2;
}
.page-hero-accent {
  position: absolute; left: 52px; bottom: 66px;
  height: 2px; width: 0; background: var(--accent); z-index: 2;
}

/* ─── SERVICES DETAIL ─── */
#services-detail { overflow-x: clip; }
.service-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0; border-bottom: 1px solid var(--border);
}
.service-row:nth-child(even) { direction: rtl; }
.service-row:nth-child(even) > * { direction: ltr; }
.service-row-img {
  aspect-ratio: 4/3;
  background:
    linear-gradient(135deg, #101010 0%, #1c1410 55%, #111111 100%);
  position: relative; overflow: hidden;
}
.service-row-img::before {
  content: '';
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(201,75,9,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,75,9,.04) 1px, transparent 1px);
  background-size: 48px 48px;
}
.service-row-img::after {
  content: '';
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(135deg, transparent 60%, rgba(201,75,9,.06) 100%);
}
.service-row-img img {
  position: relative; z-index: 2;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s ease;
}
.service-row:hover .service-row-img img { transform: scale(1.04); }
.service-row-content {
  padding: 72px 64px; display: flex;
  flex-direction: column; justify-content: center;
  background: var(--bg-2);
}
.service-row-content .svc-num {
  font-family: var(--font-display); font-size: 72px;
  color: var(--accent); opacity: .12; line-height: 1; margin-bottom: -8px;
}
.service-row-content h3 {
  font-family: var(--font-display); font-size: clamp(32px, 3.5vw, 48px);
  letter-spacing: 1px; margin-bottom: 20px;
}
.service-row-content p {
  font-size: 15px; line-height: 1.8; opacity: .82; font-weight: 300; margin-bottom: 16px;
}
.service-tag {
  display: inline-block; font-size: 10px; letter-spacing: 3px;
  text-transform: uppercase; color: var(--accent);
  border: 1px solid rgba(201,75,9,.3); padding: 6px 14px; margin-top: 8px;
}

/* ─── PROJECT TYPES ─── */
.project-types { background: var(--bg-3); }
.project-types-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 1px; background: var(--border);
}
.pt-card {
  background: var(--bg-2); padding: 48px 28px 40px;
  display: flex; flex-direction: column; gap: 16px;
  transition: background .3s;
}
.pt-card:hover { background: #141414; }
.pt-icon {
  width: 36px; height: 2px; background: var(--accent);
  margin-bottom: 4px;
}
.pt-card h4 {
  font-family: var(--font-display); font-size: 22px; letter-spacing: 1px;
}
.pt-card p { font-size: 13px; opacity: .72; line-height: 1.6; }

/* ─── WHY CLADCO ─── */
.why-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--border);
}
.why-card {
  background: var(--bg); padding: 60px 44px;
}
.why-card .why-num {
  font-family: var(--font-display); font-size: 80px;
  color: var(--accent); opacity: .1; line-height: 1;
}
.why-card h3 {
  font-family: var(--font-display); font-size: 34px;
  letter-spacing: 1px; color: var(--accent); margin-bottom: 16px;
}
.why-card p { font-size: 14px; opacity: .78; line-height: 1.75; }

/* ─── CONTACT PAGE ─── */
.team-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--border);
}
.team-card {
  background: var(--bg-2); padding: 64px 44px;
  position: relative; overflow: hidden;
  transition: background .3s;
}
.team-card:hover { background: #161616; }
.team-num {
  font-family: var(--font-display); font-size: 96px;
  color: var(--accent); opacity: .07; line-height: 1;
  margin-bottom: -20px;
}
.team-name {
  font-family: var(--font-display); font-size: 32px; letter-spacing: 1px;
  margin-bottom: 6px;
}
.team-role {
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 20px;
}
.team-qual {
  font-size: 13px; opacity: .7; margin-bottom: 24px; line-height: 1.6;
}
.team-contact-link {
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--white); opacity: .65; text-decoration: none;
  transition: opacity .2s, color .2s;
}
.team-contact-link:hover { opacity: 1; color: var(--accent-l); }
.team-card::after {
  content: ''; position: absolute;
  left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--accent); transform: scaleY(0);
  transform-origin: bottom; transition: transform .4s ease;
}
.team-card:hover::after { transform: scaleY(1); }

/* ─── CONTACT SECTION ─── */
.contact-wrap {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0; background: var(--bg-2);
  border-top: 1px solid var(--border);
  overflow-x: clip;
}
.contact-info { padding: 100px 52px; border-right: 1px solid var(--border); }
.contact-info h2 {
  font-family: var(--font-display);
  font-size: clamp(44px, 5vw, 68px); line-height: .9; margin-bottom: 52px;
}
.c-item {
  display: flex; align-items: flex-start; gap: 20px;
  margin-bottom: 32px; text-decoration: none; color: var(--white);
}
.c-item-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.c-item-text { display: flex; flex-direction: column; gap: 4px; }
.c-item-label { font-size: 10px; letter-spacing: 3px; text-transform: uppercase; opacity: .62; }
.c-item-val { font-size: 14px; opacity: .92; line-height: 1.5; }
a.c-item:hover .c-item-val { color: var(--accent-l); }

.contact-form { padding: 100px 52px; }
.contact-form h2 {
  font-family: var(--font-display);
  font-size: clamp(44px, 5vw, 68px); line-height: .9; margin-bottom: 48px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block; font-size: 10px; letter-spacing: 3px;
  text-transform: uppercase; opacity: .68; margin-bottom: 8px;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; background: var(--bg); border: 1px solid var(--border);
  color: var(--white); padding: 14px 16px;
  font-family: var(--font-body); font-size: 14px;
  outline: none; transition: border-color .25s; appearance: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--accent);
}
.form-group textarea { resize: none; height: 120px; }
.form-group select option { background: var(--bg-2); }
.submit-btn {
  width: 100%; padding: 18px; background: var(--accent);
  color: var(--white); border: none; font-family: var(--font-display);
  font-size: 22px; letter-spacing: 4px; cursor: none;
  margin-top: 8px; transition: background .3s;
}
.submit-btn:hover { background: var(--accent-l); }

/* ─── MAGNETIC ─── */
.magnetic { display: inline-block; transition: transform .35s cubic-bezier(.23,1,.32,1); }

/* ─── TOUCH DEVICES ─── */
@media (hover: none) and (pointer: coarse) {
  body { cursor: auto; }
  .cursor { display: none; }
  .submit-btn, .filter-btn { cursor: pointer; }
}

/* ─── LARGE DESKTOP EDGE ─── */
@media (max-width: 1280px) {
  .stats-bar { grid-template-columns: repeat(4, 1fr); }
  .branches-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(3, 1fr); }
  .project-types-grid { grid-template-columns: repeat(3, 1fr); }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .service-row-content { padding: 60px 52px; }
}

/* ─── TABLET ─── */
@media (max-width: 900px) {
  nav { padding: 20px 24px; }
  nav.scrolled { padding: 14px 24px; }
  .nav-burger { display: flex; }
  .nav-links { display: none; }
  .mobile-nav-overlay { display: flex; }

  section { padding: 80px 24px; }

  .hero { padding: clamp(90px, 12vh, 130px) 32px clamp(56px, 7vh, 72px); }
  .hero-badge { right: 24px; }
  .hero-accent-line { left: 24px; }
  .scroll-ind { display: none; }

  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat { padding: 36px 28px; }

  .so-grid { grid-template-columns: 1fr 1fr; }
  .services-header { flex-direction: column; align-items: flex-start; gap: 24px; }
  .services-header .big-title { margin-bottom: 0; }

  .about-section { grid-template-columns: 1fr; gap: 48px; }

  .branches-label { padding: 64px 24px 36px; }
  .branches-grid { grid-template-columns: 1fr 1fr; }

  .cta-section { flex-direction: column; align-items: flex-start; padding: 72px 24px; }

  .service-row { grid-template-columns: 1fr; }
  .service-row:nth-child(even) { direction: ltr; }
  .service-row-content { padding: 48px 36px; }
  .service-row-img { aspect-ratio: 16/9; }

  .project-types-grid { grid-template-columns: repeat(3, 1fr); }

  .why-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }

  .contact-wrap { grid-template-columns: 1fr; }
  .contact-info { border-right: none; border-bottom: 1px solid var(--border); padding: 72px 24px; }
  .contact-form { padding: 72px 24px; }
  .form-row { grid-template-columns: 1fr; }

  footer { padding: 48px 24px; }
  .foot-top { flex-direction: column; gap: 40px; }
  .foot-cols { flex-wrap: wrap; gap: 40px; }
  .foot-bottom { flex-direction: column; gap: 12px; text-align: center; }

  .page-hero { padding: 72px 24px; height: 65vh; }
  .page-hero-accent { left: 24px; }
}

/* ─── MOBILE ─── */
@media (max-width: 600px) {
  body { cursor: auto; overflow-x: hidden; }
  .cursor { display: none; }

  /* ── Nav ── */
  nav { padding: 16px 20px; }
  nav.scrolled { padding: 12px 20px; }
  .nav-burger { display: flex; }
  .nav-links { display: none; }
  .mobile-nav-overlay { display: flex; }
  .mobile-nav-overlay a { font-size: clamp(32px, 9vw, 44px); letter-spacing: 4px; gap: 0; }

  /* ── Global spacing & type ── */
  section { padding: 56px 20px; }
  .label { font-size: 10px; letter-spacing: 4px; }
  .big-title { font-size: clamp(38px, 11vw, 60px); margin-bottom: 36px; line-height: .92; }

  /* ── Hero ── */
  .hero {
    justify-content: center; /* center content vertically — no empty black gap below buttons */
    padding: 100px 20px 64px; /* top keeps content safely below nav */
    min-height: 100dvh;
  }
  .hero-eyebrow { gap: 12px; }
  .hero-eyebrow p { font-size: 10px; letter-spacing: 3px; }
  .eyebrow-line { width: 28px; }
  .hero-title { font-size: clamp(46px, 13vw, 80px); margin-bottom: 18px; }
  .hero-desc { font-size: 14px; line-height: 1.65; max-width: 100%; margin-bottom: 28px; }
  .hero-ctas { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-ctas .btn { text-align: center; padding: 18px 24px; }
  .hero-badge { display: none; }
  .hero-accent-line { display: none; }
  .scroll-ind { display: none; }

  /* ── Stats bar ── */
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .stat { padding: 28px 16px; }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(3) { border-right: 1px solid var(--border); }
  .stat-label { font-size: 9px; letter-spacing: 2px; }

  /* ── Marquee ── */
  .marquee-track span { font-size: 11px; letter-spacing: 3px; padding: 0 16px; }

  /* ── Service cards (home) ── */
  .services-header { flex-direction: column; align-items: flex-start; gap: 20px; }
  .so-grid { grid-template-columns: 1fr; }
  .so-card { padding: 36px 24px 36px; }
  .so-card-img { height: 200px; margin: -36px -24px 28px; }
  .so-card h3 { font-size: 24px; }
  .so-num { font-size: 64px; }

  /* ── About section ── */
  .about-section { padding: 56px 20px; gap: 40px; }
  .about-side-img { height: 210px; }
  .about-quote { font-size: clamp(30px, 8.5vw, 44px); }
  .about-text { font-size: 14px; }

  /* ── Branches ── */
  .branches-label { padding: 48px 20px 28px; }
  .branches-grid { grid-template-columns: 1fr 1fr; }
  .branch-card { padding: 36px 20px 32px; }
  .branch-city { font-size: clamp(26px, 7vw, 40px); margin-bottom: 12px; }

  /* ── CTA ── */
  .cta-section { padding: 60px 20px; flex-direction: column; align-items: flex-start; gap: 28px; }
  .cta-section h2 { font-size: clamp(34px, 10vw, 52px); }
  .cta-section .btn { width: 100%; text-align: center; }

  /* ── Footer ── */
  footer { padding: 44px 20px 36px; }
  .foot-cols { flex-direction: column; gap: 32px; }
  .foot-tagline { font-size: 10px; }
  .foot-copy, .foot-credit { font-size: 10px; }

  /* ── Page hero (inner pages) ── */
  .page-hero { height: 55vh; height: 55dvh; min-height: 300px; padding: 56px 20px; }
  .page-hero h1 { font-size: clamp(46px, 13.5vw, 78px); }

  /* ── Services detail rows ── */
  .service-row { grid-template-columns: 1fr; }
  .service-row:nth-child(even) { direction: ltr; }
  .service-row-img { aspect-ratio: 16/9; }
  .service-row-content { padding: 36px 20px 44px; }
  .service-row-content h3 { font-size: clamp(26px, 7vw, 38px); }
  .service-row-content p { font-size: 14px; }
  .service-tag { font-size: 9px; letter-spacing: 2px; }

  /* ── Project types ── */
  .project-types-grid { grid-template-columns: 1fr 1fr; }
  .pt-card { padding: 32px 16px 28px; }
  .pt-card h4 { font-size: 18px; }
  .pt-card p { font-size: 12px; }

  /* ── Why Cladco ── */
  .why-grid { grid-template-columns: 1fr; }
  .why-card { padding: 40px 24px; }
  .why-card h3 { font-size: 26px; }
  .why-card p { font-size: 14px; }

  /* ── Team cards ── */
  .team-grid { grid-template-columns: 1fr; }
  .team-card { padding: 44px 24px; }
  .team-name { font-size: 26px; }
  .team-qual { font-size: 12px; }

  /* ── Branches (contact page) ── */
  .branches-wrap .branches-grid { grid-template-columns: 1fr 1fr; }

  /* ── Contact section ── */
  .contact-wrap { grid-template-columns: 1fr; }
  .contact-info { border-right: none; border-bottom: 1px solid var(--border); padding: 52px 20px; }
  .contact-info h2 { font-size: clamp(34px, 9vw, 52px); margin-bottom: 36px; }
  .contact-form { padding: 52px 20px; }
  .contact-form h2 { font-size: clamp(34px, 9vw, 52px); margin-bottom: 36px; }
  .c-item { gap: 14px; margin-bottom: 24px; }
  .c-item-icon { width: 40px; height: 40px; font-size: 16px; }
  .c-item-val { font-size: 13px; }

  /* ── Form — 16px prevents iOS auto-zoom on focus ── */
  .form-row { grid-template-columns: 1fr; }
  .form-group { margin-bottom: 14px; }
  .form-group input,
  .form-group select,
  .form-group textarea { font-size: 16px; padding: 14px 14px; }
  .form-group textarea { height: 100px; }
  .submit-btn { font-size: 18px; letter-spacing: 3px; padding: 18px; }
}

/* ─── SMALL MOBILE ─── */
@media (max-width: 390px) {
  section { padding: 48px 16px; }
  nav { padding: 14px 16px; }
  nav.scrolled { padding: 11px 16px; }

  .hero { padding: 84px 16px 52px; }
  .hero-title { font-size: clamp(40px, 13.5vw, 62px); }
  .hero-desc { font-size: 13px; }

  .stats-bar { grid-template-columns: 1fr 1fr; }
  .stat { padding: 22px 12px; }
  .stat-num { font-size: clamp(32px, 9vw, 48px); }

  .branches-grid { grid-template-columns: 1fr; }
  .branch-card { padding: 32px 16px 28px; }

  .project-types-grid { grid-template-columns: 1fr; }

  .so-card { padding: 32px 18px 32px; }
  .so-card-img { height: 180px; margin: -32px -18px 24px; }

  .page-hero { height: 50vh; min-height: 260px; padding: 44px 16px; }
  .page-hero h1 { font-size: clamp(40px, 13.5vw, 62px); }

  .contact-info, .contact-form { padding: 44px 16px; }
  footer { padding: 36px 16px; }

  .mobile-nav-overlay a { font-size: clamp(28px, 8.5vw, 38px); }
  .mobile-nav-overlay { gap: 20px; }
}
