/* Layout: full-bleed sections with contained inner content, Promitto-style stacked pages */
:root {
  --bg: #FFFFFF;
  --bg-alt: #F7F8FA;
  --fg: #1A1D21;
  --fg-muted: #64696F;
  --fg-light: #8C9196;
  --primary: #1B4F72;
  --primary-dark: #154360;
  --primary-light: #2980B9;
  --primary-glow: rgba(27,79,114,0.07);
  --accent: #D4731A;
  --accent-light: rgba(212,115,26,0.1);
  --surface: #FFFFFF;
  --border: #E2E5E9;
  --border-light: #EEF0F2;
  --success: #1D8348;
  --blue-section: #1B4F72;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-w: 1140px;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0F1215; --bg-alt: #181B1F; --fg: #E6E8EB; --fg-muted: #9DA2A8; --fg-light: #6B7178;
    --primary: #5DADE2; --primary-dark: #85C1E9; --primary-light: #AED6F1; --primary-glow: rgba(93,173,226,0.08);
    --accent: #E8922D; --accent-light: rgba(232,146,45,0.12);
    --surface: #1A1D21; --border: #2A2E33; --border-light: #222529;
    --success: #52BE80; --blue-section: #14374F;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0F1215; --bg-alt: #181B1F; --fg: #E6E8EB; --fg-muted: #9DA2A8; --fg-light: #6B7178;
  --primary: #5DADE2; --primary-dark: #85C1E9; --primary-light: #AED6F1; --primary-glow: rgba(93,173,226,0.08);
  --accent: #E8922D; --accent-light: rgba(232,146,45,0.12);
  --surface: #1A1D21; --border: #2A2E33; --border-light: #222529;
  --success: #52BE80; --blue-section: #14374F;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
body {
  background: var(--bg); color: var(--fg);
  font-family: var(--font-body); line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  padding-block: 0;
  padding-left: var(--gutter); padding-right: var(--gutter-r);
  margin: 0;
}

/* NAV — sticky, clean */
.nav {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 100;
  background: var(--bg); border-bottom: 1px solid var(--border);
  margin-inline: calc(-1 * var(--gutter));
  padding-left: var(--gutter); padding-right: var(--gutter-r);
}
.nav-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 10px; gap: 16px;
}
.logo { cursor: pointer; text-decoration: none; display: flex; align-items: center; }
.logo img { height: 52px; width: auto; }
@media(max-width:600px){ .logo img { height: 38px; } }
.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-links a {
  color: var(--fg-muted); text-decoration: none; font-size: 0.82rem; font-weight: 500;
  padding: 7px 14px; border-radius: 6px; cursor: pointer;
  transition: background 0.15s, color 0.15s; white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { background: var(--primary-glow); color: var(--primary); }
.nav-links a.active { font-weight: 700; }
.nav-links .nav-cta {
  background: var(--primary); color: #fff; font-weight: 600;
  padding: 8px 20px; border-radius: 8px; margin-left: 8px;
}
.nav-links .nav-cta:hover { background: var(--primary-dark); color: #fff; }
@media(max-width:768px) { .nav-links { display: none; } .mob-btn { display: flex; } }
@media(min-width:769px) { .mob-btn { display: none; } }
.mob-btn {
  background: none; border: 1px solid var(--border); border-radius: 8px;
  padding: 8px 14px; color: var(--fg); font-size: 0.82rem; font-weight: 600;
  cursor: pointer; font-family: var(--font-body);
}
.mob-nav {
  display: none; flex-direction: column; gap: 2px;
  padding: 10px var(--gutter) 16px; background: var(--bg);
  border-bottom: 1px solid var(--border);
  margin-inline: calc(-1 * var(--gutter));
}
.mob-nav.open { display: flex; }
.mob-nav a {
  color: var(--fg); text-decoration: none; font-size: 0.9rem; font-weight: 500;
  padding: 12px 14px; border-radius: 8px; cursor: pointer;
}
.mob-nav a:hover, .mob-nav a.active { background: var(--primary-glow); color: var(--primary); }

/* PAGE SYSTEM */
/* Multi-page site - no SPA page toggling needed */
.inner { max-width: var(--max-w); margin: 0 auto; }

/* HERO */
.hero {
  position: relative; min-height: 520px;
  margin-inline: calc(-1 * var(--gutter));
  padding: 100px var(--gutter) 80px;
  display: flex; align-items: flex-end;
  background-size: cover; background-position: center 30%;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,18,28,0.3) 0%, rgba(8,18,28,0.85) 100%);
}
.hero-content { position: relative; z-index: 1; max-width: var(--max-w); margin: 0 auto; width: 100%; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.12); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: #fff; font-size: 0.74rem; font-weight: 600; padding: 6px 16px;
  border-radius: 24px; letter-spacing: 0.05em; margin-bottom: 20px;
  border: 1px solid rgba(255,255,255,0.15);
}
.hero h1 {
  font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.12; margin: 0 0 16px; color: #fff; max-width: 600px;
  text-wrap: balance; font-weight: 700;
}
.hero h1 em { font-style: normal; color: #F0C27A; }
.hero-sub {
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: rgba(255,255,255,0.6); margin-bottom: 16px;
}
.hero p {
  color: rgba(255,255,255,0.85); font-size: 1rem; line-height: 1.8;
  max-width: 520px; margin: 0 0 32px;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-size: 0.86rem; font-weight: 600;
  padding: 12px 28px; border-radius: 8px; border: none; cursor: pointer;
  text-decoration: none; transition: all 0.2s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #c06815; }
.btn-outline { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.4); }
.btn-outline:hover { background: rgba(255,255,255,0.1); }
.btn-blue { background: var(--primary); color: #fff; }
.btn-blue:hover { background: var(--primary-dark); }

.hero-stats {
  display: flex; gap: 40px; flex-wrap: wrap; margin-top: 40px;
  padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-stat-num {
  font-family: var(--font-display); font-size: 2rem; color: #F0C27A; line-height: 1;
}
.hero-stat-label { font-size: 0.76rem; color: rgba(255,255,255,0.6); margin-top: 4px; font-weight: 500; }

/* SECTION HEADINGS */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
.section-label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--primary); margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-display); font-size: clamp(1.5rem, 3.5vw, 2rem);
  line-height: 1.2; margin: 0 0 12px; text-wrap: balance; font-weight: 700;
}
.section-desc {
  color: var(--fg-muted); font-size: 0.92rem; max-width: 560px; line-height: 1.7; margin-bottom: 40px;
}

/* SERVICE CARDS (Promitto-style packages) */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  padding: 32px 28px; transition: border-color 0.2s, box-shadow 0.2s;
  display: flex; flex-direction: column;
}
.svc-card:hover { border-color: var(--primary); box-shadow: 0 8px 32px rgba(27,79,114,0.08); }
.svc-icon {
  width: 52px; height: 52px; border-radius: 12px; background: var(--primary-glow);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 20px; color: var(--primary);
}
.svc-card h3 {
  font-family: var(--font-display); font-size: 1.2rem; margin: 0 0 10px; font-weight: 700;
}
.svc-card > p {
  font-size: 0.86rem; color: var(--fg-muted); line-height: 1.65; margin: 0 0 20px;
}
.svc-features { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; }
.svc-features li {
  font-size: 0.84rem; color: var(--fg-muted); padding: 6px 0 6px 24px;
  position: relative; line-height: 1.5;
}
.svc-features li::before {
  content: '✓'; position: absolute; left: 0; color: var(--success); font-weight: 700; font-size: 0.8rem;
}
.svc-card .btn { align-self: flex-start; }

/* STATS BAR */
.stats-bar {
  background: var(--blue-section);
  margin-inline: calc(-1 * var(--gutter));
  padding: 48px var(--gutter);
}
.stats-grid {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center;
}
@media(max-width:600px){ .stats-grid { grid-template-columns: repeat(2, 1fr); } }
.stat-number {
  font-family: var(--font-display); font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: #F0C27A; line-height: 1; font-weight: 700;
}
.stat-text { font-size: 0.8rem; color: rgba(255,255,255,0.75); margin-top: 6px; font-weight: 500; }

/* WHY CHOOSE US */
.why-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.why-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 28px 24px; transition: border-color 0.2s;
}
.why-card:hover { border-color: var(--primary); }
.why-icon {
  width: 44px; height: 44px; border-radius: 10px; background: var(--primary-glow);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; margin-bottom: 16px;
}
.why-card h4 { font-size: 0.92rem; font-weight: 700; margin: 0 0 8px; }
.why-card p { font-size: 0.82rem; color: var(--fg-muted); line-height: 1.65; margin: 0; }

/* CTA SECTION */
.cta-section {
  background: var(--blue-section);
  margin-inline: calc(-1 * var(--gutter));
  padding: 64px var(--gutter);
  text-align: center;
}
.cta-section .inner { max-width: 700px; }
.cta-section h2 {
  font-family: var(--font-display); color: #fff;
  font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 0 0 14px; text-wrap: balance;
}
.cta-section p { color: rgba(255,255,255,0.8); font-size: 0.92rem; margin: 0 0 32px; line-height: 1.7; }
.cta-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; text-align: left; }
.cta-card {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px; padding: 24px 20px; cursor: pointer;
  transition: background 0.2s; text-decoration: none;
}
.cta-card:hover { background: rgba(255,255,255,0.14); }
.cta-card-icon { font-size: 1.4rem; margin-bottom: 12px; }
.cta-card h4 { font-size: 0.88rem; font-weight: 700; color: #fff; margin: 0 0 6px; }
.cta-card p { font-size: 0.78rem; color: rgba(255,255,255,0.7); margin: 0; line-height: 1.5; }

/* TESTIMONIALS */
.test-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.test-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  padding: 28px 24px;
}
.test-stars { color: var(--accent); font-size: 0.9rem; margin-bottom: 14px; letter-spacing: 2px; }
.test-card blockquote {
  margin: 0 0 18px; font-size: 0.88rem; color: var(--fg-muted); line-height: 1.7;
  font-style: italic;
}
.test-author { display: flex; align-items: center; gap: 12px; }
.test-avatar {
  width: 42px; height: 42px; border-radius: 50%; background: var(--primary-glow);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 0.9rem; color: var(--primary); font-weight: 700;
}
.test-name { font-size: 0.84rem; font-weight: 700; }
.test-role { font-size: 0.74rem; color: var(--fg-muted); }

/* ABOUT PAGE */
.about-hero {
  position: relative; min-height: 320px;
  margin-inline: calc(-1 * var(--gutter));
  padding: 80px var(--gutter) 60px;
  display: flex; align-items: center;
  background: var(--primary);
}
.about-hero .inner { position: relative; z-index: 1; }
.about-hero h1 {
  font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: #fff; margin: 0 0 14px; text-wrap: balance;
}
.about-hero p { color: rgba(255,255,255,0.85); font-size: 1rem; max-width: 560px; margin: 0; line-height: 1.8; }

.purpose-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.purpose-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  padding: 32px 28px; position: relative; overflow: hidden;
}
.purpose-label {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--primary); margin-bottom: 12px;
}
.purpose-card h3 {
  font-family: var(--font-display); font-size: 1.2rem; margin: 0 0 10px;
}
.purpose-card p { font-size: 0.86rem; color: var(--fg-muted); line-height: 1.7; margin: 0; }
.purpose-card ul { list-style: none; padding: 0; margin: 10px 0 0; }
.purpose-card li {
  font-size: 0.84rem; color: var(--fg-muted); padding: 4px 0 4px 20px;
  position: relative; line-height: 1.6;
}
.purpose-card li::before {
  content: ''; position: absolute; left: 0; top: 10px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
}
.about-story { max-width: 680px; }
.about-story p {
  font-size: 0.92rem; color: var(--fg-muted); line-height: 1.85; margin: 0 0 18px;
}
.about-story p:last-child { margin-bottom: 0; }

/* TEAM */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.team-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  padding: 32px 24px; text-align: center;
}
.team-avatar {
  width: 72px; height: 72px; border-radius: 50%; background: var(--primary-glow);
  margin: 0 auto 16px; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.4rem; color: var(--primary); font-weight: 700;
}
.team-card h3 { font-family: var(--font-display); font-size: 1.1rem; margin: 0 0 4px; }
.team-role {
  font-size: 0.72rem; font-weight: 600; color: var(--accent);
  text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px;
}
.team-card p { font-size: 0.82rem; color: var(--fg-muted); line-height: 1.65; margin: 0; text-align: left; }

/* PROJECTS & DESIGNS */
.proj-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.proj-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px; overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.proj-card:hover { border-color: var(--primary); box-shadow: 0 8px 32px rgba(27,79,114,0.08); }
.proj-img {
  width: 100%; height: 220px; object-fit: cover; background: var(--bg-alt);
  display: flex; align-items: center; justify-content: center;
  color: var(--fg-light); font-size: 0.82rem;
}
.proj-img svg { width: 48px; height: 48px; opacity: 0.3; }
.proj-body { padding: 20px 24px; }
.proj-body h3 { font-family: var(--font-display); font-size: 1.05rem; margin: 0 0 6px; }
.proj-meta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.proj-meta span { font-size: 0.76rem; color: var(--fg-muted); display: flex; align-items: center; gap: 4px; }
.proj-body p { font-size: 0.82rem; color: var(--fg-muted); margin: 0; line-height: 1.6; }
.proj-status {
  display: inline-block; font-size: 0.7rem; font-weight: 600; padding: 3px 12px;
  border-radius: 12px;
}
.status-done { background: rgba(29,131,72,0.1); color: var(--success); }
.status-wip { background: var(--accent-light); color: var(--accent); }

/* DESIGNS FILTERS */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.filter-btn {
  background: var(--bg-alt); border: 1px solid var(--border); color: var(--fg-muted);
  font-size: 0.8rem; font-weight: 500; padding: 8px 18px; border-radius: 8px;
  cursor: pointer; font-family: var(--font-body); transition: all 0.15s;
}
.filter-btn:hover, .filter-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media(max-width:700px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-item { display: flex; gap: 14px; margin-bottom: 24px; }
.contact-icon {
  width: 44px; height: 44px; border-radius: 10px; background: var(--primary-glow);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  color: var(--primary); font-size: 1rem;
}
.contact-item h4 { font-size: 0.86rem; font-weight: 700; margin: 0 0 3px; }
.contact-item p { font-size: 0.84rem; color: var(--fg-muted); margin: 0; line-height: 1.55; }
.hours-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  padding: 28px 24px;
}
.hours-card h3 { font-family: var(--font-display); font-size: 1.1rem; margin: 0 0 16px; }
.hours-row {
  display: flex; justify-content: space-between; padding: 10px 0;
  border-bottom: 1px solid var(--border-light); font-size: 0.84rem;
}
.hours-row:last-child { border-bottom: none; }
.hours-day { font-weight: 600; }
.hours-time { color: var(--fg-muted); }

/* BLUE CONTACT FOOTER (Promitto-style) */
.contact-blue {
  background: var(--blue-section);
  margin-inline: calc(-1 * var(--gutter));
  padding: 64px var(--gutter);
}
.contact-blue .inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; }
@media(max-width:700px) { .contact-blue .inner { grid-template-columns: 1fr; } }
.contact-blue h2 {
  font-family: var(--font-display); color: #fff;
  font-size: clamp(1.3rem, 3vw, 1.7rem); margin: 0 0 12px;
}
.contact-blue p { color: rgba(255,255,255,0.8); font-size: 0.88rem; line-height: 1.7; margin: 0 0 16px; }
.contact-blue-item { display: flex; gap: 12px; margin-bottom: 18px; }
.contact-blue-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center;
  color: #F0C27A; font-size: 0.9rem; flex-shrink: 0;
}
.contact-blue-item h4 { font-size: 0.84rem; font-weight: 700; color: #fff; margin: 0 0 2px; }
.contact-blue-item p { font-size: 0.82rem; color: rgba(255,255,255,0.7); margin: 0; }
.form-row { margin-bottom: 14px; }
.form-row label { display: block; font-size: 0.82rem; color: var(--muted); margin-bottom: 5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; }
.form-row input, .form-row textarea, .form-row select {
  width: 100%; padding: 12px 14px; border-radius: 8px; font-size: 0.97rem;
  border: 1.5px solid var(--border); background: var(--bg);
  color: var(--fg); font-family: var(--font-body); resize: vertical; transition: border-color .2s;
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(27,79,114,0.1); }
.form-row input::placeholder, .form-row textarea::placeholder { color: var(--muted); opacity: 0.5; }

/* FOOTER */
.footer {
  background: #0F2B3C; color: rgba(255,255,255,0.8);
  margin-inline: calc(-1 * var(--gutter));
  padding: 56px var(--gutter) 0;
}
.footer-top {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media(max-width:800px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media(max-width:500px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand-col p { font-size: 0.9rem; line-height: 1.6; color: rgba(255,255,255,0.65); margin-top: 14px; }
.footer-brand {
  font-family: var(--font-display); font-size: 1.3rem; color: #fff; font-weight: 700; letter-spacing: 0.02em;
}
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center; color: #fff;
  text-decoration: none; font-size: 0.85rem; transition: background .2s;
}
.footer-social a:hover { background: var(--accent); }
.footer-col h4 {
  color: #fff; font-size: 0.85rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; margin-bottom: 18px; position: relative; padding-bottom: 10px;
}
.footer-col h4::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 30px; height: 2px; background: var(--accent);
}
.footer-col a {
  display: block; color: rgba(255,255,255,0.65); text-decoration: none;
  font-size: 0.88rem; padding: 5px 0; transition: color .2s, padding-left .2s;
}
.footer-col a:hover { color: var(--accent); padding-left: 4px; }
.footer-contact-item { display: flex; gap: 10px; margin-bottom: 14px; font-size: 0.88rem; }
.footer-contact-item span { color: var(--accent); font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; }
.footer-bottom {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px; padding: 20px 0;
}
.footer-copy { font-size: 0.78rem; color: rgba(255,255,255,0.45); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 0.78rem; color: rgba(255,255,255,0.45); text-decoration: none; }
.footer-legal a:hover { color: var(--accent); }
.footer-links a { font-size: 0.76rem; color: var(--fg-muted); text-decoration: none; }
.footer-links a:hover { color: var(--primary); }

/* ANIMATIONS */
@media (prefers-reduced-motion: no-preference) {
  .fade-in {
    opacity: 0; transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .fade-in.visible { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .fade-in { opacity: 1; transform: none; }
}

/* CREDENTIAL BADGES */
.cred-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.cred-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 24px 20px;
}
.cred-card h4 { font-size: 0.88rem; font-weight: 700; margin: 0 0 8px; color: var(--primary); }
.cred-card p { font-size: 0.8rem; color: var(--fg-muted); margin: 0; line-height: 1.55; }

/* Licensed works chips */
.licensed-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.licensed-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 24px 20px;
}
.licensed-card h4 { font-size: 0.88rem; font-weight: 700; margin: 0 0 10px; color: var(--primary); }
.licensed-card ul { list-style: none; padding: 0; margin: 0; }
.licensed-card li {
  font-size: 0.82rem; color: var(--fg-muted); padding: 4px 0 4px 18px; position: relative; line-height: 1.55;
}
.licensed-card li::before {
  content: ''; position: absolute; left: 0; top: 10px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}

/* Placeholder image */
.placeholder-img {
  width: 100%; height: 220px; background: var(--bg-alt);
  display: flex; align-items: center; justify-content: center;
  color: var(--fg-light); font-size: 0.8rem; font-weight: 500;
}



@media(max-width:600px) {
  .showcase-grid { flex-direction: column !important; }
  .showcase-card { max-width: 100% !important; }
}

/* ===== MOBILE OPTIMIZATIONS ===== */
@media(max-width:768px) {
  .hero { min-height: 420px; padding: 80px var(--gutter) 48px; }
  .hero h1 { font-size: 1.7rem; }
  .hero p { font-size: 0.9rem; }
  .hero-stats { gap: 24px; margin-top: 28px; padding-top: 24px; }
  .hero-stat-num { font-size: 1.5rem; }
  .section { padding: 48px 0; }
  .section-title { font-size: 1.4rem; }
  .section-desc { font-size: 0.85rem; margin-bottom: 28px; }
  .svc-grid { grid-template-columns: 1fr; gap: 16px; }
  .svc-card { padding: 24px 20px; }
  .why-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .why-card { padding: 20px 16px; }
  .why-card h4 { font-size: 0.85rem; }
  .why-card p { font-size: 0.78rem; }
  .cta-cards { grid-template-columns: 1fr; }
  .proj-grid { grid-template-columns: 1fr !important; }
  .timeline-item { padding-left: 24px; }
  .timeline-item::before { left: 0; }
  .about-story-grid { grid-template-columns: 1fr !important; }
  .footer-top { gap: 24px; }
  .contact-grid { gap: 16px; }
  .contact-blue .inner { gap: 32px; }
}

@media(max-width:480px) {
  :root { --gutter: 16px; }
  .hero { min-height: 360px; padding: 70px var(--gutter) 40px; }
  .hero h1 { font-size: 1.45rem; max-width: 100%; }
  .hero p { font-size: 0.85rem; max-width: 100%; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; justify-content: center; }
  .hero-stats { gap: 16px; }
  .hero-stat-num { font-size: 1.3rem; }
  .section { padding: 36px 0; }
  .section-title { font-size: 1.25rem; }
  .why-grid { grid-template-columns: 1fr; }
  .stats-bar { padding: 32px var(--gutter); }
  .stat-number { font-size: 1.5rem; }
  .cta-section { padding: 40px var(--gutter); }
  .about-hero { padding: 60px var(--gutter) 40px; }
  .about-hero h1 { font-size: 1.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }
}