/* ============================================================
   Convertify CRO — Main Stylesheet
   Design: Manrope + Inter | Premium Agency | v1.0
   ============================================================ */

/* ── Google Fonts ──────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

/* ── Design Tokens ─────────────────────────────────────── */
:root {
  /* Colors */
  --white:          #FFFFFF;
  --dark:           #111827;
  --dark-secondary: #1F2937;
  --gray-50:        #F9FAFB;
  --gray-100:       #F3F4F6;
  --gray-200:       #E5E7EB;
  --gray-300:       #D1D5DB;
  --gray-400:       #9CA3AF;
  --gray-500:       #6B7280;
  --gray-600:       #4B5563;
  --gray-700:       #374151;
  --blue:           #2563EB;
  --blue-dark:      #1D4ED8;
  --blue-light:     #EFF6FF;
  --blue-subtle:    #DBEAFE;

  /* Typography */
  --font-display: 'Manrope', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;

  /* Spacing */
  --unit:         8px;
  --container:    1280px;
  --gutter:       40px;

  /* Radius */
  --r-sm:   4px;
  --r-md:   8px;
  --r-lg:   16px;
  --r-xl:   24px;
  --r-pill: 9999px;

  /* Shadows */
  --shadow-card: 0 1px 3px rgba(0,0,0,.06), 0 20px 50px rgba(0,0,0,.05);
  --shadow-hover: 0 2px 8px rgba(0,0,0,.08), 0 30px 60px rgba(0,0,0,.08);
  --shadow-btn:  0 1px 2px rgba(0,0,0,.12), 0 4px 16px rgba(37,99,235,.30);

  /* Transitions */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

ul, ol { list-style: none; }

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* ── Layout Utilities ───────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: 120px;
}

.section--alt {
  background: var(--gray-50);
}

/* ── Typography Scale ───────────────────────────────────── */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 20px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--dark);
}

.section-title .accent {
  color: var(--blue);
}

.section-subtitle {
  font-size: 18px;
  color: var(--gray-500);
  line-height: 1.6;
  max-width: 600px;
}

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--r-md);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  border: none;
  transition: all .22s var(--ease);
  white-space: nowrap;
  text-decoration: none;
}

.btn--primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: var(--shadow-btn);
}

.btn--primary:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 2px 12px rgba(37,99,235,.4), 0 8px 24px rgba(37,99,235,.2);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--ghost {
  background: transparent;
  color: var(--dark);
  border: 1.5px solid var(--gray-200);
}

.btn--ghost:hover {
  border-color: var(--gray-400);
  background: var(--gray-50);
}

.btn--lg {
  padding: 16px 32px;
  font-size: 16px;
  border-radius: 10px;
}

.btn--full {
  width: 100%;
}

/* ── Navigation ─────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease;
}

.nav.scrolled {
  border-color: var(--gray-200);
  box-shadow: 0 1px 0 var(--gray-100), 0 4px 24px rgba(0,0,0,.04);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.03em;
}

.nav__logo-mark {
  width: 32px;
  height: 32px;
  background: var(--blue);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  color: white;
  letter-spacing: -0.04em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
  transition: color .15s ease;
  letter-spacing: -0.01em;
}

.nav__link:hover { color: var(--dark); }

.nav__cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Hamburger */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all .25s var(--ease);
}

.nav__toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav__toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav__mobile {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 20px var(--gutter) 28px;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 8px 32px rgba(0,0,0,.06);
}

.nav__mobile.active { display: flex; }

.nav__mobile-link {
  padding: 12px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
  display: block;
}

.nav__mobile-link:last-child { border-bottom: none; }

.nav__mobile .btn {
  margin-top: 12px;
  justify-content: center;
}

/* ── Hero Section ───────────────────────────────────────── */
.hero {
  padding-top: 148px;
  padding-bottom: 120px;
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  align-items: start;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 6px;
  background: var(--blue-light);
  border: 1px solid var(--blue-subtle);
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.04em;
  margin-bottom: 28px;
}

.hero__badge-dot {
  width: 20px;
  height: 20px;
  background: var(--blue);
  border-radius: var(--r-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero__badge-dot svg {
  width: 12px;
  height: 12px;
  fill: white;
}

.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(44px, 5.5vw, 72px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--dark);
  margin-bottom: 24px;
}

.hero__headline .line-accent {
  color: var(--blue);
  display: block;
}

.hero__sub {
  font-size: 18px;
  color: var(--gray-500);
  line-height: 1.65;
  max-width: 480px;
  margin-bottom: 36px;
}

.hero__social-proof {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero__avatars {
  display: flex;
  align-items: center;
}

.hero__avatar {
  width: 36px;
  height: 36px;
  border-radius: var(--r-pill);
  border: 2.5px solid var(--white);
  background: var(--gray-200);
  margin-left: -8px;
  overflow: hidden;
  flex-shrink: 0;
}

.hero__avatar:first-child { margin-left: 0; }

.hero__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Avatar placeholder colors */
.hero__avatar--a { background: #E0D4F5; }
.hero__avatar--b { background: #D4E8F5; }
.hero__avatar--c { background: #F5D4D4; }

.hero__avatar-initials {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--gray-600);
}

.hero__rating {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero__stars {
  display: flex;
  gap: 2px;
  color: #F59E0B;
  font-size: 16px;
}

.hero__rating-text {
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-500);
}

.hero__rating-text strong {
  color: var(--dark);
  font-weight: 600;
}

/* ── Hero Form Card ─────────────────────────────────────── */
.hero-form-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-xl);
  padding: 36px;
  box-shadow: var(--shadow-card);
  position: relative;
}

.hero-form-card__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.hero-form-card__sub {
  font-size: 14px;
  color: var(--gray-400);
  margin-bottom: 28px;
}

/* ── Form Fields ────────────────────────────────────────── */
.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 6px;
}

.field label .req {
  color: var(--blue);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-md);
  background: var(--white);
  color: var(--dark);
  font-size: 15px;
  line-height: 1.4;
  transition: border-color .18s ease, box-shadow .18s ease;
  -webkit-appearance: none;
  appearance: none;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--gray-300);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,.08);
}

.field input.error,
.field select.error,
.field textarea.error {
  border-color: #EF4444;
  box-shadow: 0 0 0 3px rgba(239,68,68,.08);
}

.field__error {
  font-size: 12px;
  color: #EF4444;
  margin-top: 4px;
  display: none;
}

.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
  cursor: pointer;
}

.field textarea {
  resize: vertical;
  min-height: 100px;
}

/* Honeypot */
.field--honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
  tab-index: -1;
}

/* Form message */
.form-message {
  display: none;
  padding: 14px 16px;
  border-radius: var(--r-md);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 16px;
  line-height: 1.4;
}

.form-message--success {
  background: #F0FDF4;
  color: #166534;
  border: 1px solid #BBF7D0;
}

.form-message--error {
  background: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FECACA;
}

/* ── Stats Section ──────────────────────────────────────── */
.stats {
  padding-block: 80px;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.stat {
  text-align: center;
}

.stat__number {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--dark);
  line-height: 1;
  margin-bottom: 8px;
}

.stat__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-400);
}

/* ── Services Section ───────────────────────────────────── */
.services__header {
  text-align: center;
  margin-bottom: 64px;
}

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

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-xl);
  padding: 36px 32px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s ease;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, rgba(37,99,235,.03) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .25s ease;
}

.service-card:hover::before { opacity: 1; }

.service-card__icon {
  width: 48px;
  height: 48px;
  background: var(--blue-light);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.service-card__icon svg {
  width: 24px;
  height: 24px;
  color: var(--blue);
}

.service-card__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.service-card__desc {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.65;
}

/* ── Portfolio Section ──────────────────────────────────── */
.portfolio__header {
  text-align: center;
  margin-bottom: 56px;
}

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

.portfolio-card {
  border-radius: var(--r-xl);
  overflow: hidden;
  position: relative;
  aspect-ratio: 3/4;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  cursor: pointer;
}

.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 64px rgba(0,0,0,.16);
}

.portfolio-card__bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.portfolio-card__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s var(--ease);
}

.portfolio-card:hover .portfolio-card__bg-img {
  transform: scale(1.04);
}

/* Placeholder backgrounds for cards without images */
.portfolio-card--skincare .portfolio-card__bg { background: #B2D8CE; }
.portfolio-card--electronics .portfolio-card__bg { background: #1C2B3A; }
.portfolio-card--fashion .portfolio-card__bg { background: #8EA39E; }
.portfolio-card--premium .portfolio-card__bg { background: #2C3E50; }

.portfolio-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.75) 0%, rgba(0,0,0,.1) 50%, transparent 100%);
}

.portfolio-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 20px;
}

.portfolio-card__title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
  line-height: 1.3;
}

.portfolio-card__desc {
  font-size: 13px;
  color: rgba(255,255,255,.75);
  line-height: 1.4;
  margin-bottom: 14px;
}

.portfolio-card__metrics {
  display: flex;
  gap: 12px;
}

.portfolio-metric {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.portfolio-metric__val {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.portfolio-metric__lbl {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,.6);
  text-transform: uppercase;
}

/* Portfolio placeholder SVG content */
.portfolio-card__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

/* ── Process Section ────────────────────────────────────── */
.process__header {
  text-align: center;
  margin-bottom: 72px;
}

.process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.process__grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(12.5% + 16px);
  right: calc(12.5% + 16px);
  height: 1px;
  background: var(--gray-200);
  z-index: 0;
}

.process-step {
  text-align: center;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.process-step__num {
  width: 56px;
  height: 56px;
  border-radius: var(--r-pill);
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--blue);
  transition: all .2s ease;
  box-shadow: 0 0 0 6px var(--white);
}

.process-step:hover .process-step__num {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
  box-shadow: 0 0 0 6px var(--white), 0 4px 20px rgba(37,99,235,.3);
}

.process-step__title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.process-step__desc {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ── Tech Stack Section ─────────────────────────────────── */
.tech__header {
  text-align: center;
  margin-bottom: 56px;
}

.tech__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.tech-logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--gray-400);
  letter-spacing: -0.02em;
  transition: color .2s ease;
  white-space: nowrap;
}

.tech-logo:hover { color: var(--gray-700); }

/* ── Testimonials Section ───────────────────────────────── */
.testimonials__header {
  text-align: center;
  margin-bottom: 64px;
}

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

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-xl);
  padding: 32px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.testimonial-card__stars {
  display: flex;
  gap: 3px;
  color: #F59E0B;
  font-size: 18px;
  margin-bottom: 20px;
}

.testimonial-card__quote {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--r-pill);
  background: var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-500);
  flex-shrink: 0;
  overflow: hidden;
}

.testimonial-card__name {
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 2px;
}

.testimonial-card__role {
  font-size: 13px;
  color: var(--gray-400);
}

/* ── FAQ Section ────────────────────────────────────────── */
.faq__header {
  text-align: center;
  margin-bottom: 56px;
}

.faq__list {
  max-width: 760px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid var(--gray-200);
}

.faq-item:first-child {
  border-top: 1px solid var(--gray-200);
}

.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  color: var(--dark);
  transition: color .2s ease;
}

.faq-item__q:hover { color: var(--blue); }

.faq-item__icon {
  width: 24px;
  height: 24px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all .25s var(--ease);
}

.faq-item__icon svg {
  width: 14px;
  height: 14px;
  stroke: var(--gray-400);
  transition: transform .3s var(--ease), stroke .2s ease;
}

.faq-item.open .faq-item__icon {
  background: var(--blue);
  border-color: var(--blue);
}

.faq-item.open .faq-item__icon svg {
  transform: rotate(180deg);
  stroke: white;
}

.faq-item__a {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s var(--ease), padding-bottom .35s ease;
}

.faq-item.open .faq-item__a {
  max-height: 400px;
  padding-bottom: 22px;
}

/* ── CTA / Contact Section ──────────────────────────────── */
.cta-section {
  background: var(--gray-50);
}

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

.cta-section__headline {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--dark);
  margin-bottom: 20px;
}

.cta-section__sub {
  font-size: 17px;
  color: var(--gray-500);
  line-height: 1.65;
  margin-bottom: 36px;
}

.cta-section__contacts {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cta-contact {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--gray-600);
  transition: color .2s ease;
}

.cta-contact:hover { color: var(--dark); }

.cta-contact__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cta-contact__icon--email { background: var(--blue-light); }
.cta-contact__icon--whatsapp { background: #F0FDF4; }

.cta-contact__icon svg {
  width: 20px;
  height: 20px;
}

.cta-contact__icon--email svg { color: var(--blue); }
.cta-contact__icon--whatsapp svg { color: #22C55E; }

/* Contact Form Card */
.contact-form-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-xl);
  padding: 36px;
  box-shadow: var(--shadow-card);
}

.contact-form-card__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

/* ── Footer ─────────────────────────────────────────────── */
.footer {
  background: var(--dark-secondary);
  padding-block: 48px;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer__logo {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer__logo-mark {
  width: 28px;
  height: 28px;
  background: var(--blue);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: white;
  font-weight: 800;
}

.footer__links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer__link {
  font-size: 13px;
  color: var(--gray-400);
  transition: color .15s ease;
}

.footer__link:hover { color: var(--white); }

.footer__copy {
  font-size: 13px;
  color: var(--gray-500);
}

/* ── Floating WhatsApp Button ───────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: var(--r-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: transform .2s ease, box-shadow .2s ease;
  cursor: pointer;
}

.wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37,211,102,.5);
}

.wa-float svg {
  width: 28px;
  height: 28px;
  fill: white;
}

/* ── Scroll reveal ──────────────────────────────────────── */
/*
 * Progressive enhancement: .reveal only hides content when
 * JS has run and added .js-ready to <html>.
 * Without JS (or if JS errors), everything is always visible.
 */
.reveal {
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}

.js-ready .reveal {
  opacity: 0;
  transform: translateY(24px);
}

.js-ready .reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* stagger children */
.js-ready .reveal-stagger > *:nth-child(1) { transition-delay: 0ms; }
.js-ready .reveal-stagger > *:nth-child(2) { transition-delay: 80ms; }
.js-ready .reveal-stagger > *:nth-child(3) { transition-delay: 160ms; }
.js-ready .reveal-stagger > *:nth-child(4) { transition-delay: 240ms; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  :root { --gutter: 24px; }

  .section { padding-block: 88px; }
  .hero { padding-top: 128px; padding-bottom: 88px; }

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

  .hero-form-card { max-width: 540px; }

  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-card { aspect-ratio: 4/5; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }

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

  .cta-section__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact-form-card { max-width: 560px; }

  .process__grid::before { display: none; }
}

@media (max-width: 767px) {
  :root { --gutter: 20px; }

  .section { padding-block: 72px; }
  .hero { padding-top: 112px; padding-bottom: 72px; }

  .nav__links { display: none; }
  .nav__cta .btn { display: none; }
  .nav__toggle { display: flex; }

  .hero__headline { font-size: 38px; }
  .hero__sub { font-size: 16px; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat__number { font-size: 36px; }

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

  .portfolio__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .portfolio-card { aspect-ratio: 3/4; }

  .process__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .process__grid::before { display: none; }

  .tech__logos { gap: 32px; }
  .tech-logo { font-size: 18px; }

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

  .footer__inner { flex-direction: column; text-align: center; }
  .footer__links { justify-content: center; }

  .hero-form-card { padding: 28px 24px; }
  .contact-form-card { padding: 28px 24px; }
}

@media (max-width: 480px) {
  .portfolio__grid { grid-template-columns: 1fr; }
  .portfolio-card { aspect-ratio: 4/3; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }

  .section-title { font-size: 28px; }
}

/* ── Reduced Motion ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .js-ready .reveal,
  .js-ready .reveal.revealed {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
