/* latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/rP2Wp2ywxg089UriCZaSExdy3sGt9zz86GPwyKK58VXh.woff2) format('woff2'');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/rP2Wp2ywxg089UriCZaSExdy3sGt9zz86GPwyKy58Q.woff2) format('woff2'');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/rP2Hp2ywxg089UriCZ2IHSeH.woff2) format('woff2'');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/rP2Hp2ywxg089UriCZOIHQ.woff2) format('woff2'');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/rP2Hp2ywxg089UriCZ2IHSeH.woff2) format('woff2'');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/rP2Hp2ywxg089UriCZOIHQ.woff2) format('woff2'');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/rP2Hp2ywxg089UriCZ2IHSeH.woff2) format('woff2'');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/rP2Hp2ywxg089UriCZOIHQ.woff2) format('woff2'');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/rP2Hp2ywxg089UriCZ2IHSeH.woff2) format('woff2'');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/rP2Hp2ywxg089UriCZOIHQ.woff2) format('woff2'');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/nuFvD-vYSZviVYUb_rj3ij__anPXJzDwcbmjWBN2PKeiunDTbtPY_Q.woff2) format('woff2'');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/nuFvD-vYSZviVYUb_rj3ij__anPXJzDwcbmjWBN2PKeiunDYbtPY_Q.woff2) format('woff2'');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/nuFvD-vYSZviVYUb_rj3ij__anPXJzDwcbmjWBN2PKeiunDZbtPY_Q.woff2) format('woff2'');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/nuFvD-vYSZviVYUb_rj3ij__anPXJzDwcbmjWBN2PKeiunDXbtM.woff2) format('woff2'');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============================================
   LUCAS NIETO — Design System
   Apple Minimal Aesthetic
   ============================================ */

/* --- CSS Variables --- */
:root {
  /* Colors */
  --white: #FFFFFF;
  --white-warm: #FAFAFA;
  --gray-apple: #F5F5F7;
  --text-primary: #1D1D1F;
  --text-secondary: #86868B;
  --accent: #0071E3;
  --accent-hover: #0077ED;
  --accent-success: #30D158;
  --divider: #D2D2D7;
  --error: #FF3B30;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --section-padding: 120px;
  --section-padding-mobile: 64px;
  --container-max: 1120px;
  --container-narrow: 720px;

  /* Transitions */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --duration: 0.4s;

  /* Nav */
  --nav-height: 64px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--duration) var(--ease);
}

a:hover {
  color: var(--accent-hover);
}

ul,
ol {
  list-style: none;
}

/* --- Container --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow {
  max-width: var(--container-narrow);
}

/* --- Typography --- */
h1,
.h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

h2,
.h2 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(28px, 3.5vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

h3,
.h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.text-muted {
  font-size: 15px;
  color: var(--text-secondary);
  letter-spacing: 0.01em;
}

.text-lead {
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.5;
  color: var(--text-secondary);
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background-color var(--duration) var(--ease),
    backdrop-filter var(--duration) var(--ease);
}

.nav--scrolled {
  background-color: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--divider);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.nav__logo {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 18px;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  text-decoration: none;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color var(--duration) var(--ease);
}

.nav__link:hover {
  color: var(--accent);
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  background-color: var(--accent);
  color: var(--white) !important;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  border-radius: 980px;
  text-decoration: none;
  transition: background-color var(--duration) var(--ease);
}

.nav__cta:hover {
  background-color: var(--accent-hover);
  color: var(--white) !important;
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--text-primary);
  transition: transform var(--duration) var(--ease),
    opacity var(--duration) var(--ease);
}

.nav__hamburger--active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__hamburger--active span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger--active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.nav__mobile {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.nav__mobile--active {
  display: flex;
}

.nav__mobile .nav__link {
  font-size: 24px;
  font-weight: 600;
}

.nav__mobile .nav__cta {
  font-size: 18px;
  padding: 14px 32px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 17px;
  border-radius: 980px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--duration) var(--ease);
}

.btn--primary {
  background-color: var(--accent);
  color: var(--white);
}

.btn--primary:hover {
  background-color: var(--accent-hover);
  color: var(--white);
  transform: scale(1.02);
}

.btn--secondary {
  background-color: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}

.btn--secondary:hover {
  background-color: var(--accent);
  color: var(--white);
}

.btn--large {
  padding: 18px 40px;
  font-size: 18px;
}

/* --- Sections --- */
.section {
  padding: var(--section-padding) 0;
}

.section--gray {
  background-color: var(--gray-apple);
}

.section--white {
  background-color: var(--white);
}

.section__eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section__title {
  margin-bottom: 20px;
}

.section__subtitle {
  max-width: 600px;
  margin-bottom: 56px;
}

.section__header {
  text-align: center;
  margin-bottom: 64px;
}

.section__header .section__subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--nav-height);
}

.hero__content {
  max-width: 800px;
  padding: 0 24px;
}

.hero__title {
  margin-bottom: 24px;
}

.hero__subtitle {
  font-size: clamp(17px, 1.5vw, 21px);
  color: var(--text-secondary);
  line-height: 1.5;
  max-width: 580px;
  margin: 0 auto 40px;
}

.hero__cta {
  display: inline-flex;
}

/* Hero animations */
.hero__title,
.hero__subtitle,
.hero__cta {
  opacity: 0;
  transform: translateY(24px);
}

.hero__title.animate-in {
  animation: fadeUp 0.8s var(--ease) forwards;
}

.hero__subtitle.animate-in {
  animation: fadeUp 0.8s var(--ease) 0.2s forwards;
}

.hero__cta.animate-in {
  animation: fadeUp 0.8s var(--ease) 0.4s forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Trust Bar --- */
.trust-bar {
  padding: 40px 0;
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
}

.trust-bar__inner {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trust-bar__item {
  text-align: center;
}

.trust-bar__number {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 28px;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.trust-bar__label {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* --- Cards (Services) --- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.card {
  background-color: var(--gray-apple);
  border-radius: 20px;
  padding: 40px 32px;
  transition: transform var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease);
  text-decoration: none;
  color: inherit;
  display: block;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  color: inherit;
}

.card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.card__icon svg {
  width: 100%;
  height: 100%;
  stroke-width: 1.5;
}

.card__title {
  font-weight: 600;
  font-size: 22px;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.card__description {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 20px;
}

.card__link {
  font-weight: 600;
  font-size: 15px;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--duration) var(--ease);
}

.card:hover .card__link {
  gap: 10px;
}

/* --- Steps (Como trabajo) --- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  counter-reset: step;
}

.step {
  counter-increment: step;
  position: relative;
  padding-top: 48px;
}

.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 56px;
  color: var(--gray-apple);
  letter-spacing: -0.03em;
  position: absolute;
  top: 0;
  left: 0;
  line-height: 1;
}

.section--gray .step::before {
  color: var(--divider);
}

.step__title {
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.step__text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- Portfolio Grid --- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.portfolio-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background-color: var(--gray-apple);
  cursor: pointer;
  display: block;
  text-decoration: none;
}

.portfolio-item__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration) var(--ease);
}

.portfolio-item__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.45);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  opacity: 0.9;
  transition: opacity 0.3s var(--ease);
}

.portfolio-item:hover .portfolio-item__overlay {
  opacity: 1;
  background-color: rgba(0, 0, 0, 0.55);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.3) 65%);
}

.portfolio-item:hover .portfolio-item__image {
  transform: scale(1.03);
}

.portfolio-item__badge {
  display: inline-block;
  padding: 4px 12px;
  background-color: var(--accent);
  border-radius: 980px;
  font-size: 12px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
  width: fit-content;
}

.portfolio-item__title {
  font-weight: 700;
  font-size: 20px;
  color: var(--white);
  margin-bottom: 4px;
}

.portfolio-item__result {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}

/* --- Testimonial --- */
.testimonial {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.testimonial__quote {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin-bottom: 32px;
  font-style: italic;
}

.testimonial__author {
  font-weight: 600;
  font-size: 16px;
  color: var(--text-primary);
}

.testimonial__role {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* --- CTA Final --- */
.cta-section {
  text-align: center;
  padding: var(--section-padding) 0;
}

.cta-section__title {
  margin-bottom: 16px;
}

.cta-section__text {
  font-size: clamp(17px, 1.4vw, 21px);
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto 40px;
}

/* --- Contact Form --- */
.form-section {
  max-width: 560px;
  margin: 0 auto;
}

.form-section__intro {
  margin-bottom: 40px;
}

.form-section__intro p {
  font-size: 17px;
  color: var(--text-secondary);
  margin-top: 12px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.form-group label .required {
  color: var(--error);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-primary);
  background-color: var(--gray-apple);
  border: 1.5px solid transparent;
  border-radius: 12px;
  outline: none;
  transition: border-color var(--duration) var(--ease),
    background-color var(--duration) var(--ease);
  -webkit-appearance: none;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background-color: var(--white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-secondary);
  opacity: 0.6;
}

.form-group 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='%2386868B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
  cursor: pointer;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group--error input,
.form-group--error select,
.form-group--error textarea {
  border-color: var(--error);
}

.form-group__error {
  font-size: 13px;
  color: var(--error);
  margin-top: 6px;
  display: none;
}

.form-group--error .form-group__error {
  display: block;
}

.form-privacy {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.form-privacy svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.form-success {
  text-align: center;
  padding: 40px 0;
  display: none;
}

.form-success.active {
  display: block;
}

.form-success__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  color: var(--accent-success);
}

.form-success__title {
  font-weight: 700;
  font-size: 24px;
  margin-bottom: 8px;
}

.form-success__text {
  color: var(--text-secondary);
}

/* --- Contact alternatives --- */
.contact-alternatives {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}

.contact-alternatives__title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.contact-alternatives__subtitle {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.contact-alternatives__options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 600px) {
  .contact-alternatives__options {
    grid-template-columns: 1fr;
  }
}

.contact-option {
  padding: 28px 24px;
  background-color: var(--gray-apple);
  border-radius: 16px;
  transition: background-color var(--duration) var(--ease);
}

.contact-option__icon {
  width: 22px;
  height: 22px;
  margin-bottom: 12px;
  color: var(--text-secondary);
}

.contact-option__title {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.contact-option__text {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.5;
}

.contact-option__link {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.contact-option__link:hover {
  text-decoration: underline;
}

/* Contact form (alternative channel) */
.contact-form-section {
  margin-top: 48px;
}

.contact-form-section .form-section {
  max-width: 100%;
}

.contact-fallback {
  margin-top: 20px;
  text-align: center;
}

.contact-fallback p {
  font-size: 14px;
  color: var(--text-secondary);
}

.contact-fallback a {
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
}

.contact-fallback a:hover {
  text-decoration: underline;
}

/* --- Problems section --- */
.problems-list {
  max-width: 640px;
  margin: 0 auto;
}

.problems-list__item {
  font-size: clamp(17px, 1.3vw, 19px);
  color: var(--text-primary);
  padding: 16px 0;
  border-bottom: 1px solid var(--divider);
  line-height: 1.5;
}

.problems-list__item:last-child {
  border-bottom: none;
}

.problems-list__coda {
  font-size: 17px;
  color: var(--text-secondary);
  font-style: italic;
  margin-top: 32px;
  text-align: center;
}

/* --- Service Page --- */
.service-hero {
  padding-top: calc(var(--nav-height) + 80px);
  padding-bottom: 80px;
}

.service-hero h1 {
  font-size: clamp(32px, 4.5vw, 64px);
}

.service-hero__breadcrumb {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.service-hero__breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none;
}

.service-hero__breadcrumb a:hover {
  color: var(--accent);
}

.service-hero__breadcrumb span {
  margin: 0 8px;
  color: var(--divider);
}

.service-hero__subtitle {
  font-size: clamp(17px, 1.4vw, 21px);
  color: var(--text-secondary);
  line-height: 1.5;
  margin-top: 20px;
}

.service-content {
  max-width: var(--container-narrow);
  margin: 0 auto;
}

.service-content h2 {
  font-size: clamp(24px, 2.5vw, 36px);
  margin-bottom: 16px;
  margin-top: 64px;
}

.service-content h2:first-child {
  margin-top: 0;
}

.service-content p {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-content ul {
  margin-bottom: 20px;
}

.service-content ul li {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
  padding-left: 20px;
  position: relative;
  margin-bottom: 8px;
}

.service-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent);
}

/* Service — Feature cards */
.service-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 32px;
  margin-bottom: 20px;
}

.service-feature {
  background-color: var(--gray-apple);
  border-radius: 16px;
  padding: 28px 24px;
  transition: transform var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease);
}

.service-feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.service-feature__icon {
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  color: var(--accent);
}

.service-feature__icon svg {
  width: 100%;
  height: 100%;
  stroke-width: 1.5;
}

.service-feature__title {
  font-weight: 600;
  font-size: 17px;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.service-feature__text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Service — Screenshot showcase */
.service-screenshot {
  margin-top: 32px;
  margin-bottom: 20px;
}

.service-screenshot__frame {
  background-color: var(--gray-apple);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.service-screenshot__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background-color: var(--white);
  border-bottom: 1px solid var(--divider);
}

.service-screenshot__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--divider);
}

.service-screenshot__url {
  flex: 1;
  height: 28px;
  background-color: var(--gray-apple);
  border-radius: 6px;
  margin-left: 8px;
}

.service-screenshot__frame img {
  width: 100%;
  height: auto;
  display: block;
}

.service-screenshot__caption {
  font-size: 14px;
  color: var(--text-secondary);
  text-align: center;
  margin-top: 16px;
  font-style: italic;
}

/* Service — Demo placeholder */
.service-demo {
  background-color: var(--gray-apple);
  border-radius: 20px;
  padding: 48px 32px;
  text-align: center;
  margin-top: 32px;
  margin-bottom: 20px;
}

.service-demo__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  color: var(--accent);
}

.service-demo__icon svg {
  width: 100%;
  height: 100%;
  stroke-width: 1.5;
}

.service-demo__title {
  font-weight: 700;
  font-size: clamp(20px, 2vw, 24px);
  margin-bottom: 12px;
  color: var(--text-primary);
}

.service-demo__text {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

.service-demo__badge {
  display: inline-block;
  padding: 6px 16px;
  background-color: rgba(0, 113, 227, 0.1);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  border-radius: 980px;
  margin-top: 16px;
}

/* Service — Stat cards */
.service-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 32px;
  margin-bottom: 20px;
}

.service-stat {
  text-align: center;
  padding: 32px 20px;
  background-color: var(--gray-apple);
  border-radius: 16px;
  transition: transform var(--duration) var(--ease);
}

.service-stat:hover {
  transform: scale(1.02);
}

.service-stat__number {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(32px, 3vw, 44px);
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 8px;
}

.service-stat__label {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Service — Objections */
.service-objections {
  margin-top: 32px;
  margin-bottom: 20px;
}

.service-objection {
  padding: 24px 0;
  border-bottom: 1px solid var(--divider);
}

.service-objection:last-child {
  border-bottom: none;
}

.service-objection__question {
  font-weight: 600;
  font-size: 17px;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.4;
}

.service-objection__answer {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Service — CTA final */
.service-cta {
  text-align: center;
  padding: 56px 32px;
  background-color: var(--gray-apple);
  border-radius: 24px;
  margin-top: 64px;
}

.service-cta__title {
  font-weight: 700;
  font-size: clamp(22px, 2.5vw, 32px);
  margin-bottom: 12px;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.service-cta__text {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .service-features {
    grid-template-columns: 1fr;
  }

  .service-stats {
    grid-template-columns: 1fr 1fr;
  }

  .service-demo {
    padding: 32px 20px;
  }

  .service-cta {
    padding: 40px 20px;
  }
}

@media (max-width: 480px) {
  .service-stats {
    grid-template-columns: 1fr;
  }
}

/* --- About page --- */
.about-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  background-color: var(--gray-apple);
  margin: 0 auto 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-values {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 560px;
  margin: 40px auto;
}

.about-values__item {
  font-size: 17px;
  color: var(--text-primary);
  padding: 20px 24px;
  background-color: var(--gray-apple);
  border-radius: 16px;
  line-height: 1.5;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}

.tech-stack__item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background-color: var(--gray-apple);
  border-radius: 980px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
}

/* --- Footer --- */
.footer {
  background-color: var(--text-primary);
  color: var(--white);
  padding: 64px 0 32px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer__brand {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.footer__tagline {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
  max-width: 280px;
}

.footer__heading {
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 16px;
}

.footer__link {
  display: block;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  padding: 4px 0;
  transition: color var(--duration) var(--ease);
}

.footer__link:hover {
  color: var(--white);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
}

.footer__social {
  display: flex;
  gap: 16px;
}

.footer__social a {
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--duration) var(--ease);
}

.footer__social a:hover {
  color: var(--white);
}

.footer__social svg {
  width: 20px;
  height: 20px;
}

/* --- Scroll animations --- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--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;
}

/* --- Legal pages --- */
.legal-page {
  padding-top: calc(var(--nav-height) + 80px);
  padding-bottom: 80px;
}

.legal-page h1 {
  font-family: var(--font-body);
  font-size: clamp(28px, 3vw, 40px);
  margin-bottom: 40px;
}

.legal-page h2 {
  font-size: 22px;
  margin-top: 40px;
  margin-bottom: 16px;
}

.legal-page p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.legal-page ul li {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  padding-left: 20px;
  position: relative;
  margin-bottom: 6px;
}

.legal-page ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--divider);
}

/* --- Blog Article --- */
.blog-article__hero {
  padding-top: calc(var(--nav-height) + 80px);
  padding-bottom: 64px;
}

.blog-article__meta {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.blog-article__reading {
  color: var(--text-secondary);
}

.blog-article__hero h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.blog-article__subtitle {
  font-size: clamp(17px, 1.4vw, 21px);
  color: var(--text-secondary);
  line-height: 1.5;
}

.blog-article__body {
  padding-bottom: var(--section-padding);
}

.blog-article__body h2 {
  font-family: var(--font-body);
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-top: 72px;
  margin-bottom: 24px;
}

.blog-article__body section:first-child h2 {
  margin-top: 0;
}

.blog-article__body h3 {
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 600;
  margin-top: 48px;
  margin-bottom: 16px;
}

.blog-article__body p {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
}

.blog-article__body ul,
.blog-article__body ol {
  margin-bottom: 24px;
  padding-left: 0;
}

.blog-article__body ul li {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
  padding-left: 20px;
  position: relative;
  margin-bottom: 12px;
}

.blog-article__body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent);
}

.blog-article__body ol {
  counter-reset: blog-list;
}

.blog-article__body ol li {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
  padding-left: 32px;
  position: relative;
  margin-bottom: 16px;
  counter-increment: blog-list;
}

.blog-article__body ol li::before {
  content: counter(blog-list);
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  font-size: 17px;
  color: var(--accent);
  width: 24px;
  text-align: center;
}

.blog-article__body blockquote {
  margin: 40px 0;
  padding: 24px 32px;
  border-left: 3px solid var(--accent);
  background-color: var(--gray-apple);
  border-radius: 0 16px 16px 0;
}

.blog-article__body blockquote p {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 24px);
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.5;
  margin-bottom: 0;
}

.blog-article__body strong {
  color: var(--text-primary);
  font-weight: 600;
}

.blog-article__highlight {
  font-size: 19px !important;
  color: var(--text-primary) !important;
  font-weight: 500;
  text-align: center;
  padding: 32px 24px;
  background-color: var(--gray-apple);
  border-radius: 16px;
  margin: 40px 0 !important;
  line-height: 1.6 !important;
}

.blog-article__takeaways {
  margin-top: 48px;
  padding: 40px 32px;
  background-color: var(--gray-apple);
  border-radius: 20px;
}

.blog-article__takeaways h3 {
  margin-top: 0;
  margin-bottom: 24px;
  font-size: 22px;
}

.blog-article__takeaways ol {
  margin-bottom: 0;
}

.blog-article__takeaways ol li:last-child {
  margin-bottom: 0;
}

.blog-article__cta {
  text-align: center;
  margin-top: 80px;
  padding: 56px 40px;
  background-color: var(--gray-apple);
  border-radius: 24px;
}

.blog-article__cta h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: clamp(22px, 2.5vw, 32px);
}

.blog-article__cta p {
  max-width: 480px;
  margin: 0 auto 28px;
}

/* --- Blog Listing --- */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.blog-card {
  display: block;
  padding: 40px 32px;
  background-color: var(--gray-apple);
  border-radius: 20px;
  text-decoration: none;
  color: inherit;
  transition: transform var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease);
}

.blog-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 113, 227, 0.08);
  color: inherit;
}

.blog-card__meta {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.blog-card__title {
  font-weight: 700;
  font-size: clamp(20px, 2vw, 26px);
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  color: var(--text-primary);
  line-height: 1.25;
}

.blog-card__excerpt {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.blog-card__link {
  font-weight: 600;
  font-size: 15px;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--duration) var(--ease);
}

.blog-card:hover .blog-card__link {
  gap: 10px;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  :root {
    --section-padding: var(--section-padding-mobile);
  }

  .nav__links {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .trust-bar__inner {
    gap: 32px;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .portfolio-item__overlay {
    opacity: 1;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 16px;
  }

  .btn--large {
    width: 100%;
    padding: 16px 24px;
  }

  .section__header {
    margin-bottom: 40px;
  }
}

/* ==========================================================================
   ROI Calculator
   ========================================================================== */

.roi-calculator {
  max-width: 640px;
  margin: 32px auto 0;
}

.roi-form {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.roi-form__fields {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.roi-form__field {
  display: flex;
  flex-direction: column;
}

.roi-form__field > input,
.roi-form__field > .roi-form__input-wrapper {
  margin-top: auto;
}

.roi-form__field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.roi-form__field input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--divider);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
  background: var(--gray-apple);
  transition: border-color var(--duration) var(--ease);
  -moz-appearance: textfield;
  appearance: textfield;
}

.roi-form__field input::-webkit-outer-spin-button,
.roi-form__field input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.roi-form__field input:focus {
  outline: none;
  border-color: var(--accent);
}

.roi-form__input-wrapper {
  position: relative;
}

.roi-form__input-wrapper input {
  padding-right: 44px;
}

.roi-form__suffix {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: var(--text-secondary);
  pointer-events: none;
}

.roi-form .btn {
  width: 100%;
}

.roi-result {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  margin-top: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  text-align: center;
  opacity: 0;
  transform: translateY(8px);
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.4s ease, transform 0.4s ease, max-height 0.4s ease, padding 0.4s ease, margin 0.4s ease;
  padding: 0 32px;
  margin-top: 0;
}

.roi-result--visible {
  opacity: 1;
  transform: translateY(0);
  max-height: 400px;
  padding: 32px;
  margin-top: 16px;
}

.roi-result__header {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}

.roi-result__stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}

.roi-result__stat {
  padding: 16px 12px;
  background: var(--gray-apple);
  border-radius: 12px;
}

.roi-result__stat--highlight {
  background: var(--accent);
}

.roi-result__stat--highlight .roi-result__number,
.roi-result__stat--highlight .roi-result__label {
  color: #fff;
}

.roi-result__number {
  display: block;
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 4px;
}

.roi-result__label {
  display: block;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.3;
}

.roi-result__note {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 16px;
  font-style: italic;
}

@media (max-width: 600px) {
  .roi-form__fields {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .roi-result__stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .roi-form,
  .roi-result {
    padding: 24px 20px;
  }

  .roi-result--visible {
    padding: 24px 20px;
  }
}

/* ============================================
   RELATED ARTICLES (Blog)
   ============================================ */
.related-articles {
  padding: 64px 0;
  background: var(--gray-apple);
}

.related-articles__title {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 600;
  text-align: center;
  margin-bottom: 32px;
  color: var(--text-primary);
}

.related-articles__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.related-articles__card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  text-decoration: none;
  color: var(--text-primary);
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.related-articles__card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.related-articles__card-title {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 8px;
}

.related-articles__card-excerpt {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ============================================
   SKIP TO CONTENT (Accessibility)
   ============================================ */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 10000;
  padding: 12px 24px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  border-radius: 0 0 8px 8px;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
  *,
  *::before,
  *::after {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  body {
    font-size: 12pt;
    line-height: 1.5;
  }

  .nav,
  .nav__mobile,
  .footer,
  .cta-section,
  .chatbot-embed,
  .contact-fallback,
  #chatbot-fab,
  #chatbot-window,
  .btn,
  .nav__hamburger {
    display: none !important;
  }

  .section {
    padding: 24pt 0 !important;
  }

  .container {
    max-width: 100% !important;
    padding: 0 !important;
  }

  h1, h2, h3 {
    page-break-after: avoid;
    orphans: 3;
    widows: 3;
  }

  img {
    max-width: 100% !important;
    page-break-inside: avoid;
  }

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    color: #555 !important;
  }

  a[href^="#"]::after,
  a[href^="javascript"]::after,
  a.nav__link::after,
  a.nav__cta::after,
  a.nav__logo::after {
    content: none;
  }

  .blog-article__body {
    max-width: 100%;
  }

  .portfolio-grid,
  .cards-grid {
    display: block;
  }

  .portfolio-item,
  .card {
    page-break-inside: avoid;
    margin-bottom: 16pt;
  }
}