/* ─────────────────────────────────────────
   Design System
───────────────────────────────────────── */
:root {
  --red: #F02E2E;
  --ink: #141414;
  --white: #FFFFFF;
  --gray-50: #FAFAFA;
  --gray-100: #F5F5F5;
  --gray-200: #E8E8E8;
  --gray-400: #AAAAAA;
  --gray-600: #666666;
  --gray-800: #2A2A2A;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-w: 1200px;
  --nav-h: 72px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.07);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.10);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.13);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --t: 0.3s;
}

/* ─────────────────────────────────────────
   Reset
───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 28px; }

/* ─────────────────────────────────────────
   Navigation
───────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  transition: background var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
/* Hero pages start transparent */
.nav--hero {
  background: transparent;
  box-shadow: none;
}
.nav--hero.scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: var(--shadow-sm);
}
.nav__container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo { display: flex; align-items: center; }
.nav__logo-img { height: 30px; width: auto; }
.nav__logo-dark { display: block; }
.nav__logo-light { display: none; }

/* Hero-nav mode: white logo, white links */
.nav--hero .nav__logo-dark { display: none; }
.nav--hero .nav__logo-light { display: block; }
.nav--hero.scrolled .nav__logo-dark { display: block; }
.nav--hero.scrolled .nav__logo-light { display: none; }

.nav__menu {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__link {
  padding: 8px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink);
  border-radius: var(--radius-sm);
  transition: color var(--t);
}
.nav__link:hover { color: var(--red); }
.nav__link.active { color: var(--red); font-weight: 600; }

.nav--hero .nav__link { color: rgba(255,255,255,0.8); }
.nav--hero .nav__link:hover { color: var(--white); }
.nav--hero .nav__link.active { color: var(--white); }
.nav--hero.scrolled .nav__link { color: var(--ink); }
.nav--hero.scrolled .nav__link:hover { color: var(--red); }
.nav--hero.scrolled .nav__link.active { color: var(--red); }

.nav__cta {
  margin-left: 8px;
  padding: 9px 20px;
  background: var(--red);
  color: var(--white) !important;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  transition: background var(--t), transform var(--t), box-shadow var(--t);
}
.nav__cta:hover {
  background: #c82424 !important;
  color: var(--white) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(240,46,46,0.35);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px 4px;
}
.nav__toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: all var(--t) var(--ease);
}
.nav--hero .nav__toggle span { background: var(--white); }
.nav--hero.scrolled .nav__toggle span { background: var(--ink); }
.nav__toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav__toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ─────────────────────────────────────────
   Buttons
───────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  font-size: 0.95rem; font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all var(--t) var(--ease);
  cursor: pointer; border: none;
}
.btn--primary { background: var(--red); color: var(--white); }
.btn--primary:hover {
  background: #c82424; transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(240,46,46,0.35);
}
.btn--outline { background: transparent; color: var(--ink); border: 2px solid var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--white); transform: translateY(-2px); }
.btn--outline-white { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.4); }
.btn--outline-white:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.8); }
.btn--white { background: var(--white); color: var(--ink); }
.btn--white:hover { background: var(--gray-100); transform: translateY(-2px); }

/* ─────────────────────────────────────────
   Sections
───────────────────────────────────────── */
.section { padding: 96px 0; }
.section--sm { padding: 64px 0; }
.section--dark { background: var(--ink); }
.section--gray { background: var(--gray-50); }
.section--red { background: var(--red); }

.section-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--red);
  margin-bottom: 14px;
}
.section-label::before {
  content: ''; display: block;
  width: 24px; height: 2px;
  background: var(--red); border-radius: 1px;
}
.section-title {
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  font-weight: 800; line-height: 1.15; letter-spacing: -0.025em;
  color: var(--ink);
}
.section-title--white { color: var(--white); }
.section-subtitle {
  margin-top: 16px;
  font-size: 1.05rem; color: var(--gray-600);
  line-height: 1.75; max-width: 560px;
}
.section-subtitle--white { color: rgba(255,255,255,0.6); }

/* ─────────────────────────────────────────
   Hero (Home)
───────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: var(--ink);
  display: flex; align-items: center;
  position: relative; overflow: hidden;
}
.hero__deco {
  position: absolute;
  right: -4%; bottom: -8%;
  width: min(58%, 700px);
  opacity: 0.05;
  pointer-events: none;
  filter: grayscale(1);
}
.hero__content { position: relative; z-index: 1; max-width: 760px; }
.hero__tag {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--red); margin-bottom: 28px;
}
.hero__tag::before {
  content: ''; width: 36px; height: 2px;
  background: var(--red); border-radius: 1px;
}
.hero__title {
  font-size: clamp(3rem, 7.5vw, 6.5rem);
  font-weight: 800; line-height: 1.03;
  letter-spacing: -0.04em; color: var(--white);
  margin-bottom: 28px;
}
.hero__title em { color: var(--red); font-style: normal; }
.hero__sub {
  font-size: clamp(1rem, 1.5vw, 1.175rem);
  color: rgba(255,255,255,0.55);
  line-height: 1.75; max-width: 520px; margin-bottom: 44px;
}
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__scroll {
  position: absolute; bottom: 36px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: rgba(255,255,255,0.3);
  font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase;
  animation: scrollBounce 2.4s ease-in-out infinite;
}
.hero__scroll-line {
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.25), transparent);
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.4; }
  50% { transform: translateX(-50%) translateY(10px); opacity: 0.7; }
}

/* ─────────────────────────────────────────
   Ticker Strip
───────────────────────────────────────── */
.ticker {
  background: var(--red);
  overflow: hidden; white-space: nowrap;
  padding: 13px 0;
}
.ticker__inner {
  display: inline-flex; gap: 0;
  animation: ticker 22s linear infinite;
}
.ticker__item {
  display: inline-flex; align-items: center; gap: 20px;
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  padding: 0 24px;
}
.ticker__item::after {
  content: '●'; font-size: 0.4rem; color: rgba(255,255,255,0.4);
}
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─────────────────────────────────────────
   Services Grid
───────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all var(--t) var(--ease);
  position: relative; overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 3px; height: 100%;
  background: var(--red);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform var(--t) var(--ease);
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::after { transform: scaleY(1); }
.service-card__icon {
  width: 48px; height: 48px;
  background: rgba(240,46,46,0.08); border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; color: var(--red);
}
.service-card__icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service-card__title { font-size: 1.05rem; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.service-card__desc { font-size: 0.875rem; color: var(--gray-600); line-height: 1.75; }

/* ─────────────────────────────────────────
   About Teaser (Home)
───────────────────────────────────────── */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.about-split__visual {
  position: relative;
}
.about-split__img-wrap {
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
}
.about-split__flag {
  width: 55%;
  opacity: 0.25;
}
.about-split__badge {
  position: absolute;
  bottom: -20px; right: -20px;
  background: var(--red);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.about-split__badge-num {
  font-size: 2rem; font-weight: 800;
  letter-spacing: -0.03em; line-height: 1;
}
.about-split__badge-label {
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.05em; opacity: 0.85;
  margin-top: 4px;
}

/* ─────────────────────────────────────────
   Clients Grid
───────────────────────────────────────── */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--gray-200); gap: 1px;
}
.client-item {
  background: var(--white);
  padding: 28px 24px;
  display: flex; flex-direction: column;
  align-items: flex-start; justify-content: center;
  gap: 4px; transition: background var(--t);
  text-decoration: none;
}
.client-item:hover { background: var(--gray-50); }
.client-item__name {
  font-size: 1rem; font-weight: 700; color: var(--ink);
  transition: color var(--t);
}
.client-item:hover .client-item__name { color: var(--red); }
.client-item__industry { font-size: 0.775rem; color: var(--gray-400); }
.client-item__arrow {
  margin-top: 8px; font-size: 0.75rem; color: var(--gray-400);
  transition: color var(--t), margin var(--t);
  display: inline-flex; align-items: center; gap: 4px;
}
.client-item:hover .client-item__arrow { color: var(--red); margin-left: 4px; }

/* ─────────────────────────────────────────
   CTA Section
───────────────────────────────────────── */
.cta-section {
  background: var(--red);
  padding: 88px 0;
  text-align: center;
}
.cta-section__title {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 800; color: var(--white);
  letter-spacing: -0.03em; margin-bottom: 16px;
  line-height: 1.15;
}
.cta-section__sub {
  font-size: 1.05rem; color: rgba(255,255,255,0.7);
  margin-bottom: 40px; max-width: 460px;
  margin-left: auto; margin-right: auto; line-height: 1.7;
}
.cta-section__btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ─────────────────────────────────────────
   Page Hero (inner pages)
───────────────────────────────────────── */
.page-hero {
  background: var(--ink);
  padding: calc(var(--nav-h) + 72px) 0 72px;
  position: relative; overflow: hidden;
}
.page-hero__deco {
  position: absolute; right: 4%; bottom: -20%;
  width: min(35%, 400px); opacity: 0.04;
  pointer-events: none;
}
.page-hero__tag {
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--red); margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px;
}
.page-hero__tag::before {
  content: ''; width: 24px; height: 2px;
  background: var(--red); border-radius: 1px;
}
.page-hero__title {
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 800; color: var(--white);
  letter-spacing: -0.035em; line-height: 1.1;
  margin-bottom: 16px;
}
.page-hero__title span { color: var(--red); }
.page-hero__sub {
  font-size: 1.05rem; color: rgba(255,255,255,0.55);
  max-width: 560px; line-height: 1.75;
}

/* ─────────────────────────────────────────
   About Page
───────────────────────────────────────── */
.about-story {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 72px; align-items: start;
}
.about-story__sticky { position: sticky; top: calc(var(--nav-h) + 32px); }
.about-story__lead {
  font-size: clamp(1.1rem, 1.75vw, 1.3rem);
  font-weight: 600; line-height: 1.6; color: var(--ink);
  margin-bottom: 24px;
}
.about-story__body { font-size: 0.95rem; color: var(--gray-600); line-height: 1.85; }
.about-story__body p + p { margin-top: 20px; }

.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mv-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border: 1px solid var(--gray-200);
}
.mv-card--red { background: var(--red); border-color: var(--red); }
.mv-card__icon { font-size: 1.75rem; margin-bottom: 16px; }
.mv-card__label {
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--red); margin-bottom: 10px;
}
.mv-card--red .mv-card__label { color: rgba(255,255,255,0.6); }
.mv-card__title {
  font-size: 1.25rem; font-weight: 800;
  color: var(--ink); margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.mv-card--red .mv-card__title { color: var(--white); }
.mv-card__text { font-size: 0.9rem; color: var(--gray-600); line-height: 1.75; }
.mv-card--red .mv-card__text { color: rgba(255,255,255,0.75); }

.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.value-card {
  background: var(--gray-50); border-radius: var(--radius-lg);
  padding: 32px 28px; transition: all var(--t) var(--ease);
}
.value-card:hover { background: var(--white); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.value-card__num {
  font-size: 3.5rem; font-weight: 800; color: var(--gray-200);
  line-height: 1; margin-bottom: 12px; letter-spacing: -0.04em;
}
.value-card__title { font-size: 1rem; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.value-card__text { font-size: 0.875rem; color: var(--gray-600); line-height: 1.75; }

/* ─────────────────────────────────────────
   News Page
───────────────────────────────────────── */
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 28px; }
.news-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column;
  transition: all var(--t) var(--ease);
  text-decoration: none; color: inherit;
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.news-card__img {
  height: 210px; position: relative;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.news-card__img-inner {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.news-card__img-icon { font-size: 3.5rem; position: relative; z-index: 1; }
.news-card__body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.news-card__meta { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.news-card__cat {
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--red); background: rgba(240,46,46,0.08);
  padding: 4px 10px; border-radius: 100px;
}
.news-card__date { font-size: 0.8rem; color: var(--gray-400); }
.news-card__title { font-size: 1.1rem; font-weight: 700; line-height: 1.4; color: var(--ink); margin-bottom: 10px; }
.news-card__excerpt { font-size: 0.875rem; color: var(--gray-600); line-height: 1.75; flex: 1; margin-bottom: 20px; }
.news-card__more {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.85rem; font-weight: 600; color: var(--red);
  transition: gap var(--t);
}
.news-card:hover .news-card__more { gap: 10px; }

/* News Article */
.article { max-width: 760px; margin: 0 auto; }
.article__img {
  height: 320px; border-radius: var(--radius-lg); overflow: hidden;
  margin-bottom: 48px; display: flex; align-items: center; justify-content: center;
}
.article__meta {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 20px; flex-wrap: wrap;
}
.article__cat {
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--red); background: rgba(240,46,46,0.08);
  padding: 5px 12px; border-radius: 100px;
}
.article__date, .article__read { font-size: 0.85rem; color: var(--gray-400); }
.article__title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800; line-height: 1.2;
  letter-spacing: -0.03em; color: var(--ink); margin-bottom: 24px;
}
.article__lead {
  font-size: 1.15rem; font-weight: 500; color: var(--gray-800);
  line-height: 1.75; margin-bottom: 32px;
  border-left: 3px solid var(--red); padding-left: 20px;
}
.article__content { font-size: 0.975rem; color: var(--gray-600); line-height: 1.9; }
.article__content h2 {
  font-size: 1.35rem; font-weight: 700; color: var(--ink);
  margin-top: 40px; margin-bottom: 16px; letter-spacing: -0.02em;
}
.article__content h3 {
  font-size: 1.1rem; font-weight: 700; color: var(--ink);
  margin-top: 28px; margin-bottom: 12px;
}
.article__content p + p { margin-top: 18px; }
.article__content ul { margin: 18px 0; padding-left: 24px; list-style: disc; }
.article__content li { margin-bottom: 8px; }
.article__content strong { color: var(--ink); font-weight: 600; }
.article__back {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.875rem; font-weight: 600; color: var(--gray-600);
  margin-bottom: 40px; transition: color var(--t);
}
.article__back:hover { color: var(--red); }

/* ─────────────────────────────────────────
   Portfolio Page
───────────────────────────────────────── */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.portfolio-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: all var(--t) var(--ease);
  text-decoration: none; display: block; color: inherit;
}
.portfolio-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.portfolio-card__img {
  height: 180px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.portfolio-card__abbr {
  font-size: 2.25rem; font-weight: 800;
  color: rgba(255,255,255,0.2); letter-spacing: -0.04em;
  position: relative; z-index: 1;
}
.portfolio-card__body { padding: 22px 24px; }
.portfolio-card__tag {
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--red); margin-bottom: 6px;
}
.portfolio-card__name { font-size: 1.05rem; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.portfolio-card__desc { font-size: 0.85rem; color: var(--gray-600); line-height: 1.7; margin-bottom: 14px; }
.portfolio-card__url {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 0.78rem; font-weight: 600; color: var(--gray-400);
  transition: all var(--t);
}
.portfolio-card:hover .portfolio-card__url { color: var(--red); gap: 8px; }

/* ─────────────────────────────────────────
   Contact Page
───────────────────────────────────────── */
.contact-layout { display: grid; grid-template-columns: 1fr 1.3fr; gap: 72px; align-items: start; }
.contact-info__item { display: flex; gap: 16px; margin-bottom: 28px; }
.contact-info__icon {
  width: 44px; height: 44px; min-width: 44px;
  background: rgba(240,46,46,0.08); border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--red);
}
.contact-info__icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-info__label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--gray-400); margin-bottom: 4px; }
.contact-info__value { font-size: 0.9rem; color: var(--ink); line-height: 1.6; }
.contact-info__value a { color: var(--ink); transition: color var(--t); }
.contact-info__value a:hover { color: var(--red); }

.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-label { font-size: 0.8rem; font-weight: 600; color: var(--gray-800); }
.form-input, .form-textarea, .form-select {
  padding: 13px 15px; width: 100%;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 0.9rem; color: var(--ink);
  background: var(--white); outline: none;
  transition: border-color var(--t), box-shadow var(--t);
  appearance: none; -webkit-appearance: none;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(240,46,46,0.1);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--gray-400); }
.form-textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 0.78rem; color: var(--gray-400); line-height: 1.5; }

.form-success {
  display: none; text-align: center; padding: 40px;
  background: rgba(240,46,46,0.05);
  border: 1px solid rgba(240,46,46,0.15);
  border-radius: var(--radius-lg);
}
.form-success.visible { display: block; }
.form-success__icon { font-size: 3rem; margin-bottom: 16px; }
.form-success__title { font-size: 1.25rem; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.form-success__text { font-size: 0.9rem; color: var(--gray-600); }

/* ─────────────────────────────────────────
   Footer
───────────────────────────────────────── */
.footer { background: var(--ink); padding: 72px 0 32px; }
.footer__grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.6fr;
  gap: 48px; padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer__logo { height: 26px; margin-bottom: 16px; }
.footer__tagline { font-size: 0.875rem; color: rgba(255,255,255,0.45); line-height: 1.65; margin-bottom: 28px; max-width: 260px; }
.footer__col-title {
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.35); margin-bottom: 18px;
}
.footer__links { display: flex; flex-direction: column; gap: 11px; }
.footer__link { font-size: 0.875rem; color: rgba(255,255,255,0.6); transition: color var(--t); }
.footer__link:hover { color: var(--white); }
.footer__contact-item { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 13px; }
.footer__contact-icon { margin-top: 2px; color: var(--red); flex-shrink: 0; }
.footer__contact-icon svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.footer__contact-text { font-size: 0.85rem; color: rgba(255,255,255,0.55); line-height: 1.6; }
.footer__contact-text a { color: rgba(255,255,255,0.55); transition: color var(--t); }
.footer__contact-text a:hover { color: var(--white); }
.footer__bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 28px;
  font-size: 0.78rem; color: rgba(255,255,255,0.3);
}
.footer__bottom a { color: rgba(255,255,255,0.3); transition: color var(--t); }
.footer__bottom a:hover { color: rgba(255,255,255,0.6); }

/* ─────────────────────────────────────────
   WhatsApp Button
───────────────────────────────────────── */
.wa-fab {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 56px; height: 56px;
  background: #25D366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: all var(--t) var(--ease);
  text-decoration: none;
}
.wa-fab:hover { transform: scale(1.1) translateY(-2px); box-shadow: 0 8px 28px rgba(37,211,102,0.55); }
.wa-fab svg { width: 30px; height: 30px; fill: white; }

/* ─────────────────────────────────────────
   Scroll Animations
───────────────────────────────────────── */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up[data-delay="1"] { transition-delay: 0.1s; }
.fade-up[data-delay="2"] { transition-delay: 0.2s; }
.fade-up[data-delay="3"] { transition-delay: 0.3s; }
.fade-up[data-delay="4"] { transition-delay: 0.4s; }
.fade-up[data-delay="5"] { transition-delay: 0.5s; }

/* ─────────────────────────────────────────
   Utilities
───────────────────────────────────────── */
.text-center { text-align: center; }
.text-red { color: var(--red); }
.mt-4 { margin-top: 4px; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mt-64 { margin-top: 64px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mb-64 { margin-bottom: 64px; }

/* ─────────────────────────────────────────
   Responsive
───────────────────────────────────────── */
@media (max-width: 1024px) {
  .about-split { grid-template-columns: 1fr; gap: 48px; }
  .about-split__visual { display: none; }
  .about-story { grid-template-columns: 1fr; }
  .about-story__sticky { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  .nav__menu {
    display: none; position: absolute;
    top: var(--nav-h); left: 0; right: 0;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-direction: column; gap: 4px;
    padding: 16px; box-shadow: var(--shadow-md);
    border-top: 1px solid var(--gray-200);
  }
  .nav__menu.open { display: flex; }
  .nav__toggle { display: flex; }
  /* Hero mobile: dark background until scrolled */
  .nav--hero:not(.scrolled) .nav__menu { background: rgba(20,20,20,0.97); border-top-color: rgba(255,255,255,0.1); }
  .nav--hero:not(.scrolled) .nav__link { color: rgba(255,255,255,0.8); }
  .nav__cta { margin-left: 0; text-align: center; }

  .section { padding: 64px 0; }
  .mv-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 48px; }
  .form-row { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
  .hero__cta { flex-direction: column; }
  .cta-section__btns { flex-direction: column; align-items: center; }
  .clients-grid { grid-template-columns: 1fr; }
}
