/* ============================================================
   PEDRO REMODELACIONES — Design System
   ============================================================ */

/* === 1. Tokens: Light (default) === */
:root {
  --c-bg:         #F7F4EE;
  --c-surface:    #FFFFFF;
  --c-surface-2:  #EFEBE3;
  --c-surface-3:  #E8E3D8;
  --c-text:       #1A1614;
  --c-text-2:     #6B635C;
  --c-text-3:     #9E948C;
  --c-accent:     #BF4B1E;
  --c-accent-h:   #A33E18;
  --c-accent-lt:  #F5E8E0;
  --c-brand:      #1C3045;
  --c-brand-h:    #162839;
  --c-border:     #E2DDD4;
  --c-border-s:   #EDE9E1;

  --f-display: 'Fraunces', Georgia, serif;
  --f-body:    'Inter', system-ui, -apple-system, sans-serif;

  --sh-sm: 0 1px 4px rgba(26,22,20,0.07);
  --sh-md: 0 4px 20px rgba(26,22,20,0.08);
  --sh-lg: 0 12px 48px rgba(26,22,20,0.10);

  --t: 0.22s ease;
  --t-slow: 0.4s ease;

  --max-w: 1200px;
  --nav-h: 70px;
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 32px;
}

/* === 2. Tokens: Dark === */
[data-theme="dark"] {
  --c-bg:         #111920;
  --c-surface:    #18242F;
  --c-surface-2:  #1E2D3C;
  --c-surface-3:  #243648;
  --c-text:       #EBE6DE;
  --c-text-2:     #8A9EAC;
  --c-text-3:     #526272;
  --c-accent:     #D46540;
  --c-accent-h:   #BF5830;
  --c-accent-lt:  #2A1A10;
  --c-brand:      #5BAAD8;
  --c-brand-h:    #4A95C0;
  --c-border:     #253747;
  --c-border-s:   #1C2D3C;
  --sh-sm: 0 1px 4px rgba(0,0,0,0.30);
  --sh-md: 0 4px 20px rgba(0,0,0,0.36);
  --sh-lg: 0 12px 48px rgba(0,0,0,0.45);
}

/* === 3. Reset === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--f-body);
  background: var(--c-bg);
  color: var(--c-text);
  line-height: 1.65;
  transition: background var(--t-slow), color var(--t-slow);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-accent); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--c-accent-h); }
button { cursor: pointer; font-family: var(--f-body); border: none; background: none; }

/* === 4. Layout === */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-lg { padding: 120px 0; }
.section-alt { background: var(--c-surface-2); }
.section-dark {
  background: var(--c-brand);
  color: #fff;
}

/* === 5. Typography === */
.eyebrow {
  font-family: var(--f-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 12px;
}
.display {
  font-family: var(--f-display);
  font-size: clamp(3.2rem, 6vw, 5.8rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 144;
}
h1, .h1 {
  font-family: var(--f-display);
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
h2, .h2 {
  font-family: var(--f-display);
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.015em;
}
h3, .h3 {
  font-family: var(--f-body);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 600;
  line-height: 1.3;
  color: var(--c-text);
}
.lead {
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  color: var(--c-text-2);
  line-height: 1.7;
  max-width: 52ch;
}
.caption { font-size: 0.82rem; color: var(--c-text-3); }

/* === 6. Section header === */
.sec-hd {
  margin-bottom: 56px;
}
.sec-hd.centered {
  text-align: center;
}
.sec-hd.centered .lead { margin: 12px auto 0; }
.sec-hd .lead { margin-top: 12px; }

/* === 7. Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--r-md);
  font-family: var(--f-body);
  font-size: 0.93rem;
  font-weight: 600;
  line-height: 1;
  transition: all var(--t);
  text-decoration: none;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn-primary {
  background: var(--c-accent);
  color: #fff;
  border-color: var(--c-accent);
}
.btn-primary:hover {
  background: var(--c-accent-h);
  border-color: var(--c-accent-h);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--sh-md);
}
.btn-brand {
  background: var(--c-brand);
  color: #fff;
  border-color: var(--c-brand);
}
.btn-brand:hover {
  background: var(--c-brand-h);
  border-color: var(--c-brand-h);
  color: #fff;
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--c-text);
  border-color: var(--c-border);
}
.btn-outline:hover {
  border-color: var(--c-text);
  color: var(--c-text);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--c-text-2);
  padding: 13px 4px;
  border: none;
  font-size: 0.93rem;
  font-weight: 500;
  gap: 6px;
}
.btn-ghost:hover { color: var(--c-text); }
.btn-ghost svg { transition: transform var(--t); }
.btn-ghost:hover svg { transform: translateX(3px); }
.btn-lg { padding: 16px 34px; font-size: 1rem; }
.btn-sm { padding: 9px 18px; font-size: 0.82rem; }
.btn-w { width: 100%; justify-content: center; }

/* === 8. Navbar === */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background var(--t-slow), box-shadow var(--t-slow), border-color var(--t-slow);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: var(--c-surface);
  border-color: var(--c-border-s);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--sh-sm);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-icon {
  width: 36px;
  height: 36px;
  color: var(--c-accent);
  flex-shrink: 0;
}
.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.nav-logo-text strong {
  font-family: var(--f-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--c-text);
  letter-spacing: -0.01em;
}
.nav-logo-text span {
  font-size: 0.68rem;
  color: var(--c-text-3);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  list-style: none;
}
.nav-links a {
  display: block;
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--c-text-2);
  border-radius: var(--r-sm);
  transition: color var(--t), background var(--t);
  text-decoration: none;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--c-text);
  background: var(--c-surface-2);
}
.nav-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 20px;
}
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: 20px;
  padding: 3px;
  font-size: 0.75rem;
  font-weight: 700;
}
.lang-opt {
  padding: 4px 10px;
  border-radius: 16px;
  cursor: pointer;
  color: var(--c-text-3);
  transition: all var(--t);
  letter-spacing: 0.04em;
}
.lang-opt.active {
  background: var(--c-surface);
  color: var(--c-text);
  box-shadow: var(--sh-sm);
}
.theme-toggle {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  color: var(--c-text-2);
  transition: all var(--t);
}
.theme-toggle:hover {
  background: var(--c-surface-3);
  color: var(--c-text);
}
.theme-toggle svg { width: 16px; height: 16px; }
.nav-cta { margin-left: 8px; }

/* mobile menu */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
  margin-left: auto;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  height: 2px;
  background: var(--c-text);
  border-radius: 2px;
  transition: all var(--t);
}
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-border);
  padding: 16px 24px 24px;
  z-index: 999;
  box-shadow: var(--sh-md);
}
.nav-mobile.open { display: flex; flex-direction: column; gap: 4px; }
.nav-mobile a {
  display: block;
  padding: 12px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--c-text);
  border-bottom: 1px solid var(--c-border-s);
  text-decoration: none;
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile .btn { margin-top: 12px; align-self: flex-start; }

/* === 9. Hero === */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: var(--nav-h);
}
.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 64px 80px 0;
  padding-left: max(24px, calc((100vw - var(--max-w)) / 2 + 24px));
}
.hero-content .display { margin-bottom: 24px; }
.hero-content .lead { margin-bottom: 40px; }
.hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 20px;
  font-size: 0.80rem;
  font-weight: 500;
  color: var(--c-text-2);
}
.trust-chip svg { width: 13px; height: 13px; color: var(--c-accent); flex-shrink: 0; }
.hero-image {
  position: relative;
  overflow: hidden;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-slides {
  position: absolute;
  inset: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.8s ease-in-out;
}
.hero-slide.active { opacity: 1; }
.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--c-bg) 0%, transparent 30%);
  pointer-events: none;
}

/* === 10. Trust strip === */
.trust-strip {
  background: var(--c-surface);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  padding: 20px 0;
}
.trust-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.ts-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 24px;
  border-right: 1px solid var(--c-border-s);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--c-text-2);
}
.ts-item:last-child { border-right: none; }
.ts-item svg {
  width: 18px;
  height: 18px;
  color: var(--c-accent);
  flex-shrink: 0;
}

/* === 11. About section === */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-image {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  position: relative;
}
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.about-badge {
  position: absolute;
  bottom: 24px;
  right: -24px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 16px 20px;
  box-shadow: var(--sh-lg);
  text-align: center;
}
.about-badge .num {
  font-family: var(--f-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--c-accent);
  line-height: 1;
}
.about-badge .lbl {
  font-size: 0.72rem;
  color: var(--c-text-2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}
.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 28px 0 32px;
}
.value-card {
  background: var(--c-surface-2);
  border-radius: var(--r-md);
  padding: 18px;
  border-left: 3px solid var(--c-accent);
  transition: box-shadow var(--t);
}
.value-card:hover { box-shadow: var(--sh-sm); }
.value-card h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 4px;
}
.value-card p {
  font-size: 0.80rem;
  color: var(--c-text-2);
  line-height: 1.5;
}

/* === 12. Services === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.srv-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform var(--t), box-shadow var(--t);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.srv-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-lg);
  color: inherit;
}
.srv-img {
  aspect-ratio: 16/10;
  overflow: hidden;
}
.srv-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.srv-card:hover .srv-img img { transform: scale(1.04); }
.srv-body {
  padding: 22px 24px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.srv-icon {
  width: 40px;
  height: 40px;
  background: var(--c-accent-lt);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--c-accent);
}
.srv-icon svg { width: 20px; height: 20px; }
.srv-body h3 { color: var(--c-text); margin-bottom: 8px; }
.srv-body p { font-size: 0.88rem; color: var(--c-text-2); flex: 1; line-height: 1.6; }
.srv-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--c-accent);
  margin-top: 16px;
  transition: gap var(--t);
}
.srv-card:hover .srv-link { gap: 8px; }
.srv-link svg { width: 14px; height: 14px; }

/* === 13. Process === */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(12.5% + 28px);
  right: calc(12.5% + 28px);
  height: 1px;
  background: var(--c-border);
  z-index: 0;
}
.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 16px;
  position: relative;
  z-index: 1;
}
.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--c-surface);
  border: 2px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--c-accent);
  margin-bottom: 20px;
  transition: all var(--t);
}
.step:hover .step-num {
  background: var(--c-accent);
  border-color: var(--c-accent);
  color: #fff;
}
.step h3 { font-size: 1rem; margin-bottom: 8px; }
.step p { font-size: 0.85rem; color: var(--c-text-2); line-height: 1.6; }

/* === 14. Portfolio === */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}
.proj-card {
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  display: block;
  text-decoration: none;
}
.proj-card-1 { grid-column: span 7; aspect-ratio: 16/10; }
.proj-card-2 { grid-column: span 5; aspect-ratio: 4/3; }
.proj-card-3 { grid-column: span 5; aspect-ratio: 4/3; }
.proj-card-4 { grid-column: span 7; aspect-ratio: 16/10; }
.proj-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.proj-card:hover .proj-img { transform: scale(1.06); }
.proj-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28,48,69,0.88) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--t-slow);
  display: flex;
  align-items: flex-end;
  padding: 24px;
}
.proj-card:hover .proj-overlay { opacity: 1; }
.proj-info h3 {
  font-family: var(--f-display);
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 4px;
}
.proj-info p { font-size: 0.82rem; color: rgba(255,255,255,0.7); }
.proj-tag {
  display: inline-block;
  background: var(--c-accent);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 3px;
  margin-bottom: 8px;
}

/* === 15. Stats bar === */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.stat-item {
  padding: 36px 24px;
  text-align: center;
  border-right: 1px solid var(--c-border);
  background: var(--c-surface);
  transition: background var(--t);
}
.stat-item:hover { background: var(--c-surface-2); }
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--f-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--c-accent);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 0.82rem;
  color: var(--c-text-2);
  line-height: 1.4;
}

/* === 16. Testimonials === */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testi-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--t);
}
.testi-card:hover { box-shadow: var(--sh-md); }
.testi-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
  color: #F59E0B;
}
.testi-stars svg { width: 16px; height: 16px; fill: currentColor; }
.testi-text {
  font-size: 0.92rem;
  color: var(--c-text-2);
  line-height: 1.72;
  flex: 1;
  margin-bottom: 20px;
  font-style: italic;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--c-brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-display);
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
}
.testi-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--c-text);
  display: block;
}
.testi-role {
  font-size: 0.75rem;
  color: var(--c-text-3);
}

/* === 17. FAQ === */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--c-border); }
.faq-btn {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 22px 0;
  font-family: var(--f-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--c-text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  line-height: 1.4;
}
.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--c-accent-lt);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--c-accent);
  transition: transform var(--t), background var(--t);
}
.faq-icon svg { width: 14px; height: 14px; }
.faq-btn[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
  background: var(--c-accent);
  color: #fff;
}
.faq-body {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.38s ease;
}
.faq-body.open { max-height: 400px; }
.faq-body p {
  padding-bottom: 22px;
  color: var(--c-text-2);
  line-height: 1.75;
  font-size: 0.95rem;
}

/* === 18. CTA Banner === */
.cta-banner {
  background: var(--c-brand);
  padding: 96px 0;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  pointer-events: none;
}
.cta-banner-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}
.cta-banner h2 { color: #fff; margin-bottom: 16px; }
.cta-banner .lead { color: rgba(255,255,255,0.75); margin: 0 auto 40px; }
.cta-banner .btn-primary {
  background: var(--c-accent);
  border-color: var(--c-accent);
  font-size: 1.05rem;
  padding: 16px 38px;
}
.cta-banner .btn-primary:hover {
  background: var(--c-accent-h);
  border-color: var(--c-accent-h);
}
.cta-contacts {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.cta-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color var(--t);
}
.cta-contact-item:hover { color: #fff; }
.cta-contact-item svg { width: 16px; height: 16px; flex-shrink: 0; }

/* === 19. Footer === */
.footer {
  background: var(--c-text);
  color: rgba(255,255,255,0.65);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .nav-logo-text strong { color: rgba(255,255,255,0.9); }
.footer-brand .nav-logo-text span { color: rgba(255,255,255,0.3); }
.footer-brand .nav-logo-icon { color: var(--c-accent); }
.footer-desc {
  font-size: 0.85rem;
  line-height: 1.65;
  margin-top: 14px;
  max-width: 280px;
}
.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.footer-social-link {
  width: 34px;
  height: 34px;
  border-radius: var(--r-sm);
  background: rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: all var(--t);
  text-decoration: none;
}
.footer-social-link:hover {
  background: var(--c-accent);
  color: #fff;
}
.footer-social-link svg { width: 16px; height: 16px; }
.footer-col-title {
  font-family: var(--f-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color var(--t);
}
.footer-links a:hover { color: rgba(255,255,255,0.9); }
.footer-contact-list { display: flex; flex-direction: column; gap: 12px; }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
}
.footer-contact-item a { color: rgba(255,255,255,0.55); text-decoration: none; transition: color var(--t); }
.footer-contact-item a:hover { color: rgba(255,255,255,0.9); }
.footer-contact-item svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 2px; color: var(--c-accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
}
.footer-bottom a { color: rgba(255,255,255,0.3); text-decoration: none; transition: color var(--t); }
.footer-bottom a:hover { color: rgba(255,255,255,0.7); }
.footer-legal-links { display: flex; gap: 20px; }

/* === 20. Reveal animations === */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* === 21. Page hero (inner pages) === */
.page-hero {
  padding: calc(var(--nav-h) + 60px) 0 60px;
  background: var(--c-surface-2);
  border-bottom: 1px solid var(--c-border);
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--c-text-3);
  margin-bottom: 16px;
}
.breadcrumb a { color: var(--c-text-3); text-decoration: none; transition: color var(--t); }
.breadcrumb a:hover { color: var(--c-accent); }
.breadcrumb svg { width: 14px; height: 14px; }

/* === 22. Pricing === */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.price-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 32px;
  transition: box-shadow var(--t);
}
.price-card:hover { box-shadow: var(--sh-lg); }
.price-card.featured {
  border-color: var(--c-accent);
  position: relative;
  transform: scale(1.03);
}
.price-featured-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--c-accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 20px;
}
.price-name {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-text-3);
  margin-bottom: 8px;
}
.price-amount {
  font-family: var(--f-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--c-text);
  line-height: 1;
  margin-bottom: 4px;
}
.price-period { font-size: 0.82rem; color: var(--c-text-3); margin-bottom: 20px; }
.price-desc { font-size: 0.88rem; color: var(--c-text-2); margin-bottom: 24px; line-height: 1.6; }
.price-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--c-text-2);
  line-height: 1.5;
}
.price-features li svg { width: 16px; height: 16px; color: var(--c-accent); flex-shrink: 0; margin-top: 1px; }

/* === 23. Contact page === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: start;
}
.contact-info-list { display: flex; flex-direction: column; gap: 20px; margin-top: 28px; }
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.contact-info-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  background: var(--c-accent-lt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-accent);
  flex-shrink: 0;
}
.contact-info-icon svg { width: 18px; height: 18px; }
.contact-info-item strong { display: block; font-size: 0.88rem; color: var(--c-text); margin-bottom: 3px; }
.contact-info-item span, .contact-info-item a {
  font-size: 0.88rem;
  color: var(--c-text-2);
  text-decoration: none;
  line-height: 1.5;
}
.contact-info-item a:hover { color: var(--c-accent); }

/* === 24. Form === */
.form-box {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 36px;
}
.form-title { font-size: 1.2rem; font-weight: 700; margin-bottom: 24px; }
.form-group { margin-bottom: 18px; }
.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--c-text-2);
  margin-bottom: 6px;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 11px 14px;
  font-family: var(--f-body);
  font-size: 0.93rem;
  color: var(--c-text);
  transition: border-color var(--t), background var(--t);
  outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--c-accent);
  background: var(--c-surface);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 0.78rem; color: var(--c-text-3); text-align: center; margin-top: 10px; }

/* === 25. Utilities === */
.text-center { text-align: center; }
.text-accent { color: var(--c-accent); }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mb-8 { margin-bottom: 32px; }
.gap-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* === 26. Responsive === */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr 1fr; }
  .hero-content { padding: 60px 48px 60px 24px; }
  .about-grid { gap: 48px; }
  .portfolio-grid { gap: 14px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .section-lg { padding: 80px 0; }
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-image {
    height: 50vw;
    min-height: 280px;
    order: -1;
  }
  .hero-image-overlay {
    background: linear-gradient(to bottom, transparent 60%, var(--c-bg) 100%);
  }
  .hero-content {
    padding: 32px 24px 56px;
  }
  .about-grid { grid-template-columns: 1fr; }
  .about-badge { right: 24px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; gap: 32px; }
  .process-steps::before { display: none; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .proj-card-1, .proj-card-2, .proj-card-3, .proj-card-4 {
    grid-column: span 12;
    aspect-ratio: 4/3;
  }
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-top: 1px solid var(--c-border); border-right: 1px solid var(--c-border); }
  .stat-item:nth-child(4) { border-top: 1px solid var(--c-border); border-right: none; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .nav-links, .nav-controls { display: none; }
  .nav-hamburger { display: flex; }
  .nav-cta { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .ts-item { padding: 10px 16px; }
  .trust-strip-inner { gap: 0; }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .about-values { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .hero-cta .btn-ghost { width: auto; }
  .form-row { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .footer-legal-links { justify-content: center; }
  .cta-contacts { flex-direction: column; gap: 16px; }
}
