/* ==========================================================================
   Kendry Arteaga — Web Designer & E-Commerce Specialist
   Portfolio stylesheet
   ========================================================================== */

:root {
  /* Palette — azul claro & blanco */
  --bg: #ffffff;
  --bg-soft: #f3f9ff;
  --bg-mesh-1: #dbeeff;
  --bg-mesh-2: #eaf6ff;
  --bg-mesh-3: #f7fbff;
  --surface: #ffffff;
  --glass: rgba(255, 255, 255, 0.66);
  --glass-border: rgba(255, 255, 255, 0.8);

  --ink: #0b1a2b;
  --ink-soft: #33455c;
  --ink-mute: #64748b;

  --accent: #2563eb;
  --accent-2: #38bdf8;
  --accent-ink: #0b3d91;
  --accent-soft: #e6f2ff;

  --line: rgba(11, 26, 43, 0.09);
  --line-strong: rgba(11, 26, 43, 0.14);

  --shadow-sm: 0 1px 2px rgba(11, 26, 43, 0.06);
  --shadow-md: 0 12px 28px -12px rgba(37, 99, 235, 0.22);
  --shadow-lg: 0 30px 60px -20px rgba(11, 26, 43, 0.25);

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;

  --nav-h: 76px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --font-display: "Sora", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

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

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea { font: inherit; }
svg { display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 24px;
}

section { position: relative; }

.section-pad { padding-block: clamp(64px, 9vw, 120px); }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.kicker::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.section-head {
  max-width: 640px;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.section-head h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  margin-bottom: 14px;
}
.section-head p {
  color: var(--ink-mute);
  font-size: 1.05rem;
  max-width: 56ch;
}
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .kicker::before { display: none; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  white-space: nowrap;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), background 0.25s ease, color 0.25s ease, border-color .25s ease;
  will-change: transform;
}
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-ink) 100%);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -14px rgba(37, 99, 235, 0.4); }
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(8px);
}
@supports (backdrop-filter: blur(8px)) {
  .btn-ghost { background: rgba(255, 255, 255, 0.45); }
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-ink); transform: translateY(-2px); }

.btn-outline {
  color: var(--accent-ink);
  background: var(--accent-soft);
  border: 1px solid rgba(37, 99, 235, 0.18);
}
.btn-outline:hover { background: #fff; border-color: var(--accent); transform: translateY(-2px); }

.btn-sm { padding: 10px 18px; font-size: 0.88rem; }
.btn-icon { width: 18px; height: 18px; flex: none; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.55);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(0px);
  transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease, box-shadow .35s ease;
}
.nav.is-scrolled {
  background: rgba(255, 255, 255, 0.82);
  border-bottom-color: var(--line);
  backdrop-filter: blur(14px) saturate(160%);
  box-shadow: 0 8px 30px -18px rgba(11, 26, 43, 0.25);
}
@supports not (backdrop-filter: blur(14px)) {
  .nav.is-scrolled { background: rgba(255, 255, 255, 0.96); }
}

.nav-inner {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--ink);
}
.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  box-shadow: var(--shadow-md);
  flex: none;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text small {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.7rem;
  color: var(--ink-mute);
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-links a {
  position: relative;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding-block: 6px;
  transition: color 0.25s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.7);
}
.nav-toggle span {
  position: relative;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s ease, top .3s ease;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-cta .btn-primary span.long { display: none; }

  .mobile-menu {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    bottom: 0;
    height: calc(100svh - var(--nav-h));
    z-index: 99;
    background: var(--bg);
    display: flex;
    flex-direction: column;
    padding: 28px 24px 40px;
    gap: 6px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
    overflow-y: auto;
  }
  .mobile-menu.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .mobile-menu a {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
  }
  .mobile-menu .btn { margin-top: 22px; width: 100%; }
}
@media (min-width: 901px) {
  .mobile-menu { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  isolation: isolate;
  overflow: clip;
}

.hero-mesh {
  position: absolute;
  inset: -10% -10% -10% -10%;
  z-index: -1;
  background:
    radial-gradient(38% 42% at 18% 22%, var(--bg-mesh-1) 0%, transparent 68%),
    radial-gradient(46% 50% at 82% 18%, var(--bg-mesh-2) 0%, transparent 70%),
    radial-gradient(55% 60% at 50% 100%, var(--bg-mesh-3) 0%, transparent 72%),
    linear-gradient(180deg, #ffffff 0%, #ffffff 100%);
  filter: blur(10px);
  animation: meshDrift 24s ease-in-out infinite;
}
@keyframes meshDrift {
  0%, 100% { transform: scale(1) translate(0, 0); }
  50% { transform: scale(1.08) translate(-1.5%, 1.5%); }
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(to right, rgba(11, 26, 43, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(11, 26, 43, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 10%, transparent 75%);
}

.hero-inner {
  width: 100%;
  max-width: 860px;
  margin-inline: auto;
  padding-inline: 24px;
  text-align: center;
}

.hero-avail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px 7px 12px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 28px;
  backdrop-filter: blur(6px);
}
.hero-avail .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18);
}

.hero-title {
  font-size: clamp(2.6rem, 7.2vw, 5.2rem);
  text-wrap: balance;
  max-width: 16ch;
  margin-inline: auto;
}
.hero-title .accent-text {
  background: linear-gradient(120deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-role {
  margin-top: 18px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  color: var(--ink-soft);
}

.hero-sub {
  margin: 22px auto 0;
  max-width: 52ch;
  font-size: 1.08rem;
  color: var(--ink-mute);
}

.hero-actions {
  margin-top: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-tags {
  margin-top: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px 12px;
  flex-wrap: wrap;
}
.hero-tags span {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink-mute);
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
}

/* ---------- Reveal ----------
   Gated behind html.js (set synchronously in <head>) so content is
   fully visible by default if JavaScript fails to load or run. */
.js .reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }
.js .reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal-stagger.is-visible > * { opacity: 1; transform: none; }
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.02s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.14s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.2s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.26s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.32s; }
.reveal-stagger.is-visible > *:nth-child(7) { transition-delay: 0.38s; }
.reveal-stagger.is-visible > *:nth-child(8) { transition-delay: 0.44s; }

/* ---------- Glass card base ---------- */
.glass-card {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
@supports (backdrop-filter: blur(14px)) {
  .glass-card { background: rgba(255, 255, 255, 0.58); backdrop-filter: blur(14px) saturate(160%); }
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.about-copy p { color: var(--ink-soft); font-size: 1.05rem; margin-bottom: 18px; max-width: 60ch; }
.about-copy p:last-child { margin-bottom: 0; }

.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-ink);
  background: var(--accent-soft);
  border: 1px solid rgba(37, 99, 235, 0.14);
}
.chip svg { width: 14px; height: 14px; flex: none; }

.about-panel {
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.about-panel-item { display: flex; gap: 16px; align-items: flex-start; }
.about-panel-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex: none;
  box-shadow: var(--shadow-md);
}
.about-panel-icon svg { width: 20px; height: 20px; }
.about-panel-item h4 { font-size: 1rem; margin-bottom: 4px; }
.about-panel-item p { font-size: 0.9rem; color: var(--ink-mute); }

/* ---------- Featured Projects ---------- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
@media (max-width: 860px) {
  .projects-grid { grid-template-columns: 1fr; }
}

.project-card {
  overflow: hidden;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
  display: flex;
  flex-direction: column;
}
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.project-visual {
  position: relative;
  padding: 18px 18px 0;
}
.browser-frame {
  border-radius: 14px 14px 0 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: #fff;
  box-shadow: 0 20px 40px -24px rgba(11, 26, 43, 0.35);
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #eef4fb;
  border-bottom: 1px solid var(--line);
}
.browser-dot { width: 9px; height: 9px; border-radius: 50%; background: #d7e2ef; }
.browser-url {
  margin-left: 8px;
  flex: 1;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-mute);
  background: #fff;
  border-radius: 999px;
  padding: 5px 12px;
  border: 1px solid var(--line);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.browser-canvas {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.browser-canvas svg { width: 100%; height: 100%; display: block; }

.project-body {
  padding: 26px 26px 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}
.project-tag {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 5px 12px;
  border-radius: 999px;
}
.project-body h3 { font-size: 1.3rem; }
.project-body p { color: var(--ink-mute); font-size: 0.96rem; }
.project-actions { margin-top: auto; padding-top: 8px; }

/* ---------- Skills ---------- */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 960px) { .skills-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .skills-grid { grid-template-columns: 1fr; } }

.skill-card {
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color .4s ease;
}
.skill-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(37,99,235,0.25); }
.skill-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  display: flex;
  align-items: center;
  justify-content: center;
}
.skill-icon svg { width: 22px; height: 22px; }
.skill-card h3 { font-size: 1.02rem; }
.skill-card p { font-size: 0.86rem; color: var(--ink-mute); }

/* ---------- E-commerce ---------- */
.ecom-section {
  background: linear-gradient(180deg, var(--bg-soft) 0%, #ffffff 100%);
}
.ecom-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
@media (max-width: 900px) {
  .ecom-grid, .about-grid { grid-template-columns: 1fr; }
}
.ecom-copy p { color: var(--ink-soft); font-size: 1.05rem; margin-bottom: 18px; max-width: 54ch; }
.ecom-copy .platform-badges { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line-strong);
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: var(--shadow-sm);
}
.platform-badge svg { width: 20px; height: 20px; }

.ecom-list { display: flex; flex-direction: column; gap: 14px; }
.ecom-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 20px;
}
.ecom-item .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: var(--accent);
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.ecom-item h4 { font-size: 1rem; margin-bottom: 4px; }
.ecom-item p { font-size: 0.9rem; color: var(--ink-mute); }

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 960px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.service-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}
.service-icon svg { width: 24px; height: 24px; }
.service-card h3 { font-size: 1.12rem; }
.service-card p { font-size: 0.92rem; color: var(--ink-mute); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: clip;
  padding: clamp(48px, 7vw, 84px) clamp(24px, 6vw, 64px);
  text-align: center;
  background: linear-gradient(135deg, #0b3d91 0%, #2563eb 55%, #38bdf8 100%);
  color: #fff;
  isolation: isolate;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: -30% -10%;
  z-index: -1;
  background: radial-gradient(45% 55% at 20% 20%, rgba(255,255,255,0.22) 0%, transparent 70%),
              radial-gradient(40% 50% at 85% 80%, rgba(255,255,255,0.16) 0%, transparent 70%);
}
.cta-band h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.7rem); max-width: 22ch; margin-inline: auto; text-wrap: balance; }
.cta-band p { color: rgba(255,255,255,0.86); max-width: 52ch; margin: 16px auto 0; font-size: 1.05rem; }
.cta-actions { margin-top: 34px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-band .btn-primary {
  background: #fff;
  color: var(--accent-ink);
  box-shadow: 0 20px 40px -16px rgba(0,0,0,0.35);
}
.cta-band .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 24px 46px -14px rgba(0,0,0,0.4); }
.cta-band .btn-ghost {
  color: #fff;
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.4);
}
.cta-band .btn-ghost:hover { background: rgba(255,255,255,0.2); color: #fff; border-color: #fff; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 780px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-card {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.contact-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-icon svg { width: 21px; height: 21px; }
.contact-card h3 { font-size: 1.02rem; }
.contact-card a.contact-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--ink);
  transition: color .25s ease;
}
.contact-card a.contact-value:hover { color: var(--accent); }
.contact-card p.hint { font-size: 0.85rem; color: var(--ink-mute); }

/* ---------- Footer ---------- */
.footer {
  padding-block: 48px;
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand .brand-text small { color: var(--ink-mute); }
.footer-meta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; font-size: 0.86rem; color: var(--ink-mute); }
.footer-meta a { font-weight: 600; color: var(--ink-soft); transition: color .25s ease; }
.footer-meta a:hover { color: var(--accent); }

/* ---------- Skip link ---------- */
.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 1000;
  background: var(--accent);
  color: #fff;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 600;
  transition: top .25s ease;
}
.skip-link:focus { top: 16px; }

/* ---------- Focus ---------- */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Utilities ---------- */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

@media (max-width: 620px) {
  .section-pad { padding-block: 56px; }
  .btn { padding: 14px 22px; font-size: 0.92rem; }
}
