/* site/assets/css/components.css */

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--r-md);
  padding: 13px 22px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: all .2s cubic-bezier(.22,1,.36,1);
  line-height: 1;
  white-space: nowrap;
}
.btn-sm { padding: 11px 18px; font-size: 14px; }
.btn-primary {
  background: var(--brand-cyan);
  color: var(--accent-fg);
  box-shadow: var(--glow-cyan-soft);
}
.btn-primary:hover {
  background: var(--cyan-300);
  box-shadow: var(--glow-cyan);
  transform: translateY(-1px);
  text-decoration: none;
}
.btn-secondary {
  background: transparent;
  color: var(--fg-1);
  border-color: var(--border-strong);
}
.btn-secondary:hover {
  color: var(--brand-cyan);
  border-color: var(--brand-cyan);
  text-decoration: none;
}

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  transition: transform .42s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: color-mix(in srgb, var(--bg-1) 82%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-1);
  opacity: 0;
  transition: opacity .35s ease;
}
.site-header--scrolled::before { opacity: 1; }
.site-header--hidden { transform: translateY(-100%); }

.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.site-header__logo { display: flex; align-items: center; }
.site-header__logo img { height: 30px; display: block; }

.site-nav { display: flex; gap: 30px; }
.site-nav__link {
  font-family: var(--font-sans);
  font-size: 14.5px;
  text-decoration: none;
  color: var(--fg-2);
  font-weight: 400;
  position: relative;
  padding-bottom: 4px;
  transition: color .2s ease;
}
.site-nav__link:hover { color: var(--fg-1); text-decoration: none; }
.site-nav__link--active { color: var(--fg-1); font-weight: 600; }
.site-nav__link--active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--brand-cyan);
  border-radius: 2px;
}

.site-header__controls { display: flex; align-items: center; gap: 10px; }

.theme-toggle {
  width: 40px; height: 40px;
  border-radius: var(--r-sm);
  cursor: pointer;
  background: transparent;
  border: 1px solid var(--border-2);
  color: var(--fg-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .2s ease;
}
.theme-toggle:hover { color: var(--brand-cyan); border-color: var(--brand-cyan); }

.lang-switch {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 12px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border-2);
  gap: 6px;
}
.lang-switch a {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  color: var(--fg-3);
  text-decoration: none;
  transition: color .2s ease;
}
.lang-switch a + a::before { content: "/"; margin: 0 6px; color: var(--border-strong); }
.lang-switch a:hover { color: var(--brand-cyan); text-decoration: none; }
.lang-switch a[aria-current="true"] { color: var(--brand-cyan); }

/* ---- Footer ---- */
.site-footer { background: var(--bg-1); border-top: 1px solid var(--border-1); padding: 48px 0 36px; }
.footer__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; margin-bottom: 32px; }
.footer__brand { max-width: 320px; }
.footer__brand img { height: 30px; margin-bottom: 16px; }
.footer__tagline { margin: 0; font-size: 13.5px; color: var(--fg-3); line-height: 1.6; }
.footer__cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer__col-title { margin-bottom: 14px; }
.footer__col a, .footer__col div { display: block; color: var(--fg-2); text-decoration: none; font-size: 14px; margin-bottom: 9px; }
.footer__col a:hover { color: var(--brand-cyan); text-decoration: none; }
.footer__norm { font-family: var(--font-mono); color: var(--fg-3); font-size: 13px; margin-bottom: 9px; }
.footer__bottom {
  border-top: 1px solid var(--border-1); padding-top: 22px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer__copy { font-size: 12.5px; color: var(--fg-3); }
.footer__tagline-mono { font-family: var(--font-mono); font-size: 12px; color: var(--fg-3); }
.footer__contact { margin: 16px 0 0; color: var(--fg-3); font-size: 13px; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .site-nav { display: none !important; }
}
@media (max-width: 600px) {
  .site-header__cta { display: none !important; }
}

/* ---- Hero ---- */
.hero { position: relative; padding: 70px 0 86px; overflow: hidden; }
.hero__backdrop { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.hero__backdrop-img {
  position: absolute; inset: 0;
  background-image: url('/assets/img/backgrounds/bg-data-wave.jpg');
  background-size: cover;
  background-position: center right;
}
.hero__backdrop-overlay-1 {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(19,0,31,0.94) 18%, rgba(40,8,58,0.78) 48%, rgba(19,0,31,0.30) 100%);
}
.hero__backdrop-overlay-2 {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 48%, var(--bg-0) 100%);
}
.hero__content { position: relative; z-index: 1; }
.hero__title {
  max-width: 880px;
  font-family: var(--font-display);
  font-size: var(--t-display);
  font-weight: 700;
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  margin: 0 0 22px;
  color: #fff;
  text-shadow: 0 0 26px rgba(0,140,230,0.42), 0 0 8px rgba(0,140,230,0.28);
}
.hero__title .ds-gradient-text { text-shadow: 0 0 26px rgba(0,140,230,0.42), 0 0 8px rgba(0,140,230,0.28); }
.hero__sub {
  max-width: 600px;
  margin: 0 0 30px;
  color: rgba(255,255,255,0.86);
  text-shadow: 0 0 18px rgba(0,140,230,0.30);
}
.hero__tagline { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; }
.hero__tagline-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--brand-cyan); }
.hero__tag { font-family: var(--font-mono); font-size: 13px; letter-spacing: .04em; color: #BBAACB; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---- Credibility / stats band ---- */
.stats-band { border-top: 1px solid var(--border-2); border-bottom: 1px solid var(--border-2); background: #440955; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 34px 14px 30px; text-align: center; }
.stat + .stat { border-left: 1px solid rgba(216,201,223,0.18); }
.stat__num { font-family: var(--font-mono); font-weight: 700; font-size: clamp(34px,4vw,50px); line-height: 1; color: #fff; }
.stat__label { font-size: 13.5px; color: var(--violet-100); margin-top: 10px; }

/* ---- Section head ---- */
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head--center { max-width: 720px; margin-left: auto; margin-right: auto; text-align: center; }
.section-head__eyebrow { margin-bottom: 14px; }
.section-head__title { margin: 0 0 14px; }
.section-head__sub { margin: 0; }

/* ---- Services ---- */
.services { padding: 92px 0; background: var(--bg-0); }
.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.service-card {
  position: relative;
  background: var(--bg-3);
  border: 1px solid var(--border-1);
  border-radius: var(--r-xl);
  padding: 40px 38px;
  box-shadow: var(--shadow-md);
  transition: all .3s cubic-bezier(.22,1,.36,1);
  overflow: hidden;
}
.service-card:hover { border-color: rgba(0,173,239,.35); box-shadow: var(--glow-cyan-soft); transform: translateY(-4px); }
.service-card__accent {
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad-brand);
  opacity: 0;
  transition: opacity .3s ease;
}
.service-card:hover .service-card__accent { opacity: 1; }
.service-card__icon {
  width: 56px; height: 56px;
  border-radius: var(--r-md);
  background: var(--grad-brand-soft);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
  color: #fff;
}
.service-card__kicker { margin-bottom: 8px; }
.service-card__title { margin: 0 0 12px; font-size: 26px; }
.service-card__desc { margin: 0 0 22px; max-width: 440px; }
.service-card__link { display: inline-flex; align-items: center; gap: 8px; color: var(--brand-cyan); font-weight: 600; font-size: 15px; text-decoration: none; }
.service-card__link i { transition: transform .25s ease; }
.service-card:hover .service-card__link i { transform: translateX(4px); }
.service-card__link:hover { text-decoration: none; }

/* ---- Why us ---- */
.why { padding: 92px 0; background: var(--bg-1); }
.why-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.why-card { background: var(--bg-3); border: 1px solid var(--border-1); border-radius: var(--r-lg); padding: 26px 20px; height: 100%; box-sizing: border-box; }
.why-card__icon {
  width: 44px; height: 44px;
  border-radius: var(--r-sm);
  background: linear-gradient(150deg, #440955, var(--violet-700));
  border: 1px solid var(--border-2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: var(--brand-cyan);
}
.why-card__label { font-size: 15px; font-weight: 500; color: var(--fg-1); line-height: 1.4; }

/* ---- Presence ---- */
.presence { padding: 92px 0; background: var(--bg-0); position: relative; overflow: hidden; }
.presence__bg { position: absolute; inset: 0; background-image: url('/assets/img/backgrounds/blue-plexus.jpg'); background-size: cover; background-position: center; }
.presence__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg-0) 26%, rgba(15,14,128,0.62) 72%, rgba(0,90,150,0.42) 100%); }
.presence__content { position: relative; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; }
.presence__chip {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 13px; color: var(--fg-2);
  border: 1px solid var(--border-2); border-radius: var(--r-pill);
  padding: 8px 16px;
}
.presence__chip i { color: var(--brand-cyan); }
.country-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.country-card { display: flex; gap: 13px; align-items: flex-start; background: var(--bg-3); border: 1px solid var(--border-1); border-radius: var(--r-md); padding: 16px 18px; }
.country-card i { color: var(--brand-cyan); margin-top: 2px; flex-shrink: 0; }
.country-card__name { font-weight: 600; font-size: 15.5px; color: var(--fg-1); }
.country-card__cities { font-size: 12.5px; color: var(--fg-3); margin-top: 3px; }

/* ---- Varian badge ---- */
.varian { padding: 64px 0; background: var(--bg-1); border-top: 1px solid var(--border-1); border-bottom: 1px solid var(--border-1); }
.varian__row { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; justify-content: center; text-align: center; }
.varian__badge { display: inline-flex; align-items: center; gap: 12px; padding: 14px 24px; border-radius: var(--r-md); background: var(--grad-violet); border: 1px solid var(--border-2); }
.varian__badge i { color: var(--brand-cyan); }
.varian__badge-text { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: #fff; letter-spacing: .02em; }
.varian__badge-text span { color: var(--brand-cyan); }
.varian__text { margin: 0; max-width: 520px; color: var(--fg-2); font-size: 16px; text-align: left; }

/* ---- Cases ---- */
.cases { padding: 92px 0; background: var(--bg-1); }
.cases__filters { display: flex; gap: 9px; flex-wrap: wrap; margin-bottom: 30px; }
.filter-btn {
  font-family: var(--font-sans); font-size: 13.5px; font-weight: 500; cursor: pointer;
  border-radius: var(--r-pill); padding: 8px 16px;
  border: 1px solid var(--border-2);
  background: transparent; color: var(--fg-2);
  transition: all .18s ease;
}
.filter-btn--active { border-color: transparent; background: var(--brand-cyan); color: var(--accent-fg); }
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.case-card { background: var(--bg-3); border: 1px solid var(--border-1); border-radius: var(--r-lg); padding: 22px 22px 24px; display: flex; flex-direction: column; }
.case-card__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.case-card__loc { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--fg-1); }
.case-card__loc i { color: var(--brand-cyan); }
.case-card__badge {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase;
  color: var(--violet-100); background: var(--violet-700);
  border: 1px solid var(--border-1); border-radius: var(--r-xs); padding: 4px 8px;
}
.case-card__badge--shielding { color: var(--cyan-300); background: rgba(0,173,239,.12); }
.case-card__title { margin: 0 0 6px; font-size: 17px; }
.case-card__equip { font-family: var(--font-mono); font-size: 12px; color: var(--brand-cyan); margin-bottom: 12px; }
.case-card__note { margin: 0; font-size: 13.5px; color: var(--fg-3); line-height: 1.55; }

/* ---- CTA band ---- */
.cta-band { position: relative; overflow: hidden; padding: 80px 0; }
.cta-band__bg { position: absolute; inset: 0; background-image: url('/assets/img/backgrounds/blue-flow.jpg'); background-size: cover; background-position: center; }
.cta-band__overlay { position: absolute; inset: 0; background: linear-gradient(110deg, rgba(19,0,31,0.92) 0%, rgba(15,14,128,0.78) 55%, rgba(0,90,150,0.55) 130%); }
.cta-band__content { position: relative; text-align: center; }
.cta-band__title { margin: 0 auto 12px; max-width: 640px; color: #fff; }
.cta-band__sub { margin: 0 auto 26px; max-width: 520px; color: var(--cyan-200); }
.cta-band__actions { display: flex; justify-content: center; }

/* ---- Page hero (Serviços/Sobre/Cases/Blog/Contato banner) ---- */
.page-hero { position: relative; overflow: hidden; padding: 120px 0 64px; background: var(--bg-0); }
.page-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.page-hero__overlay { position: absolute; inset: 0; }
.page-hero--violet .page-hero__overlay { background: linear-gradient(100deg, var(--bg-1) 22%, rgba(68,9,85,0.72) 60%, rgba(19,0,31,0.45) 100%); }
.page-hero--blue .page-hero__overlay { background: linear-gradient(100deg, var(--bg-1) 20%, rgba(15,14,128,0.74) 60%, rgba(0,90,150,0.46) 100%); }
.page-hero__fade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 38%, var(--bg-0) 99%, var(--bg-0) 100%); }
.page-hero__content { position: relative; }
.page-hero__eyebrow { margin-bottom: 16px; }
.page-hero__title { margin: 0 0 16px; max-width: 820px; }
.page-hero__sub { margin: 0; max-width: 560px; }
.page-hero__cta { margin-top: 28px; }

/* ---- Service detail (Serviços page, 3x) ---- */
.service-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 8px 0; }
.service-detail--flip .service-detail__text { order: 2; }
.service-detail--flip .service-detail__panel { order: 1; }
.service-detail__icon {
  width: 56px; height: 56px; border-radius: var(--r-md);
  background: var(--grad-brand-soft);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; box-shadow: var(--shadow-sm); color: #fff;
}
.service-detail__kicker { margin-bottom: 8px; }
.service-detail__title { margin: 0 0 14px; }
.service-detail__desc { margin: 0 0 22px; max-width: 460px; }
.service-detail__norms { display: flex; flex-wrap: wrap; gap: 8px; }
.service-detail__norm {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em;
  color: var(--violet-100); background: linear-gradient(150deg, #440955, var(--violet-700));
  border: 1px solid var(--border-2); border-radius: var(--r-xs); padding: 5px 9px;
}
.service-detail__panel { background: var(--bg-3); border: 1px solid var(--border-1); border-radius: var(--r-xl); padding: 30px; box-shadow: var(--shadow-md); }
.service-detail__panel-label { margin-bottom: 16px; }
.service-detail__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.service-detail__item { display: flex; gap: 12px; align-items: flex-start; }
.service-detail__check {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(0,173,239,.12); border: 1px solid var(--brand-cyan);
  display: flex; align-items: center; justify-content: center; margin-top: 1px; color: var(--brand-cyan);
}
.service-detail__item-text { font-size: 15px; color: var(--fg-1); line-height: 1.5; }

/* ---- Process strip (Serviços page: "Como trabalhamos") ---- */
.process-strip { padding: 88px 0; background: var(--bg-1); border-top: 1px solid var(--border-1); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.process-card { position: relative; background: var(--bg-3); border: 1px solid var(--border-1); border-radius: var(--r-lg); padding: 26px 22px; height: 100%; box-sizing: border-box; }
.process-card__num {
  font-family: var(--font-mono); font-weight: 700; font-size: 30px; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px var(--violet-300); margin-bottom: 16px;
}
.process-card__title { margin: 0 0 8px; font-size: 17px; }
.process-card__desc { margin: 0; font-size: 13.5px; color: var(--fg-3); line-height: 1.55; }

/* ---- Responsive (Task 1) ---- */
@media (max-width: 900px) {
  .service-detail { grid-template-columns: 1fr !important; }
  .service-detail--flip .service-detail__text,
  .service-detail--flip .service-detail__panel { order: initial !important; }
  .process-grid { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 600px) {
  .process-grid { grid-template-columns: 1fr !important; }
}

/* ---- Responsive (extends Task 5's breakpoints) ---- */
@media (max-width: 900px) {
  .services-grid, .presence__content, .cases-grid { grid-template-columns: 1fr !important; }
  .stats-grid, .why-grid { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 600px) {
  .why-grid { grid-template-columns: 1fr !important; }
}

/* ---- Story (Sobre page: history + logo panel) ---- */
.story { padding: 72px 0; background: var(--bg-0); }
.story-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; }
.story__media {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  border: 1px solid var(--border-2); aspect-ratio: 16 / 12; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; justify-content: center; padding: 32px;
  background: radial-gradient(120% 120% at 30% 25%, #2A0F46 0%, #13001F 70%);
}
.story__media-bg {
  position: absolute; inset: 0;
  background-image: url('/assets/img/backgrounds/bg-network.jpg');
  background-size: cover; background-position: center;
  opacity: .22; mix-blend-mode: screen;
}
.story__media-glow { position: absolute; inset: 0; background: radial-gradient(60% 70% at 50% 50%, rgba(0,173,239,.18), transparent 70%); }
.story__logo { position: relative; max-width: 70%; max-height: 82%; filter: drop-shadow(0 6px 30px rgba(0,173,239,.35)); }

/* ---- Values (Sobre page: 4 principles) ---- */
.values { padding: 80px 0; background: var(--bg-1); }
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.value-card { background: var(--bg-3); border: 1px solid var(--border-1); border-radius: var(--r-lg); padding: 28px 22px; height: 100%; box-sizing: border-box; text-align: center; }
.value-card__icon {
  width: 52px; height: 52px; border-radius: var(--r-md); margin: 0 auto 16px;
  background: linear-gradient(150deg, #440955, var(--blue-600));
  display: flex; align-items: center; justify-content: center; color: #fff;
}
.value-card__title { margin: 0 0 8px; font-size: 17px; }
.value-card__desc { margin: 0; font-size: 13.5px; color: var(--fg-3); line-height: 1.55; }

/* ---- Timeline (Sobre page: trajectory) ---- */
.timeline-section { padding: 80px 0; background: var(--bg-0); }
.timeline { display: flex; flex-direction: column; }
.timeline__row { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 20px 0; }
.timeline__row + .timeline__row { border-top: 1px solid var(--border-1); }
.timeline__year { font-family: var(--font-mono); font-weight: 700; font-size: 22px; color: var(--brand-cyan); }
.timeline__desc { font-size: 16px; color: var(--fg-1); line-height: 1.5; }

/* ---- Responsive (Task 2) ---- */
@media (max-width: 900px) {
  .story-grid { grid-template-columns: 1fr !important; }
  .value-grid { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 600px) {
  .value-grid { grid-template-columns: 1fr !important; }
  .timeline__row { grid-template-columns: 72px 1fr !important; gap: 14px !important; }
}

/* ---- Blog (featured article + grid) ---- */
.blog-list { padding: 64px 0 32px; background: var(--bg-0); }
.blog-featured {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 0;
  border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--border-2);
  background: var(--bg-3); margin-bottom: 40px; box-shadow: var(--shadow-md);
}
.blog-featured__media { position: relative; min-height: 280px; }
.blog-featured__media-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.blog-featured__media-overlay { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(68,9,85,.35), rgba(19,0,31,.25)); }
.blog-featured__badge {
  position: absolute; top: 18px; left: 18px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
  color: #fff; background: rgba(0,173,239,.85); border-radius: var(--r-xs); padding: 5px 10px;
}
.blog-featured__body { padding: 36px 34px; display: flex; flex-direction: column; justify-content: center; }
.blog-featured__cat { margin-bottom: 12px; color: var(--brand-cyan); }
.blog-featured__title { margin: 0 0 16px; font-size: 26px; }
.blog-featured__meta { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; font-family: var(--font-mono); font-size: 12.5px; color: var(--fg-3); }
.blog-featured__link { display: inline-flex; align-items: center; gap: 8px; color: var(--brand-cyan); font-weight: 600; font-size: 15px; text-decoration: none; }
.blog-featured__link:hover { text-decoration: none; }

.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.blog-card { display: flex; flex-direction: column; height: 100%; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border-1); background: var(--bg-3); }
.blog-card__media { position: relative; height: 150px; }
.blog-card__media-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.blog-card__media-overlay { position: absolute; inset: 0; background: linear-gradient(160deg, rgba(68,9,85,.30), rgba(19,0,31,.45)); }
.blog-card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.blog-card__cat { margin-bottom: 10px; color: var(--brand-cyan); }
.blog-card__title { margin: 0 0 14px; font-size: 17px; line-height: 1.35; }
.blog-card__meta { margin-top: auto; display: flex; align-items: center; justify-content: space-between; }
.blog-card__min { font-family: var(--font-mono); font-size: 12px; color: var(--fg-3); }
.blog-card__arrow { color: var(--brand-cyan); }

/* ---- Contact ---- */
.contact { padding: 92px 0; background: var(--bg-0); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; }
.contact__info-sub { margin: 0 0 30px; max-width: 380px; }
.contact__detail-list { display: flex; flex-direction: column; gap: 16px; }
.contact__detail { display: flex; align-items: center; gap: 13px; }
.contact__detail-icon {
  width: 40px; height: 40px; border-radius: var(--r-sm);
  background: var(--bg-3); border: 1px solid var(--border-2);
  display: flex; align-items: center; justify-content: center; color: var(--brand-cyan);
}
.contact__detail-text { color: var(--fg-2); font-size: 15px; }
.contact__quote { margin-top: 28px; padding: 18px 20px; border-left: 2px solid var(--brand-cyan); background: var(--bg-2); border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.contact__quote p { margin: 0; font-style: italic; color: var(--fg-2); font-size: 15px; }

.contact-form-panel { background: var(--bg-3); border: 1px solid var(--border-1); border-radius: var(--r-xl); padding: 32px; box-shadow: var(--shadow-md); }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: block; }
.form-label { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 7px; }
.form-input, .form-select, .form-textarea {
  width: 100%; box-sizing: border-box; background: var(--bg-2);
  border: 1px solid var(--border-2); border-radius: var(--r-sm); padding: 12px 14px;
  color: var(--fg-1); font-family: var(--font-sans); font-size: 15px; outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--brand-cyan); box-shadow: 0 0 0 3px var(--ring); }
.form-select {
  appearance: none;
  background-image: linear-gradient(45deg,transparent 50%,var(--fg-3) 50%), linear-gradient(135deg,var(--fg-3) 50%,transparent 50%);
  background-position: calc(100% - 18px) 19px, calc(100% - 13px) 19px;
  background-size: 5px 5px; background-repeat: no-repeat;
}
.form-textarea { resize: vertical; font-family: var(--font-sans); }
.form-submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; cursor: pointer;
  font-family: var(--font-sans); font-size: 15px; font-weight: 600; border-radius: var(--r-md);
  padding: 14px 22px; border: none; background: var(--brand-cyan); color: var(--accent-fg);
  box-shadow: var(--glow-cyan-soft); transition: all .2s ease;
}
.form-submit:hover { background: var(--cyan-300); box-shadow: var(--glow-cyan); }
.form-submit:disabled { opacity: .6; cursor: default; }
.form-error { margin: 0; padding: 12px 14px; border-radius: var(--r-sm); background: rgba(220,38,38,.12); border: 1px solid rgba(220,38,38,.4); color: #ff9b9b; font-size: 13.5px; }

.contact-success { text-align: center; padding: 40px 10px; }
.contact-success__icon {
  width: 60px; height: 60px; border-radius: 50%;
  background: rgba(0,173,239,.12); border: 1px solid var(--brand-cyan);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; color: var(--brand-cyan);
}
.contact-success__title { margin: 0 0 8px; }
.contact-success__body { margin: 0 auto; max-width: 320px; }
.contact-success__again { margin-top: 22px; }

/* ---- Responsive (Task 3) ---- */
@media (max-width: 900px) {
  .blog-featured, .contact-grid { grid-template-columns: 1fr !important; }
}
@media (max-width: 600px) {
  .blog-grid, .form-row { grid-template-columns: 1fr !important; }
}
