*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --primary: #007f8b; --primary-light: #00b9c5; --primary-bg: #EFFEFE;
  --text-dark: #11271F; --text-mid: #374151; --text-soft: #6B7280;
  --bg-page: #F5FBFB; --bg-white: #ffffff; --border: #E5EBE9;
  --radius: 16px; --shadow: 0 4px 24px rgba(0, 127, 139,0.08);
}
body { font-family: 'Inter', sans-serif; background: var(--bg-page); color: var(--text-dark); line-height: 1.6; }

.breadcrumb { padding: 14px 40px; font-size: 13px; color: var(--text-soft); background: var(--bg-white); border-bottom: 1px solid var(--border); }
.breadcrumb a { color: var(--primary); text-decoration: none; }
.breadcrumb span { margin: 0 6px; }

/* HERO */
.hero { background: var(--bg-white); padding: 72px 40px 64px; }
.hero-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-top: 50px; }
.hero-eyebrow { display: inline-block; color: var(--primary); font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 16px; }
.hero h1 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; line-height: 1.15; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--primary); }
.hero p { font-size: 16px; color: var(--text-mid); line-height: 1.75; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary { background: var(--primary); color: #fff; padding: 14px 28px; border-radius: 50px; font-size: 15px; font-weight: 600; text-decoration: none; transition: background .2s, transform .15s; display: inline-block; }
.btn-primary:hover { background: var(--primary-light); transform: translateY(-1px); }

.hero-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat-card { background: var(--bg-page); border-radius: var(--radius); padding: 24px 20px; text-align: center; }
.stat-card .stat-num { font-size: 36px; font-weight: 800; color: var(--primary); display: block; }
.stat-card .stat-label { font-size: 13px; color: var(--text-soft); margin-top: 4px; }
.stat-card.wide { grid-column: span 2; background: var(--primary); }
.stat-card.wide .stat-num { color: #fff; }
.stat-card.wide .stat-label { color: rgba(255,255,255,0.8); }

/* SECTIONS */
.section { padding: 72px 40px; max-width: 1200px; margin: 0 auto; }
.section-tag { color: var(--primary); font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; display: block; text-align: center; margin-bottom: 14px; }
.section-title { font-size: clamp(26px, 3vw, 38px); font-weight: 800; text-align: center; margin-bottom: 14px; }
.section-sub { text-align: center; color: var(--text-soft); font-size: 16px; max-width: 600px; margin: 0 auto 48px; line-height: 1.7; }

/* FILTERS */
.ref-filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-bottom: 48px; }
.filter-btn { background: var(--bg-white); color: var(--primary); border: 2px solid var(--primary); padding: 10px 22px; border-radius: 50px; font-size: 13px; font-weight: 600; font-family: 'Inter', sans-serif; cursor: pointer; transition: all .2s; }
.filter-btn:hover, .filter-btn.active { background: var(--primary); color: #fff; }

/* REFERENCES GRID */
.refs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ref-card { background: var(--bg-white); border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow); text-align: center; transition: transform .2s, box-shadow .2s; }
.ref-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(0, 127, 139,0.14); }
.ref-card.is-hidden { display: none; }
.ref-avatar { width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 20px; background: var(--primary-bg); background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; font-size: 28px; color: var(--primary); }
.ref-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.ref-category { display: inline-block; color: var(--primary); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }
.ref-card p { font-size: 14px; color: var(--text-soft); line-height: 1.7; }
.refs-empty { text-align: center; color: var(--text-soft); padding: 40px 0; grid-column: 1 / -1; }

/* TESTIMONIAL */
.testimonial-section { background: var(--primary); border-radius: 24px; padding: 64px 48px; text-align: center; max-width: 1120px; margin: 0 auto 72px; }
.testimonial-section h2 { color: #fff; font-size: clamp(24px, 3vw, 32px); font-weight: 800; margin-bottom: 18px; }
.testimonial-section p { color: rgba(255,255,255,0.9); font-size: 17px; max-width: 760px; margin: 0 auto; line-height: 1.75; }
.testimonial-source { margin-top: 18px; color: rgba(255,255,255,0.7); font-weight: 600; font-size: 14px; }

/* CTA */
.cta-wrap { padding: 0 40px 72px; }
.cta-section { background: var(--text-dark); border-radius: 24px; padding: 64px 48px; text-align: center; max-width: 1120px; margin: 0 auto; }
.cta-section h2 { color: #fff; font-size: clamp(24px, 3vw, 36px); font-weight: 800; margin-bottom: 14px; }
.cta-section p { color: rgba(255,255,255,0.75); font-size: 16px; margin-bottom: 32px; line-height: 1.65; }
.btn-white { background: #fff; color: var(--primary); padding: 14px 32px; border-radius: 50px; font-size: 15px; font-weight: 700; text-decoration: none; transition: opacity .2s; display: inline-block; }
.btn-white:hover { opacity: .9; }

footer { background: var(--text-dark); color: rgba(255,255,255,0.7); text-align: center; padding: 28px 40px; font-size: 13px; }
footer a { color: var(--primary-light); text-decoration: none; }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .refs-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 48px 24px; }
  nav { padding: 14px 24px; }
  .topbar { padding: 8px 24px; font-size: 12px; }
}
@media (max-width: 560px) {
  .refs-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
