/* ============================================================
   IT Sec Assistant
   - 親しみやすい青系パステル
   - 丸みのあるカードUI
   - レスポンシブ（モバイルファースト）
   ============================================================ */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* ---------- Tokens ---------- */
:root {
  /* Brand blues */
  --blue-900: #1E5B86;
  --blue-700: #2E7DB0;
  --blue-500: #4FA8E0;     /* primary */
  --blue-400: #7FC0E8;
  --blue-300: #A8D5F0;
  --blue-200: #CCE6F7;
  --blue-100: #E5F2FB;
  --blue-50:  #F2F8FD;

  /* Warm accent */
  --orange-500: #FFA94D;
  --orange-300: #FFD4A1;
  --orange-100: #FFEEDB;

  /* Neutrals */
  --ink-900: #1F2A37;
  --ink-700: #3F4A5A;
  --ink-500: #6B7785;
  --ink-300: #B7BFCC;
  --ink-100: #E6EAF0;
  --bg:      #FBFDFF;
  --white:   #FFFFFF;

  /* Status */
  --green-500: #4CAF7B;
  --green-100: #E1F4E9;

  /* Type */
  --font-jp: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Yu Gothic", sans-serif;
  --font-num: "Plus Jakarta Sans", var(--font-jp);

  /* Radius */
  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* Shadow */
  --shadow-sm: 0 2px 8px rgba(31, 91, 134, 0.06);
  --shadow-md: 0 8px 24px rgba(31, 91, 134, 0.10);
  --shadow-lg: 0 16px 40px rgba(31, 91, 134, 0.14);

  /* Layout */
  --container: 1080px;
  --gutter: 20px;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-jp);
  font-weight: 500;
  color: var(--ink-900);
  background: var(--bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "palt" 1;
  letter-spacing: 0.02em;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section { padding: 72px 0; position: relative; }
@media (max-width: 720px) { section { padding: 56px 0; } }

/* ---------- Decorative blobs / dots ---------- */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
}
.blob.b1 { width: 280px; height: 280px; background: var(--blue-200); top: -80px; left: -80px; }
.blob.b2 { width: 220px; height: 220px; background: var(--orange-100); bottom: -60px; right: -40px; }

.dot-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--blue-200) 1.2px, transparent 1.5px);
  background-size: 22px 22px;
  opacity: 0.35;
  pointer-events: none;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 253, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--blue-100);
}
.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--blue-900);
}
.brand-mark {
  width: 36px; height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-400));
  display: grid; place-items: center;
  color: white;
  box-shadow: var(--shadow-sm);
}
.brand-mark img {
  width: 22px;
  height: 26px;
  object-fit: contain;
}
.brand-name { font-size: 16px; }
.brand-sub { font-size: 11px; color: var(--ink-500); font-weight: 500; display: block; line-height: 1; margin-top: 2px;}

.nav-links {
  display: flex;
  gap: 8px;
  align-items: center;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: var(--r-pill);
  font-size: 14px;
  color: var(--ink-700);
  transition: background 0.2s, color 0.2s;
}
.nav-links a:hover { background: var(--blue-100); color: var(--blue-700); }
.nav-links .cta {
  background: var(--blue-500);
  color: white;
  font-weight: 700;
}
.nav-links .cta:hover { background: var(--blue-700); color: white; }

@media (max-width: 720px) {
  .nav-links a:not(.cta) { display: none; }
  .brand-name { font-size: 14px; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding-top: 64px;
  padding-bottom: 96px;
  background:
    radial-gradient(ellipse at top right, var(--blue-100), transparent 60%),
    radial-gradient(ellipse at bottom left, var(--orange-100), transparent 50%),
    var(--bg);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; text-align: center; }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: white;
  border: 1.5px solid var(--blue-200);
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 700;
  color: var(--blue-700);
  box-shadow: var(--shadow-sm);
}
.hero-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-500); }

.hero h1 {
  font-size: clamp(28px, 4.6vw, 48px);
  font-weight: 700;
  line-height: 1.4;
  margin: 20px 0 16px;
  letter-spacing: 0.01em;
}
.hero h1 .marker {
  background: linear-gradient(transparent 60%, var(--orange-300) 60%);
  padding: 0 4px;
}
.hero p.lead {
  font-size: clamp(15px, 1.6vw, 17px);
  color: var(--ink-700);
  margin: 0 0 28px;
  max-width: 520px;
}
@media (max-width: 880px) { .hero p.lead { margin-left: auto; margin-right: auto; } }

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
@media (max-width: 880px) { .hero-cta { justify-content: center; } }

/* Profile card on the right */
.profile-card {
  background: white;
  border-radius: var(--r-xl);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--blue-100);
  position: relative;
}
.profile-card::before {
  content: "";
  position: absolute;
  inset: -8px;
  background: linear-gradient(135deg, var(--blue-200), var(--orange-100));
  border-radius: calc(var(--r-xl) + 8px);
  z-index: -1;
  opacity: 0.5;
}
.profile-tags {
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px;
}
.profile-tag {
  font-size: 11px; font-weight: 600;
  padding: 3px 10px;
  background: var(--blue-100); color: var(--blue-700);
  border-radius: var(--r-pill);
}
.profile-meta {
  border-top: 1px dashed var(--blue-200);
  padding-top: 16px;
  display: grid;
  gap: 10px;
}
.profile-meta dl { display: grid; grid-template-columns: 88px 1fr; gap: 10px; margin: 0; font-size: 13px;}
.profile-meta dt { color: var(--ink-500); font-weight: 600; }
.profile-meta dd { margin: 0; color: var(--ink-700); line-height: 1.7;}

.logo-card {
  display: grid;
  gap: 22px;
}
.hero-logo {
  width: min(100%, 360px);
  margin: 0 auto 4px;
}
.logo-card-tags {
  border-top: 1px dashed var(--blue-200);
  padding-top: 18px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 15px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.btn-primary {
  background: var(--blue-500);
  color: white;
  box-shadow: 0 6px 16px rgba(79, 168, 224, 0.35);
}
.btn-primary:hover {
  background: var(--blue-700);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(79, 168, 224, 0.45);
}
.btn-primary:disabled:hover {
  background: var(--blue-500);
  transform: none;
  box-shadow: none;
}
.btn-ghost {
  background: white;
  color: var(--blue-700);
  border: 1.5px solid var(--blue-200);
}
.btn-ghost:hover { background: var(--blue-50); border-color: var(--blue-400); transform: translateY(-2px); }

/* ============================================================
   SECTION HEADING
   ============================================================ */
.sec-head { text-align: center; margin-bottom: 48px; }
.sec-head .label {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue-500);
  letter-spacing: 0.2em;
  margin-bottom: 8px;
}
.sec-head h2 {
  font-size: clamp(24px, 3.4vw, 32px);
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--ink-900);
  line-height: 1.4;
}
.sec-head p {
  color: var(--ink-500);
  margin: 0 auto;
  max-width: 600px;
  font-size: 15px;
}
.wave-divider {
  display: block;
  margin: 16px auto 0;
  color: var(--blue-300);
}

/* ============================================================
   PROFILE DETAIL
   ============================================================ */
.profile-section { background: var(--white); }
.profile-detail {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 720px) { .profile-detail { grid-template-columns: 1fr; } }

.info-card {
  background: var(--blue-50);
  border-radius: var(--r-lg);
  padding: 28px;
  border: 1.5px solid var(--blue-100);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.info-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.info-card .ico {
  width: 44px; height: 44px;
  border-radius: 14px;
  background: white;
  display: grid; place-items: center;
  color: var(--blue-500);
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
}
.info-card h3 {
  margin: 0 0 12px;
  font-size: 17px;
  font-weight: 700;
  color: var(--blue-900);
}
.info-card ul {
  margin: 0; padding: 0; list-style: none;
  display: grid;
  gap: 8px;
  font-size: 14px;
  color: var(--ink-700);
}
.info-card li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.65;
}
.info-card li::before {
  content: "";
  flex-shrink: 0;
  margin-top: 9px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue-500);
}
.cert-groups {
  display: grid;
  gap: 18px;
}
.cert-groups p {
  margin: 0 0 8px;
  color: var(--blue-900);
  font-size: 13px;
  font-weight: 700;
}

/* ============================================================
   PAIN POINTS
   ============================================================ */
.pain-section {
  background: linear-gradient(180deg, var(--blue-50), var(--white));
  position: relative;
  overflow: hidden;
}
.pain-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 880px) { .pain-list { grid-template-columns: 1fr; } }

.pain-card {
  background: white;
  border-radius: var(--r-lg);
  padding: 28px 24px;
  text-align: center;
  border: 2px solid var(--blue-100);
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.pain-card:hover {
  transform: translateY(-4px);
  border-color: var(--blue-300);
  box-shadow: var(--shadow-md);
}
.pain-num {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  width: 36px; height: 36px;
  background: var(--orange-500);
  color: white;
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 700;
  font-size: 14px;
  font-family: var(--font-num);
  box-shadow: 0 4px 10px rgba(255, 169, 77, 0.4);
}
.pain-card .ico {
  width: 64px; height: 64px;
  margin: 8px auto 16px;
  background: var(--blue-100);
  border-radius: 20px;
  display: grid; place-items: center;
  color: var(--blue-700);
}
.pain-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--ink-900);
}
.pain-card p {
  font-size: 13px;
  color: var(--ink-500);
  margin: 0;
  line-height: 1.7;
}
/* ============================================================
   SERVICES
   ============================================================ */
.services-section { background: white; position: relative; overflow: hidden; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 980px) { .services-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } }
.service-grid-5 {
  grid-template-columns: repeat(5, 1fr);
  max-width: none;
  margin: 0;
}
@media (max-width: 1180px) { .service-grid-5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 880px) { .service-grid-5 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .service-grid-5 { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } }

.svc-card {
  background: white;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--ink-100);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.svc-banner {
  height: 14px;
  background: var(--blue-500);
}
.svc-card.svc-ec .svc-banner { background: linear-gradient(90deg, var(--blue-500), var(--blue-400)); }
.svc-card.svc-cloud .svc-banner { background: linear-gradient(90deg, var(--blue-400), var(--blue-200)); }
.svc-card.svc-security .svc-banner { background: linear-gradient(90deg, var(--blue-900), var(--blue-700)); }
.svc-card.svc-ops .svc-banner { background: linear-gradient(90deg, var(--orange-500), var(--orange-300)); }
.svc-card.svc-ai .svc-banner { background: linear-gradient(90deg, var(--green-500), #8ED7AA); }

.svc-mode {
  position: absolute;
  top: 16px; left: 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  background: white;
  border-radius: var(--r-pill);
  color: var(--blue-700);
  box-shadow: var(--shadow-sm);
}
.svc-card.svc-cloud .svc-mode { color: var(--blue-500); }
.svc-card.svc-security .svc-mode { color: var(--blue-900); }
.svc-card.svc-ops .svc-mode { color: var(--orange-500); }
.svc-card.svc-ai .svc-mode { color: var(--green-500); }

.svc-cover {
  height: 160px;
  background: var(--blue-50);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.svc-card.svc-cloud .svc-cover { background: #EFF9FE; }
.svc-card.svc-security .svc-cover { background: #EAF0F7; }
.svc-card.svc-ops .svc-cover { background: var(--orange-100); }
.svc-card.svc-ai .svc-cover { background: var(--green-100); }
.svc-cover .ico-big {
  position: relative;
  z-index: 1;
  width: 96px; height: 96px;
  background: white;
  border-radius: 28px;
  display: grid; place-items: center;
  color: var(--blue-500);
  box-shadow: var(--shadow-md);
}
.svc-card.svc-cloud .svc-cover .ico-big { color: var(--blue-400); }
.svc-card.svc-security .svc-cover .ico-big { color: var(--blue-900); }
.svc-card.svc-ops .svc-cover .ico-big { color: var(--orange-500); }
.svc-card.svc-ai .svc-cover .ico-big { color: var(--green-500); }

.svc-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}
.svc-tag-row { display: flex; gap: 6px; flex-wrap: wrap; }
.svc-tag {
  font-size: 11px; font-weight: 600;
  padding: 3px 9px;
  background: var(--blue-100);
  color: var(--blue-700);
  border-radius: var(--r-pill);
}
.svc-card.svc-cloud .svc-tag { background: #EFF9FE; color: var(--blue-700); }
.svc-card.svc-security .svc-tag { background: #EAF0F7; color: var(--blue-900); }
.svc-card.svc-ops .svc-tag { background: var(--orange-100); color: #C97316; }
.svc-card.svc-ai .svc-tag { background: var(--green-100); color: #2E7D55; }
.svc-title {
  font-size: 18px; font-weight: 700;
  margin: 0;
  line-height: 1.45;
  color: var(--ink-900);
}
.svc-desc {
  font-size: 13px;
  color: var(--ink-500);
  margin: 0;
  line-height: 1.7;
}

.svc-price-list {
  margin: 0;
  padding: 14px 0;
  display: grid;
  gap: 10px;
  border-top: 1px dashed var(--ink-100);
  border-bottom: 1px dashed var(--ink-100);
  list-style: none;
}
.svc-price-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-size: 13px;
}
.svc-price-list .duration { color: var(--ink-700); font-weight: 600; white-space: nowrap; flex-shrink: 0;}
.service-grid-5 .svc-price-list .duration {
  white-space: normal;
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing-section {
  background: linear-gradient(180deg, var(--white), var(--blue-50));
}
.pricing-card {
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 28px;
  align-items: center;
  background: white;
  border: 1px solid var(--blue-100);
  border-radius: var(--r-xl);
  padding: 34px;
  box-shadow: var(--shadow-md);
}
.pricing-card .label {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue-500);
  letter-spacing: 0.2em;
  margin-bottom: 8px;
}
.pricing-card h2 {
  margin: 0 0 12px;
  color: var(--ink-900);
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.4;
}
.pricing-card p {
  margin: 0;
  color: var(--ink-500);
  font-size: 14px;
  line-height: 1.85;
}
.price-box {
  display: grid;
  gap: 6px;
  justify-items: center;
  padding: 24px 20px;
  background: var(--blue-50);
  border: 1.5px solid var(--blue-100);
  border-radius: var(--r-lg);
  text-align: center;
}
.price-box span {
  color: var(--blue-700);
  font-size: 14px;
  font-weight: 700;
}
.price-box strong {
  color: var(--blue-900);
  font-family: var(--font-num);
  font-size: 30px;
  line-height: 1.2;
}
.price-box small {
  margin-left: 4px;
  color: var(--ink-500);
  font-family: var(--font-jp);
  font-size: 12px;
}
@media (max-width: 760px) {
  .pricing-card {
    grid-template-columns: 1fr;
    padding: 28px 20px;
  }
}
.achievement-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
@media (max-width: 980px) { .achievement-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .achievement-grid { grid-template-columns: 1fr; } }
.achievement-card {
  min-height: 160px;
  padding: 24px 20px;
  border-radius: var(--r-lg);
  border: 1.5px solid var(--blue-100);
  background: var(--blue-50);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.achievement-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.achievement-card strong {
  color: var(--blue-900);
  font-size: 16px;
}
.achievement-card span {
  color: var(--ink-700);
  font-size: 13px;
  line-height: 1.7;
}

.profile-copy {
  max-width: 820px;
  margin: 0 auto 32px;
  color: var(--ink-700);
  font-size: 15px;
}
.profile-copy p {
  margin: 0 0 14px;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-section {
  background:
    radial-gradient(ellipse at top left, var(--blue-100), transparent 50%),
    radial-gradient(ellipse at bottom right, var(--orange-100), transparent 50%),
    var(--blue-50);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.contact-card {
  max-width: 720px;
  margin: 0 auto;
  background: white;
  border-radius: var(--r-xl);
  padding: 48px 32px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--blue-100);
  position: relative;
}
.contact-card h2 {
  font-size: clamp(22px, 3vw, 28px);
  margin: 0 0 12px;
  color: var(--ink-900);
  line-height: 1.5;
}
.contact-card p {
  color: var(--ink-500);
  margin: 0 0 32px;
  font-size: 15px;
}
.contact-card > .label {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue-500);
  letter-spacing: 0.2em;
  margin-bottom: 8px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  text-align: left;
  align-items: center;
}
@media (max-width: 720px) {
  .contact-grid { grid-template-columns: 1fr; gap: 24px; text-align: center; }
}
.consultation-grid {
  grid-template-columns: 1fr 1.2fr;
}
.consultation-list {
  display: grid;
  gap: 10px;
}
.consultation-list span {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--r-md);
  background: var(--blue-50);
  border: 1.5px solid var(--blue-100);
  color: var(--ink-700);
  font-size: 14px;
  font-weight: 700;
}
.consultation-list span::before {
  content: "";
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--orange-500);
}
@media (max-width: 720px) {
  .consultation-grid { grid-template-columns: 1fr; }
  .consultation-list span { justify-content: center; }
}
.contact-links {
  display: grid;
  gap: 10px;
}
.contact-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border: 1.5px solid var(--blue-200);
  border-radius: var(--r-md);
  background: white;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.contact-link:hover {
  background: var(--blue-50);
  border-color: var(--blue-400);
  transform: translateX(4px);
}
.contact-link .ico {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--blue-100);
  color: var(--blue-700);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.contact-link .label { font-size: 12px; font-weight: 700; color: var(--ink-500); display: block; }
.contact-link .value { font-size: 14px; font-weight: 700; color: var(--ink-900); }
.contact-actions {
  display: flex;
  justify-content: flex-start;
}
@media (max-width: 720px) {
  .contact-actions { justify-content: center; }
}

/* ============================================================
   SUB PAGES / FORM
   ============================================================ */
.sub-page {
  background: var(--bg);
}
.page-hero {
  padding: 72px 0 40px;
  background:
    radial-gradient(ellipse at top right, var(--blue-100), transparent 60%),
    radial-gradient(ellipse at bottom left, var(--orange-100), transparent 50%),
    var(--bg);
  overflow: hidden;
}
.page-hero h1,
.thanks-card h1 {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.4;
  margin: 0 0 12px;
  color: var(--ink-900);
}
.form-section {
  padding-top: 32px;
  background: linear-gradient(180deg, var(--bg), var(--blue-50));
}
.form-shell {
  max-width: 860px;
  margin: 0 auto;
  background: white;
  border: 1px solid var(--blue-100);
  border-radius: var(--r-xl);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}
.contact-form {
  display: grid;
  gap: 22px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
@media (max-width: 720px) {
  .form-shell { padding: 28px 20px; }
  .form-grid { grid-template-columns: 1fr; }
}
.form-field {
  display: grid;
  gap: 8px;
}
.form-field label {
  color: var(--blue-900);
  font-size: 14px;
  font-weight: 700;
}
.form-field label span {
  color: var(--orange-500);
  font-size: 12px;
  margin-left: 4px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1.5px solid var(--blue-100);
  border-radius: var(--r-md);
  background: var(--blue-50);
  color: var(--ink-900);
  font: inherit;
  font-size: 15px;
  padding: 13px 14px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.form-field textarea {
  resize: vertical;
  min-height: 180px;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  background: white;
  border-color: var(--blue-400);
  box-shadow: 0 0 0 4px rgba(79, 168, 224, 0.16);
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--ink-300);
}
.check-field {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--ink-700);
  font-size: 14px;
  line-height: 1.7;
}
.check-field input {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  accent-color: var(--blue-500);
  flex-shrink: 0;
}
.check-field a,
.policy-card a {
  color: var(--blue-700);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.form-note {
  margin: 0;
  padding: 14px 16px;
  border-radius: var(--r-md);
  background: var(--orange-100);
  color: var(--ink-700);
  font-size: 13px;
  line-height: 1.7;
}
.form-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
@media (max-width: 640px) {
  .form-actions {
    flex-direction: column;
  }
  .form-actions .btn {
    width: 100%;
  }
}
.thanks-section {
  min-height: calc(100vh - 200px);
  display: grid;
  align-items: center;
  padding: 48px 0;
  background:
    radial-gradient(ellipse at top right, var(--blue-100), transparent 60%),
    radial-gradient(ellipse at bottom left, var(--orange-100), transparent 50%),
    var(--bg);
  overflow: hidden;
}
.thanks-card {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  background: white;
  border: 1px solid var(--blue-100);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-lg);
}
.thanks-icon {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  color: white;
  background: linear-gradient(135deg, var(--green-500), #8ED7AA);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
}
.thanks-card .label {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue-500);
  letter-spacing: 0.2em;
  margin-bottom: 8px;
}
.thanks-card p {
  max-width: 560px;
  margin: 0 auto 22px;
  color: var(--ink-500);
  font-size: 15px;
}
.thanks-card .form-actions {
  justify-content: center;
}

.policy-section {
  padding-top: 32px;
  background: linear-gradient(180deg, var(--bg), var(--blue-50));
}
.policy-card {
  max-width: 860px;
  margin: 0 auto;
  background: white;
  border: 1px solid var(--blue-100);
  border-radius: var(--r-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}
.policy-card section + section {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px dashed var(--blue-200);
}
.policy-card h2 {
  margin: 0 0 10px;
  color: var(--blue-900);
  font-size: 18px;
  line-height: 1.5;
}
.policy-card p {
  margin: 0;
  color: var(--ink-700);
  font-size: 14px;
  line-height: 1.9;
}
.policy-date {
  margin-top: 32px !important;
  color: var(--ink-500) !important;
  font-size: 13px !important;
  text-align: right;
}
@media (max-width: 720px) {
  .policy-card {
    padding: 28px 20px;
  }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--blue-900);
  color: rgba(255, 255, 255, 0.8);
  padding: 32px 0 24px;
  text-align: center;
}
.site-footer .brand-name { color: white; }
.site-footer .copyright {
  font-size: 12px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.5);
}
.site-footer .brand-mark {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-400));
  color: white;
}
.site-footer .brand {
  justify-content: center;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-links a:hover {
  color: white;
}

/* ============================================================
   SCROLL ANIMATIONS (CSS only)
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    animation: reveal 0.8s ease forwards;
    animation-timeline: view();
    animation-range: entry 0% cover 30%;
  }
  .reveal-stagger > * {
    opacity: 0;
    transform: translateY(20px);
    animation: reveal 0.7s ease forwards;
    animation-timeline: view();
    animation-range: entry 0% cover 25%;
  }
  .reveal-stagger > *:nth-child(2) { animation-delay: 0.08s; }
  .reveal-stagger > *:nth-child(3) { animation-delay: 0.16s; }
  .reveal-stagger > *:nth-child(4) { animation-delay: 0.24s; }
}
@keyframes reveal {
  to { opacity: 1; transform: translateY(0); }
}

/* Fallback for browsers without scroll-driven animations */
@supports not (animation-timeline: view()) {
  .reveal, .reveal-stagger > * { opacity: 1; transform: none;}
}

/* Subtle floating animation for hero blob */
@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(0, -10px); }
}
.float-anim { animation: float 6s ease-in-out infinite; }
