/* ==========================================================================
   REGIANE MORAES — CONSULTORA IMOBILIÁRIA MY BROKER ALPHAVILLE
   Identidade: Preto Premium, Branco Premium e Ouro Dourado Brilhante
   Tipografia: Plus Jakarta Sans (Auto-hospedada woff2)
   ========================================================================== */

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../assets/fonts/plus-jakarta-sans.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;
}

:root {
  /* Cores Principais — Sem cinza neutro e sem azul */
  --bg-dark: #070708;
  --bg-dark-surface: #0e0e11;
  --bg-light: #fbfaf8;
  --bg-light-surface: #ffffff;

  --text-dark: #f5f4f0;
  --text-dark-muted: #b8b3a8;
  --text-light: #161514;
  --text-light-muted: #5e5a52;

  /* Dourado Ouro Brilhante */
  --gold-primary: #d4af37;
  --gold-light: #f7e28b;
  --gold-deep: #b38b22;
  --gold-border: rgba(212, 175, 55, 0.28);
  --gold-border-light: rgba(212, 175, 55, 0.15);
  --gold-glow: rgba(212, 175, 55, 0.35);
  --gold-halo: rgba(212, 175, 55, 0.12);

  /* Dimensões e Espaçamentos */
  --container-max: 1180px;
  --nav-height: 56px;
  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;
}

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

html {
  font-family: var(--font-family);
  background-color: var(--bg-dark);
  color: var(--text-dark);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
}

body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
  background-color: var(--bg-dark);
  line-height: 1.55;
  font-size: 16px;
}

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

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

button {
  font-family: inherit;
  border: none;
  background: transparent;
  cursor: pointer;
}

/* Utilidades de Grid & Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ==========================================================================
   NAVBAR (Minimalista, Fixa, <= 56px no mobile)
   ========================================================================== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 100;
  background: rgba(7, 7, 8, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--gold-border-light);
  display: flex;
  align-items: center;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-monogram {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--gold-light), var(--gold-deep));
  color: #070708;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
  box-shadow: 0 0 12px var(--gold-halo);
}

.brand-text {
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.04em;
  color: var(--text-dark);
  text-transform: uppercase;
}

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

.nav-link-instagram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--gold-border);
  color: var(--gold-primary);
  transition: all 0.25s ease;
}

.nav-link-instagram:hover {
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-1px);
}

.nav-btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 16px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-primary) 50%, var(--gold-deep) 100%);
  color: #070708;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 10px var(--gold-glow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  white-space: nowrap;
}

.nav-btn-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px var(--gold-glow);
}

/* ==========================================================================
   BOTÃO CANÔNICO COM SHINY SWEEP GLOW (Em todas as seções)
   ========================================================================== */
.btn-gold-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #f7e28b 0%, #d4af37 50%, #b38b22 100%);
  color: #070708;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  padding: 16px 32px;
  min-height: 52px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(212, 175, 55, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  z-index: 1;
  text-align: center;
}

.btn-gold-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.75) 50%,
    transparent 100%
  );
  transform: skewX(-25deg);
  animation: shinySweep 3.5s infinite ease-in-out;
  pointer-events: none;
}

.btn-gold-primary:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 8px 32px rgba(212, 175, 55, 0.45);
}

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

.btn-gold-primary svg {
  flex-shrink: 0;
}

@keyframes shinySweep {
  0% { left: -150%; }
  35% { left: 150%; }
  100% { left: 150%; }
}

/* ==========================================================================
   HERO SECTION (Preto Premium, Integração de Foto, Destaques Oficiais)
   ========================================================================== */
.hero-section {
  position: relative;
  background-color: var(--bg-dark);
  padding-top: calc(var(--nav-height) + 40px);
  padding-bottom: 80px;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Auras e Parallax de Fundo */
.hero-ambient-glow {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, rgba(212, 175, 55, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(212, 175, 55, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 55, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
  width: 100%;
}

.hero-text-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--gold-border);
  background: rgba(212, 175, 55, 0.06);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 20px;
}

.hero-tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-primary);
  box-shadow: 0 0 8px var(--gold-primary);
}

.hero-title {
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.hero-title .gold-accent {
  background: linear-gradient(135deg, #ffffff 10%, #f7e28b 45%, #d4af37 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-role {
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 500;
  color: var(--gold-primary);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.hero-location {
  font-size: 16px;
  color: var(--text-dark-muted);
  margin-bottom: 24px;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  display: block !important;
}

.hero-chips {
  display: flex !important;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.hero-chip {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(212, 175, 55, 0.2);
  background: rgba(14, 14, 17, 0.7);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.hero-chip-icon {
  color: var(--gold-primary);
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
}

.hero-sub-note {
  font-size: 13px;
  color: var(--text-dark-muted);
  letter-spacing: 0.01em;
}

/* Foto da Hero Integrada ao Fundo (Sem moldura, sem recorte seco) */
.hero-visual-col {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-photo-wrapper {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-photo-glow {
  position: absolute;
  inset: -15px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.22) 0%, rgba(212, 175, 55, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.hero-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-pill);
  position: relative;
  z-index: 2;
  border: 1px solid var(--gold-border);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(212, 175, 55, 0.15);
  mask-image: radial-gradient(circle at 50% 48%, black 65%, rgba(0, 0, 0, 0.85) 85%, transparent 100%);
  -webkit-mask-image: radial-gradient(circle at 50% 48%, black 65%, rgba(0, 0, 0, 0.85) 85%, transparent 100%);
}

/* Transição Suave entre Hero (Preta) e a Próxima Seção (Branca) */
.transition-dark-to-light {
  height: 90px;
  background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(251, 250, 248, 0.4) 60%, var(--bg-light) 100%);
  position: relative;
  z-index: 5;
}

/* ==========================================================================
   SEÇÃO BRANCA PREMIUM: ATENDIMENTO & DIFERENCIAIS
   ========================================================================== */
.section-light {
  position: relative;
  background-color: var(--bg-light);
  color: var(--text-light);
  padding: 80px 0 90px;
  overflow: hidden;
  z-index: 2;
}

.section-header-center {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.badge-gold-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title-light {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-light);
  margin-bottom: 16px;
}

.section-title-light .gold-word {
  color: var(--gold-deep);
}

.section-desc-light {
  font-size: 17px;
  color: var(--text-light-muted);
  line-height: 1.6;
}

/* Grid de Pilares na Seção Branca */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.pillar-card-light {
  background: var(--bg-light-surface);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.03), 0 1px 2px rgba(212, 175, 55, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.pillar-card-light::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.pillar-card-light:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.06), 0 0 20px rgba(212, 175, 55, 0.15);
  border-color: var(--gold-primary);
}

.pillar-card-light:hover::before {
  opacity: 1;
}

.pillar-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-deep);
  margin-bottom: 20px;
}

.pillar-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.pillar-desc {
  font-size: 15px;
  color: var(--text-light-muted);
  line-height: 1.55;
}

.cta-row-center {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

/* Transição Suave de Branco para Preto */
.transition-light-to-dark {
  height: 90px;
  background: linear-gradient(180deg, var(--bg-light) 0%, rgba(7, 7, 8, 0.6) 60%, var(--bg-dark) 100%);
  position: relative;
  z-index: 5;
}

/* ==========================================================================
   SEÇÃO PRETA PREMIUM: EMPREENDIMENTOS (PORTFÓLIO)
   Fotos WebP com dimensões fixas, clique direto para WhatsApp, sem modal
   ========================================================================== */
.section-dark {
  position: relative;
  background-color: var(--bg-dark);
  color: var(--text-dark);
  padding: 80px 0 90px;
  overflow: hidden;
  z-index: 2;
}

.section-header-dark {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 52px;
}

.badge-gold-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--gold-border);
  background: rgba(212, 175, 55, 0.08);
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title-dark {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.section-title-dark .gold-word {
  background: linear-gradient(135deg, #ffffff 10%, #f7e28b 50%, #d4af37 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-desc-dark {
  font-size: 17px;
  color: var(--text-dark-muted);
  line-height: 1.6;
}

/* Galeria Linear de Empreendimentos */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.portfolio-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gold-border);
  background-color: var(--bg-dark-surface);
  aspect-ratio: 3 / 4;
  display: block;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  transition: transform 0.35s cubic-bezier(0.2, 0, 0.2, 1), border-color 0.35s ease, box-shadow 0.35s ease;
}

.portfolio-item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.2, 0, 0.2, 1);
}

.portfolio-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 7, 8, 0.1) 40%, rgba(7, 7, 8, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0.9;
  transition: opacity 0.3s ease, background 0.3s ease;
}

.portfolio-item-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #070708;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-primary));
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  width: fit-content;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
  transform: translateY(0);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-item:hover {
  transform: translateY(-6px);
  border-color: var(--gold-light);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(212, 175, 55, 0.25);
}

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

.portfolio-item:hover .portfolio-item-action {
  box-shadow: 0 6px 18px rgba(212, 175, 55, 0.6);
}

/* ==========================================================================
   SEÇÃO BRANCA PREMIUM: PÁGINA DE LINKS / CANAIS DIRETOS
   Estilo de página de links com refinamento de consultoria de prestígio
   ========================================================================== */
.links-section {
  position: relative;
  background-color: var(--bg-light);
  color: var(--text-light);
  padding: 80px 0 90px;
  z-index: 2;
}

.links-list {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.link-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: var(--bg-light-surface);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
  text-decoration: none;
  color: var(--text-light);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  min-height: 72px;
}

.link-card-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.link-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-deep);
  flex-shrink: 0;
}

.link-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 2px;
}

.link-card-desc {
  font-size: 13px;
  color: var(--text-light-muted);
}

.link-card-arrow {
  color: var(--gold-deep);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.link-card:hover {
  transform: translateY(-2px);
  border-color: var(--gold-primary);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05), 0 0 14px rgba(212, 175, 55, 0.15);
}

.link-card:hover .link-card-arrow {
  transform: translateX(4px);
}

.link-card-featured {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.14) 0%, rgba(255, 255, 255, 0.95) 100%);
  border: 1.5px solid var(--gold-primary);
}

/* ==========================================================================
   FOOTER (Preto Premium, Dados Oficiais, Links Institucionais)
   ========================================================================== */
.site-footer {
  background-color: var(--bg-dark);
  color: var(--text-dark-muted);
  border-top: 1px solid var(--gold-border-light);
  padding: 60px 0 40px;
  position: relative;
  z-index: 2;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.footer-brand-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-dark);
}

.footer-role {
  font-size: 14px;
  color: var(--gold-primary);
  letter-spacing: 0.02em;
}

.footer-info-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  font-size: 14px;
}

.footer-info-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-dark-muted);
}

.footer-info-item svg {
  color: var(--gold-primary);
}

.footer-copy {
  font-size: 12px;
  color: #7a766e;
  margin-top: 16px;
  border-top: 1px solid rgba(212, 175, 55, 0.1);
  padding-top: 20px;
  width: 100%;
}

/* ==========================================================================
   REGRAS DE GSAP & SCROLLTRIGGER
   Estado inicial definido no CSS para evitar flashes (FOUC)
   ========================================================================== */
.gsap-reveal {
  opacity: 0;
  transform: translateY(30px);
  will-change: transform, opacity;
}

.gsap-parallax-bg {
  will-change: transform;
}

/* Prefers Reduced Motion (Acessibilidade Estrita) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .btn-gold-primary::before {
    animation: none !important;
    display: none !important;
  }

  .gsap-reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .gsap-parallax-bg {
    transform: none !important;
  }
}

/* ==========================================================================
   RESPONSIVIDADE (320px a 1920px)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-layout {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-text-col {
    align-items: center;
  }

  .hero-chips {
    justify-content: center;
  }

  .hero-cta-group {
    align-items: center;
  }

  .hero-visual-col {
    order: -1;
  }

  .hero-photo-wrapper {
    max-width: 320px;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }

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

@media (max-width: 640px) {
  .site-nav {
    height: 56px;
  }

  .hero-section {
    padding-top: calc(var(--nav-height) + 24px);
    padding-bottom: 48px;
  }

  .hero-photo-wrapper {
    max-width: 260px;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-role {
    font-size: 16px;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

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

  .btn-gold-primary {
    width: 100%;
    max-width: 340px;
    padding: 14px 20px;
    font-size: 14px;
  }

  .link-card {
    padding: 16px;
  }

  .link-card-title {
    font-size: 15px;
  }

  .footer-info-list {
    flex-direction: column;
    gap: 10px;
  }
}

