/* ============================================================
   Ruzgar Agency — Corporate digital agency
   White-first · Minimal · Trustworthy · Fast
   ============================================================ */
:root {
  --bg: #ffffff;
  --bg-soft: #f8f9fb;
  --bg-muted: #f1f3f6;
  --text: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --primary: #0f172a;
  --accent: #1d4ed8;
  --accent-hover: #1e40af;
  --accent-soft: #eff6ff;
  --success: #059669;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 12px 32px rgba(15, 23, 42, 0.08);
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  --container: 1120px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
}
.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.section { padding: 80px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 560px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.75rem, 3.5vw, 2.25rem); margin-bottom: 12px; }
.section-head p { color: var(--text-secondary); font-size: 1.05rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, box-shadow .2s;
  line-height: 1.3;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 4px 14px rgba(29, 78, 216, 0.25);
}
.btn-secondary {
  background: var(--bg);
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-secondary:hover {
  border-color: var(--text);
  background: var(--bg-soft);
}
.btn-sm { padding: 9px 16px; font-size: 0.875rem; }
.btn-block { width: 100%; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
}
.logo-text {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
}
.logo-text strong { color: var(--text); font-weight: 700; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-list a {
  display: block;
  padding: 8px 12px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: color .15s, background .15s;
}
.nav-list a:hover,
.nav-list a.active {
  color: var(--text);
  background: var(--bg-muted);
}
.nav-list a.active { font-weight: 600; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 500;
}
.lang-switch a {
  color: var(--text-muted);
  padding: 4px 2px;
}
.lang-switch a.active { color: var(--text); font-weight: 600; }
.lang-switch a:hover { color: var(--accent); }
.lang-sep { color: var(--border-strong); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 10px;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform .2s, opacity .2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .header-cta { display: none; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px 24px;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform .25s var(--ease), opacity .25s, visibility .25s;
    box-shadow: var(--shadow-md);
  }
  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .nav-list a {
    padding: 12px 14px;
    font-size: 1rem;
  }
}

/* Hero */
.hero {
  padding: 72px 0 80px;
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}
.hero-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 56px; }
}
.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin-bottom: 16px;
  max-width: 16ch;
}
.hero .lede {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 42ch;
  margin-bottom: 28px;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.hero-tags span {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 999px;
}
.hero-visual {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4/5;
  max-width: 420px;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Cards / grids */
.card-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .card-grid.cols-2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) {
  .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: border-color .2s, box-shadow .2s;
}
.card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}
.card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.card p { color: var(--text-secondary); font-size: 0.95rem; }
.card .card-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  font-weight: 700;
  font-size: 0.85rem;
}

/* Service packages — equal cards + expand on click */
.pkg-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 700px) { .pkg-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .pkg-grid { grid-template-columns: repeat(3, 1fr); } }

.pkg {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease);
  min-height: 100%;
}
.pkg:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}
.pkg.is-open {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow-md);
  transform: translateY(-4px);
  z-index: 2;
}
.pkg.featured {
  border-color: rgba(29, 78, 216, 0.45);
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}
.pkg.featured.is-open,
.pkg.featured:hover {
  border-color: var(--accent);
}

.pkg-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--accent);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
  letter-spacing: 0.02em;
  z-index: 1;
}

.pkg-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 24px 24px 0;
  cursor: pointer;
  user-select: none;
}
.pkg-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  flex-shrink: 0;
  transition: background .25s, color .25s, transform .3s var(--ease);
}
.pkg.is-open .pkg-icon {
  background: var(--accent);
  color: #fff;
  transform: scale(1.05);
}
.pkg-head-text { flex: 1; min-width: 0; padding-right: 28px; }
.pkg-num {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.pkg h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
  line-height: 1.25;
}
.pkg .pkg-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.5;
}

.pkg-toggle {
  position: absolute;
  top: 26px;
  right: 20px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .3s var(--ease);
  z-index: 2;
}
.pkg.featured .pkg-toggle { right: 20px; top: 48px; }
.pkg-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.pkg.is-open .pkg-toggle {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: rotate(45deg);
}

/* Features list */
.pkg-features {
  padding: 16px 24px 0;
  margin: 0;
}
.pkg-features li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 9px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.4;
}
.pkg-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 1px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
}
/* Collapsed: only first 3 items visible */
.pkg:not(.is-open) .pkg-features li:nth-child(n+4) {
  display: none;
}

/* Extra block reveals on open */
.pkg-extra {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height .45s var(--ease), opacity .3s ease, padding .3s ease;
  padding: 0 24px;
}
.pkg.is-open .pkg-extra {
  max-height: 280px;
  opacity: 1;
  padding: 4px 24px 0;
}
.pkg-extra p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0 0 12px;
  line-height: 1.5;
  padding-top: 4px;
  border-top: 1px solid var(--border);
}

.pkg-actions {
  padding: 16px 24px 22px;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pkg-actions .btn {
  width: 100%;
  transition: transform .2s var(--ease), box-shadow .2s;
}
.pkg.is-open .pkg-actions .btn-primary {
  transform: scale(1.02);
}
.pkg-hint {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 6px 0 0;
  background: none;
  border: 0;
  font-weight: 500;
  width: 100%;
}
.pkg-hint:hover { color: var(--accent); }
.pkg.is-open .pkg-hint-open { display: none; }
.pkg:not(.is-open) .pkg-hint-close { display: none; }

/* Process steps */
.steps {
  display: grid;
  gap: 20px;
}
@media (min-width: 768px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
.step {
  padding: 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.step-num {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 10px;
}
.step h3 { font-size: 1rem; margin-bottom: 6px; }
.step p { font-size: 0.875rem; color: var(--text-secondary); }

/* Featured project */
.project-block {
  display: grid;
  gap: 32px;
  align-items: center;
}
@media (min-width: 800px) { .project-block { grid-template-columns: 1fr 1fr; gap: 48px; } }
.project-media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4/5;
  box-shadow: var(--shadow);
}
.project-media img { width: 100%; height: 100%; object-fit: cover; }
.project-copy h3 { font-size: 1.5rem; margin: 8px 0 12px; }
.project-copy p { color: var(--text-secondary); margin-bottom: 20px; }
.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text);
}
.stat span { font-size: 0.8rem; color: var(--text-muted); }

/* FAQ */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item summary {
  padding: 18px 0;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--text-muted);
  font-weight: 400;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item p {
  padding: 0 0 18px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Page hero (inner) */
.page-hero {
  padding: 56px 0 40px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { font-size: clamp(1.75rem, 3.5vw, 2.25rem); margin-bottom: 10px; }
.page-hero p { color: var(--text-secondary); max-width: 52ch; }

/* Contact */
.contact-layout {
  display: grid;
  gap: 32px;
}
@media (min-width: 900px) { .contact-layout { grid-template-columns: 1fr 1.2fr; gap: 48px; } }
.contact-cards { display: grid; gap: 12px; }
.contact-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color .2s;
}
a.contact-card:hover { border-color: var(--accent); }
.contact-card strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.contact-card span { font-weight: 500; color: var(--text); }

.form-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.form-box h3 { font-size: 1.2rem; margin-bottom: 6px; }
.form-box > p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 20px; }
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--bg);
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.field textarea { min-height: 110px; resize: vertical; }

/* Legal pages */
.legal-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 0 80px;
}
.legal-content h1 { font-size: 1.75rem; margin-bottom: 8px; }
.legal-content .meta { color: var(--text-muted); font-size: 0.875rem; margin-bottom: 28px; }
.legal-content h2 {
  font-size: 1.15rem;
  margin: 28px 0 10px;
}
.legal-content p, .legal-content li {
  color: var(--text-secondary);
  margin-bottom: 12px;
  font-size: 0.95rem;
}
.legal-content ul { margin: 0 0 12px 20px; list-style: disc; }
.legal-content .notice {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* CTA band */
.cta-band {
  text-align: center;
  padding: 64px 0;
}
.cta-band h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); margin-bottom: 10px; }
.cta-band p { color: var(--text-secondary); margin-bottom: 24px; max-width: 42ch; margin-left: auto; margin-right: auto; }

/* Footer */
.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
  margin-bottom: 40px;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 960px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr; } }

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin: 12px 0 16px;
  max-width: 28ch;
}
.footer-social {
  display: flex;
  gap: 14px;
  font-size: 0.875rem;
  font-weight: 500;
}
.footer-social a { color: var(--text-secondary); }
.footer-social a:hover { color: var(--accent); }

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col a {
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.footer-col a:hover { color: var(--accent); }
.footer-contact li { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 8px; }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.footer-note { max-width: 48ch; }

/* WhatsApp float */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.06); }

/* Utilities */
.mt-0 { margin-top: 0; }
.mb-24 { margin-bottom: 24px; }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }

@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .hero { padding: 48px 0 56px; }
}

/* ============================================================
   Premium polish — micro-interactions, reveal, media, icons
   ============================================================ */

:root {
  --shadow-hover: 0 16px 40px rgba(15, 23, 42, 0.09);
  --radius-lg: 14px;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }

/* Buttons — refined feedback */
.btn {
  transition: background .22s ease, color .22s ease, border-color .22s ease,
    box-shadow .22s ease, transform .22s var(--ease);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(29, 78, 216, 0.28);
}
.btn-primary:active { transform: translateY(0); }
.btn-secondary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

/* Cards */
.card {
  transition: border-color .25s ease, box-shadow .3s var(--ease), transform .3s var(--ease);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-strong);
}
.card .card-icon {
  transition: background .25s ease, color .25s ease, transform .3s var(--ease);
}
.card:hover .card-icon {
  background: var(--accent);
  color: #fff;
  transform: scale(1.04);
}

/* Icon SVG inside cards */
.card-icon svg,
.sol-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sol-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: background .25s ease, color .25s ease, transform .3s var(--ease);
}
.card:hover .sol-icon {
  background: var(--accent);
  color: #fff;
  transform: scale(1.04);
}

/* Media frames — premium image treatment */
.media-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-muted);
  box-shadow: var(--shadow);
}
.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.media-frame:hover img {
  transform: scale(1.04);
}
.media-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
  border-radius: inherit;
}

.project-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.project-media img {
  transition: transform .8s var(--ease);
}
.project-block:hover .project-media img {
  transform: scale(1.03);
}

.hero-visual {
  border-radius: var(--radius-lg);
}
.hero-visual img {
  transition: transform 1.2s var(--ease);
}
.hero-visual:hover img {
  transform: scale(1.03);
}

/* Visual mosaic strip */
.visual-mosaic {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
}
@media (min-width: 768px) {
  .visual-mosaic { grid-template-columns: repeat(4, 1fr); gap: 14px; }
}
.visual-mosaic .tile {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/4;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.visual-mosaic .tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}
.visual-mosaic .tile:hover img { transform: scale(1.05); }
.visual-mosaic .tile span {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 28px 12px 12px;
  background: linear-gradient(0deg, rgba(15,23,42,.72), transparent);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}

/* About dual layout */
.about-split {
  display: grid;
  gap: 40px;
  align-items: center;
}
@media (min-width: 900px) {
  .about-split { grid-template-columns: 0.95fr 1.05fr; gap: 56px; }
}
.about-photo-stack {
  position: relative;
  max-width: 400px;
  margin: 0 auto;
}
.about-photo-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-md);
}
.about-photo-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.about-photo-stack:hover .about-photo-main img { transform: scale(1.03); }
.about-photo-accent {
  position: absolute;
  width: 42%;
  aspect-ratio: 3/4;
  border-radius: var(--radius);
  overflow: hidden;
  border: 3px solid var(--bg);
  box-shadow: var(--shadow);
  right: -8%;
  bottom: 8%;
}
.about-photo-accent img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Steps premium */
.step {
  transition: border-color .25s ease, box-shadow .3s ease, transform .3s var(--ease);
}
.step:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

/* Nav polish */
.nav-list a {
  transition: color .2s ease, background .2s ease;
}
.logo-mark {
  transition: transform .3s var(--ease), background .25s ease;
}
.logo:hover .logo-mark {
  transform: scale(1.05);
}

/* Page hero softer */
.page-hero {
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(29,78,216,0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* Form focus already good — slight lift on form box */
.form-box {
  transition: box-shadow .3s ease;
}
.form-box:focus-within {
  box-shadow: var(--shadow);
}

/* Contact cards */
.contact-card {
  transition: border-color .22s ease, box-shadow .25s ease, transform .25s var(--ease);
}
a.contact-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* Footer links */
.footer-col a,
.footer-social a {
  transition: color .2s ease;
}

/* FAQ */
.faq-item summary {
  transition: color .2s ease;
}
.faq-item summary:hover { color: var(--accent); }

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

.site-header.is-scrolled {
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}
