/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  /* Pop Aqua Palette */
  --bg: #f0f9ff;
  --bg-alt: #e0f2fe;
  --bg-dark: #0c4a6e;
  --surface: #ffffff;
  --surface-alt: #e0f2fe;
  --border: #bae6fd;
  --border-light: #e0f2fe;
  --text: #0c4a6e;
  --text-body: #1e6091;
  --text-muted: #3b7aaa;         /* WCAG AA on --bg */
  --accent: #0ea5e9;
  --accent-light: #38bdf8;
  --accent-vivid: #0284c7;
  --accent-subtle: rgba(14, 165, 233, 0.10);
  --pink: #f472b6;
  --pink-text: #db2777;
  --font-body: 'Nunito', 'Inter', 'Noto Sans JP', -apple-system, sans-serif;
  --font-display: 'Nunito', 'Inter', 'Noto Sans JP', sans-serif;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-full: 9999px;
  --max-width: 1200px;
  --section-pad: 96px;
  --focus-ring: 0 0 0 3px rgba(14, 165, 233, 0.4);
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ===== SKIP LINK (accessibility) ===== */
.skip-link {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  padding: 12px 24px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  z-index: 10000;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; outline: none; box-shadow: var(--focus-ring); }

/* ===== FOCUS STYLES ===== */
*:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

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

/* ===== LANGUAGE BAR ===== */
.lang-bar {
  position: fixed;
  top: 20px;
  right: 32px;
  z-index: 1001;
  display: flex;
  gap: 2px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 3px;
  box-shadow: 0 4px 16px rgba(14, 165, 233, 0.08);
}
.lang-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-body);
  letter-spacing: 0.5px;
}
.lang-btn:hover { color: var(--accent-vivid); background: var(--surface-alt); }
.lang-btn.active { background: var(--accent); color: #fff; }

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(240, 249, 255, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  font-size: 18px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent), #38bdf8);
  border-radius: var(--radius-sm);
  font-weight: 700;
  color: #fff;
}
.logo-text { font-size: 13px; font-weight: 700; letter-spacing: 3px; color: var(--text); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.3px;
  transition: color 0.2s;
  padding: 4px 0;
}
.nav-links a:hover { color: var(--accent-vivid); }
.nav-cta {
  background: var(--accent) !important;
  color: #fff !important;
  padding: 9px 22px;
  border-radius: var(--radius-full);
  font-weight: 600 !important;
  letter-spacing: 0.5px !important;
  transition: all 0.2s !important;
  box-shadow: 0 2px 12px rgba(14, 165, 233, 0.25);
}
.nav-cta:hover {
  background: var(--accent-vivid) !important;
  box-shadow: 0 4px 20px rgba(14, 165, 233, 0.35);
  transform: translateY(-1px);
}
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.3s; }

/* ===== HERO PORTAL ===== */
.hero-portal {
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 110px 32px 64px;
  background: linear-gradient(180deg, #e0f2fe 0%, var(--bg) 100%);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(14, 165, 233, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 165, 233, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-bg::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--bg), transparent);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 760px; width: 100%; text-align: center; }
.hero-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--pink-text);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 14px;
  color: var(--text);
  letter-spacing: -0.3px;
}
.hero-sub {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

/* Hero Search Box (Yahoo-style) */
.hero-search {
  display: flex;
  max-width: 640px;
  margin: 0 auto 20px;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-full);
  padding: 4px;
  box-shadow: 0 6px 24px rgba(14, 165, 233, 0.10);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.hero-search:focus-within {
  border-color: var(--accent);
  box-shadow: 0 8px 28px rgba(14, 165, 233, 0.18);
}
.hero-search input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 16px;
  padding: 12px 22px;
  outline: none;
  color: var(--text);
  font-family: var(--font-body);
  min-width: 0;
}
.hero-search input::placeholder { color: var(--text-muted); }
.hero-search-btn {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #fff;
  border: none;
  padding: 11px 28px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.5px;
  font-family: var(--font-body);
  transition: all 0.2s;
  box-shadow: 0 2px 10px rgba(14, 165, 233, 0.3);
  white-space: nowrap;
}
.hero-search-btn:hover {
  box-shadow: 0 4px 16px rgba(14, 165, 233, 0.4);
  transform: translateY(-1px);
}

/* Hero Quick Links */
.hero-quick {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 14px;
  font-size: 13px;
  color: var(--text-muted);
}
.hero-quick-label { font-weight: 600; color: var(--text-muted); margin-right: 4px; }
.hero-quick a {
  color: var(--accent-vivid);
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: var(--surface);
  border: 1px solid var(--border-light);
  transition: all 0.2s;
}
.hero-quick a:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: translateY(-1px);
}

/* ===== SECTIONS ===== */
.section { padding: var(--section-pad) 0; }
.section-dark {
  background: linear-gradient(135deg, #0c4a6e, #0e7490);
  color: #e0f2fe;
}
.section-dark .lead,
.section-dark p { color: rgba(224, 242, 254, 0.85); }
.section-dark h2 { color: #fff; }
.section-dark .label-tag { color: var(--pink); }

/* ===== SERVICES PORTAL ===== */
.section-services { padding-top: 64px; padding-bottom: 96px; }
.services-header { text-align: center; margin-bottom: 56px; }
.services-header h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}
.services-lead {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto;
}

.cat-block { margin-bottom: 24px; }
.cat-block:last-child { margin-bottom: 0; }
.cat-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  padding-bottom: 0;
  border-bottom: none;
  letter-spacing: 0.4px;
}
.cat-bar {
  display: inline-block;
  width: 4px;
  height: 16px;
  border-radius: 2px;
  background: var(--accent);
}
.cat-icon { font-size: 16px; line-height: 1; }

/* Category colors — match A-Z pillar palette plus 3 extra for 8 cats */
.cat-block[data-cat="1"] .cat-bar { background: #f9a8d4; } /* sakura */
.cat-block[data-cat="2"] .cat-bar { background: #38bdf8; } /* sky */
.cat-block[data-cat="3"] .cat-bar { background: #34d399; } /* green */
.cat-block[data-cat="4"] .cat-bar { background: #a855f7; } /* purple */
.cat-block[data-cat="5"] .cat-bar { background: #f59e0b; } /* orange */
.cat-block[data-cat="6"] .cat-bar { background: #0ea5e9; } /* blue */
.cat-block[data-cat="7"] .cat-bar { background: #ec4899; } /* pink */
.cat-block[data-cat="8"] .cat-bar { background: #14b8a6; } /* teal */

.mini-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.mini-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 11px 12px 10px;
  transition: all 0.2s;
  min-height: 92px;
  text-decoration: none;
  color: inherit;
}
.mini-card:hover {
  border-color: var(--accent-light);
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.10);
  transform: translateY(-1px);
}
a.mini-card:hover strong { color: var(--accent-vivid); }
.mc-top {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 5px;
}
.mc-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  font-family: var(--font-display);
  background: var(--accent);
}
/* Category-aware mc-code colors — match .cat-bar palette */
.cat-block[data-cat="1"] .mc-code { background: #f9a8d4; }
.cat-block[data-cat="2"] .mc-code { background: #38bdf8; }
.cat-block[data-cat="3"] .mc-code { background: #34d399; }
.cat-block[data-cat="4"] .mc-code { background: #a855f7; }
.cat-block[data-cat="5"] .mc-code { background: #f59e0b; }
.cat-block[data-cat="6"] .mc-code { background: #0ea5e9; }
.cat-block[data-cat="7"] .mc-code { background: #ec4899; }
.cat-block[data-cat="8"] .mc-code { background: #14b8a6; }

.mini-card strong {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.1px;
  line-height: 1.3;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mini-card em {
  font-size: 11px;
  font-style: normal;
  color: var(--text-muted);
  line-height: 1.45;
}
.mini-card-soon {
  opacity: 0.65;
  cursor: default;
  background: var(--surface-alt);
  border-style: dashed;
}
.mini-card-soon:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--accent-light);
  background: var(--surface-alt);
}

/* ===== COMPANY OVERVIEW ===== */
.label-tag {
  font-size: 11px;
  color: var(--pink-text);
  letter-spacing: 3px;
  font-weight: 700;
  display: block;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.company-header { text-align: center; margin-bottom: 36px; max-width: 720px; margin-left: auto; margin-right: auto; }
.company-header h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.3;
}
.company-header .lead { font-size: 15px; margin-bottom: 0; }

.company-table {
  max-width: 760px;
  margin: 0 auto 32px;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  overflow: hidden;
}
.ct-row {
  display: flex;
  gap: 18px;
  padding: 13px 22px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 14px;
  align-items: baseline;
}
.ct-row:last-child { border-bottom: none; }
.ct-key {
  flex-shrink: 0;
  width: 120px;
  font-weight: 700;
  color: rgba(224, 242, 254, 0.75);
  font-size: 12.5px;
  letter-spacing: 0.3px;
}
.ct-val {
  color: #fff;
  flex: 1;
  line-height: 1.65;
  word-break: break-word;
}
.ct-val a { color: var(--accent-light); text-decoration: underline; text-decoration-color: rgba(56,189,248,0.4); text-underline-offset: 3px; }
.ct-val a:hover { text-decoration-color: var(--accent-light); }

.company-mission {
  max-width: 760px;
  margin: 0 auto 24px;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  padding: 22px 26px;
}
.company-mission h3 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--pink);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.company-mission p {
  font-size: 14.5px;
  line-height: 1.95;
  color: rgba(224, 242, 254, 0.92);
  margin: 0;
}

.company-note {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 14px;
  font-size: 13px;
  color: rgba(224, 242, 254, 0.75);
  line-height: 1.7;
}
.company-detail-link { text-align: center; max-width: 760px; margin: 0 auto; }

/* ===== INCUBATION (Coming soon products) — sky pastel + sakura accent ===== */
.section-incubation {
  background: linear-gradient(180deg, #f0f9ff 0%, #fdf2f8 100%);
  padding: 64px 0 72px;
  border-top: 2px solid #bae6fd;
  border-bottom: 2px solid #fbcfe8;
}
.incub-header { text-align: center; margin-bottom: 32px; max-width: 720px; margin-left: auto; margin-right: auto; }
.incub-header .label-tag { color: var(--pink-text); }
.incub-header h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.3;
}
.incub-sub { font-size: 13px; color: var(--text-muted); margin: 0; }

.incub-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.incub-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1.5px dashed #7dd3fc;
  border-radius: var(--radius-sm);
  padding: 12px 14px 11px;
  transition: all 0.2s;
  min-height: 84px;
}
.incub-card:hover {
  border-color: var(--accent);
  border-style: solid;
  box-shadow: 0 4px 14px rgba(56, 189, 248, 0.15);
}
.ic-top {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 5px;
}
.ic-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  font-family: var(--font-display);
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--pink) 100%);
}
.incub-card strong {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.1px;
  line-height: 1.3;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ic-soon {
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 3px;
  letter-spacing: 0.3px;
  flex-shrink: 0;
  background: rgba(244, 114, 182, 0.15);
  color: var(--pink-text);
}
.ic-line {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--text-body);
  margin: 0;
}

@media (max-width: 1100px) {
  .incub-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .incub-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== HIME HOLDINGS A-Z VISION ===== */
.section-vision {
  background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 100%);
  padding: 72px 0 80px;
  border-top: 2px solid var(--border);
  border-bottom: 2px solid var(--border);
}
.vision-header { text-align: center; margin-bottom: 36px; max-width: 720px; margin-left: auto; margin-right: auto; }
.vision-header .label-tag { color: var(--pink-text); }
.vision-header h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.3;
}
.vision-sub { font-size: 13px; color: var(--text-muted); margin: 0; }

.vision-pillar { margin-bottom: 24px; }
.vision-pillar:last-of-type { margin-bottom: 0; }
.vp-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.vp-bar {
  display: inline-block;
  width: 4px;
  height: 16px;
  border-radius: 2px;
  background: var(--accent);
}
.vp-head h3 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.4px;
  margin: 0;
}
/* Pillar colors (5本柱: sakura/sky/green/purple/orange) */
.vision-pillar[data-pillar="1"] .vp-bar,
.vision-pillar[data-pillar="1"] .az-code { background: #f9a8d4; }
.vision-pillar[data-pillar="2"] .vp-bar,
.vision-pillar[data-pillar="2"] .az-code { background: #38bdf8; }
.vision-pillar[data-pillar="3"] .vp-bar,
.vision-pillar[data-pillar="3"] .az-code { background: #34d399; }
.vision-pillar[data-pillar="4"] .vp-bar,
.vision-pillar[data-pillar="4"] .az-code { background: #a855f7; }
.vision-pillar[data-pillar="5"] .vp-bar,
.vision-pillar[data-pillar="5"] .az-code { background: #f59e0b; }

.vp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.az-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 11px 12px 10px;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s;
  min-height: 92px;
}
.az-card:hover {
  border-color: var(--accent-light);
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.10);
  transform: translateY(-1px);
}
a.az-card:hover .az-name { color: var(--accent-vivid); }
.az-top {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 5px;
}
.az-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  font-family: var(--font-display);
}
.az-name {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text);
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.az-status {
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 3px;
  letter-spacing: 0.3px;
  flex-shrink: 0;
}
.az-live { background: rgba(52, 211, 153, 0.15); color: #059669; }
.az-design { background: rgba(56, 189, 248, 0.15); color: var(--accent-vivid); }
.az-concept { background: rgba(136, 136, 160, 0.12); color: #6b7280; }
.az-planned { background: rgba(136, 136, 160, 0.10); color: #6b7280; }
.az-line {
  font-size: 11px;
  line-height: 1.45;
  color: var(--text-body);
  margin: 0 0 4px;
}
.az-mem {
  font-size: 10px;
  line-height: 1.45;
  color: var(--text-muted);
  margin: 0;
}

.vision-source {
  text-align: center;
  font-size: 11.5px;
  color: var(--text-muted);
  margin-top: 24px;
}
.vision-source a { color: var(--accent-vivid); text-decoration: underline; text-decoration-color: rgba(14,165,233,0.3); }
.vision-source a:hover { text-decoration-color: var(--accent-vivid); }

@media (max-width: 1100px) {
  .vp-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .vp-grid { grid-template-columns: repeat(2, 1fr); }
}
.company-detail-link a {
  font-size: 13px;
  color: var(--accent-light);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(56,189,248,0.4);
  text-underline-offset: 4px;
}
.company-detail-link a:hover { text-decoration-color: var(--accent-light); }

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 64px;
  align-items: start;
}
.contact-intro h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
}
.contact-intro .lead { font-size: 15px; margin-bottom: 24px; }
.contact-info { padding-top: 20px; border-top: 2px solid var(--border); }
.contact-info p { font-size: 14px; margin-bottom: 6px; color: var(--text-muted); }
.contact-info strong { color: var(--text); }

.contact-form { margin-top: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-vivid);
  margin-bottom: 6px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 15px;
  font-family: var(--font-body);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: var(--focus-ring);
  outline: none;
}
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%230ea5e9' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 30px;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius-full);
  transition: all 0.25s;
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
  letter-spacing: 0.5px;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), #38bdf8);
  color: #fff;
  box-shadow: 0 4px 16px rgba(14, 165, 233, 0.3);
}
.btn-primary:hover {
  box-shadow: 0 6px 24px rgba(14, 165, 233, 0.4);
  transform: translateY(-2px);
}
.btn-full { width: 100%; }

/* ===== FOOTER ===== */
.footer {
  background: linear-gradient(135deg, #0c4a6e, #0e7490);
  padding: 48px 0;
  color: rgba(224, 242, 254, 0.7);
}
.footer-inner { text-align: center; }
.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 8px;
}
.footer .logo-mark {
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 14px;
  width: 30px;
  height: 30px;
  border-radius: 8px;
}
.footer .logo-text { color: rgba(255,255,255,0.9); font-size: 12px; letter-spacing: 3px; }
.footer-tagline {
  color: rgba(224, 242, 254, 0.6);
  font-size: 12px;
  margin-bottom: 24px;
  font-weight: 500;
}
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 28px; margin-bottom: 20px; }
.footer-links a {
  font-size: 13px;
  font-weight: 500;
  color: rgba(224, 242, 254, 0.7);
  transition: color 0.2s;
}
.footer-links a:hover { color: rgba(255,255,255,0.95); }
.footer-external {
  margin-bottom: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.10);
}
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.55); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .mini-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 900px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .mini-grid { grid-template-columns: repeat(3, 1fr); }
  :root { --section-pad: 72px; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg);
    padding: 36px 24px;
    gap: 20px;
    z-index: 999;
    border-top: 2px solid var(--border);
  }
  .nav-links.open a { font-size: 18px; color: var(--text); font-weight: 500; }
  .nav-toggle { display: flex; }
  .lang-bar { top: auto; bottom: 16px; right: 50%; transform: translateX(50%); }
  .hero-portal { padding: 100px 20px 56px; }
  .hero-search { flex-direction: row; }
  .hero-search input { font-size: 14px; padding: 10px 16px; }
  .hero-search-btn { padding: 10px 18px; font-size: 13px; }
  .hero-quick { font-size: 12px; }
  .hero-quick a { padding: 4px 10px; font-size: 12px; }
  .mini-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .form-row { grid-template-columns: 1fr; }
  :root { --section-pad: 56px; }
  .container { padding: 0 18px; }
  .section-services { padding-top: 48px; padding-bottom: 64px; }
  .services-header { margin-bottom: 36px; }
}
