/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: #F8F6F1;
  color: #1A1A1A;
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ===== TOKENS ===== */
:root {
  --black: #1A1A1A;
  --cream: #F8F6F1;
  --white: #FFFFFF;
  --red: #C0392B;
  --gray: #555555;
  --mid-gray: #999999;
  --light-gray: #F5F5F5;
  --border: #E0E0E0;
  --max-w: 1280px;
  --pad-x: 80px;
}

/* ===== TYPOGRAPHY ===== */
em { font-family: 'DM Serif Display', serif; font-style: italic; font-weight: 400; }
h1, h2, h3 { font-family: 'Inter', sans-serif; font-weight: 700; line-height: 1.1; }

/* ===== LAYOUT ===== */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad-x); }
.section { padding: 100px 0; }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--red); color: #fff;
  border-radius: 100px; padding: 13px 30px;
  font-family: 'Inter', sans-serif; font-weight: 600;
  font-size: 14px; letter-spacing: 0.02em;
  border: none; cursor: pointer;
  transition: background 0.25s, transform 0.2s;
}
.btn-primary:hover { background: #a93226; transform: translateY(-1px); }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent; color: rgba(255,255,255,0.85);
  border: 1.5px solid rgba(255,255,255,0.5);
  border-radius: 100px; padding: 13px 30px;
  font-family: 'Inter', sans-serif; font-weight: 600;
  font-size: 14px; cursor: pointer;
  transition: all 0.25s;
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.8); }

/* ===== SECTION LABELS ===== */
.section-label {
  font-size: 11px; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--red);
  margin-bottom: 14px;
}
.section-label.center { text-align: center; }

.section-title {
  font-size: clamp(36px, 4vw, 52px); font-weight: 700;
  line-height: 1.1; margin-bottom: 48px;
}
.section-title em { font-size: inherit; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.navbar.scrolled {
  background: var(--cream);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
.nav-inner {
  max-width: var(--max-w); margin: 0 auto;
  padding: 0 var(--pad-x);
  display: flex; align-items: center; gap: 40px;
  height: 72px;
}
.logo {
  font-family: 'Inter', sans-serif; font-weight: 800;
  font-size: 22px; color: #fff; margin-right: auto;
  transition: color 0.3s;
}
.navbar.scrolled .logo { color: var(--black); }
.logo .dot { color: var(--red); }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.85);
  transition: color 0.25s;
}
.navbar.scrolled .nav-links a { color: var(--gray); }
.nav-links a:hover, .navbar.scrolled .nav-links a:hover { color: var(--red); }
.nav-cta { margin-left: 8px; }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px; background: #fff;
  transition: all 0.3s;
}
.navbar.scrolled .hamburger span { background: var(--black); }

/* Mobile Drawer */
.mobile-drawer {
  position: fixed; top: 0; right: -100%; width: 300px; height: 100vh;
  background: var(--white); z-index: 2000;
  padding: 80px 40px 40px;
  display: flex; flex-direction: column; gap: 24px;
  transition: right 0.35s cubic-bezier(0.4,0,0.2,1);
  box-shadow: -8px 0 40px rgba(0,0,0,0.12);
}
.mobile-drawer.open { right: 0; }
.mobile-drawer ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.drawer-link {
  font-size: 20px; font-weight: 700; color: var(--black);
  display: block; padding: 10px 0; border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.drawer-link:hover { color: var(--red); }
.drawer-close {
  position: absolute; top: 24px; right: 24px;
  background: none; border: none; font-size: 20px;
  cursor: pointer; color: var(--gray);
}
.drawer-cta { margin-top: 16px; }
.drawer-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.4);
  z-index: 1999; opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
.drawer-overlay.active { opacity: 1; pointer-events: all; }

/* ===== HERO ===== */
.hero {
  position: relative; height: 100vh; min-height: 600px;
  display: flex; align-items: flex-end;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(15,15,15,0.72) 0%, rgba(15,15,15,0.45) 60%, rgba(15,15,15,0.55) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: var(--max-w); margin: 0 auto; width: 100%;
  padding: 0 var(--pad-x) 80px;
}
.hero-tag {
  display: block; font-size: 11px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--red); margin-bottom: 20px;
}
.hero-h1 {
  font-size: clamp(52px, 7vw, 88px); font-weight: 800;
  color: #fff; line-height: 1.05; margin-bottom: 24px;
}
.hero-italic {
  font-size: clamp(48px, 6.5vw, 80px);
  display: block; margin-top: 4px;
}
.hero-sub {
  font-size: 16px; color: rgba(255,255,255,0.7);
  max-width: 440px; line-height: 1.7; margin-bottom: 36px;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-slide-indicator {
  position: absolute; bottom: 48px; right: var(--pad-x);
  z-index: 2; text-align: right;
  display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
}
.slide-label { font-size: 11px; color: rgba(255,255,255,0.55); letter-spacing: 0.08em; }
.slide-thumb {
  width: 80px; height: 60px; border-radius: 8px; overflow: hidden;
  border: 1.5px solid rgba(255,255,255,0.3);
}
.slide-thumb img { width: 100%; height: 100%; object-fit: cover; }
.slide-dots { display: flex; gap: 6px; align-items: center; }
.slide-dots span {
  width: 20px; height: 2px; background: rgba(255,255,255,0.35);
  border-radius: 2px; transition: background 0.3s;
}
.slide-dots .dot-active { background: #fff; width: 32px; }

/* ===== SERVICES ===== */
.services-section { background: var(--cream); }
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden;
}
.service-card {
  background: var(--white); padding: 36px 32px;
  transition: background 0.25s;
  display: flex; flex-direction: column; gap: 12px;
}
.service-card:hover { background: #fafafa; }
.service-num {
  font-size: 11px; font-weight: 700; color: var(--red);
  letter-spacing: 0.1em;
}
.service-card h3 { font-size: 20px; font-weight: 700; }
.service-card p { font-size: 14px; color: var(--gray); line-height: 1.65; flex: 1; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span {
  font-size: 11px; font-weight: 600; letter-spacing: 0.04em;
  border: 1px solid var(--border); border-radius: 100px;
  padding: 4px 12px; color: var(--mid-gray);
}
.service-link {
  font-size: 13px; font-weight: 600; color: var(--red);
  margin-top: 4px; display: inline-flex; align-items: center; gap: 4px;
  transition: gap 0.2s;
}
.service-link:hover { gap: 8px; }

/* ===== CASE STUDIES ===== */
.casestudies-section { background: var(--light-gray); }
.cs-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 48px; gap: 24px; flex-wrap: wrap;
}
.cs-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-btn {
  font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 500;
  padding: 8px 20px; border-radius: 100px;
  border: 1.5px solid var(--border); background: transparent;
  color: var(--gray); cursor: pointer; transition: all 0.2s;
}
.filter-btn.active, .filter-btn:hover {
  background: var(--black); color: #fff; border-color: var(--black);
}
.cs-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.cs-card {
  background: var(--white); border-radius: 12px; overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.3s, box-shadow 0.3s;
}
.cs-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.1); }
.cs-card.hidden { display: none; }
.cs-thumb {
  position: relative; aspect-ratio: 4/3; overflow: hidden;
}
.cs-thumb-bg { width: 100%; height: 100%; }
.cs-bg-1 { background: linear-gradient(135deg, #2c1810 0%, #8B4513 50%, #D2691E 100%); }
.cs-bg-2 { background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%); }
.cs-bg-3 { background: linear-gradient(135deg, #1a0a00 0%, #7B3F00 50%, #C0392B 100%); }
.cs-bg-4 { background: linear-gradient(135deg, #0a0a1a 0%, #1a1a3e 50%, #2d2d6b 100%); }
.cs-bg-5 { background: linear-gradient(135deg, #1a0010 0%, #6b0032 50%, #c0006b 100%); }
.cs-bg-6 { background: linear-gradient(135deg, #001a0a 0%, #006b32 50%, #00c05a 100%); }
.cs-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 60%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 20px; opacity: 0; transition: opacity 0.3s;
}
.cs-thumb:hover .cs-overlay { opacity: 1; }
.cs-cat {
  font-size: 11px; font-weight: 600; color: var(--red);
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 4px;
}
.cs-overlay h3 { color: #fff; font-size: 18px; }
.cs-info {
  padding: 16px 20px;
  display: flex; justify-content: space-between; align-items: center;
}
.cs-info h4 { font-size: 15px; font-weight: 700; margin-bottom: 2px; }
.cs-year { font-size: 12px; color: var(--mid-gray); }
.cs-arrow {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1.5px solid var(--border); display: flex; align-items: center;
  justify-content: center; font-size: 16px;
  transition: all 0.2s;
}
.cs-arrow:hover { background: var(--black); color: #fff; border-color: var(--black); }

/* ===== ABOUT ===== */
.about-section { background: var(--cream); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start;
}
.about-title { font-size: clamp(32px, 3.5vw, 44px); margin-bottom: 24px; }
.about-body { font-size: 16px; color: var(--gray); line-height: 1.75; margin-bottom: 32px; }
.about-mission {
  padding: 24px; border-left: 3px solid var(--red);
  background: var(--white); border-radius: 0 12px 12px 0;
  margin-bottom: 40px;
}
.about-mission-label { font-size: 11px; font-weight: 600; color: var(--red); letter-spacing: 0.1em; margin-bottom: 8px; }
.about-mission p { font-size: 15px; color: var(--gray); line-height: 1.7; }
.stats-row { display: flex; gap: 40px; }
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-val { display: flex; align-items: baseline; gap: 2px; line-height: 1; }
.stat-num {
  font-size: 48px; font-weight: 800; color: var(--black);
  line-height: 1;
}
.stat-plus { font-size: 32px; font-weight: 800; color: var(--red); line-height: 1; }
.stat-label { font-size: 13px; color: var(--mid-gray); }

.about-img-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.about-img { border-radius: 12px; overflow: hidden; }
.about-img-main { grid-column: 1 / -1; }
.about-img-placeholder {
  width: 100%; height: 220px; display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
}
.about-img-main .about-img-placeholder { height: 280px; }
.ai-1 { background: linear-gradient(135deg, #1a1a1a 0%, #3d3d3d 100%); }
.ai-2 { background: linear-gradient(135deg, #2c1810 0%, #6b3520 100%); }
.ai-content { display: flex; flex-direction: column; align-items: center; gap: 8px; color: rgba(255,255,255,0.6); }
.ai-icon { font-size: 28px; }
.ai-content span { font-size: 13px; letter-spacing: 0.06em; }

.about-values { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 16px; }
.value-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px; background: var(--white); border-radius: 10px;
  border: 1px solid var(--border);
}
.value-icon { color: var(--red); font-size: 14px; margin-top: 2px; flex-shrink: 0; }
.value-item strong { font-size: 14px; font-weight: 700; display: block; margin-bottom: 2px; }
.value-item p { font-size: 13px; color: var(--gray); line-height: 1.5; margin: 0; }

/* ===== TESTIMONIALS ===== */
.testimonial-section { background: var(--black); }
.testimonial-section .section-label { color: var(--red); }
.testimonial-section .section-title { color: #fff; text-align: center; }
.testimonial-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.testi-card {
  background: #242424; border-radius: 16px; padding: 32px;
  border: 1px solid #333; transition: border-color 0.3s;
  position: relative;
}
.testi-card:hover { border-color: var(--red); }
.featured-testi {
  background: var(--red); border-color: var(--red);
}
.testi-quote {
  font-family: 'DM Serif Display', serif; font-size: 64px; line-height: 1;
  color: rgba(255,255,255,0.2); margin-bottom: 12px;
}
.testi-text {
  font-size: 15px; color: rgba(255,255,255,0.85); line-height: 1.75;
  margin-bottom: 28px;
}
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px; color: #fff; flex-shrink: 0;
}
.av-1 { background: #6b3520; }
.av-2 { background: rgba(255,255,255,0.25); }
.av-3 { background: #1a3a6b; }
.testi-author strong { font-size: 14px; color: #fff; display: block; }
.testi-author span { font-size: 12px; color: rgba(255,255,255,0.55); }
.featured-testi .testi-author span { color: rgba(255,255,255,0.75); }

/* ===== CONTACT ===== */
.contact-section { background: var(--cream); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: start; }
.contact-title { font-size: clamp(36px, 4vw, 52px); margin-bottom: 8px; }
.contact-sub { font-size: 14px; color: var(--mid-gray); margin-bottom: 40px; }
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.ci-item { display: flex; gap: 16px; align-items: flex-start; }
.ci-icon { font-size: 20px; color: var(--red); flex-shrink: 0; margin-top: 2px; }
.ci-item strong { font-size: 14px; font-weight: 700; display: block; margin-bottom: 4px; }
.ci-item p { font-size: 14px; color: var(--gray); margin: 0; }
.social-links { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.social-link {
  font-size: 13px; font-weight: 600; color: var(--red);
  border-bottom: 1px solid var(--red); transition: opacity 0.2s;
}
.social-link:hover { opacity: 0.7; }

.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 13px; font-weight: 500; color: var(--black); }
.form-group input,
.form-group select,
.form-group textarea {
  font-family: 'Inter', sans-serif; font-size: 14px;
  padding: 12px 16px; border-radius: 10px;
  border: 1.5px solid var(--border); background: var(--white);
  color: var(--black); transition: border-color 0.25s;
  outline: none; width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--black); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-submit { align-self: flex-start; }
.form-note { font-size: 12px; color: var(--mid-gray); }

.form-success {
  text-align: center; padding: 60px 40px;
  background: var(--white); border-radius: 16px;
  border: 1px solid var(--border);
}
.success-icon {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--red); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 700; margin: 0 auto 20px;
}
.form-success h3 { font-size: 24px; margin-bottom: 12px; }
.form-success p { color: var(--gray); font-size: 15px; }

/* ===== FOOTER ===== */
.footer { background: var(--black); color: rgba(255,255,255,0.75); padding: 60px 0 32px; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; margin-bottom: 48px; }
.footer-brand { max-width: 280px; }
.footer .logo { color: #fff; }
.footer-tagline { font-size: 14px; color: rgba(255,255,255,0.45); margin-top: 12px; }
.footer-links { display: flex; gap: 60px; }
.fl-col { display: flex; flex-direction: column; gap: 10px; }
.fl-col strong { font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.fl-col a { font-size: 13px; color: rgba(255,255,255,0.5); transition: color 0.2s; }
.fl-col a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.08);
  flex-wrap: wrap; gap: 12px;
}
.copyright { font-size: 13px; color: rgba(255,255,255,0.35); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 13px; color: rgba(255,255,255,0.35); transition: color 0.2s; }
.footer-legal a:hover { color: rgba(255,255,255,0.7); }

/* ===== WA FLOAT ===== */
.wa-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 54px; height: 54px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform 0.25s, box-shadow 0.25s;
}
.wa-float svg { width: 26px; height: 26px; }
.wa-float:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(37,211,102,0.55); }

/* ===== REVEAL ANIMATION ===== */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  :root { --pad-x: 40px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .cs-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-links { gap: 32px; }
}

@media (max-width: 768px) {
  :root { --pad-x: 20px; }
  .section { padding: 64px 0; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .cs-grid { grid-template-columns: 1fr; }
  .cs-header { flex-direction: column; align-items: flex-start; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .hero-h1 { font-size: 44px; }
  .hero-italic { font-size: 40px; }
  .hero-slide-indicator { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .stats-row { gap: 24px; }
  .footer-top { flex-direction: column; }
  .footer-links { flex-wrap: wrap; gap: 24px; }
  .about-img-grid { grid-template-columns: 1fr; }
  .about-img-main { grid-column: auto; }
}
