/* ===================================================================
   TITAN CR INC. — Website Styles  (V2, LEO-first)
   Navy #1B2A4A  |  Orange #E8722A  |  black surfaces
   Fonts: Oswald (headings) + Inter (body) + Syne/DM Sans (Leo)
   =================================================================== */

:root {
  --bg:        #000000;
  --surface:   #161616;
  --surface-2: #1f1f1f;
  --navy:      #1B2A4A;
  --navy-2:    #12203b;
  --orange:    #E8722A;
  --orange-d:  #cf5f1c;
  --peach:     #2a1d12;
  --ink:       #ffffff;
  --sub:       #b3b3b3;
  --line:      rgba(255,255,255,.12);
  --maxw:      1160px;
  --radius:    10px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Oswald', 'Inter', sans-serif;
  font-weight: 600; line-height: 1.08; margin: 0 0 .5em;
  letter-spacing: .5px; color: #fff;
}
h1 { font-size: clamp(2.4rem, 5vw, 4.1rem); text-transform: uppercase; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); text-transform: uppercase; }
h3 { font-size: 1.2rem; text-transform: uppercase; letter-spacing: .8px; }

p { margin: 0 0 1rem; }
a { color: inherit; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: 'Oswald', sans-serif; font-weight: 600; text-transform: uppercase;
  letter-spacing: 1px; font-size: .95rem; text-decoration: none;
  padding: 14px 28px; border-radius: var(--radius); border: 2px solid transparent;
  cursor: pointer; transition: all .18s ease; line-height: 1;
}
.btn-sm { padding: 9px 18px; font-size: .82rem; }
.btn-block { width: 100%; justify-content: center; }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-d); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: blip 2.2s ease-in-out infinite; }
@keyframes blip { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px) scale(.985); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.in { opacity: 1; transform: none; transition: none; }
  .hero-bg { animation: none; }
}

/* ---------- Eyebrow ---------- */
.eyebrow {
  font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: 3px;
  font-size: .8rem; font-weight: 600; color: var(--orange); margin: 0 0 .8rem;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(0,0,0,.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; }
.brand-logo { height: 44px; width: auto; display: block; background: #fff; padding: 6px 10px; border-radius: 8px; }
.main-nav { display: flex; gap: 30px; margin-left: auto; }
.main-nav a {
  text-decoration: none; color: #fff; font-weight: 600; font-size: .95rem;
  font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: .5px;
  padding: 4px 0; border-bottom: 2px solid transparent; transition: border-color .15s, color .15s;
}
.main-nav a:hover { color: var(--orange); border-color: var(--orange); }
.header-cta { display: flex; align-items: center; gap: 16px; }
.phone-link { font-family: 'Oswald', sans-serif; font-weight: 600; color: #fff; text-decoration: none; letter-spacing: .5px; white-space: nowrap; }
.phone-link:hover { color: var(--orange); }
.nav-toggle { display: none; background: none; border: 0; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 3px; background: #fff; border-radius: 2px; }

/* ===================================================================
   HERO — LEO-first
   =================================================================== */
.hero {
  position: relative; overflow: hidden; background: #000;
  padding: clamp(56px, 8vw, 96px) 0 clamp(64px, 9vw, 104px);
}
/* Parallax + slow ken-burns zoom layers */
.hero-media { position: absolute; inset: 0; z-index: 0; will-change: transform; }
.hero-bg {
  position: absolute; inset: -14%;
  background: url("assets/ardilla-front.jpg") center/cover no-repeat;
  animation: heroKen 26s ease-in-out infinite alternate; will-change: transform;
}
@keyframes heroKen { from { transform: scale(1.06); } to { transform: scale(1.14) translate(-1.2%, -1%); } }
.hero-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(0,0,0,.94) 0%, rgba(0,0,0,.82) 48%, rgba(8,18,40,.66) 100%);
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(circle at 85% 15%, rgba(232,114,42,.22), transparent 42%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.022) 0 2px, transparent 2px 22px);
}
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-copy { max-width: 600px; }
.hero h1 { color: #fff; margin-bottom: .6rem; }
.hero h1 .accent { color: var(--orange); white-space: nowrap; }
.hero-sub { font-size: 1.18rem; color: rgba(255,255,255,.84); margin: 0 0 1.8rem; max-width: 540px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 1.6rem; }
.hero-license { font-size: .82rem; letter-spacing: 1.4px; color: rgba(255,255,255,.6); text-transform: uppercase; font-family: 'Oswald', sans-serif; margin: 0; }

/* Leo teaser card (opens the widget) — solid navy card so it stays visible
   on ANY background, even when the hero collapses to a single column. */
.leo-teaser {
  background: linear-gradient(180deg, #15233f 0%, #0d1525 100%);
  border: 1px solid rgba(255,255,255,.16); border-top: 3px solid var(--orange);
  border-radius: 16px; padding: 22px 22px 20px;
  box-shadow: 0 24px 60px rgba(0,0,0,.55), 0 0 0 1px rgba(0,0,0,.45);
  cursor: pointer; transition: transform .18s ease, border-color .18s, box-shadow .18s;
  text-align: left; width: 100%; font-family: inherit;
}
.leo-teaser:hover { transform: translateY(-3px); border-color: rgba(255,255,255,.3); box-shadow: 0 28px 70px rgba(0,0,0,.6), 0 0 0 1px rgba(232,114,42,.25); }
.leo-teaser-tag { display: inline-block; font-family: 'Oswald', sans-serif; font-size: .68rem; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; color: var(--orange); margin-bottom: 14px; }
.leo-teaser-head { display: flex; align-items: center; gap: 9px; margin-bottom: 16px; }
.leo-teaser-head .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); animation: blip 2.2s ease-in-out infinite; }
.leo-teaser-head .id { font-family: 'Syne', 'Oswald', sans-serif; font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.leo-teaser-head .id span { color: var(--orange); }
.leo-bubble {
  background: #161616; border: 1px solid var(--line); border-left: 2px solid var(--orange);
  border-radius: 3px 13px 13px 13px; padding: 13px 16px; color: #f2efea;
  font-size: 1rem; line-height: 1.55; margin-bottom: 16px;
  font-family: 'DM Sans', 'Inter', sans-serif;
}
.leo-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.leo-chip {
  padding: 9px 15px; border-radius: 999px; border: 1px solid rgba(255,255,255,.26);
  background: rgba(255,255,255,.05); color: #fff; font-family: 'DM Sans','Inter',sans-serif; font-size: .9rem;
  cursor: pointer; transition: border-color .15s, color .15s, background .15s; white-space: nowrap;
}
.leo-chip:hover { border-color: var(--orange); color: var(--orange); background: rgba(232,114,42,.1); }
.leo-teaser-foot { display: flex; align-items: center; gap: 8px; color: var(--sub); font-size: .82rem; }
.leo-teaser-foot .arrow { color: var(--orange); font-weight: 700; }

/* ---------- Trust bar ---------- */
.trust-bar { background: var(--orange); color: #fff; }
.trust-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 24px; }
.trust-item { display: flex; flex-direction: column; align-items: center; text-align: center; }
.trust-num { font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 1.25rem; text-transform: uppercase; letter-spacing: .5px; }
.trust-label { font-size: .82rem; opacity: .92; }

/* ---------- Sections ---------- */
.section { padding: clamp(60px, 8vw, 104px) 0; }
.section-alt { background: #0c1526; }   /* subtle navy tint to differentiate from the pure-black sections */
.section-dark { background: var(--navy); color: #fff; }
.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-lead { color: var(--sub); font-size: 1.1rem; margin: 0; }
.section-dark .section-lead { color: rgba(255,255,255,.78); }

/* ---------- Grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Service cards ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; transition: transform .18s, box-shadow .18s, border-color .18s; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(0,0,0,.5); border-color: var(--orange); }
.card-icon { font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 1.1rem; color: var(--orange); width: 46px; height: 46px; border: 2px solid rgba(232,114,42,.35); background: var(--peach); border-radius: 8px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.service-card h3 { color: #fff; margin-bottom: .5rem; }
.service-card p { color: var(--sub); margin: 0; font-size: .98rem; }
/* Commercial card — flagged as a differentiator */
.service-card-accent { border-color: rgba(232,114,42,.4); background: linear-gradient(180deg, var(--peach) 0%, var(--surface) 65%); }
.service-card-accent .card-icon { background: var(--orange); color: #fff; border-color: var(--orange); }

/* ---------- Process timeline ---------- */
.process-timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.process-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px 28px; transition: transform .18s, border-color .18s, box-shadow .18s; }
.process-card:hover { transform: translateY(-4px); border-color: var(--orange); box-shadow: 0 14px 34px rgba(0,0,0,.5); }
.process-top { display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.process-num {
  font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 1.5rem; color: #fff;
  background: var(--navy); border: 2px solid var(--orange);
  width: 56px; height: 56px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
/* Connector lives in the gap between cards, so the last step is never left lopsided. */
.process-card:not(:last-child)::after {
  content: ""; position: absolute; top: 53px; right: -22px; width: 22px; height: 2px;
  background: linear-gradient(90deg, rgba(232,114,42,.7), rgba(232,114,42,.35));
}
.process-card h3 { color: #fff; margin-bottom: .5rem; }
.process-lead { color: var(--sub); margin: 0 0 16px; font-size: .96rem; }
.process-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.process-points li { position: relative; padding-left: 20px; color: rgba(255,255,255,.82); font-size: .88rem; }
.process-points li::before { content: ""; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; background: var(--orange); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }

/* ---------- Projects ---------- */
.project { display: block; text-decoration: none; color: inherit; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); transition: transform .18s, border-color .18s; }
.project:hover { transform: translateY(-4px); border-color: var(--orange); }
.projects-cta { text-align: center; margin-top: 36px; }
/* Coming-soon project cards (photos in progress) */
.project-soon { cursor: default; }
.project-soon:hover { transform: none; border-color: var(--line); }
.project-soon-img { width: 100%; aspect-ratio: 4/3; background: linear-gradient(135deg, var(--navy) 0%, #0d1525 100%); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
.soon-badge { font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: 2px; font-size: .82rem; font-weight: 600; color: var(--orange); border: 1px solid rgba(232,114,42,.45); background: rgba(232,114,42,.1); padding: 8px 18px; border-radius: 999px; }
.soon-note { color: var(--sub); font-size: .82rem; letter-spacing: .3px; }
.project-img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; background: var(--navy); }
.project-meta { padding: 18px 20px; }
.project-meta h3 { margin: 0 0 4px; color: #fff; font-size: 1.05rem; }
.project-meta span { color: var(--sub); font-size: .85rem; }

/* ---------- Proof / reviews ---------- */
.proof-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 48px; }
.proof-stat { text-align: center; padding: 8px; border-left: 1px solid var(--line); }
.proof-stat:first-child { border-left: 0; }
.proof-stat .num { display: block; font-family: 'Oswald', sans-serif; font-weight: 700; font-size: clamp(2rem, 3.4vw, 2.6rem); color: var(--orange); line-height: 1; }
.proof-stat .label { display: block; color: var(--sub); font-size: .88rem; margin-top: 8px; }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; display: flex; flex-direction: column; }
.testi-stars { color: var(--orange); letter-spacing: 3px; font-size: 1rem; margin-bottom: 13px; }
.testi-quote { color: rgba(255,255,255,.9); font-size: 1rem; line-height: 1.6; margin: 0 0 18px; flex: 1; }
.testi-author { font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: .5px; font-size: .85rem; color: #fff; margin: 0; }
.testi-author span { display: block; color: var(--sub); font-size: .78rem; letter-spacing: 0; text-transform: none; font-family: 'Inter', sans-serif; margin-top: 3px; }

/* ---------- Why Titan ---------- */
.why-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: center; }
.why-copy p { color: var(--sub); }
.why-list { list-style: none; padding: 0; margin: 1.5rem 0 2rem; }
.why-list li { padding: 12px 0 12px 30px; position: relative; border-bottom: 1px solid var(--line); }
.why-list li::before { content: ""; position: absolute; left: 0; top: 19px; width: 12px; height: 12px; background: var(--orange); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.why-list strong { color: #fff; }
.why-leo-cta { margin-top: 8px; padding: 18px 20px; background: var(--peach); border: 1px solid rgba(232,114,42,.3); border-left: 3px solid var(--orange); border-radius: var(--radius); }
.why-leo-line { color: rgba(255,255,255,.88); font-size: .96rem; margin: 0 0 14px; }
.why-leo-line strong { color: #fff; }
.why-aside { display: flex; }
.why-feature { background: var(--navy); border: 1px solid var(--line); border-top: 3px solid var(--orange); border-radius: var(--radius); padding: 32px 30px; width: 100%; }
.why-feature-tag { display: inline-block; font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: 2px; font-size: .7rem; font-weight: 600; color: var(--orange); margin-bottom: 12px; }
.why-feature h3 { color: #fff; margin-bottom: .6rem; }
.why-feature p { color: rgba(255,255,255,.8); font-size: .96rem; margin: 0 0 18px; }
.why-feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.why-feature-list li { position: relative; padding-left: 24px; color: #fff; font-size: .92rem; }
.why-feature-list li::before { content: ""; position: absolute; left: 0; top: 7px; width: 9px; height: 9px; background: var(--orange); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.stat-block { background: var(--navy); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 32px; width: 100%; display: grid; gap: 28px; }
.stat { display: flex; flex-direction: column; border-left: 3px solid var(--orange); padding-left: 18px; }
.stat-num { font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 2.4rem; color: #fff; line-height: 1; }
.stat-label { color: rgba(255,255,255,.72); font-size: .9rem; margin-top: 6px; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; }
.about-copy p { color: rgba(255,255,255,.85); }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; align-items: start; }
.team-card { display: flex; gap: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; transition: border-color .18s, transform .18s, box-shadow .18s; }
.team-card:hover { border-color: var(--orange); transform: translateY(-3px); box-shadow: 0 14px 34px rgba(0,0,0,.5); }
.team-photo { flex-shrink: 0; width: 128px; }
.team-photo img { width: 128px; height: 162px; object-fit: cover; object-position: top center; border-radius: 8px; display: block; background: var(--navy); border: 1px solid var(--line); }
.team-body h3 { color: #fff; margin: 0 0 5px; font-size: 1.15rem; }
.team-role { color: var(--orange); font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: .6px; font-size: .76rem; line-height: 1.3; margin: 0 0 12px; }
.team-bio { color: var(--sub); font-size: .9rem; line-height: 1.6; margin: 0; }
.team-pending { color: rgba(255,255,255,.42); font-style: italic; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: start; }
.contact-info p { color: var(--sub); }
.contact-list { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.contact-list li { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.contact-label { font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: 1px; font-size: .8rem; color: var(--orange); min-width: 80px; }
.contact-list a { text-decoration: none; color: #fff; font-weight: 600; }
.contact-list a:hover { color: var(--orange); }
.contact-list span:not(.contact-label) { color: var(--sub); }

/* Contact -> Leo card */
.contact-leo { background: var(--surface); border: 1px solid var(--line); border-top: 2px solid var(--orange); border-radius: var(--radius); padding: 34px 30px; }
.contact-leo h3 { margin: 0 0 .6rem; }
.contact-leo p { color: var(--sub); margin: 0 0 1.4rem; }
.contact-leo .leo-mini-bubble {
  background: var(--bg); border: 1px solid var(--line); border-left: 2px solid var(--orange);
  border-radius: 3px 12px 12px 12px; padding: 13px 16px; color: #f2efea;
  font-family: 'DM Sans','Inter',sans-serif; font-size: .98rem; line-height: 1.5; margin-bottom: 1.4rem;
}

/* ---------- Footer ---------- */
.site-footer { background: #000; color: rgba(255,255,255,.75); padding: 56px 0 26px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1.1fr; gap: 40px; }
.footer-logo { height: 52px; background: #fff; padding: 8px 12px; border-radius: 8px; }
.footer-brand p { margin: 14px 0 0; font-size: .9rem; color: rgba(255,255,255,.6); max-width: 320px; }
.footer-lic { font-size: .82rem !important; color: rgba(255,255,255,.45) !important; }
.footer-col h4 { font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: 1px; font-size: .85rem; color: #fff; margin: 0 0 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; }
.footer-col li { color: rgba(255,255,255,.7); font-size: .92rem; }
.footer-col a { color: rgba(255,255,255,.7); text-decoration: none; font-size: .92rem; }
.footer-col a:hover { color: var(--orange); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); }
.footer-bottom p { margin: 0; font-size: .82rem; color: rgba(255,255,255,.45); }
.footer-social { display: flex; gap: 14px; margin-top: 16px; }
.footer-social a { color: rgba(255,255,255,.55); display: inline-flex; transition: color .15s, transform .15s; }
.footer-social a:hover { color: var(--orange); transform: translateY(-2px); }

/* Review profile links + areas served */
.reviews-links { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 38px; }
.reviews-links a { font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: 1px; font-size: .82rem; color: var(--orange); text-decoration: none; border: 1px solid rgba(232,114,42,.45); padding: 11px 22px; border-radius: 999px; transition: background .15s, border-color .15s; }
.reviews-links a:hover { background: rgba(232,114,42,.1); border-color: var(--orange); }
.areas-served { color: var(--sub); font-size: .92rem; line-height: 1.6; margin: 22px 0 0; }
.areas-served strong { color: #fff; }

/* ===================================================================
   PORTFOLIO PAGE
   =================================================================== */
.portfolio-head { padding: clamp(48px, 7vw, 80px) 0 0; }
.portfolio-head h1 { margin-bottom: .4rem; }
.portfolio-lead { color: var(--sub); font-size: 1.12rem; max-width: 640px; margin: 0; }

/* Featured project */
.featured-project { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; margin-bottom: 28px; }
.featured-reverse .featured-gallery { order: 2; }
.featured-gallery { display: grid; gap: 12px; }
.featured-main { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 8px; display: block; background: var(--navy); }
.featured-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.featured-thumbs-2 { grid-template-columns: 1fr; }
.featured-thumbs img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 6px; display: block; background: var(--navy); }
.featured-badge { display: inline-block; font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: 2px; font-size: .72rem; font-weight: 600; color: var(--orange); margin-bottom: 10px; }
.featured-info h3 { font-size: 1.7rem; margin-bottom: 4px; }
.featured-tag { color: var(--sub); font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: 1px; font-size: .82rem; margin: 0 0 16px; }
.featured-info p { color: var(--sub); }
.featured-specs { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 9px; }
.featured-specs li { padding-left: 20px; position: relative; color: rgba(255,255,255,.82); font-size: .9rem; }
.featured-specs li::before { content: ""; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; background: var(--orange); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }

/* Project-tied client quote */
.project-quote { background: var(--navy); border: 1px solid var(--line); border-left: 3px solid var(--orange); border-radius: var(--radius); padding: 30px 34px; margin: 0 0 28px; }
.project-quote-stars { color: var(--orange); letter-spacing: 3px; font-size: 1rem; margin-bottom: 14px; }
.project-quote blockquote { margin: 0 0 16px; color: #fff; font-size: 1.1rem; line-height: 1.6; font-style: italic; }
.project-quote figcaption { font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: .6px; font-size: .9rem; color: #fff; }
.project-quote figcaption span { display: block; color: var(--sub); font-size: .8rem; letter-spacing: 0; text-transform: none; font-family: 'Inter', sans-serif; margin-top: 4px; }

/* In-progress renderings */
.render-project { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 24px; }
.render-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 18px; }
.render-head h3 { margin: 0; }
.render-tag { color: var(--sub); font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: 1px; font-size: .8rem; margin: 5px 0 0; }
.render-badge { flex-shrink: 0; font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: 1px; font-size: .72rem; color: var(--orange); border: 1px solid rgba(232,114,42,.4); background: var(--peach); padding: 6px 13px; border-radius: 999px; white-space: nowrap; }
.render-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.render-gallery img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); display: block; background: var(--navy); }

.portfolio-cta h2 { margin-bottom: .5rem; }

/* Lightbox / carousel */
[data-lightbox] { cursor: zoom-in; }
.lb-overlay { position: fixed; inset: 0; z-index: 2000; background: rgba(0,0,0,.93); display: none; align-items: center; justify-content: center; }
.lb-overlay.open { display: flex; animation: leo-fade .2s ease both; }
@keyframes leo-fade { from { opacity: 0; } to { opacity: 1; } }
.lb-img { max-width: 90vw; max-height: 82vh; object-fit: contain; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.lb-cap { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.92); font-family: 'Oswald', sans-serif; letter-spacing: 1px; text-transform: uppercase; font-size: .82rem; padding: 0 24px; }
.lb-counter { position: absolute; top: 26px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.65); font-size: .8rem; letter-spacing: 1px; }
.lb-close, .lb-prev, .lb-next { position: absolute; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); color: #fff; cursor: pointer; border-radius: 50%; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; line-height: 1; transition: background .15s, border-color .15s; }
.lb-close { top: 20px; right: 20px; font-size: 1.7rem; }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); font-size: 1.8rem; }
.lb-prev { left: 20px; }
.lb-next { right: 20px; }
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: var(--orange); border-color: var(--orange); }
@media (max-width: 640px) {
  .lb-close, .lb-prev, .lb-next { width: 40px; height: 40px; }
  .lb-prev { left: 10px; } .lb-next { right: 10px; }
  .lb-img { max-width: 94vw; }
}

/* ===================================================================
   RESPONSIVE
   =================================================================== */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-copy { max-width: none; }
  .process-timeline { grid-template-columns: repeat(2, 1fr); }
  .process-card::after { display: none; }
}
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 1fr; }
  .why-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .trust-inner { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .featured-project { grid-template-columns: 1fr; gap: 26px; }
  .featured-reverse .featured-gallery { order: 0; }
  .proof-stats { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .proof-stat:nth-child(3) { border-left: 0; }
  .testi-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .main-nav { position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; gap: 0; background: #000; border-bottom: 1px solid var(--line); padding: 8px 24px; display: none; box-shadow: 0 12px 24px rgba(0,0,0,.5); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: flex; }
  .header-cta { display: none; }
  .grid-3, .grid-4, .process-timeline { grid-template-columns: 1fr; }
  .team-card { flex-direction: column; align-items: center; text-align: center; }
  .team-photo, .team-photo img { width: 140px; }
  .team-photo img { height: 176px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }
}
