/* =========================================================
   Tochica HP — base tokens & sections
   ========================================================= */

:root{
  --ink:        #0F2A44;
  --ink-soft:   #4A5A6E;
  --ink-mute:   #6B7889;
  --orange:     #E89557;
  --orange-deep:#D77F3D;
  --teal:       #62B6AA;
  --teal-deep:  #4FA396;
  --cream:      #F6EFE2;
  --cream-soft: #FBF6EB;
  --card:       #FBF8F2;
  --line:       #E6DECB;
  --white:      #FFFFFF;

  --radius-card: 14px;
  --radius-btn:  10px;

  --shadow-1: 0 1px 2px rgba(15,42,68,.04), 0 2px 6px rgba(15,42,68,.04);
  --shadow-2: 0 4px 10px rgba(15,42,68,.06), 0 12px 28px rgba(15,42,68,.08);
  --shadow-btn: 0 2px 0 rgba(15,42,68,.06), 0 6px 16px rgba(232,149,87,.28);
  --shadow-btn-hover: 0 4px 0 rgba(15,42,68,.06), 0 14px 28px rgba(232,149,87,.38);

  --ease: cubic-bezier(.22,.61,.36,1);
  --t-fast: 180ms;
  --t-base: 260ms;
}

*,*::before,*::after{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
html{ scroll-behavior:smooth; }
/* Fixed-header offset for in-page anchors */
section[id]{ scroll-margin-top:84px; }
body{
  font-family:"Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic",system-ui,sans-serif;
  color:var(--ink);
  background:var(--cream-soft);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  line-height:1.7;
  font-weight:500;
  font-feature-settings:"palt" 1;
}
img,svg{ display:block; max-width:100%; }
a{ color:inherit; text-decoration:none; }
button{ font:inherit; cursor:pointer; }

.container{
  width:100%;
  max-width:1240px;
  margin-inline:auto;
  padding-inline:clamp(20px,4vw,40px);
}

/* =========================================================
   Header
   ========================================================= */
.site-header{
  position:fixed;
  inset:0 0 auto 0;
  z-index:50;
  background:transparent;
  transition:background var(--t-base) var(--ease),
             box-shadow var(--t-base) var(--ease),
             backdrop-filter var(--t-base) var(--ease);
}
.site-header.is-scrolled{
  background:rgba(251,246,235,.86);
  backdrop-filter:saturate(160%) blur(10px);
  -webkit-backdrop-filter:saturate(160%) blur(10px);
  box-shadow:0 1px 0 rgba(15,42,68,.06);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:74px;
}
.brand{
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:var(--ink);
  transition:opacity var(--t-fast) var(--ease);
}
.brand:hover{ opacity:.82; }
.brand-mark{
  flex:0 0 auto;
  height:34px;
  width:auto;
  display:block;
}
.brand-name{
  font-weight:700;
  font-size:24px;
  letter-spacing:.02em;
}
.nav-list{
  list-style:none;
  margin:0; padding:0;
  display:flex;
  align-items:center;
  gap:30px;
}
.nav-list a{
  position:relative;
  font-size:14.5px;
  font-weight:500;
  color:var(--ink);
  padding:6px 2px;
  transition:color var(--t-fast) var(--ease);
}
.nav-list a:not(.nav-cta)::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:-2px;
  height:2px;
  background:var(--teal);
  transform:scaleX(0);
  transform-origin:left center;
  transition:transform var(--t-base) var(--ease);
}
.nav-list a:not(.nav-cta):hover{ color:var(--teal-deep); }
.nav-list a:not(.nav-cta):hover::after{ transform:scaleX(1); }
.nav-cta{
  background:var(--ink);
  color:var(--white) !important;
  padding:10px 18px !important;
  border-radius:999px;
  font-weight:700 !important;
  transition:transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.nav-cta:hover{
  background:#193759;
  transform:translateY(-1px);
  box-shadow:0 6px 18px rgba(15,42,68,.18);
}

/* Hamburger */
.hamburger{
  display:none;
  width:44px; height:44px;
  background:transparent;
  border:0;
  padding:0;
  position:relative;
}
.hamburger span{
  position:absolute;
  left:10px; right:10px;
  height:2px;
  background:var(--ink);
  border-radius:2px;
  transition:transform var(--t-base) var(--ease),
             opacity var(--t-fast) var(--ease),
             top var(--t-base) var(--ease);
}
.hamburger span:nth-child(1){ top:14px; }
.hamburger span:nth-child(2){ top:21px; }
.hamburger span:nth-child(3){ top:28px; }
.hamburger.is-open span:nth-child(1){ top:21px; transform:rotate(45deg); }
.hamburger.is-open span:nth-child(2){ opacity:0; }
.hamburger.is-open span:nth-child(3){ top:21px; transform:rotate(-45deg); }

.mobile-nav{
  position:fixed;
  inset:74px 0 0 0;
  background:var(--cream-soft);
  border-top:1px solid var(--line);
  opacity:0;
  visibility:hidden;
  transform:translateY(-8px);
  transition:opacity var(--t-base) var(--ease),
             transform var(--t-base) var(--ease),
             visibility var(--t-base) var(--ease);
  z-index:49;
}
.mobile-nav ul{
  list-style:none;
  margin:0; padding:24px;
  display:flex; flex-direction:column; gap:6px;
}
.mobile-nav a{
  display:block;
  padding:16px 8px;
  border-bottom:1px solid var(--line);
  font-weight:500;
  color:var(--ink);
}
.mobile-nav .m-cta{
  margin-top:16px;
  background:var(--ink);
  color:var(--white);
  border-bottom:0;
  border-radius:999px;
  text-align:center;
  font-weight:700;
}
.mobile-nav.is-open{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}

@media (max-width: 900px){
  .nav{ display:none; }
  .hamburger{ display:block; }
}

/* =========================================================
   Hero
   ========================================================= */
.hero{
  position:relative;
  min-height:100vh;
  min-height:100svh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:120px 0 80px;
  background:var(--cream);
  overflow:hidden;
}
.hero-bg{
  position:absolute;
  inset:0;
  width:100%; height:100%;
  pointer-events:none;
}
.hero-inner{
  position:relative;
  text-align:center;
  z-index:1;
}
.hero-title{
  margin:0 auto;
  font-weight:900;
  font-size:clamp(36px, 6.4vw, 80px);
  line-height:1.28;
  letter-spacing:.01em;
  color:var(--ink);
}
.hero-title span{ display:block; }
.hero-sub{
  margin:28px auto 0;
  font-size:clamp(15px,1.5vw,20px);
  font-weight:500;
  line-height:1.9;
  color:var(--ink);
}
.hero-cta{
  margin-top:44px;
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:18px;
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
  min-width:280px;
  padding:18px 28px;
  border-radius:var(--radius-btn);
  font-weight:700;
  font-size:16px;
  letter-spacing:.02em;
  transition:transform var(--t-base) var(--ease),
             box-shadow var(--t-base) var(--ease),
             background var(--t-base) var(--ease),
             color var(--t-base) var(--ease),
             border-color var(--t-base) var(--ease);
  will-change:transform;
}
.btn svg{ flex:0 0 auto; transition:transform var(--t-base) var(--ease); }
.btn:hover svg{ transform:translateX(3px); }
.btn-primary{
  background:var(--orange);
  color:var(--white);
  box-shadow:var(--shadow-btn);
}
.btn-primary:hover{
  background:var(--orange-deep);
  transform:translateY(-2px);
  box-shadow:var(--shadow-btn-hover);
}
.btn-ghost{
  background:var(--white);
  color:var(--ink);
  border:2px solid var(--ink);
  padding:16px 26px;
  box-shadow:0 1px 0 rgba(15,42,68,.04);
}
.btn-ghost:hover{
  background:var(--ink);
  color:var(--white);
  transform:translateY(-2px);
  box-shadow:0 12px 24px rgba(15,42,68,.18);
}

@media (max-width: 640px){
  .btn{ min-width:0; width:100%; max-width:360px; }
  .hero-cta{ flex-direction:column; align-items:center; }
  .hero{ padding-top:100px; }
}

/* =========================================================
   Empathy section
   ========================================================= */
.empathy{
  background:var(--cream-soft);
  padding:clamp(72px,10vw,128px) 0 clamp(80px,12vw,140px);
}
.section-title{
  text-align:center;
  font-weight:900;
  font-size:clamp(26px,3.6vw,40px);
  line-height:1.4;
  letter-spacing:.02em;
  color:var(--ink);
  margin:0 0 clamp(40px,5vw,64px);
}
.empathy-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:24px;
}
.empathy-card{
  display:flex;
  align-items:center;
  gap:18px;
  background:var(--card);
  border:1px solid rgba(15,42,68,.06);
  border-radius:var(--radius-card);
  padding:28px 32px;
  box-shadow:var(--shadow-1);
  transition:transform var(--t-base) var(--ease),
             box-shadow var(--t-base) var(--ease),
             border-color var(--t-base) var(--ease);
}
.empathy-card:hover{
  transform:translateY(-3px);
  box-shadow:var(--shadow-2);
  border-color:rgba(15,42,68,.1);
}
.empathy-icon{
  flex:0 0 auto;
  width:160px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.empathy-text{
  flex:1 1 auto;
  padding-left:20px;
  border-left:3px solid var(--teal);
  min-width:0;
}
.empathy-text h3{
  margin:0 0 12px;
  font-size:clamp(16px,1.4vw,19px);
  font-weight:700;
  line-height:1.55;
  color:var(--ink);
  letter-spacing:.02em;
}
.empathy-text p{
  margin:0;
  font-size:14px;
  line-height:1.8;
  color:var(--ink-soft);
  text-wrap:pretty;
}

@media (max-width: 900px){
  .empathy-grid{ grid-template-columns:1fr; gap:18px; }
  .empathy-card{ padding:22px; }
  .empathy-icon{ width:110px; }
  .empathy-icon svg{ width:110px; height:auto; }
}
@media (max-width: 480px){
  .empathy-card{ flex-direction:row; gap:12px; }
  .empathy-icon{ width:84px; }
  .empathy-text{ padding-left:14px; }
}

/* =========================================================
   Section header decoration
   ========================================================= */
.section-header{
  text-align:center;
  margin:0 0 clamp(40px,5vw,64px);
}
.section-header .section-title{ margin:0; }
.section-deco{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  margin-top:18px;
}
.deco-line{
  display:block;
  width:38px; height:3px;
  border-radius:2px;
  background:var(--ink);
}
.deco-line--wide{
  width:64px;
  background:var(--teal);
  height:3px;
}
.deco-dot{
  display:block;
  width:8px; height:8px;
  border-radius:50%;
}
.deco-dot--teal{ background:var(--teal); }
.deco-dot--orange{ background:var(--orange); }
.section-deco--reasons{ gap:8px; }

/* =========================================================
   Service section
   ========================================================= */
.service{
  background:var(--cream-soft);
  padding:clamp(72px,10vw,120px) 0 clamp(80px,10vw,128px);
}
.service-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:32px;
}
.service-card{
  position:relative;
  display:flex;
  flex-direction:column;
  border-radius:24px;
  padding:clamp(28px,3vw,40px) clamp(24px,3vw,40px) clamp(24px,2.6vw,32px);
  box-shadow:0 1px 0 rgba(15,42,68,.04), 0 14px 40px rgba(15,42,68,.06);
  transition:transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.service-card:hover{
  transform:translateY(-4px);
  box-shadow:0 1px 0 rgba(15,42,68,.06), 0 22px 50px rgba(15,42,68,.10);
}
.service-card--mint{
  background:linear-gradient(180deg, #EAF5F2 0%, #F1F8F6 100%);
}
.service-card--peach{
  background:linear-gradient(180deg, #FBEFE0 0%, #FDF5EA 100%);
}
.service-card__body{
  display:grid;
  grid-template-columns:220px 1fr;
  gap:clamp(28px,3.4vw,40px);
  align-items:center;
  flex:1 1 auto;
}
.service-visual{
  position:relative;
  width:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  padding-block:8px;
}
.device-stack{
  position:relative;
  width:190px;
}
.service-content{ min-width:0; }
.service-title{
  margin:0 0 14px;
  font-weight:700;
  font-size:clamp(19px,1.8vw,24px);
  text-align:center;
  color:var(--ink);
  letter-spacing:.02em;
  line-height:1.45;
  word-break:keep-all;
  overflow-wrap:anywhere;
  text-wrap:balance;
}
.service-lead{
  margin:0 0 22px;
  text-align:center;
  font-size:14.5px;
  line-height:1.85;
  color:var(--ink);
  font-weight:500;
  word-break:keep-all;
  overflow-wrap:anywhere;
}
.service-list{
  list-style:none;
  margin:0;
  padding:0 0 0 8px;
  display:flex;
  flex-direction:column;
  gap:12px;
}
.service-list li{
  display:flex;
  align-items:center;
  gap:12px;
  font-size:14.5px;
  font-weight:500;
  color:var(--ink);
}
.check{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:22px; height:22px;
  border-radius:50%;
  background:var(--teal);
  color:var(--white);
}
.check svg{ width:14px; height:14px; }

.service-foot{
  margin-top:clamp(20px,2.4vw,28px);
  padding-top:clamp(20px,2.4vw,28px);
  border-top:1px dashed rgba(15,42,68,.18);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  flex-wrap:wrap;
}
.service-price{
  display:flex;
  align-items:baseline;
  gap:6px;
  flex-wrap:wrap;
}
.price-label{
  font-size:14px;
  font-weight:500;
  color:var(--ink);
}
.price-amount{
  font-size:clamp(26px,2.6vw,32px);
  font-weight:900;
  color:var(--orange);
  letter-spacing:.01em;
}
.price-unit{
  font-size:15px;
  font-weight:700;
  color:var(--ink);
}
.price-tax{
  font-size:13px;
  font-weight:500;
  color:var(--ink-mute);
}
.btn-card{
  min-width:0;
  flex:0 1 auto;
  padding:14px 22px;
  font-size:14.5px;
  gap:18px;
}

/* Devices */
.placeholder{
  background:#E7E9ED;
  border-radius:2px;
}
.placeholder--screen{
  width:100%;
  height:100%;
  background:linear-gradient(180deg,#EEF0F3 0%,#E1E4E9 100%);
}
.device-screen{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center top;
}
.device-screen--shift-down{
  object-position:center top;
}
.device{ position:relative; }
.device--laptop{
  width:190px;
  position:relative;
}
.device--laptop .device-frame{
  width:100%;
  aspect-ratio: 16 / 10;
  background:#0F2A44;
  border-radius:8px 8px 4px 4px;
  padding:8px;
  box-shadow:0 6px 14px rgba(15,42,68,.12);
}
.device--laptop .device-frame .placeholder,
.device--laptop .device-frame .device-screen{
  width:100%; height:100%;
  border-radius:3px;
}
.device--laptop .device-base{
  width:228px;
  max-width:120%;
  height:8px;
  margin:2px auto 0;
  background:#0F2A44;
  border-radius:0 0 10px 10px;
  position:relative;
}
.device--laptop .device-base::before{
  content:"";
  position:absolute;
  top:0;
  left:50%;
  transform:translateX(-50%);
  width:46px; height:3px;
  background:#1a3a5c;
  border-radius:0 0 3px 3px;
}
.device--phone{
  width:96px;
  aspect-ratio: 9 / 19;
  background:#0F2A44;
  border-radius:14px;
  padding:6px;
  box-shadow:0 8px 18px rgba(15,42,68,.18);
  position:relative;
}
.device--phone .device-notch{
  position:absolute;
  top:8px; left:50%;
  transform:translateX(-50%);
  width:36px; height:5px;
  background:#000;
  border-radius:3px;
  z-index:2;
}
.device--phone .placeholder,
.device--phone .device-screen{
  width:100%; height:100%;
  border-radius:9px;
}
.device--phone-overlap{
  position:absolute;
  width:60px;
  right:-14px;
  bottom:-18px;
  z-index:2;
  box-shadow:0 10px 22px rgba(15,42,68,.22);
}
.device--phone-overlap .device-notch{
  top:5px;
  width:24px;
  height:3.5px;
}
.device--phone-large{
  width:130px;
  border-radius:18px;
  padding:7px;
}
.device--phone-large .device-notch{
  top:10px;
  width:46px;
  height:6px;
}
.device--phone-large .placeholder,
.device--phone-large .device-screen{
  border-radius:12px;
}

@media (max-width: 1080px){
  .service-grid{ grid-template-columns:1fr; gap:24px; }
  .service-card__body{ grid-template-columns:1fr; gap:8px; }
  .service-visual{ padding-block:16px 24px; }
}
@media (max-width: 520px){
  .service-foot{ flex-direction:column; align-items:stretch; }
  .service-price{ justify-content:center; }
  .btn-card{ width:100%; justify-content:space-between; }
}

/* =========================================================
   Reasons section
   ========================================================= */
.reasons{
  background:var(--cream-soft);
  padding:clamp(64px,8vw,104px) 0 clamp(80px,10vw,128px);
}
.reasons-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:28px;
}
.reason-card{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  background:var(--card);
  border:1px solid rgba(15,42,68,.05);
  border-radius:18px;
  padding:36px 28px 32px;
  box-shadow:var(--shadow-1);
  transition:transform var(--t-base) var(--ease),
             box-shadow var(--t-base) var(--ease),
             border-color var(--t-base) var(--ease);
}
.reason-card:hover{
  transform:translateY(-4px);
  box-shadow:var(--shadow-2);
  border-color:rgba(15,42,68,.1);
}
.reason-illust{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:24px;
}
.reason-illust svg{ height:auto; max-width:100%; }
.reason-title{
  margin:0 0 14px;
  font-size:clamp(17px,1.5vw,20px);
  font-weight:700;
  line-height:1.55;
  color:var(--ink);
  letter-spacing:.02em;
}
.reason-rule{
  width:34px; height:2px;
  background:var(--teal);
  border-radius:2px;
  margin-bottom:18px;
}
.reason-text{
  margin:0;
  font-size:14px;
  line-height:1.9;
  color:var(--ink-soft);
  text-align:center;
  text-wrap:pretty;
}

@media (max-width: 900px){
  .reasons-grid{ grid-template-columns:1fr; gap:18px; max-width:560px; margin-inline:auto; }
}

/* =========================================================
   Works (制作事例)
   ========================================================= */
.works{
  background:var(--cream-soft);
  padding:clamp(72px,10vw,120px) 0 clamp(80px,10vw,128px);
}
.section-header--plain .section-deco{ display:none; }
.section-title--lg{
  font-size:clamp(30px,4.4vw,52px);
  font-weight:900;
}
.works-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:36px;
}
.work-card{
  background:var(--white);
  border:1px solid rgba(15,42,68,.08);
  border-radius:18px;
  overflow:hidden;
  box-shadow:var(--shadow-1);
  transition:transform var(--t-base) var(--ease),
             box-shadow var(--t-base) var(--ease),
             border-color var(--t-base) var(--ease);
}
.work-card:hover{
  transform:translateY(-4px);
  box-shadow:var(--shadow-2);
  border-color:rgba(15,42,68,.14);
}
.work-link{
  display:block;
  color:inherit;
  padding:28px;
}
.work-thumb{
  width:100%;
  aspect-ratio: 16 / 10;
  border-radius:8px;
  background:#DDDFE3;
  margin-bottom:24px;
  overflow:hidden;
  transition:opacity var(--t-base) var(--ease);
}
.work-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform 600ms var(--ease);
}
.work-card:hover .work-thumb img{ transform:scale(1.03); }
.work-body{ padding:0 4px; }
.work-badge{
  display:inline-block;
  padding:8px 14px;
  border-radius:6px;
  font-size:13px;
  font-weight:700;
  color:var(--white);
  letter-spacing:.02em;
  margin-bottom:18px;
}
.work-badge--line{
  background:linear-gradient(135deg, #62B6AA 0%, #3FA37C 100%);
}
.work-badge--hp{
  background:var(--ink);
}
.work-title{
  margin:0 0 14px;
  font-size:clamp(18px,1.8vw,22px);
  font-weight:900;
  line-height:1.5;
  color:var(--ink);
  letter-spacing:.02em;
}
.work-text{
  margin:0;
  font-size:14px;
  line-height:1.9;
  color:var(--ink-soft);
  text-wrap:pretty;
}

@media (max-width: 900px){
  .works-grid{ grid-template-columns:1fr; gap:24px; }
  .work-link{ padding:20px; }
}

/* =========================================================
   Flow (ご相談の流れ)
   ========================================================= */
.flow{
  background:var(--cream-soft);
  padding:clamp(72px,10vw,120px) 0 clamp(80px,10vw,128px);
}
.flow-grid{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:0;
  align-items:stretch;
}
.flow-step{
  position:relative;
  display:flex;
  align-items:stretch;
}
.step-card{
  flex:1 1 auto;
  background:var(--white);
  border:1.5px solid var(--ink);
  border-radius:14px;
  padding:30px 22px 32px;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  transition:transform var(--t-base) var(--ease),
             box-shadow var(--t-base) var(--ease);
}
.step-card:hover{
  transform:translateY(-4px);
  box-shadow:0 14px 32px rgba(15,42,68,.10);
}
.step-head{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
  margin-bottom:18px;
}
.step-label{
  font-family:"Noto Sans JP",sans-serif;
  font-size:14px;
  font-weight:700;
  letter-spacing:.18em;
  color:var(--teal-deep);
}
.step-rule{
  width:24px;
  height:2px;
  background:var(--teal);
  border-radius:2px;
}
.step-illust{
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:14px;
  min-height:120px;
}
.step-title{
  margin:0 0 14px;
  font-size:clamp(16px,1.4vw,19px);
  font-weight:700;
  line-height:1.5;
  color:var(--ink);
  letter-spacing:.02em;
}
.step-text{
  margin:0;
  font-size:13.5px;
  line-height:1.9;
  color:var(--ink-soft);
  text-wrap:pretty;
}
.flow-arrow{
  flex:0 0 auto;
  align-self:center;
  width:42px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--ink);
}

@media (max-width: 1000px){
  .flow-grid{ grid-template-columns:repeat(2,1fr); gap:24px 16px; }
  .flow-arrow{ display:none; }
}
@media (max-width: 560px){
  .flow-grid{ grid-template-columns:1fr; gap:18px; max-width:420px; margin-inline:auto; }
}

/* =========================================================
   Final CTA section
   ========================================================= */
.final-cta{
  position:relative;
  background:#0E2747;
  color:#fff;
  padding:clamp(96px,12vw,160px) 0 clamp(96px,12vw,160px);
  overflow:hidden;
  isolation:isolate;
}
.cta-bg{
  position:absolute;
  inset:0;
  width:100%; height:100%;
  pointer-events:none;
  z-index:-1;
}
.cta-inner{
  position:relative;
  text-align:center;
}
.cta-title{
  margin:0 0 26px;
  font-size:clamp(26px,3.6vw,46px);
  font-weight:900;
  color:#fff;
  letter-spacing:.02em;
  line-height:1.4;
}
.cta-text{
  margin:0 auto 44px;
  font-size:clamp(14px,1.3vw,17px);
  line-height:2;
  color:rgba(255,255,255,.88);
  font-weight:500;
  max-width:780px;
  text-wrap:pretty;
}
.cta-action{ display:flex; justify-content:center; }
.btn-cta{
  min-width:380px;
  padding:22px 36px;
  font-size:17px;
  letter-spacing:.04em;
}
@media (max-width: 640px){
  .btn-cta{ min-width:0; width:100%; max-width:360px; }
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer{
  background:#0E2747;
  color:rgba(255,255,255,.88);
  padding-top:clamp(56px,7vw,84px);
}
.footer-inner{
  display:grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap:clamp(40px,5vw,72px);
  padding-bottom:clamp(40px,5vw,64px);
  align-items:start;
}
.footer-brand{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:18px;
}
.footer-logo{
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:#fff;
}
.footer-logo svg{ flex:0 0 auto; }
.footer-logo-mark{
  flex:0 0 auto;
  height:46px;
  width:auto;
  display:block;
}
.footer-logo-name{
  font-size:clamp(34px,3.4vw,44px);
  font-weight:700;
  letter-spacing:.02em;
  color:#fff;
}
.footer-logo-rule{
  display:block;
  width:46px; height:3px;
  border-radius:2px;
  background:var(--teal);
}
.footer-tagline{
  margin:0;
  font-size:14.5px;
  line-height:1.9;
  color:rgba(255,255,255,.78);
}
.footer-col{
  position:relative;
  padding-left:clamp(20px,2.4vw,32px);
  border-left:1px solid rgba(255,255,255,.18);
}
.footer-col-head{
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:24px;
}
.footer-col-icon{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.footer-col-title{
  margin:0;
  font-size:clamp(18px,1.6vw,22px);
  font-weight:700;
  color:#fff;
  letter-spacing:.02em;
}
.footer-col-title--underlined{
  position:relative;
  padding-bottom:6px;
}
.footer-col-title--underlined::after{
  content:"";
  position:absolute;
  left:0; bottom:0;
  width:60%; height:2px;
  background:#3B82F6;
  border-radius:2px;
}

.footer-list{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-direction:column;
}
.footer-list li{
  border-bottom:1px dashed rgba(255,255,255,.22);
}
.footer-list li:last-child{ border-bottom:0; }
.footer-list a{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 4px;
  color:rgba(255,255,255,.92);
  font-size:14.5px;
  font-weight:500;
  transition:color var(--t-fast) var(--ease),
             padding var(--t-base) var(--ease);
}
.footer-list a svg{
  color:rgba(255,255,255,.6);
  transition:transform var(--t-base) var(--ease), color var(--t-fast) var(--ease);
}
.footer-list a:hover{
  color:#fff;
  padding-left:8px;
}
.footer-list a:hover svg{
  color:#fff;
  transform:translateX(3px);
}

.footer-contact{
  margin:0;
  font-size:14.5px;
  line-height:2;
  color:rgba(255,255,255,.88);
}
.footer-mail{
  display:inline-block;
  font-size:16px;
  font-weight:500;
  color:#fff;
  text-decoration:underline;
  text-decoration-color:rgba(255,255,255,.4);
  text-underline-offset:4px;
  text-decoration-thickness:1px;
  transition:text-decoration-color var(--t-fast) var(--ease),
             opacity var(--t-fast) var(--ease);
}
.footer-mail:hover{
  text-decoration-color:#fff;
  opacity:.92;
}

.footer-bottom{
  border-top:1px solid rgba(255,255,255,.16);
  padding:24px 0 28px;
}
.footer-bottom-inner{
  display:flex;
  justify-content:center;
  align-items:center;
  text-align:center;
}
.footer-copy{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-size:13.5px;
  color:rgba(255,255,255,.78);
  letter-spacing:.02em;
}

@media (max-width: 960px){
  .footer-inner{
    grid-template-columns: 1fr 1fr;
    gap:36px;
  }
  .footer-brand{ grid-column: 1 / -1; }
  .footer-col{
    border-left:0;
    padding-left:0;
    padding-top:24px;
    border-top:1px solid rgba(255,255,255,.16);
  }
}
@media (max-width: 600px){
  .footer-inner{ grid-template-columns:1fr; }
  .footer-brand{ grid-column:auto; }
}

/* =========================================================
   Animations
   ========================================================= */
@media (prefers-reduced-motion: no-preference){
  /* Hero — load-time reveal */
  .reveal{
    opacity:0;
    transform:translateY(14px);
    animation:reveal 720ms var(--ease) forwards;
    animation-delay:var(--d, 0ms);
  }
  @keyframes reveal{
    to{ opacity:1; transform:none; }
  }

  /* Scroll-triggered fade up */
  .fade-up{
    opacity:0;
    transform:translateY(18px);
    transition:opacity 640ms var(--ease),
               transform 640ms var(--ease);
    transition-delay:var(--d, 0ms);
  }
  .fade-up.is-in{
    opacity:1;
    transform:none;
  }
}
@media (prefers-reduced-motion: reduce){
  .reveal,.fade-up{ opacity:1 !important; transform:none !important; }
}
