:root {
  --green: #0F4D3A;
  --green-light: #1a6b52;
  --red: #B71C1C;
  --gold: #D4AF37;
  --gold-light: #f0d878;
  --secondary: #1a1a2e;
  --gray: #6b7280;
  --light: #F8F4EE;
  --white: #ffffff;
  --radius: 12px;
  --radius-lg: 16px;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition: all .3s cubic-bezier(.4,0,.2,1);
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,.1);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--secondary);
  background: var(--light);
  line-height: 1.65;
  font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Header */
.case-header {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.header-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--green);
  letter-spacing: -0.5px;
}
.header-logo span { color: var(--red); }
.header-nav { display: flex; align-items: center; gap: 6px; }
.header-nav a {
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: 600;
  font-size: .9rem;
  color: var(--secondary);
  transition: var(--transition);
}
.header-nav a:hover { color: var(--red); background: rgba(183,28,28,.05); }
.header-nav .header-cta {
  background: var(--red);
  color: var(--white);
  font-weight: 700;
}
.header-nav .header-cta:hover { background: #8f1515; color: var(--white); }

/* Hero */
.hero-section {
  background: linear-gradient(135deg, var(--green) 0%, #1A4A3A 100%);
  padding: 100px 0 90px;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  top: -40%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212,175,55,.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -10%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(255,255,255,.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-section .container { position: relative; z-index: 1; }
.hero-badge {
  display: inline-block;
  background: rgba(212,175,55,.2);
  color: var(--gold-light);
  padding: 7px 20px;
  border-radius: 30px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
  border: 1px solid rgba(212,175,55,.35);
}
.hero-section h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.15;
}
.hero-section h1 span { font-size: .55em; font-weight: 500; opacity: .9; display: block; margin-top: 8px; }
.hero-sub {
  font-size: 1.1rem;
  opacity: .92;
  max-width: 680px;
  margin: 0 auto 32px;
  line-height: 1.7;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 820px;
  margin: 0 auto;
}
.stat {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  padding: 18px 12px;
  backdrop-filter: blur(4px);
}
.stat strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 4px;
  color: var(--gold-light);
}
.stat small {
  display: block;
  font-size: .75rem;
  opacity: .85;
  text-transform: uppercase;
  letter-spacing: .5px;
}

/* Snapshot */
.snapshot-section { padding: 70px 0 40px; }
.snapshot-section h2 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 28px;
  text-align: center;
  color: var(--secondary);
}
.snapshot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.snap-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,.04);
}
.snap-card h3 {
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold);
  margin-bottom: 8px;
}
.snap-card p {
  font-size: .95rem;
  color: var(--secondary);
  font-weight: 600;
  line-height: 1.5;
}

/* Challenge & Solution */
.challenge-section,
.solution-section { padding: 50px 0; }
.challenge-grid,
.solution-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.challenge-section h2,
.solution-section h2 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--secondary);
}
.challenge-section p,
.solution-section p {
  color: var(--gray);
  margin-bottom: 18px;
  line-height: 1.75;
}
.challenge-section ul,
.solution-section ul { padding-left: 0; }
.challenge-section li,
.solution-section li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  color: var(--secondary);
  font-size: .95rem;
  line-height: 1.6;
}
.challenge-section li::before,
.solution-section li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  background: var(--gold);
  border-radius: 50%;
}
.solution-section li strong { color: var(--green); font-weight: 700; }
.challenge-image,
.solution-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--white);
}
.challenge-image img,
.solution-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
}

/* Products Delivered */
.products-section { padding: 70px 0; background: var(--white); }
.products-section .section-title,
.library-section h2,
.section .section-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 10px;
  color: var(--secondary);
}
.products-section .section-sub,
.library-section p,
.section .section-sub {
  text-align: center;
  color: var(--gray);
  max-width: 640px;
  margin: 0 auto 36px;
  font-size: .95rem;
}
.pd-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
.pd-cat {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  align-items: center;
  background: var(--light);
  border-radius: var(--radius-lg);
  padding: 20px;
  border: 1px solid rgba(0,0,0,.04);
}
.pd-cat-visual {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.pd-cat-visual img {
  width: 100%;
  height: 120px;
  object-fit: contain;
  padding: 8px;
}
.pd-cat-info h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--secondary);
}
.pd-cat-info p {
  font-size: .9rem;
  color: var(--gray);
  line-height: 1.6;
}

/* Gallery */
.library-section { padding: 60px 0; background: var(--light); }
.lib-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--green);
  color: var(--white);
  border: none;
  padding: 14px 28px;
  border-radius: 30px;
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
}
.lib-toggle-btn:hover { background: var(--green-light); transform: translateY(-2px); }
.library-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .5s ease;
}
.library-panel.open { max-height: 3000px; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  padding-top: 32px;
}
.gallery-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
  background: #eee;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.gallery-grid img:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

/* Video */
video { width: 100%; display: block; }

/* Result cards */
.result-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.result-card {
  background: var(--light);
  border-radius: var(--radius-lg);
  padding: 26px;
  border: 1px solid rgba(0,0,0,.04);
}
.result-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--secondary);
}
.result-card p {
  font-size: .9rem;
  color: var(--gray);
  line-height: 1.6;
}

/* CTA */
.cta-section {
  background: linear-gradient(135deg, var(--red), #8f1515);
  padding: 80px 0;
  text-align: center;
  color: var(--white);
}
.cta-section h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin-bottom: 14px;
}
.cta-section p {
  opacity: .9;
  max-width: 540px;
  margin: 0 auto 28px;
}
.cta-btn {
  display: inline-block;
  background: var(--white);
  color: var(--red);
  padding: 16px 32px;
  border-radius: 30px;
  font-weight: 800;
  font-size: 1rem;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
}
.cta-btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

/* Footer */
footer { background: var(--secondary); color: rgba(255,255,255,.75); padding: 60px 0 0; }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand .logo-text {
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.5rem;
  margin-bottom: 14px;
}
.footer-brand p { font-size: .9rem; line-height: 1.7; opacity: .8; }
.footer-col h4 {
  color: var(--white);
  font-size: .9rem;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-col a,
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  display: block;
  font-size: .85rem;
  opacity: .8;
  transition: var(--transition);
}
.footer-col a:hover { color: var(--gold); opacity: 1; }
.footer-bottom {
  padding: 22px 0;
  text-align: center;
  font-size: .82rem;
  opacity: .7;
  border-top: 1px solid rgba(255,255,255,.05);
}

/* Responsive */
@media (max-width: 992px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .snapshot-grid { grid-template-columns: repeat(2, 1fr); }
  .challenge-grid,
  .solution-grid { grid-template-columns: 1fr; gap: 32px; }
  .pd-row { grid-template-columns: 1fr; }
  .result-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .header-inner { height: 64px; }
  .header-nav { display: none; }
  .hero-section { padding: 70px 0 60px; }
  .hero-section h1 { font-size: 1.8rem; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat strong { font-size: 1.05rem; }
  .stat small { font-size: .65rem; }
  .snapshot-grid { grid-template-columns: 1fr; }
  .pd-cat { grid-template-columns: 1fr; text-align: center; }
  .pd-cat-visual img { height: 160px; }
  .result-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
