/* ══════════════════════════════════════════════════════════
   TRADEZONE CONSTRUCTION — Shared Stylesheet
   ══════════════════════════════════════════════════════════ */

/* SF Compact Text — local brand font */
@font-face {
  font-family: 'SF Compact Text';
  src: url('../fonts/sf-compact-text-heavy-58646f645b774.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --teal:        #1C7268;
  --teal-dark:   #155650;
  --teal-mid:    #2A9485;
  --teal-light:  #E6F4F2;
  --teal-xlight: #F0F9F8;
  --gold:        #C4922A;
  --gold-dark:   #A67820;
  --gold-light:  #D4A84A;
  --gold-xlight: #FDF5E6;
  --bg:          #FFFFFF;
  --bg2:         #F0F9F8;
  --bg3:         #FDF5E6;
  --white:       #FFFFFF;
  --text:        #0E2E2A;
  --text-mid:    #1C7268;
  --text-light:  #4A8A82;
  --white-60:    rgba(14,46,42,0.55);
  --font-hero: 'Montserrat', sans-serif;
  --font-heading: 'SF Compact Text', 'Barlow', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-accent: 'Playfair Display', serif;
}

html { scroll-behavior: smooth; }
html, body { background: #FFFFFF; color: #0E2E2A; }

body {
  font-family: var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ─────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 48px;
  background: rgba(10,38,34,0.97);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(196,146,42,0.2);
  transition: background 0.4s;
}
.nav-logo { height: 60px; }
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  font-family: var(--font-heading); font-size: 14px; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,0.85); text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: #fff; }
.nav-links a.active { color: var(--gold); }
.nav-cta {
  background: var(--gold); color: #000;
  font-family: var(--font-heading);
  font-size: 14px; font-weight: 800; letter-spacing: 0.06em;
  text-transform: uppercase; border: none; cursor: pointer;
  padding: 10px 22px; border-radius: 3px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.nav-cta:hover { background: var(--gold-light); transform: scale(1.03); }

/* Hamburger */
.nav-menu-btn {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 36px; height: 36px;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-menu-btn span {
  display: block; width: 24px; height: 2px; background: rgba(255,255,255,0.85);
  transition: transform 0.3s, opacity 0.3s;
}

/* ── PAGE HEADER (for inner pages) ─────────────────────── */
.page-header {
  padding: 160px 80px 80px;
  text-align: center;
  background: var(--bg2);
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(28,114,104,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.page-header h1 {
  font-family: var(--font-hero);
  font-size: clamp(40px, 6vw, 72px); font-weight: 900;
  text-transform: uppercase; color: var(--teal);
  line-height: 1.05; letter-spacing: -0.02em;
  margin-bottom: 16px; position: relative;
}
.page-header p {
  font-family: var(--font-body);
  font-size: 17px; font-weight: 500; color: var(--text);
  max-width: 560px; margin: 0 auto; line-height: 1.7;
  position: relative;
}

/* ── HERO ─────────────────────────────────────────────── */
.hero {
  position: relative; height: 100vh; min-height: 750px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; perspective: 1200px; padding-top: 100px;
  background: #0A2622;
}
.hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 60%, rgba(28,114,104,0.18) 0%, transparent 70%),
              radial-gradient(ellipse 40% 30% at 80% 20%, rgba(196,146,42,0.1) 0%, transparent 60%),
              #0A2622;
}
.hero-grid {
  position: absolute; inset: 0; opacity: 0.3;
  background-image:
    linear-gradient(rgba(28,114,104,0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28,114,104,0.15) 1px, transparent 1px);
  background-size: 60px 60px;
  transform: perspective(800px) rotateX(35deg) translateY(20%);
  transform-origin: bottom center;
  mask-image: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 60%);
}
.orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); pointer-events: none; opacity: 0.3;
}
.orb-1 { width: 600px; height: 600px; background: radial-gradient(circle, rgba(28,114,104,0.12), transparent 70%); top: -100px; left: -100px; animation: float1 8s ease-in-out infinite; }
.orb-2 { width: 400px; height: 400px; background: radial-gradient(circle, rgba(196,146,42,0.1), transparent 70%); bottom: 0; right: -50px; animation: float2 10s ease-in-out infinite; }
.orb-3 { width: 300px; height: 300px; background: radial-gradient(circle, rgba(28,114,104,0.08), transparent 70%); top: 30%; right: 20%; animation: float1 12s ease-in-out infinite reverse; }

@keyframes float1 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(40px,-30px); } }
@keyframes float2 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-30px,20px); } }

.hero-content {
  position: relative; z-index: 2;
  text-align: center; max-width: 1000px; padding: 0 32px;
}
.hero-eyebrow {
  display: inline-block; font-family: var(--font-hero);
  font-size: 15px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 24px; margin-top: 20px;
  animation: fadeUp 0.8s 0.2s both;
}
.hero-title {
  font-family: var(--font-hero);
  font-size: clamp(56px, 8vw, 110px); font-weight: 900;
  line-height: 1.05; letter-spacing: -0.02em; text-transform: uppercase;
  margin-bottom: 32px; animation: fadeUp 0.8s 0.4s both;
}
.hero-title .line-teal { color: var(--teal-mid); display: block; text-shadow: 0 0 80px rgba(28,114,104,0.6), 0 0 160px rgba(28,114,104,0.3); }
.hero-title .line-gold { font-family: var(--font-accent); font-style: italic; font-weight: 700; color: var(--gold); text-shadow: 0 0 80px rgba(196,146,42,0.5), 0 0 160px rgba(196,146,42,0.2); display: block; }
.hero-title .line-white { color: #FFFFFF; display: block; }
.hero-sub { font-family: var(--font-body); font-size: 17px; font-weight: 500; line-height: 1.7; color: rgba(255,255,255,0.75); max-width: 560px; margin: 0 auto 48px; animation: fadeUp 0.8s 0.6s both; }
.hero-actions { display: flex; gap: 16px; justify-content: center; animation: fadeUp 0.8s 0.8s both; }
.hero-scroll { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; animation: fadeUp 0.8s 1.2s both; }
.hero-scroll span { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.5); }
.scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, var(--teal), transparent); animation: scrollPulse 2s ease-in-out infinite; }
@keyframes scrollPulse { 0%,100%{opacity:0.4;transform:scaleY(1)} 50%{opacity:1;transform:scaleY(1.1)} }

/* ── BUTTONS ──────────────────────────────────────────── */
.btn-primary {
  background: var(--gold); color: #000;
  font-family: var(--font-heading); font-size: 15px; font-weight: 800;
  letter-spacing: 0.06em; text-transform: uppercase;
  border: none; cursor: pointer; padding: 16px 36px; border-radius: 3px;
  transition: all 0.2s; box-shadow: 0 0 40px rgba(196,146,42,0.3);
  text-decoration: none; display: inline-flex; align-items: center;
}
.btn-primary:hover { background: var(--gold-light); box-shadow: 0 0 60px rgba(196,146,42,0.5); transform: translateY(-2px); }
.btn-secondary {
  background: transparent; color: #FFFFFF;
  font-family: var(--font-heading); font-size: 15px; font-weight: 800;
  letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer;
  padding: 16px 36px; border-radius: 3px; border: 1px solid rgba(255,255,255,0.4);
  transition: all 0.2s; text-decoration: none; display: inline-flex; align-items: center;
}
.btn-secondary:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,0.08); }

/* ── STATS BAR ────────────────────────────────────────── */
.stats-bar {
  background: #0D2F2A; padding: 40px 80px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(196,146,42,0.2);
  border-bottom: 1px solid rgba(196,146,42,0.2);
}
.stat { text-align: center; padding: 0 24px; border-right: 1px solid rgba(255,255,255,0.1); }
.stat:last-child { border-right: none; }
.stat-num { font-family: var(--font-hero); font-size: 48px; font-weight: 800; line-height: 1; color: var(--gold); }
.stat-label { font-family: var(--font-heading); font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-top: 8px; }

/* ── SECTION COMMONS ──────────────────────────────────── */
section { padding: 120px 80px; }
.section-eyebrow { font-family: var(--font-hero); font-size: 16px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; display: block; }
.section-title { font-family: var(--font-hero); font-size: clamp(38px, 5vw, 64px); font-weight: 900; line-height: 1.05; letter-spacing: -0.02em; text-transform: uppercase; margin-bottom: 24px; color: var(--teal); }
.section-sub { font-family: var(--font-body); font-size: 16px; font-weight: 500; line-height: 1.7; color: var(--text); max-width: 520px; }

/* ── 3D OBJECT SECTION ────────────────────────────────── */
.object-section { background: var(--bg2); min-height: 100vh; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.object-section-bg { position: absolute; inset: 0; background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(28,114,104,0.08) 0%, transparent 70%); pointer-events: none; }
.object-content { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; max-width: 1200px; padding: 0 80px; width: 100%; }
.object-text { position: relative; z-index: 2; color: var(--text); }
.object-scene { position: relative; display: flex; align-items: center; justify-content: center; height: 560px; perspective: 1000px; }

/* ── SERVICES ──────────────────────────────────────────── */
.services { background: var(--bg); }
.services-header { text-align: center; margin-bottom: 60px; }
.services-header .section-title { font-family: var(--font-hero) !important; font-size: clamp(30px, 4vw, 48px) !important; text-transform: none !important; font-weight: 800 !important; color: #0E2E2A !important; line-height: 1.15; letter-spacing: -0.01em !important; }
.services-header .section-sub { margin: 0 auto; max-width: 520px; }
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; max-width: 900px; margin: 0 auto; }
.service-card { position: relative; overflow: hidden; background: #FFFFFF; border-radius: 12px; cursor: pointer; transition: transform 0.3s, box-shadow 0.3s; text-decoration: none; color: inherit; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.1); }
.service-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; border-radius: 12px; background: #e8e8e8; }
.service-title { font-family: var(--font-heading); font-size: 19px; font-weight: 800; color: #0E2E2A; margin: 16px 0 6px; letter-spacing: 0.01em; }
.service-desc { font-family: var(--font-body); font-size: 14px; font-weight: 500; line-height: 1.6; color: #4A4A4A; margin-bottom: 8px; }

/* ── SERVICES DETAIL (services page) ──────────────────── */
.service-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; max-width: 1100px; margin: 0 auto; padding: 80px 0; border-bottom: 1px solid rgba(28,114,104,0.1); }
.service-detail:nth-child(even) { direction: rtl; }
.service-detail:nth-child(even) > * { direction: ltr; }
.service-detail:last-child { border-bottom: none; }
.service-detail-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 12px; background: #e8e8e8; }
.service-detail-content h3 { font-family: var(--font-hero); font-size: 32px; font-weight: 800; color: var(--teal); margin-bottom: 16px; }
.service-detail-content p { font-size: 16px; line-height: 1.7; color: var(--text); margin-bottom: 16px; }
.service-detail-content ul { list-style: none; padding: 0; }
.service-detail-content ul li { padding: 6px 0; font-size: 14px; color: var(--text); display: flex; align-items: center; gap: 10px; }
.service-detail-content ul li::before { content: ''; width: 24px; height: 2px; background: var(--gold); flex-shrink: 0; }

/* ── PROCESS ──────────────────────────────────────────── */
.process { background: var(--bg2); overflow: hidden; }
.process-inner { max-width: 1200px; margin: 0 auto; }
.process-header { margin-bottom: 80px; }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.process-steps::before { content: ''; position: absolute; top: 28px; left: 10%; right: 10%; height: 2px; z-index: 0; background: linear-gradient(90deg, transparent, var(--teal), var(--gold), transparent); }
.process-step { padding: 0 24px; text-align: center; opacity: 0; transform: translateY(30px); transition: opacity 0.6s, transform 0.6s; position: relative; z-index: 1; }
.process-step.visible { opacity: 1; transform: translateY(0); }
.step-num-wrap { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; margin: 0 auto 28px; }
.step-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--teal); background: #F0F9F8; box-shadow: 0 0 16px rgba(28,114,104,0.2); }
.step-num { font-family: var(--font-hero); font-size: 22px; font-weight: 800; color: var(--teal); position: relative; z-index: 2; }
.step-title { font-family: var(--font-heading); font-size: 20px; font-weight: 800; text-transform: uppercase; margin-bottom: 12px; letter-spacing: 0.02em; color: var(--teal); }
.step-desc { font-family: var(--font-body); font-size: 14px; font-weight: 500; line-height: 1.7; color: var(--text); }

/* ── PROJECTS ──────────────────────────────────────────── */
.projects { background: var(--bg); }
.projects-header { text-align: center; margin-bottom: 64px; }
.projects-header .section-sub { margin: 0 auto; }
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 1200px; margin: 0 auto; }
.project-card { position: relative; overflow: hidden; border-radius: 8px; aspect-ratio: 4/3; background: var(--teal-light); cursor: pointer; transition: transform 0.4s cubic-bezier(0.23,1,0.32,1); }
.project-card:hover { transform: scale(1.02); }
.project-card.featured { grid-column: span 2; aspect-ratio: 16/9; }
.project-img { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.project-img img { width: 100%; height: 100%; object-fit: cover; }
.project-img-1 { background: linear-gradient(135deg, var(--teal-light) 0%, #2A9485 100%); }
.project-img-2 { background: linear-gradient(135deg, var(--gold-xlight) 0%, var(--gold) 100%); }
.project-img-3 { background: linear-gradient(135deg, var(--teal-light) 0%, var(--teal) 100%); }
.project-img-4 { background: linear-gradient(135deg, var(--gold-xlight) 0%, var(--gold-dark) 100%); }
.project-placeholder { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.5); }
.project-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(14,60,50,0.82) 0%, transparent 60%); display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; opacity: 0.7; transition: opacity 0.3s; }
.project-card:hover .project-overlay { opacity: 1; }
.project-tag { font-family: var(--font-heading); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.project-name { font-family: var(--font-hero); font-size: 22px; font-weight: 800; text-transform: uppercase; line-height: 1.15; margin-bottom: 8px; color: #fff; letter-spacing: -0.01em; }
.project-meta { font-family: var(--font-body); font-size: 12px; font-weight: 500; color: rgba(255,255,255,0.8); }

/* ── CTA BAND ────────────────────────────────────────── */
.cta-band { background: var(--teal); padding: 120px 80px; text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(0,0,0,0.1) 0%, transparent 70%); pointer-events: none; }
.cta-band-title { font-family: var(--font-hero); font-size: clamp(48px, 7vw, 90px); font-weight: 900; text-transform: uppercase; line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 32px; position: relative; color: #FFFFFF; }
.cta-band-title em { font-family: var(--font-accent); font-style: italic; color: var(--gold); text-shadow: 0 0 60px rgba(196,146,42,0.4); font-weight: 700; }
.cta-band-sub { font-family: var(--font-body); font-size: 17px; font-weight: 500; color: rgba(255,255,255,0.9); max-width: 480px; margin: 0 auto 48px; line-height: 1.6; position: relative; }
.cta-actions { display: flex; gap: 16px; justify-content: center; position: relative; }

/* ── FOOTER ──────────────────────────────────────────── */
footer { background: #0A2622; border-top: 2px solid rgba(196,146,42,0.25); padding: 60px 80px 40px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-logo { height: 50px; margin-bottom: 20px; }
.footer-tagline { font-family: var(--font-body); font-size: 14px; font-weight: 500; line-height: 1.7; color: rgba(255,255,255,0.7); max-width: 240px; }
.footer-col-title { font-family: var(--font-heading); font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-family: var(--font-body); font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.7); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 28px; display: flex; justify-content: space-between; align-items: center; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.5); }
.footer-teal { color: var(--gold); }

/* ── WHATSAPP FLOAT ──────────────────────────────────── */
.wa-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; border: none; cursor: pointer;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s, box-shadow 0.2s; text-decoration: none;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,0.55); }
.wa-float svg { width: 32px; height: 32px; fill: #fff; }
.wa-float-label { position: absolute; right: 72px; top: 50%; transform: translateY(-50%); background: #fff; color: #0E2E2A; font-size: 13px; font-weight: 600; padding: 8px 16px; border-radius: 8px; white-space: nowrap; box-shadow: 0 2px 12px rgba(0,0,0,0.12); opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.wa-float:hover .wa-float-label { opacity: 1; }

/* ── AI CHATBOT ──────────────────────────────────────── */
.chat-btn { position: fixed; bottom: 28px; left: 28px; z-index: 999; height: 56px; border-radius: 28px; background: var(--teal); border: none; cursor: pointer; box-shadow: 0 4px 20px rgba(28,114,104,0.4); display: flex; align-items: center; justify-content: center; gap: 8px; padding: 0 20px; transition: transform 0.2s, box-shadow 0.2s; }
.chat-btn:hover { transform: scale(1.05); box-shadow: 0 6px 28px rgba(28,114,104,0.55); }
.chat-btn-ai { background: #fff; color: var(--teal); font-family: var(--font-heading); font-size: 14px; font-weight: 900; padding: 3px 8px; border-radius: 6px; letter-spacing: 0.02em; line-height: 1; }
.chat-btn-label { color: #fff; font-family: var(--font-heading); font-size: 14px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
.chat-btn .chat-badge { position: absolute; top: -2px; right: -2px; width: 16px; height: 16px; background: var(--gold); border-radius: 50%; border: 2px solid #fff; }
.chat-window { position: fixed; bottom: 100px; left: 28px; z-index: 1000; width: 380px; max-height: 520px; background: #fff; border-radius: 16px; box-shadow: 0 16px 60px rgba(0,0,0,0.18); display: none; flex-direction: column; overflow: hidden; animation: chatSlideUp 0.3s ease; }
.chat-window.open { display: flex; }
@keyframes chatSlideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.chat-header { background: var(--teal); padding: 18px 20px; display: flex; align-items: center; gap: 12px; }
.chat-avatar { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.chat-header-info h4 { color: #fff; font-family: var(--font-heading); font-size: 15px; font-weight: 800; margin: 0; text-transform: uppercase; letter-spacing: 0.04em; }
.chat-header-info p { color: rgba(255,255,255,0.75); font-size: 12px; margin: 2px 0 0; font-weight: 400; }
.chat-close { margin-left: auto; background: none; border: none; cursor: pointer; color: rgba(255,255,255,0.7); font-size: 22px; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: background 0.2s; }
.chat-close:hover { background: rgba(255,255,255,0.15); color: #fff; }
.chat-messages { flex: 1; overflow-y: auto; padding: 20px 16px; display: flex; flex-direction: column; gap: 12px; max-height: 320px; min-height: 200px; background: #f8fafa; }
.chat-msg { max-width: 85%; padding: 10px 14px; border-radius: 12px; font-size: 14px; line-height: 1.5; font-family: var(--font-body); word-wrap: break-word; }
.chat-msg.bot { background: #fff; color: #0E2E2A; border: 1px solid rgba(28,114,104,0.12); border-bottom-left-radius: 4px; align-self: flex-start; }
.chat-msg.user { background: var(--teal); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.chat-msg.typing { background: #fff; border: 1px solid rgba(28,114,104,0.12); align-self: flex-start; padding: 12px 18px; }
.typing-dots { display: flex; gap: 4px; }
.typing-dots span { width: 7px; height: 7px; background: #1C7268; border-radius: 50%; animation: typeBounce 1.2s infinite; }
.typing-dots span:nth-child(2) { animation-delay: 0.15s; }
.typing-dots span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typeBounce { 0%,60%,100% { transform: translateY(0); opacity: 0.4; } 30% { transform: translateY(-6px); opacity: 1; } }
.chat-input-wrap { display: flex; gap: 8px; padding: 12px 16px; border-top: 1px solid rgba(28,114,104,0.1); background: #fff; }
.chat-input { flex: 1; border: 1px solid rgba(28,114,104,0.2); border-radius: 8px; padding: 10px 14px; font-family: var(--font-body); font-size: 14px; color: #0E2E2A; background: #f8fafa; outline: none; resize: none; }
.chat-input:focus { border-color: var(--teal); }
.chat-send { background: var(--teal); border: none; border-radius: 8px; width: 42px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.2s; }
.chat-send:hover { background: var(--teal-dark); }
.chat-send svg { width: 18px; height: 18px; fill: #fff; }

/* ── QUOTE MODAL ──────────────────────────────────────── */
.quote-overlay { position: fixed; inset: 0; z-index: 1000; background: rgba(14,46,42,0.6); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.quote-overlay.active { opacity: 1; pointer-events: all; }
.quote-modal { background: #fff; border-radius: 12px; padding: 48px 40px; max-width: 520px; width: 90%; max-height: 90vh; overflow-y: auto; box-shadow: 0 24px 80px rgba(0,0,0,0.2); transform: translateY(20px); transition: transform 0.3s; position: relative; }
.quote-overlay.active .quote-modal { transform: translateY(0); }
.quote-close { position: absolute; top: 16px; right: 16px; background: none; border: none; cursor: pointer; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; color: #4A8A82; font-size: 24px; border-radius: 50%; transition: background 0.2s; }
.quote-close:hover { background: rgba(28,114,104,0.08); }
.quote-modal h2 { font-family: var(--font-hero); font-size: 30px; font-weight: 800; text-transform: uppercase; color: #1C7268; margin-bottom: 8px; }
.quote-modal .quote-sub { font-size: 14px; color: #4A8A82; margin-bottom: 28px; line-height: 1.5; }
.quote-field { margin-bottom: 18px; }
.quote-field label { display: block; font-family: var(--font-heading); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #1C7268; margin-bottom: 6px; }
.quote-field input, .quote-field textarea { width: 100%; padding: 12px 14px; border: 1px solid rgba(28,114,104,0.2); border-radius: 6px; font-family: var(--font-body); font-size: 14px; color: #0E2E2A; background: #F0F9F8; transition: border-color 0.2s, box-shadow 0.2s; outline: none; }
.quote-field input:focus, .quote-field textarea:focus { border-color: #1C7268; box-shadow: 0 0 0 3px rgba(28,114,104,0.1); }
.quote-field textarea { min-height: 100px; resize: vertical; }
.quote-field .field-error { font-size: 12px; color: #B03A2A; margin-top: 4px; display: none; }
.quote-field.has-error input, .quote-field.has-error textarea { border-color: #B03A2A; }
.quote-field.has-error .field-error { display: block; }
.quote-note { font-size: 13px; color: #4A8A82; font-style: italic; margin-bottom: 24px; line-height: 1.5; }
.quote-submit { width: 100%; padding: 14px; border: none; border-radius: 6px; background: #C4922A; color: #000; font-family: var(--font-heading); font-size: 15px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; transition: background 0.2s; }
.quote-submit:hover { background: #D4A84A; }
.quote-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.quote-success { text-align: center; display: none; }
.quote-success svg { width: 56px; height: 56px; margin-bottom: 16px; }
.quote-success h3 { font-family: var(--font-hero); font-size: 24px; font-weight: 800; color: #1C7268; margin-bottom: 8px; }
.quote-success p { font-size: 14px; color: #4A8A82; line-height: 1.6; }

/* ── CONTACT PAGE ─────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; max-width: 1100px; margin: 0 auto; }
.contact-info h3 { font-family: var(--font-hero); font-size: 28px; font-weight: 800; color: var(--teal); margin-bottom: 24px; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 28px; }
.contact-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--bg2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-icon svg { width: 22px; height: 22px; fill: var(--teal); }
.contact-item h4 { font-family: var(--font-heading); font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--teal); margin-bottom: 4px; }
.contact-item p { font-size: 14px; color: var(--text); line-height: 1.6; }
.contact-item a { color: var(--teal); text-decoration: none; }
.contact-item a:hover { text-decoration: underline; }

/* ── HERO SLIDESHOW ─────────────────────────────────── */
.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.2s ease-in-out;
}
.hero-slide.active { opacity: 1; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to bottom, rgba(10,38,34,0.75) 0%, rgba(10,38,34,0.55) 40%, rgba(10,38,34,0.8) 100%);
}
.hero-content { z-index: 2; }
.hero-scroll { z-index: 2; }

/* ── SCROLLING PHOTO BANNER ────────────────────────── */
.photo-banner {
  overflow: hidden; background: #0A2622;
  padding: 12px 0; border-bottom: 1px solid rgba(196,146,42,0.15);
}
.photo-banner-track {
  display: flex; gap: 12px; width: max-content;
  animation: bannerScroll 40s linear infinite;
}
.photo-banner-track img {
  height: 120px; width: auto; border-radius: 6px;
  object-fit: cover; flex-shrink: 0;
  filter: brightness(0.85);
  transition: filter 0.3s;
}
.photo-banner-track img:hover { filter: brightness(1.05); }
@keyframes bannerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── ANIMATIONS ──────────────────────────────────────── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.7s cubic-bezier(0.23,1,0.32,1), transform 0.7s cubic-bezier(0.23,1,0.32,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE — Tablet (1024px)
   ══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  nav { padding: 10px 24px; }
  .nav-logo { height: 50px; }
  .nav-links { gap: 20px; }
  .nav-links a { font-size: 12px; }
  .nav-cta { font-size: 12px; padding: 8px 16px; }
  section { padding: 80px 40px; }
  .hero { min-height: 650px; padding-top: 100px; }
  .stats-bar { padding: 32px 40px; }
  .stat-num { font-size: 36px; }
  .object-content { gap: 40px; padding: 0 40px; }
  .object-scene { height: 400px; }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .process-steps::before { display: none; }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .project-card.featured { grid-column: span 2; }
  .cta-band { padding: 80px 40px; }
  footer { padding: 48px 40px 32px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .page-header { padding: 140px 40px 60px; }
  .service-detail { grid-template-columns: 1fr; gap: 32px; }
  .service-detail:nth-child(even) { direction: ltr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE — Mobile (768px)
   ══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  nav { padding: 8px 16px; }
  .nav-logo { height: 50px; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-menu-btn { display: flex; }
  .nav-links.mobile-open {
    display: flex !important; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(10,38,34,0.98); backdrop-filter: blur(20px);
    padding: 20px; gap: 16px;
    border-bottom: 1px solid rgba(196,146,42,0.2);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  }
  .nav-links.mobile-open a { font-size: 16px; padding: 8px 0; }

  section { padding: 60px 20px; }
  .hero { min-height: auto; height: auto; padding: 120px 0 80px; }
  .hero-content { padding: 0 20px; max-width: 100%; }
  .hero-eyebrow { font-size: 12px; }
  .hero-title { font-size: clamp(36px, 10vw, 56px); }
  .hero-sub { font-size: 14px; margin-bottom: 32px; }
  .hero-actions { flex-direction: column; gap: 12px; align-items: center; }
  .btn-primary, .btn-secondary { width: 100%; max-width: 300px; text-align: center; justify-content: center; padding: 14px 28px; font-size: 13px; }
  .hero-scroll { display: none; }
  .orb-1 { width: 300px; height: 300px; }
  .orb-2 { width: 200px; height: 200px; }
  .orb-3 { width: 150px; height: 150px; }

  .stats-bar { grid-template-columns: repeat(2, 1fr); padding: 24px 20px; gap: 16px; }
  .stat { padding: 12px; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); }
  .stat:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.15); }
  .stat:nth-last-child(-n+2) { border-bottom: none; }
  .stat-num { font-size: 32px; }

  .object-section { min-height: auto; padding: 60px 0; }
  .object-content { grid-template-columns: 1fr; gap: 32px; padding: 0 20px; }
  .object-scene { height: 300px; }
  #building3dCanvas { max-height: 300px; }

  .services-grid { grid-template-columns: 1fr; gap: 24px; }
  .services-header .section-title { font-size: clamp(24px, 6vw, 36px) !important; }

  .process-steps { grid-template-columns: 1fr; gap: 32px; }
  .process-steps::before { display: none; }

  .projects-grid { grid-template-columns: 1fr; gap: 12px; }
  .project-card.featured { grid-column: span 1; aspect-ratio: 4/3; }

  .cta-band { padding: 60px 20px; }
  .cta-band-title { font-size: clamp(32px, 8vw, 56px); }
  .cta-actions { flex-direction: column; gap: 12px; align-items: center; }
  .cta-actions .btn-primary, .cta-actions .btn-secondary { width: 100%; max-width: 300px; text-align: center; justify-content: center; }

  footer { padding: 40px 20px 24px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

  .wa-float { bottom: 16px; right: 16px; width: auto; height: 48px; border-radius: 24px; padding: 0 18px; gap: 8px; }
  .wa-float svg { width: 22px; height: 22px; }
  .wa-float::after { content: 'WhatsApp'; font-size: 12px; font-weight: 700; color: #fff; }
  .wa-float-label { display: none; }
  .chat-btn { bottom: 16px; left: 16px; height: 48px; border-radius: 24px; padding: 0 16px; gap: 6px; }
  .chat-btn-ai { font-size: 12px; padding: 2px 6px; }
  .chat-btn-label { font-size: 12px; }
  .chat-btn .chat-badge { display: none; }
  .chat-window { left: 8px; right: 8px; bottom: 76px; width: auto; }

  .page-header { padding: 120px 20px 60px; }
  .page-header h1 { font-size: clamp(32px, 8vw, 48px); }
  .section-title { font-size: clamp(28px, 7vw, 48px) !important; }

  .quote-modal { padding: 32px 24px; width: 95%; }
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE — Small phones (480px)
   ══════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .hero { padding: 120px 0 60px; }
  .hero-title { font-size: clamp(30px, 9vw, 44px); }
  .stats-bar { padding: 20px 16px; }
  .stat-num { font-size: 28px; }
  .object-scene { height: 240px; }
  .cta-band { padding: 48px 16px; }
  .cta-band-title { font-size: clamp(28px, 8vw, 44px); }
  .quote-modal { padding: 24px 16px; }
  .quote-field input, .quote-field textarea { font-size: 16px; }
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE — Large screens / TV (1600px+)
   ══════════════════════════════════════════════════════════ */
@media (min-width: 1600px) {
  nav { padding: 16px 80px; }
  .nav-logo { height: 70px; }
  section { padding: 160px 120px; }
  .stats-bar { padding: 56px 120px; }
  .stat-num { font-size: 64px; }
  .object-content { max-width: 1400px; gap: 120px; }
  .services-grid { max-width: 1100px; }
  .projects-grid { max-width: 1400px; }
  .cta-band { padding: 160px 120px; }
  footer { padding: 80px 120px 48px; }
}
