/* ==========================================================================
   Constructora Andes — Landing Corporativa Premium
   Minimalista · corporativo · accesible (WCAG) · Core Web Vitals
   ========================================================================== */

/* ---------- 1. Design Tokens ---------- */
:root {
  --navy: #0F172A;
  --navy-800: #1E293B;
  --navy-700: #334155;
  --orange: #F97316;
  --orange-dark: #EA580C;
  --orange-soft: #FB923C;
  --white: #FFFFFF;
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-400: #94A3B8;
  --gray-500: #64748B;
  --gray-600: #475569;
  --gray-700: #334155;

  --text: #1E293B;
  --text-muted: #64748B;
  --border: #E2E8F0;
  --danger: #DC2626;
  --success: #16A34A;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-full: 999px;

  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 56px rgba(15, 23, 42, 0.14);
  --shadow-orange: 0 12px 28px rgba(249, 115, 22, 0.3);

  --container: 1200px;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --transition: 0.35s var(--ease);
}

/* ---------- 2. Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

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

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: inherit; }

h1, h2, h3, h4 {
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- 3. Utilidades ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--alt { background: var(--gray-50); }
.section--dark { background: var(--navy); }
.text-orange { color: var(--orange); }

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 2000;
  background: var(--navy);
  color: var(--white);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 16px; }

.section__header {
  max-width: 680px;
  margin: 0 auto clamp(40px, 6vw, 64px);
  text-align: center;
}
.section__header--left { text-align: left; margin-inline: 0; max-width: 520px; }
.section__tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--orange);
  background: rgba(249, 115, 22, 0.1);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 18px;
}
.section__tag--light { background: rgba(249, 115, 22, 0.18); }
.section__title { font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: 16px; }
.section__title--light { color: var(--white); }
.section__subtitle { font-size: clamp(1rem, 1.6vw, 1.15rem); color: var(--text-muted); line-height: 1.65; }
.section__subtitle--light { color: rgba(255, 255, 255, 0.7); }

/* ---------- 4. Botones ---------- */
.btn {
  --btn-bg: var(--orange);
  --btn-color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  background: var(--btn-bg);
  color: var(--btn-color);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { box-shadow: var(--shadow-orange); }
.btn--primary:hover { background: var(--orange-dark); box-shadow: 0 16px 34px rgba(249, 115, 22, 0.38); }
.btn--ghost {
  --btn-bg: transparent;
  --btn-color: var(--navy);
  border: 1.5px solid var(--gray-300);
}
.btn--ghost:hover { --btn-bg: var(--navy); --btn-color: var(--white); border-color: var(--navy); }
.btn--lg { padding: 16px 32px; font-size: 1.05rem; }
.btn--full { width: 100%; }

.btn__loader {
  display: none;
  width: 20px; height: 20px;
  border: 2.5px solid rgba(255, 255, 255, 0.35);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.btn.is-loading .btn__text { opacity: 0; }
.btn.is-loading .btn__loader { display: block; position: absolute; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- 5. Header ---------- */
.header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: var(--header-h);
  z-index: 1000;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.header.is-scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--border);
}
.header__container { height: 100%; display: flex; align-items: center; justify-content: space-between; }

.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; color: var(--navy); }
.logo__accent { color: var(--orange); }

.nav { display: flex; align-items: center; }
.nav__menu { display: flex; align-items: center; gap: 4px; }
.nav__link {
  display: inline-block;
  padding: 10px 16px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--navy-700);
  border-radius: var(--radius-sm);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav__link:hover { color: var(--orange); background: var(--gray-100); }
.nav__link--cta { background: var(--orange); color: var(--white); margin-left: 8px; box-shadow: var(--shadow-orange); }
.nav__link--cta:hover { background: var(--orange-dark); color: var(--white); }

.nav__toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; z-index: 1100; }
.nav__toggle-bar { width: 26px; height: 2.5px; background: var(--navy); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(40px, 7vw, 80px));
  padding-bottom: clamp(60px, 8vw, 100px);
  overflow: hidden;
}
.hero__bg-deco {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 140%;
  background: radial-gradient(circle at center, rgba(249, 115, 22, 0.08), transparent 62%);
  z-index: -1;
}
.hero__container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-700);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: var(--gray-100);
  border: 1px solid var(--border);
  margin-bottom: 24px;
}
.hero__badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); animation: pulse 2s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.5); }
  70% { box-shadow: 0 0 0 9px rgba(249, 115, 22, 0); }
  100% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0); }
}
.hero__title { font-size: clamp(2.3rem, 5vw, 4rem); font-weight: 900; line-height: 1.06; margin-bottom: 22px; }
.hero__subtitle { font-size: clamp(1.05rem, 1.7vw, 1.2rem); color: var(--text-muted); line-height: 1.65; max-width: 540px; margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 30px; }
.hero__highlights { display: flex; flex-wrap: wrap; gap: 12px 26px; }
.hero__highlights li { display: inline-flex; align-items: center; gap: 8px; font-size: 0.92rem; font-weight: 500; color: var(--navy-700); }
.hero__highlights svg { color: var(--orange); flex-shrink: 0; }

.hero__media { position: relative; }
.hero__img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.hero__media-badge {
  position: absolute;
  bottom: 24px;
  left: -24px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  padding: 16px 22px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero__media-badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: var(--radius-sm);
  background: rgba(249, 115, 22, 0.12);
  color: var(--orange);
}
.hero__media-badge strong { display: block; font-size: 1.15rem; color: var(--navy); font-weight: 800; }
.hero__media-badge span { font-size: 0.85rem; color: var(--text-muted); }

/* ---------- 7. Estadísticas ---------- */
.stats { padding-bottom: clamp(40px, 6vw, 72px); margin-top: -30px; position: relative; z-index: 5; }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.stat { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 38px 20px; background: var(--white); }
.stat__number { font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 900; color: var(--navy); letter-spacing: -0.03em; line-height: 1; }
.stat__label { font-size: 0.92rem; color: var(--text-muted); font-weight: 500; }

/* ---------- 8. Servicios ---------- */
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px; height: 62px;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--orange);
  margin-bottom: 22px;
  transition: background var(--transition), transform var(--transition);
}
.service-card:hover .service-card__icon { background: var(--orange); color: var(--white); transform: rotate(-4deg); }
.service-card__title { font-size: 1.2rem; margin-bottom: 10px; }
.service-card__text { font-size: 0.95rem; color: var(--text-muted); line-height: 1.65; }

/* ---------- 9. Portafolio ---------- */
.portfolio__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.project-card {
  background: var(--navy-800);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.project-card:hover { transform: translateY(-8px); box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4); }
.project-card__image { position: relative; aspect-ratio: 7 / 5; overflow: hidden; }
.project-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.project-card:hover .project-card__img { transform: scale(1.07); }
.project-card__category {
  position: absolute;
  top: 14px; left: 14px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 13px;
  border-radius: var(--radius-full);
  background: var(--orange);
  color: var(--white);
}
.project-card__body { padding: 22px 24px 26px; }
.project-card__title { color: var(--white); font-size: 1.25rem; margin-bottom: 8px; }
.project-card__location { display: flex; align-items: center; gap: 6px; font-size: 0.9rem; color: var(--gray-400); margin-bottom: 18px; }
.project-card__location svg { color: var(--orange); }
.project-card__link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.92rem; color: var(--orange); transition: gap 0.25s var(--ease); }
.project-card__link:hover { gap: 12px; color: var(--orange-soft); }

/* ---------- 10. ¿Por qué elegirnos? ---------- */
.why__container { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.why__media { position: relative; }
.why__img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.why__experience {
  position: absolute;
  bottom: 28px; right: -20px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--orange);
  color: var(--white);
  padding: 20px 26px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-orange);
}
.why__experience-num { font-size: 2.6rem; font-weight: 900; line-height: 1; }
.why__experience-text { font-size: 0.9rem; font-weight: 600; line-height: 1.25; }

.why__content { display: flex; flex-direction: column; }
.why__list { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 28px; margin-top: 12px; }
.why__item { display: flex; gap: 14px; }
.why__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: rgba(249, 115, 22, 0.1);
  color: var(--orange);
}
.why__item-title { font-size: 1.05rem; margin-bottom: 5px; }
.why__item-text { font-size: 0.9rem; color: var(--text-muted); line-height: 1.55; }

/* ---------- 11. Proceso ---------- */
.process__timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  position: relative;
}
.process__timeline::before {
  content: "";
  position: absolute;
  top: 26px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--gray-300) 0 8px, transparent 8px 16px);
  z-index: 0;
}
.process__step { position: relative; text-align: center; z-index: 1; padding: 0 6px; }
.process__num {
  position: absolute;
  top: -10px; left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  border: 3px solid var(--white);
}
.process__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px; height: 72px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--border);
  color: var(--navy);
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}
.process__step:hover .process__icon { background: var(--navy); color: var(--orange); border-color: var(--navy); transform: translateY(-4px); }
.process__title { font-size: 1.1rem; margin-bottom: 8px; }
.process__text { font-size: 0.88rem; color: var(--text-muted); line-height: 1.55; }

/* ---------- 12. Testimonios ---------- */
.testimonials__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 30px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.testimonial-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.testimonial-card__stars { display: inline-flex; gap: 3px; color: var(--orange); margin-bottom: 18px; }
.testimonial-card__quote { font-size: 1rem; color: var(--navy-700); line-height: 1.65; margin-bottom: 24px; }
.testimonial-card__author { display: flex; align-items: center; gap: 14px; }
.testimonial-card__avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid var(--orange); }
.testimonial-card__name { font-weight: 700; font-style: normal; color: var(--navy); display: block; }
.testimonial-card__role { font-size: 0.85rem; color: var(--text-muted); }

/* ---------- 13. Blog ---------- */
.blog__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.blog-card__image-link { display: block; aspect-ratio: 7 / 4.5; overflow: hidden; }
.blog-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.blog-card:hover .blog-card__img { transform: scale(1.06); }
.blog-card__body { padding: 24px 26px 28px; }
.blog-card__category {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--orange);
  margin-bottom: 12px;
}
.blog-card__title { font-size: 1.2rem; line-height: 1.3; margin-bottom: 10px; }
.blog-card__title a { transition: color 0.2s var(--ease); }
.blog-card__title a:hover { color: var(--orange); }
.blog-card__excerpt { font-size: 0.92rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 18px; }
.blog-card__meta { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--gray-400); }

/* ---------- 14. CTA ---------- */
.cta { position: relative; background: var(--navy); overflow: hidden; padding: clamp(64px, 9vw, 110px) 0; }
.cta__deco {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 30%, rgba(249, 115, 22, 0.16), transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(249, 115, 22, 0.1), transparent 42%);
  z-index: 0;
}
.cta__container { position: relative; z-index: 1; }
.cta__content { max-width: 680px; margin: 0 auto; text-align: center; }
.cta__title { font-size: clamp(1.9rem, 4.2vw, 3rem); color: var(--white); margin-bottom: 16px; }
.cta__subtitle { font-size: clamp(1rem, 1.7vw, 1.2rem); color: rgba(255, 255, 255, 0.72); line-height: 1.65; margin-bottom: 32px; }

/* ---------- 15. Contacto ---------- */
.contact__wrapper { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 4vw, 56px); align-items: start; }
.contact__details { display: flex; flex-direction: column; gap: 20px; margin-bottom: 28px; }
.contact__detail { display: flex; gap: 16px; align-items: flex-start; }
.contact__detail-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px; height: 50px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: var(--navy);
  color: var(--orange);
}
.contact__detail strong { display: block; color: var(--navy); font-size: 1rem; margin-bottom: 2px; }
.contact__detail span, .contact__detail a { font-size: 0.92rem; color: var(--text-muted); }
.contact__detail a:hover { color: var(--orange); }
.contact__map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.contact__map iframe { display: block; }

.contact__form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 40px);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form__group { display: flex; flex-direction: column; gap: 7px; }
.form__label { font-size: 0.9rem; font-weight: 600; color: var(--navy-700); }
.form__label span { color: var(--orange); }
.form__input, .form__select, .form__textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--gray-50);
  color: var(--text);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}
.form__input::placeholder, .form__textarea::placeholder { color: var(--gray-400); }
.form__input:focus, .form__select:focus, .form__textarea:focus {
  outline: none;
  border-color: var(--orange);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.1);
}
.form__input.is-invalid, .form__select.is-invalid { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.08); }
.form__textarea { resize: vertical; min-height: 96px; }
.form__error { font-size: 0.82rem; color: var(--danger); min-height: 1em; font-weight: 500; }
.form__note { font-size: 0.82rem; color: var(--text-muted); text-align: center; line-height: 1.5; }
.form__success {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: rgba(22, 163, 74, 0.1);
  color: var(--success);
  font-weight: 600;
  font-size: 0.92rem;
}
.form__success[hidden] { display: none; }
.form__success svg { flex-shrink: 0; }

/* ---------- 16. Footer ---------- */
.footer { background: var(--navy); color: rgba(255, 255, 255, 0.66); padding: clamp(56px, 8vw, 80px) 0 30px; }
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 42px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.logo--footer { color: var(--white); margin-bottom: 18px; }
.footer__desc { font-size: 0.92rem; line-height: 1.7; max-width: 320px; margin-bottom: 22px; }
.footer__social { display: flex; gap: 12px; }
.footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.footer__social-link:hover { background: var(--orange); transform: translateY(-3px); }
.footer__title { color: var(--white); font-size: 1rem; margin-bottom: 18px; }
.footer__list { display: flex; flex-direction: column; gap: 12px; }
.footer__link { font-size: 0.92rem; color: rgba(255, 255, 255, 0.66); transition: color 0.2s var(--ease), padding-left 0.2s var(--ease); }
.footer__link:hover { color: var(--orange); padding-left: 4px; }
.footer__contact { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9rem; }
.footer__contact svg { color: var(--orange); flex-shrink: 0; margin-top: 3px; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 26px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- 17. Back to top ---------- */
.back-to-top {
  position: fixed;
  bottom: 26px; right: 26px;
  z-index: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px; height: 50px;
  border-radius: var(--radius-sm);
  background: var(--orange);
  color: var(--white);
  box-shadow: var(--shadow-orange);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition), background 0.2s var(--ease);
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--orange-dark); transform: translateY(-3px); }

/* ---------- 18. Scroll reveal ---------- */
[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
[data-animate="fade-left"] { transform: translateX(32px); }
[data-animate="fade-right"] { transform: translateX(-32px); }
[data-animate].is-visible { opacity: 1; transform: translate(0, 0); }

/* ---------- 19. Responsive ---------- */
@media (max-width: 992px) {
  .hero__container { grid-template-columns: 1fr; }
  .hero__media { max-width: 480px; margin-inline: auto; order: -1; }
  .hero__img { aspect-ratio: 16 / 11; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .services__grid, .portfolio__grid, .testimonials__grid, .blog__grid { grid-template-columns: repeat(2, 1fr); }
  .why__container { grid-template-columns: 1fr; }
  .why__media { max-width: 460px; }
  .section__header--left { max-width: none; }
  .process__timeline { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
  .process__timeline::before { display: none; }
  .contact__wrapper { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --header-h: 68px; }
  .nav__toggle { display: flex; }
  .nav__menu {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(320px, 82vw);
    height: 100dvh;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 6px;
    padding: 80px 28px 40px;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
  }
  .nav__menu.is-open { transform: translateX(0); }
  .nav__link { padding: 14px 18px; font-size: 1.05rem; }
  .nav__link--cta { margin-left: 0; text-align: center; margin-top: 10px; }
  .why__list { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .hero__media-badge { left: 0; }
  .why__experience { right: 0; }
}

@media (max-width: 560px) {
  .container { padding-inline: 18px; }
  .stats__grid { grid-template-columns: 1fr; }
  .services__grid, .portfolio__grid, .testimonials__grid, .blog__grid { grid-template-columns: 1fr; }
  .process__timeline { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .hero__actions .btn { width: 100%; }
}

/* ---------- 20. Reduce motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  [data-animate] { opacity: 1; transform: none; }
}
