/* ===========================================
   RESET & BASE
=========================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:           #09090B;
  --card:         #111116;
  --card-2:       #18181E;
  --border:       #222228;
  --border-2:     #2E2E3A;
  --text-1:       #F0F0F4;
  --text-2:       #8686A0;
  --text-3:       #4A4A5E;
  --gold:         #deaa00;
  --gold-light:   #F0C020;
  --gold-bright:  #deaa00;
  --gold-dim:     rgba(222,170,0,0.1);
  --gold-glow:    rgba(222,170,0,0.26);

  --r:            14px;
  --r-sm:         8px;
  --r-pill:       100px;
  --nav-h:        70px;
  --container:    1200px;
  --ease:         cubic-bezier(0.25, 0.46, 0.45, 0.94);

  /* Theme-contextual values */
  --nav-scrolled-bg:  rgba(9, 9, 11, 0.88);
  --hero-grid-color:  rgba(255,255,255,0.028);
  --mobile-nav-bg:    rgba(9, 9, 11, 0.97);
  --svg-struct-color: rgba(255,255,255,1);
  --initials-color:   rgba(255,255,255,0.10);
}

/* ===========================================
   LIGHT THEME
=========================================== */
[data-theme="light"] {
  --bg:           #F3F4F8;
  --card:         #FFFFFF;
  --card-2:       #EEEEF5;
  --border:       #E2E2EC;
  --border-2:     #C8C8D6;
  --text-1:       #0D0D14;
  --text-2:       #5E5E78;
  --text-3:       #9898B2;
  --gold-light:   #C09400;
  --gold-bright:  #D4A820;
  --gold-dim:     rgba(154,118,0,0.09);
  --gold-glow:    rgba(154,118,0,0.22);

  --nav-scrolled-bg:  rgba(243, 244, 248, 0.92);
  --hero-grid-color:  rgba(160,160,185,0.28);
  --mobile-nav-bg:    rgba(243, 244, 248, 0.97);
  --svg-struct-color: rgba(13, 13, 20, 1);
  --initials-color:   rgba(0, 0, 0, 0.07);
}

/* Smooth theme transition */
html.theme-transitioning *,
html.theme-transitioning *::before,
html.theme-transitioning *::after {
  transition:
    background-color 0.35s ease,
    border-color 0.35s ease,
    color 0.35s ease,
    box-shadow 0.35s ease !important;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text-1);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img  { max-width: 100%; display: block; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ===========================================
   LAYOUT
=========================================== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.section { padding: 104px 0; }

/* ===========================================
   TYPOGRAPHY HELPERS
=========================================== */
.section__header { text-align: center; margin-bottom: 64px; }

.section__label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.section__title {
  font-size: clamp(30px, 4.5vw, 46px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--text-1);
  margin-bottom: 16px;
}

.section__sub {
  font-size: 17px;
  color: var(--text-2);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ===========================================
   BUTTONS
=========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: var(--r-sm);
  transition: all 0.22s var(--ease);
  white-space: nowrap;
  cursor: pointer;
}

.btn--primary {
  background: var(--gold);
  color: #09090B;
  border: 1px solid var(--gold);
}
.btn--primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--gold-glow);
}

.btn--ghost {
  background: transparent;
  color: var(--text-1);
  border: 1px solid var(--border-2);
}
.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn--outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid rgba(222,170,0,0.3);
  font-size: 13px;
  padding: 9px 18px;
}
.btn--outline:hover {
  background: var(--gold-dim);
  border-color: var(--gold);
}

.btn--nav {
  background: var(--gold);
  color: #09090B;
  border: 1px solid var(--gold);
  font-size: 13px;
  padding: 9px 20px;
}
.btn--nav:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}

.btn--full { width: 100%; padding: 15px 26px; font-size: 15px; }

/* ===========================================
   THEME TOGGLE
=========================================== */
.theme-toggle {
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text-2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
  padding: 0;
}
.theme-toggle:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-dim);
}
.theme-toggle svg { width: 16px; height: 16px; pointer-events: none; }

/* dark = show sun (to switch to light); light = show moon (to switch to dark) */
[data-theme="dark"]  .icon-moon { display: none; }
[data-theme="dark"]  .icon-sun  { display: block; }
[data-theme="light"] .icon-sun  { display: none; }
[data-theme="light"] .icon-moon { display: block; }

/* SVG structural lines: override presentation attribute with CSS var */
.hero__shape [stroke="#FFFFFF"] { stroke: var(--svg-struct-color); }

/* ===========================================
   NAV
=========================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background 0.3s ease, border-bottom 0.3s ease;
}

.nav.scrolled {
  background: var(--nav-scrolled-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 36px;
}

.nav__logo {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-1);
  flex-shrink: 0;
}
.nav__logo span { color: var(--gold); }

.nav__links {
  display: flex;
  gap: 28px;
  flex: 1;
}

.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  transition: color 0.2s;
  position: relative;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.2s var(--ease);
}
.nav__link:hover,
.nav__link.active { color: var(--text-1); }
.nav__link:hover::after,
.nav__link.active::after { transform: scaleX(1); }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}
.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-1);
  transition: all 0.25s ease;
  transform-origin: center;
}
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===========================================
   HERO
=========================================== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 55% at 10% 50%, rgba(222,170,0,0.07) 0%, transparent 55%),
    radial-gradient(ellipse 35% 35% at 88% 12%, rgba(222,170,0,0.04) 0%, transparent 50%);
}
.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--hero-grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--hero-grid-color) 1px, transparent 1px);
  background-size: 56px 56px;
}

.hero__inner {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
  padding-top: calc(var(--nav-h) + 80px);
  padding-bottom: 80px;
  position: relative;
  z-index: 1;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-dim);
  border: 1px solid rgba(222,170,0,0.25);
  padding: 6px 14px;
  border-radius: var(--r-pill);
  margin-bottom: 28px;
}
.hero__badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.7); }
}

.hero__title {
  font-size: clamp(48px, 7.5vw, 88px);
  font-weight: 900;
  line-height: 0.97;
  letter-spacing: -0.045em;
  color: var(--text-1);
  margin-bottom: 24px;
}
.hero__title em {
  font-style: normal;
  display: inline-block;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__sub {
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.75;
  max-width: 460px;
  margin-bottom: 40px;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px;
}
.hero__shape {
  width: 100%;
  max-width: 400px;
  animation: float 7s ease-in-out infinite;
  filter: drop-shadow(0 0 32px rgba(222,170,0,0.22)) drop-shadow(0 0 8px rgba(222,170,0,0.12));
}
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33%       { transform: translateY(-14px) rotate(0.5deg); }
  66%       { transform: translateY(-6px) rotate(-0.5deg); }
}

/* Stats Bar */
.stats-bar {
  background: var(--card);
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 1;
}
.stats-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 24px;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 48px;
  text-align: center;
}
.stat__num {
  font-size: 20px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -0.01em;
  line-height: 1;
  margin-bottom: 5px;
}
.stat__label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-2);
}
.stat__divider {
  width: 1px;
  height: 44px;
  background: var(--border);
  flex-shrink: 0;
}

/* ===========================================
   SERVICES
=========================================== */
.services { background: var(--bg); }

.services__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.service-card:nth-child(1),
.service-card:nth-child(2),
.service-card:nth-child(3) { grid-column: span 2; }
.service-card:nth-child(4) { grid-column: 2 / 4; }
.service-card:nth-child(5) { grid-column: 4 / 6; }

.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  transition: all 0.3s var(--ease);
}
.service-card:hover {
  border-color: var(--border-2);
  transform: translateY(-5px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
}
.service-card--featured {
  border-color: rgba(222,170,0,0.35);
  background: linear-gradient(145deg, rgba(222,170,0,0.06) 0%, var(--card) 60%);
}
.service-card--featured:hover {
  border-color: var(--gold);
  box-shadow: 0 24px 64px rgba(222,170,0,0.14);
}

.service-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: #09090B;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: var(--r-pill);
  white-space: nowrap;
}

.service-card__num {
  font-size: 38px;
  font-weight: 900;
  color: var(--border-2);
  line-height: 1;
  letter-spacing: -0.04em;
}
.service-card--featured .service-card__num { color: rgba(222,170,0,0.22); }

.service-card__title {
  font-size: 19px;
  font-weight: 700;
  color: var(--text-1);
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.service-card__desc {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
  flex: 1;
}

.service-card__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-card__list li {
  font-size: 13px;
  color: var(--text-2);
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}
.service-card__list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 12px;
}

.service-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  gap: 10px;
  flex-wrap: wrap;
  margin-top: auto;
}
.service-card__price {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-1);
}

/* ===========================================
   CASES
=========================================== */
.cases {
  background: var(--card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cases__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.case-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 32px;
  transition: all 0.3s var(--ease);
}
.case-card:hover {
  border-color: var(--border-2);
  transform: translateY(-5px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.6);
}

.case-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.case-card__tag {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  background: var(--gold-dim);
  border: 1px solid rgba(222,170,0,0.2);
  padding: 4px 10px;
  border-radius: var(--r-pill);
}
.case-card__period {
  font-size: 12px;
  color: var(--text-3);
}
.case-card__company {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-1);
  letter-spacing: -0.025em;
  margin-bottom: 4px;
  line-height: 1.15;
}
.case-card__role {
  font-size: 13px;
  color: var(--text-2);
  margin-bottom: 20px;
}
.case-card__context {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.75;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.case-card__results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.result__num {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.01em;
  line-height: 1;
  margin-bottom: 4px;
  text-transform: uppercase;
}
.result__label {
  display: block;
  font-size: 12px;
  color: var(--text-2);
  line-height: 1.4;
}

/* ===========================================
   ABOUT
=========================================== */
.about { background: var(--bg); }

.about__inner {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 80px;
  align-items: start;
}

.about__photo {
  width: 100%;
  aspect-ratio: 4/5;
  background: var(--card-2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}
.about__photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(222,170,0,0.06) 0%, transparent 60%);
}
.about__initials {
  font-size: 80px;
  font-weight: 900;
  color: var(--initials-color);
  letter-spacing: -0.04em;
  position: relative;
  z-index: 1;
}

.about__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-2);
  background: var(--card);
  border: 1px solid var(--border);
  padding: 5px 12px;
  border-radius: var(--r-pill);
  transition: all 0.2s;
}
.tag:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-dim);
}

.about__title {
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: var(--text-1);
  margin: 12px 0 24px;
}

.about__text {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about__creds {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin: 32px 0 36px;
}
.about__creds li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text-1);
  line-height: 1.5;
}
.cred__dot {
  width: 7px;
  height: 7px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 6px;
}

/* ===========================================
   TESTIMONIALS
=========================================== */
.testimonials {
  background: var(--card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.testimonial__featured {
  font-size: clamp(22px, 3.5vw, 38px);
  font-weight: 700;
  font-style: italic;
  color: var(--text-1);
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.testimonial__featured cite {
  display: block;
  font-size: 14px;
  font-weight: 600;
  font-style: normal;
  color: var(--gold);
  margin-top: 18px;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.testimonial-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s var(--ease);
}
.testimonial-card:hover {
  border-color: var(--border-2);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
}

.t-stars {
  color: var(--gold);
  font-size: 15px;
  letter-spacing: 3px;
  margin-bottom: 16px;
}

.t-quote {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.8;
  font-style: italic;
  flex: 1;
  margin-bottom: 28px;
}

.t-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.t-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold-dim);
  border: 1px solid rgba(222,170,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  color: var(--gold);
  flex-shrink: 0;
  letter-spacing: 0.05em;
}
.t-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 2px;
}
.t-role {
  font-size: 12px;
  color: var(--text-3);
}

/* ===========================================
   CONTACT
=========================================== */
.contact { background: var(--bg); }

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact__title {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--text-1);
  margin: 12px 0 16px;
}

.contact__sub {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 32px;
}

.contact__bullets {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}
.contact__bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--text-2);
}
.check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: var(--gold-dim);
  border: 1px solid rgba(222,170,0,0.3);
  border-radius: var(--r-pill);
  font-size: 11px;
  color: var(--gold);
  flex-shrink: 0;
  font-weight: 800;
}

.contact__socials { display: flex; gap: 10px; }
.social-pill {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: var(--r-sm);
  background: var(--card);
  transition: all 0.2s;
}
.social-pill:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-dim);
}

.contact__form-wrap {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 40px;
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-1);
}
.form-optional {
  font-weight: 400;
  color: var(--text-3);
}

.form-input {
  background: var(--card-2);
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  padding: 12px 16px;
  font-size: 14px;
  color: var(--text-1);
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
.form-input::placeholder { color: var(--text-3); }
.form-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-dim);
}

.form-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%234A4A5E' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}
.form-select option {
  background: var(--card-2);
  color: var(--text-1);
}

/* Phone input with country code */
.phone-input-group {
  display: flex;
  background: var(--card-2);
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.phone-input-group:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-dim);
}
.phone-code-select {
  background: transparent;
  border: none;
  border-right: 1.5px solid var(--border);
  padding: 12px 6px 12px 12px;
  font-size: 13px;
  color: var(--text-1);
  font-family: inherit;
  outline: none;
  cursor: pointer;
  flex-shrink: 0;
  appearance: none;
  -webkit-appearance: none;
  width: 88px;
}
.phone-code-select option {
  background: var(--card-2);
  color: var(--text-1);
}
.phone-number-input {
  background: transparent;
  border: none;
  padding: 12px 16px;
  font-size: 14px;
  color: var(--text-1);
  font-family: inherit;
  outline: none;
  flex: 1;
  min-width: 0;
}
.phone-number-input::placeholder { color: var(--text-3); }

.form-note {
  font-size: 12px;
  color: var(--text-3);
  text-align: center;
  line-height: 1.5;
}

/* ===========================================
   FOOTER
=========================================== */
.footer {
  background: var(--card);
  border-top: 3px solid var(--gold);
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding: 64px 28px 48px;
}

.footer__logo {
  font-size: 21px;
  font-weight: 800;
  color: var(--text-1);
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}
.footer__logo span { color: var(--gold); }

.footer__tagline {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: 24px;
  max-width: 240px;
}

.footer__socials { display: flex; gap: 8px; }
.footer__social-btn {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border-2);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: var(--text-2);
  text-transform: uppercase;
  transition: all 0.2s;
}
.footer__social-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-dim);
}

.footer__heading {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-1);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer__links a {
  font-size: 14px;
  color: var(--text-2);
  transition: color 0.2s;
}
.footer__links a:hover { color: var(--text-1); }

.footer__links--info li {
  font-size: 14px;
  color: var(--text-2);
}
.footer__response {
  color: var(--gold) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
}

.footer__bottom { border-top: 1px solid var(--border); }
.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  font-size: 12px;
  color: var(--text-3);
}
.footer__legal { display: flex; gap: 24px; }
.footer__legal a {
  color: var(--text-3);
  transition: color 0.2s;
}
.footer__legal a:hover { color: var(--text-2); }

/* ===========================================
   REVEAL ANIMATION
=========================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================================
   RESPONSIVE — TABLET
=========================================== */
@media (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .service-card:nth-child(1),
  .service-card:nth-child(2),
  .service-card:nth-child(3),
  .service-card:nth-child(4),
  .service-card:nth-child(5) { grid-column: span 1; }

  .cases__grid { grid-template-columns: 1fr; }

  .about__inner { grid-template-columns: 260px 1fr; gap: 48px; }

  .footer__inner { grid-template-columns: 1fr 1fr; }
}

/* ===========================================
   RESPONSIVE — MOBILE
=========================================== */
@media (max-width: 768px) {
  .nav__links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--mobile-nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    z-index: 99;
  }
  .nav__links.open { display: flex; }
  .nav__links li { border-bottom: 1px solid var(--border); }
  .nav__links li:last-child { border-bottom: none; }
  .nav__link { display: block; padding: 15px 28px; font-size: 15px; color: var(--text-1); }

  .nav__burger { display: flex; }
  .btn--nav { display: none; }

  .hero__inner {
    grid-template-columns: 1fr;
    padding-top: calc(var(--nav-h) + 48px);
    text-align: center;
  }
  .hero__badge { display: inline-flex; }
  .hero__sub { margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; }
  .hero__visual { display: none; }

  .stats-bar__inner { flex-wrap: wrap; gap: 20px; padding: 24px 16px; }
  .stat { padding: 0 20px; }
  .stat__divider { display: none; }

  .services__grid { grid-template-columns: 1fr; }
  .testimonials__grid { grid-template-columns: 1fr; }

  .about__inner { grid-template-columns: 1fr; gap: 40px; }
  .about__photo { max-width: 220px; margin: 0 auto 20px; }
  .about__left { display: flex; flex-direction: column; align-items: center; }

  .contact__inner { grid-template-columns: 1fr; gap: 48px; }
  .contact__form-wrap { padding: 24px 18px; }

  .footer__inner { grid-template-columns: 1fr; gap: 28px; padding: 40px 28px 32px; }
  .footer__bottom-inner { flex-direction: column; gap: 12px; text-align: center; }

  .section { padding: 72px 0; }
  .section__header { margin-bottom: 48px; }
}
