/* =======================================================================
   JEPRA — Access the Japanese Market, Simply.
   Global stylesheet for the WordPress theme.
   ======================================================================= */

:root {
  --bg:          #f5f1ea;
  --bg-warm:     #efe8dc;
  --bg-cream:    #faf6ef;
  --surface:     #ffffff;
  --ink:         #0a1530;
  --ink-soft:    #1a2845;
  --muted:       #5a6781;
  --muted-soft:  #8892a8;
  --line:        #d9cfbf;
  --line-soft:   #e8e0d1;
  --primary:     #0d2a63;
  --primary-alt: #14387f;
  --primary-deep:#061640;
  --accent:      #c1122f;
  --accent-soft: #e4073f;
  --accent-deep: #8a0b22;
  --gold:        #c9a24a;
  --gold-soft:   #e9cb7a;
  --success:     #1f8f5a;

  --shadow-sm: 0 2px 8px rgba(10, 21, 48, 0.05);
  --shadow-md: 0 24px 60px -24px rgba(10, 21, 48, 0.22);
  --shadow-lg: 0 40px 80px -32px rgba(10, 21, 48, 0.28);
  --shadow-xl: 0 60px 120px -40px rgba(6, 22, 64, 0.4);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding: 0;
  font-family: "Inter", "Segoe UI", -apple-system, sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

em {
  font-family: "Cormorant Garamond", "Noto Serif JP", serif;
  font-style: italic;
  font-weight: 500;
}

.container { width: min(1240px, 92vw); margin: 0 auto; }
.container-narrow { width: min(860px, 92vw); margin: 0 auto; }

/* ====================== decorative ambient background ================== */
.page-bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(110px); opacity: 0.55; animation: drift 22s ease-in-out infinite alternate; }
.orb-red { width: 520px; height: 520px; top: -160px; right: -120px; background: radial-gradient(circle, rgba(228, 7, 63, 0.38), rgba(228, 7, 63, 0)); }
.orb-blue { width: 640px; height: 640px; top: 35%; left: -220px; background: radial-gradient(circle, rgba(13, 42, 99, 0.3), rgba(13, 42, 99, 0)); animation-duration: 28s; }
.orb-gold { width: 480px; height: 480px; bottom: -200px; right: 20%; background: radial-gradient(circle, rgba(233, 203, 122, 0.38), rgba(233, 203, 122, 0)); animation-duration: 32s; }
.grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(10, 21, 48, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 21, 48, 0.045) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(circle at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at center, black 30%, transparent 80%);
}
@keyframes drift { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(40px, 60px) scale(1.1); } }

/* ============================== header ================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 241, 234, 0.82);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid rgba(217, 207, 191, 0.55);
}
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 82px; gap: 1rem; }

.brand { display: inline-flex; align-items: center; gap: 0.7rem; font-family: "Cormorant Garamond", serif; font-weight: 500; letter-spacing: -0.01em; }
.brand-logo { display: block; height: 48px; width: auto; max-width: 220px; object-fit: contain; }
@media (min-width: 781px) { .brand-logo { height: 54px; max-width: 260px; } }

/* fallback text-mark used only when no logo image is available */
.brand-mark {
  position: relative; width: 40px; height: 40px;
  display: grid; place-content: center; border-radius: 12px;
  background: var(--ink); color: #fff;
  font-family: "Cormorant Garamond", serif; font-style: italic; font-weight: 500;
  font-size: 1.35rem; line-height: 1; overflow: hidden;
}
.brand-mark::after {
  content: ""; position: absolute; bottom: 5px; left: 5px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 10px rgba(228, 7, 63, 0.6);
}
.brand-text { display: flex; flex-direction: column; gap: 0.05rem; line-height: 1; }
.brand-name { font-size: 1.55rem; color: var(--ink); letter-spacing: 0.02em; }
.brand-tag {
  font-family: "Inter", sans-serif; font-size: 0.62rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted);
}

.menu {
  display: flex; align-items: center; gap: 2rem;
  font-size: 0.88rem; font-weight: 500; color: var(--ink-soft);
  list-style: none; margin: 0; padding: 0;
}
.menu li { list-style: none; }
.menu a { position: relative; display: inline-flex; align-items: center; gap: 0.45rem; transition: color 0.3s var(--ease); }
.menu-num { font-family: "Cormorant Garamond", serif; font-style: italic; font-size: 0.78rem; color: var(--accent); letter-spacing: 0.05em; }
.menu li a:not(.button)::after,
.menu a:not(.button)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 100%; height: 1px;
  background: var(--ink); transform: scaleX(0); transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.menu li.current-menu-item a:not(.button)::after,
.menu li.current_page_item a:not(.button)::after,
.menu li a:not(.button):hover::after,
.menu a:not(.button):hover::after,
.menu a.is-current::after { transform: scaleX(1); transform-origin: left; }
.menu li.current-menu-item > a, .menu li.current_page_item > a, .menu a.is-current { color: var(--ink); }

.lang-switch {
  display: inline-flex; gap: 0.3rem; padding: 0.35rem 0.55rem;
  border: 1px solid var(--line); border-radius: 999px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted);
  background: rgba(255, 255, 255, 0.6);
}
.lang-switch .is-active { color: var(--ink); }

/* ========================== hamburger menu ============================= */
.burger {
  display: none; position: relative; width: 42px; height: 42px;
  background: transparent; border: 1px solid var(--line); border-radius: 12px;
  cursor: pointer; transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.burger:hover { background: rgba(255, 255, 255, 0.8); border-color: var(--ink); }
.burger span {
  position: absolute; left: 10px; right: 10px; height: 1.5px;
  background: var(--ink); border-radius: 2px;
  transition: transform 0.35s var(--ease), top 0.35s var(--ease), opacity 0.25s var(--ease);
}
.burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 20px; }
.burger span:nth-child(3) { top: 26px; }
.is-menu-open .burger span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.is-menu-open .burger span:nth-child(2) { opacity: 0; }
.is-menu-open .burger span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; top: 0; z-index: 90;
  background: var(--primary-deep); color: #f5f1ea;
  padding: 7rem 2rem 3rem;
  opacity: 0; pointer-events: none; transform: translateY(-16px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  overflow-y: auto;
}
.is-menu-open .mobile-menu { opacity: 1; pointer-events: auto; transform: translateY(0); }
.mobile-menu-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.4rem; }
.mobile-menu-list li { list-style: none; }
.mobile-menu-list li a {
  display: flex; align-items: baseline; gap: 1rem;
  padding: 1rem 0.5rem; border-bottom: 1px solid rgba(245, 241, 234, 0.1);
  font-family: "Cormorant Garamond", serif; font-size: 2rem; letter-spacing: -0.01em;
  color: #f5f1ea;
}
.mobile-menu-list li a span,
.mobile-menu-list li a .menu-num {
  font-family: "Inter", sans-serif; font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.14em; color: var(--gold-soft);
}
.mobile-menu-list li a:hover { color: var(--gold-soft); }
.mobile-cta { margin-top: 2.5rem; display: grid; gap: 0.8rem; }
.mobile-cta .button { justify-content: center; }

/* ============================== buttons ================================ */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.55rem; padding: 0.9rem 1.4rem;
  border-radius: 999px; border: 1px solid transparent;
  background: var(--ink); color: #fff;
  font-weight: 600; font-size: 0.92rem; letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease),
              box-shadow 0.3s var(--ease), opacity 0.3s var(--ease), color 0.3s var(--ease);
  box-shadow: 0 10px 30px -12px rgba(10, 21, 48, 0.4);
  white-space: nowrap;
  text-decoration: none;
}
.button:hover { transform: translateY(-2px); background: var(--primary); box-shadow: 0 18px 42px -14px rgba(13, 42, 99, 0.55); color: #fff; }
.button .arrow { transition: transform 0.3s var(--ease); }
.button:hover .arrow { transform: translateX(4px); }
.button-sm { padding: 0.55rem 1rem; font-size: 0.84rem; }
.button-lg { padding: 1.05rem 1.7rem; font-size: 0.98rem; }
.button-outline { background: transparent; border-color: var(--ink); color: var(--ink); box-shadow: none; }
.button-outline:hover { background: var(--ink); color: #fff; }
.button-accent { background: var(--accent); box-shadow: 0 10px 30px -12px rgba(193, 18, 47, 0.55); }
.button-accent:hover { background: var(--accent-soft); box-shadow: 0 18px 42px -14px rgba(228, 7, 63, 0.55); }
.button-ghost-light { background: transparent; border-color: rgba(255, 255, 255, 0.35); color: #fff; box-shadow: none; }
.button-ghost-light:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; color: #fff; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 600; font-size: 0.95rem; color: var(--ink);
  border-bottom: 1px solid currentColor; padding-bottom: 3px;
  transition: gap 0.3s var(--ease), color 0.3s var(--ease);
}
.link-arrow:hover { gap: 0.75rem; color: var(--accent); }
.link-arrow .arrow { transition: transform 0.3s var(--ease); }
.link-arrow:hover .arrow { transform: translateX(4px); }

/* ============================== hero =================================== */
.hero { position: relative; padding: 3rem 0 2rem; overflow: hidden; }
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr; gap: 3rem; padding: 3rem 0 4rem; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.5rem 0.95rem; background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line); border-radius: 999px;
  font-size: 0.82rem; font-weight: 500; color: var(--ink-soft);
  width: fit-content; backdrop-filter: blur(8px);
}
.dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 4px rgba(228, 7, 63, 0.18);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(228, 7, 63, 0); } }

.hero-title {
  margin: 0; font-family: "Cormorant Garamond", "Noto Serif JP", serif; font-weight: 400;
  font-size: clamp(2.8rem, 8.5vw, 7.8rem); line-height: 0.98; letter-spacing: -0.015em; color: var(--ink);
}
.hero-title .line { display: block; }
.hero-title em { font-style: italic; color: var(--primary); }
.hero-title .accent-word { position: relative; font-family: "Cormorant Garamond", serif; font-style: italic; color: var(--accent); font-weight: 500; }
.hero-title .accent-word::after {
  content: ""; position: absolute; left: -4px; right: -4px; bottom: 0.15em;
  height: 6px; background: var(--gold-soft); z-index: -1; opacity: 0.7;
}

.hero-meta { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: end; margin-top: 1rem; }
.hero-sub { margin: 0; max-width: 52ch; font-size: 1.08rem; color: var(--muted); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; justify-content: flex-end; }

.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  margin-top: 3rem; padding: 2rem 0 0;
  border-top: 1px solid var(--line); background: var(--line);
}
.hero-stats > div { background: var(--bg); padding: 1.4rem 1.2rem 0.6rem; display: flex; flex-direction: column; gap: 0.6rem; }
.stat-num { font-family: "Cormorant Garamond", serif; font-size: clamp(2.1rem, 4.2vw, 3.3rem); line-height: 1; color: var(--primary); font-weight: 500; }
.stat-label { font-size: 0.78rem; font-weight: 500; color: var(--muted); letter-spacing: 0.02em; text-transform: uppercase; line-height: 1.4; }

.hero-watermark {
  position: absolute; bottom: -1.2rem; right: -2rem;
  font-family: "Cormorant Garamond", serif; font-style: italic;
  font-size: clamp(4rem, 14vw, 12rem); color: rgba(10, 21, 48, 0.04);
  letter-spacing: -0.02em; pointer-events: none; white-space: nowrap; font-weight: 500;
}

/* ============================ marquee ================================== */
.marquee {
  background: var(--ink); color: #f5f1ea;
  padding: 1.1rem 0; overflow: hidden;
  border-top: 1px solid var(--primary-deep); border-bottom: 1px solid var(--primary-deep);
}
.marquee-track {
  display: inline-flex; gap: 2rem; white-space: nowrap;
  animation: marquee 40s linear infinite;
  font-family: "Cormorant Garamond", serif; font-style: italic;
  font-size: 1.3rem; letter-spacing: 0.01em;
}
.marquee-track span:nth-child(even) { color: var(--gold-soft); font-style: normal; font-family: "Inter", sans-serif; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================ sections ================================= */
.section { padding: 7rem 0; position: relative; }
.section-sm { padding: 5rem 0; }
.section-soft { background: var(--bg-warm); }
.section-cream { background: var(--bg-cream); }
.section-dark { background: var(--primary-deep); color: #e8ecf7; overflow: hidden; position: relative; }
.section-dark::before {
  content: ""; position: absolute; top: -120px; right: -120px;
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 162, 74, 0.22), transparent 60%); pointer-events: none;
}
.section-head { max-width: 760px; margin-bottom: 4rem; }
.section-head.centered { margin-left: auto; margin-right: auto; text-align: center; }

.kicker {
  display: inline-flex; align-items: center; gap: 0.65rem;
  font-size: 0.76rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--muted); margin-bottom: 1.25rem;
}
.kicker-num { font-family: "Cormorant Garamond", serif; font-style: italic; font-size: 1rem; color: var(--accent); letter-spacing: 0; text-transform: none; }
.section-head.light .kicker { color: var(--gold-soft); }
.section-head.light .kicker-num { color: var(--gold); }

.section-head h2 {
  margin: 0; font-family: "Cormorant Garamond", "Noto Serif JP", serif; font-weight: 400;
  font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.06; letter-spacing: -0.01em;
}
.section-head em { color: var(--accent); }
.section-head.light em { color: var(--gold-soft); }
.section-lead { margin: 1.2rem 0 0; max-width: 56ch; color: var(--muted); font-size: 1.05rem; }
.section-head.centered .section-lead { margin-left: auto; margin-right: auto; }

/* ============================ page header ============================== */
.page-header {
  position: relative; padding: 6rem 0 4rem;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-warm) 100%);
  border-bottom: 1px solid var(--line); overflow: hidden;
}
.page-header::before {
  content: ""; position: absolute; top: -200px; right: -120px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 162, 74, 0.25), transparent 60%); pointer-events: none;
}
.page-header::after {
  content: ""; position: absolute; bottom: -150px; left: -100px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(13, 42, 99, 0.12), transparent 60%); pointer-events: none;
}
.page-header-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: end; }
.breadcrumb {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 1.5rem;
}
.breadcrumb a { color: inherit; transition: color 0.3s var(--ease); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span.sep { opacity: 0.5; }
.page-title { margin: 0; font-family: "Cormorant Garamond", "Noto Serif JP", serif; font-weight: 400; font-size: clamp(2.6rem, 6.5vw, 5.2rem); line-height: 1; letter-spacing: -0.015em; }
.page-title em { color: var(--accent); }
.page-intro { margin-top: 1.6rem; font-size: 1.1rem; color: var(--ink-soft); line-height: 1.65; max-width: 56ch; }
.page-header-side { display: flex; flex-direction: column; gap: 1rem; align-items: flex-end; padding-bottom: 0.5rem; }
.page-header-chip {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.55rem 1rem; background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--line); border-radius: 999px;
  font-size: 0.82rem; color: var(--ink-soft); backdrop-filter: blur(8px);
}

/* ============================ bento grid =============================== */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(200px, auto); gap: 1rem; }
.bento-card {
  position: relative; padding: 1.75rem 1.55rem 1.55rem;
  background: var(--surface); border: 1px solid rgba(217, 207, 191, 0.9);
  border-radius: var(--radius-lg);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  overflow: hidden;
}
.bento-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--ink); }
.bento-lg { grid-column: span 2; }
.bento-icon { display: grid; place-content: center; width: 42px; height: 42px; border-radius: 12px; margin-bottom: 1.2rem; background: var(--bg-warm); color: var(--primary); }
.bento-icon svg { width: 22px; height: 22px; }
.bento-index { display: inline-block; font-family: "Cormorant Garamond", serif; font-style: italic; font-size: 1.1rem; color: var(--accent); margin-bottom: 1.6rem; letter-spacing: 0.05em; }
.bento-card h3 { margin: 0 0 0.7rem; font-size: 1.18rem; font-weight: 600; letter-spacing: -0.005em; }
.bento-card p { margin: 0; color: var(--muted); font-size: 0.95rem; line-height: 1.65; }
.bento-card.accent-card { background: linear-gradient(155deg, var(--accent) 0%, var(--accent-soft) 100%); color: #fff; border-color: transparent; }
.accent-card .bento-index, .accent-card h3, .accent-card p { color: #fff; }
.accent-card .bento-index { color: rgba(255, 255, 255, 0.75); }
.accent-card p { color: rgba(255, 255, 255, 0.88); }
.accent-card .bento-icon { background: rgba(255,255,255,0.15); color: #fff; }
.bento-card.dark-card { background: var(--ink); color: #f5f1ea; border-color: transparent; }
.dark-card .bento-index { color: var(--gold-soft); }
.dark-card h3 { color: #fff; }
.dark-card p { color: rgba(245, 241, 234, 0.78); }
.dark-card .bento-icon { background: rgba(255,255,255,0.08); color: var(--gold-soft); }

/* ============================ services ================================= */
.service-layout { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; margin-bottom: 2rem; }
.service-card {
  position: relative; padding: 2.6rem 2.2rem; border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(245, 241, 234, 0.12);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease);
  overflow: hidden; display: flex; flex-direction: column;
}
.service-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 20% 0%, rgba(201, 162, 74, 0.14), transparent 55%); pointer-events: none; }
.service-card:hover { transform: translateY(-4px); border-color: var(--gold); background: rgba(255, 255, 255, 0.06); }
.service-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.4rem; }
.service-tag { display: grid; place-content: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); font-family: "Cormorant Garamond", serif; font-style: italic; font-size: 1.5rem; flex-shrink: 0; }
.service-card-accent .service-tag { background: var(--accent); border-color: var(--accent); color: #fff; }
.service-card h3 { margin: 0; font-family: "Cormorant Garamond", serif; font-weight: 500; font-size: clamp(1.6rem, 2.5vw, 2rem); color: #fff; letter-spacing: -0.005em; }
.service-lead { margin: 0 0 1.6rem; color: rgba(245, 241, 234, 0.8); font-size: 1rem; line-height: 1.7; }
.service-list { list-style: none; padding: 0; margin: 0 0 1.8rem; display: grid; gap: 0.3rem; }
.service-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 0.9rem 0; border-bottom: 1px solid rgba(245, 241, 234, 0.1); }
.service-list li:last-child { border-bottom: none; }
.list-label { font-size: 0.78rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(245, 241, 234, 0.55); }
.list-value { font-family: "Cormorant Garamond", serif; font-size: 1.25rem; color: #fff; text-align: right; }
.service-card .button { margin-top: auto; align-self: flex-start; }
.currency-note { margin: 0; text-align: center; font-family: "Cormorant Garamond", serif; font-style: italic; font-size: 1.1rem; color: var(--gold-soft); }

/* =========================== 7-step chart ============================== */
.steps { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1rem; position: relative; }
.step {
  position: relative; padding: 1.6rem 1.2rem 1.3rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.step-num { display: inline-flex; align-items: baseline; gap: 0.35rem; font-family: "Cormorant Garamond", serif; font-style: italic; color: var(--accent); font-size: 0.95rem; margin-bottom: 0.8rem; letter-spacing: 0.03em; }
.step-num strong { font-size: 2.4rem; line-height: 1; font-weight: 500; color: var(--primary); font-style: normal; }
.step h4 { margin: 0 0 0.55rem; font-size: 1rem; font-weight: 700; letter-spacing: -0.005em; color: var(--ink); }
.step p { margin: 0; font-size: 0.85rem; color: var(--muted); line-height: 1.55; }
.step-arrow {
  position: absolute; right: -0.85rem; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 26px; height: 26px; display: grid; place-content: center;
  background: var(--ink); color: #fff; border-radius: 50%; font-size: 0.72rem; font-weight: 700;
}
.step:last-child .step-arrow { display: none; }

.step-callout {
  margin-top: 2.2rem; padding: 1.5rem 1.8rem;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-soft) 100%);
  color: #fff; border-radius: var(--radius-md);
  display: flex; gap: 1.2rem; align-items: flex-start; box-shadow: var(--shadow-md);
}
.step-callout .icon { display: grid; place-content: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, 0.2); flex-shrink: 0; }
.step-callout strong { display: block; margin-bottom: 0.3rem; font-size: 1.05rem; }
.step-callout p { margin: 0; font-size: 0.95rem; line-height: 1.6; opacity: 0.95; }

/* ============================== pricing table ========================== */
.price-table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.price-table caption { caption-side: top; text-align: left; padding: 0 0 1rem; font-family: "Cormorant Garamond", serif; font-style: italic; font-size: 1.1rem; color: var(--muted); }
.price-table th, .price-table td { padding: 1rem 1.2rem; text-align: left; border-bottom: 1px solid var(--line-soft); }
.price-table thead th { background: var(--bg-warm); font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.price-table tbody tr:last-child th, .price-table tbody tr:last-child td { border-bottom: none; }
.price-table tr.total-row { background: var(--ink); color: #f5f1ea; }
.price-table tr.total-row th, .price-table tr.total-row td { background: var(--ink); color: #fff; font-family: "Cormorant Garamond", serif; font-size: 1.1rem; }
.price-table .val-accent { color: var(--accent); font-weight: 600; }

/* ============================ pricing cards ============================ */
.price-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.price-card { padding: 2.2rem 2rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); position: relative; overflow: hidden; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.price-card.featured { background: var(--ink); color: #f5f1ea; border-color: transparent; }
.price-card .price-label { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.price-card.featured .price-label { color: var(--gold-soft); }
.price-card .price-amount { margin: 0.6rem 0 0.3rem; font-family: "Cormorant Garamond", serif; font-size: 3.2rem; line-height: 1; color: var(--primary); font-weight: 500; }
.price-card.featured .price-amount { color: #fff; }
.price-card .price-note { font-size: 0.9rem; color: var(--muted); margin-bottom: 1.3rem; }
.price-card.featured .price-note { color: rgba(245, 241, 234, 0.7); }
.price-card ul { list-style: none; padding: 0; margin: 0 0 1.6rem; display: grid; gap: 0.6rem; }
.price-card li { display: flex; gap: 0.6rem; font-size: 0.93rem; line-height: 1.5; color: var(--ink-soft); }
.price-card.featured li { color: rgba(245, 241, 234, 0.85); }
.price-card li::before { content: "✓"; color: var(--success); font-weight: 700; flex-shrink: 0; }
.price-card.featured li::before { color: var(--gold-soft); }

/* ============================== badges ================================= */
.guarantee-badge { position: relative; display: inline-flex; align-items: center; gap: 0.9rem; padding: 1rem 1.4rem 1rem 1rem; background: var(--surface); border: 1px solid var(--gold); border-radius: 999px; box-shadow: var(--shadow-sm); font-weight: 600; color: var(--ink); }
.guarantee-badge .seal { display: grid; place-content: center; width: 46px; height: 46px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, var(--gold-soft), var(--gold)); color: var(--ink); font-family: "Cormorant Garamond", serif; font-style: italic; font-size: 1.5rem; flex-shrink: 0; box-shadow: inset 0 -4px 8px rgba(0,0,0,0.15); }
.guarantee-badge small { display: block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

/* ============================ about ==================================== */
.about { display: grid; grid-template-columns: 1.35fr 1fr; gap: 4rem; align-items: start; }
.about-copy h2 { margin: 0; font-family: "Cormorant Garamond", "Noto Serif JP", serif; font-weight: 400; font-size: clamp(2.4rem, 5.5vw, 4.4rem); line-height: 1; letter-spacing: -0.015em; }
.about-copy em { color: var(--accent); }
.about-copy .lead { margin-top: 2rem; font-size: 1.15rem; color: var(--ink-soft); line-height: 1.7; }
.about-copy p { color: var(--muted); line-height: 1.8; }
.jp-quote { margin-top: 2rem; padding: 1.4rem 1.6rem; border-left: 2px solid var(--accent); font-family: "Noto Serif JP", serif; font-style: italic; font-size: 1.05rem; color: var(--ink); background: rgba(255, 255, 255, 0.5); }
.about-card { position: sticky; top: 110px; padding: 2.2rem 2rem; background: var(--ink); color: #f5f1ea; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.about-card::before { content: ""; position: absolute; top: -60px; right: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(201, 162, 74, 0.35), transparent 70%); }
.about-card header { position: relative; margin-bottom: 1.8rem; }
.badge { display: inline-block; padding: 0.4rem 0.85rem; background: rgba(201, 162, 74, 0.15); color: var(--gold-soft); border: 1px solid rgba(201, 162, 74, 0.4); border-radius: 999px; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.about-card ul { position: relative; list-style: none; padding: 0; margin: 0; display: grid; gap: 1.1rem; }
.about-card li { display: flex; gap: 0.85rem; align-items: flex-start; font-size: 0.97rem; line-height: 1.55; color: rgba(245, 241, 234, 0.9); }
.check { display: grid; place-content: center; flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%; background: var(--gold); color: var(--ink); font-size: 0.72rem; font-weight: 700; margin-top: 3px; }

/* ============================ timeline / flow ========================== */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; }
.timeline li { position: relative; padding: 2rem 1.3rem 1.8rem; background: var(--bg-warm); transition: background 0.3s var(--ease); }
.timeline li:hover { background: var(--surface); }
.tl-num { display: block; font-family: "Cormorant Garamond", serif; font-style: italic; font-size: 2.2rem; color: var(--accent); margin-bottom: 1rem; line-height: 1; }
.timeline h3 { margin: 0 0 0.55rem; font-size: 1.08rem; font-weight: 600; color: var(--ink); }
.timeline p { margin: 0; color: var(--muted); font-size: 0.92rem; line-height: 1.6; }

/* ============================ cases grid =============================== */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.case { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.case:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.case-link { color: inherit; display: contents; }
.case-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.case-media::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(10, 21, 48, 0.3) 100%); z-index: 2; }
.case-media img, .case-media .case-visual { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out); }
.case:hover .case-media img, .case:hover .case-visual { transform: scale(1.05); }
.case-tag { position: absolute; top: 1rem; left: 1rem; z-index: 3; padding: 0.35rem 0.75rem; background: rgba(255,255,255,0.95); color: var(--ink); border-radius: 999px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; backdrop-filter: blur(8px); }
.case-body { padding: 1.6rem 1.5rem 1.8rem; display: flex; flex-direction: column; gap: 0.7rem; flex-grow: 1; }
.case-title { margin: 0; font-family: "Cormorant Garamond", serif; font-weight: 500; font-size: 1.5rem; line-height: 1.15; color: var(--ink); }
.case-desc { margin: 0; color: var(--muted); font-size: 0.94rem; line-height: 1.6; flex-grow: 1; }
.case-meta { display: flex; justify-content: space-between; align-items: baseline; padding-top: 1rem; border-top: 1px solid var(--line-soft); font-size: 0.82rem; color: var(--muted); }
.case-meta strong { color: var(--primary); font-family: "Cormorant Garamond", serif; font-size: 1rem; }

.case-visual { background: linear-gradient(135deg, #0d2a63, #14387f); position: relative; }
.case-visual.v-red { background: linear-gradient(135deg, #c1122f, #8a0b22); }
.case-visual.v-gold { background: linear-gradient(135deg, #c9a24a, #8a6e2a); }
.case-visual.v-ink { background: linear-gradient(135deg, #1a2845, #0a1530); }
.case-visual.v-cream { background: linear-gradient(135deg, #efe8dc, #d9cfbf); }
.case-visual::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.25), transparent 50%), radial-gradient(circle at 70% 80%, rgba(0,0,0,0.2), transparent 50%); }
.case-visual .case-label { position: absolute; inset: 0; display: grid; place-content: center; font-family: "Cormorant Garamond", serif; font-style: italic; font-size: 3rem; color: rgba(255,255,255,0.88); letter-spacing: -0.02em; text-align: center; z-index: 1; padding: 1rem; }
.case-visual.v-cream .case-label { color: var(--ink); }

/* ============================ contact ================================== */
.section-contact { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-warm) 100%); }
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 4rem; align-items: start; }
.contact-intro h2 { margin: 0; font-family: "Cormorant Garamond", "Noto Serif JP", serif; font-weight: 400; font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1; }
.contact-intro em { color: var(--accent); }
.contact-intro > p { margin-top: 1.5rem; color: var(--muted); font-size: 1.05rem; line-height: 1.7; max-width: 44ch; }
.contact-meta { margin-top: 3rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; }
.contact-meta > div { background: var(--bg); padding: 1rem 0.9rem; display: flex; flex-direction: column; gap: 0.35rem; }
.meta-label { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.meta-value { font-family: "Cormorant Garamond", serif; font-size: 1.3rem; color: var(--ink); }

/* native HTML form (only used on the static contact form fallback) */
.contact-form { display: grid; gap: 1.2rem; padding: 2.4rem 2.2rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.contact-form label { display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.76rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
input, select, textarea { width: 100%; padding: 0.9rem 1rem; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--ink); font: 400 1rem "Inter", sans-serif; letter-spacing: 0; text-transform: none; transition: border-color 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); background: #fff; box-shadow: 0 0 0 4px rgba(13, 42, 99, 0.08); }
select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='none' stroke='%230a1530' stroke-width='1.6' d='M1 1.5l5 5 5-5'/></svg>"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
textarea { resize: vertical; min-height: 140px; }
fieldset { margin: 0; padding: 1.3rem 1.2rem 0.85rem; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); }
fieldset legend { padding: 0 0.5rem; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.check-option { display: flex; flex-direction: row; align-items: center; gap: 0.7rem; padding: 0.55rem 0; font-size: 0.92rem; letter-spacing: 0; text-transform: none; color: var(--ink); font-weight: 500; }
.check-option input[type="checkbox"], .check-option input[type="radio"] { width: 18px; height: 18px; margin: 0; accent-color: var(--accent); }
.contact-form .button { justify-self: start; }
.form-note { margin: 0; font-size: 0.82rem; color: var(--muted); letter-spacing: 0; text-transform: none; font-weight: 400; }

/* ============================ Contact Form 7 styling =================== */
.contact-form-wrap {
  padding: 2.4rem 2.2rem; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.contact-form-wrap .wpcf7 form > p,
.contact-form-wrap .wpcf7 form .wpcf7-form-control-wrap { display: block; margin: 0; }
.contact-form-wrap .wpcf7 form > p {
  margin-bottom: 1.2rem;
  display: flex; flex-direction: column; gap: 0.5rem;
  font-size: 0.76rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted);
}
.contact-form-wrap .wpcf7 .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.contact-form-wrap .wpcf7 .row-2 > p { margin-bottom: 0; }
.contact-form-wrap input[type="text"],
.contact-form-wrap input[type="email"],
.contact-form-wrap input[type="tel"],
.contact-form-wrap input[type="url"],
.contact-form-wrap input[type="number"],
.contact-form-wrap textarea,
.contact-form-wrap select { width: 100%; }
.contact-form-wrap .wpcf7-radio,
.contact-form-wrap .wpcf7-checkbox {
  display: flex; flex-direction: column; gap: 0.4rem;
  padding: 1rem 1.1rem; border: 1px solid var(--line);
  border-radius: 14px; background: var(--bg);
  text-transform: none; letter-spacing: 0; font-weight: 500;
  font-size: 0.92rem; color: var(--ink);
}
.contact-form-wrap .wpcf7-list-item { margin: 0; display: flex; align-items: center; gap: 0.55rem; }
.contact-form-wrap .wpcf7-list-item label { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 500; font-size: 0.92rem; letter-spacing: 0; text-transform: none; color: var(--ink); margin: 0; }
.contact-form-wrap .wpcf7-list-item input { width: auto; accent-color: var(--accent); }
.contact-form-wrap input[type="submit"] {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 1.05rem 1.7rem; border-radius: 999px; border: 1px solid transparent;
  background: var(--accent); color: #fff;
  font-weight: 600; font-size: 0.98rem; letter-spacing: 0.01em;
  cursor: pointer; box-shadow: 0 10px 30px -12px rgba(193, 18, 47, 0.55);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
  width: auto; text-transform: none;
}
.contact-form-wrap input[type="submit"]:hover { transform: translateY(-2px); background: var(--accent-soft); }
.contact-form-wrap .wpcf7-not-valid-tip { font-size: 0.78rem; color: var(--accent); letter-spacing: 0; text-transform: none; font-weight: 500; }
.contact-form-wrap .wpcf7-response-output { margin: 1rem 0 0 !important; border-radius: 12px; padding: 0.95rem 1rem !important; font-size: 0.92rem; text-transform: none; letter-spacing: 0; }
.contact-form-wrap .wpcf7-spinner { margin-left: 0.6rem; }

/* ============================ terms content ============================ */
.terms-grid { display: grid; grid-template-columns: 260px 1fr; gap: 4rem; align-items: start; }
.terms-nav { position: sticky; top: 110px; display: grid; gap: 0.4rem; padding: 1.2rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); }
.terms-nav a { padding: 0.55rem 0.75rem; border-radius: 8px; font-size: 0.88rem; color: var(--muted); transition: background 0.3s var(--ease), color 0.3s var(--ease); }
.terms-nav a:hover, .terms-nav a.is-active { background: var(--bg-warm); color: var(--ink); }
.terms-content h3 { margin: 2.5rem 0 1rem; font-family: "Cormorant Garamond", serif; font-weight: 500; font-size: 1.8rem; color: var(--primary); scroll-margin-top: 100px; }
.terms-content h3:first-child { margin-top: 0; }
.terms-content p, .terms-content li { color: var(--ink-soft); line-height: 1.75; }
.terms-content ul, .terms-content ol { padding-left: 1.4rem; }
.terms-content li { margin-bottom: 0.5rem; }
.terms-content strong { color: var(--ink); }

/* payment icons */
.pay-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin: 1.2rem 0 2rem; padding: 1.2rem 1.4rem; background: var(--bg-warm); border: 1px solid var(--line); border-radius: var(--radius-md); }
.pay-row .pay-label { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-right: 0.5rem; }
.pay-icon { display: inline-flex; align-items: center; justify-content: center; padding: 0.55rem 1rem; min-height: 42px; background: #fff; border: 1px solid var(--line); border-radius: 10px; font-family: "Inter", sans-serif; font-weight: 700; font-size: 0.95rem; color: var(--ink); letter-spacing: 0.02em; transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.pay-icon:hover { transform: translateY(-2px); border-color: var(--primary); box-shadow: var(--shadow-sm); }
.pay-icon.paypal { color: #003087; }
.pay-icon.paypal i { color: #009cde; font-style: normal; }
.pay-icon.wise   { color: #163300; background: #9fe870; border-color: #8bd45c; }
.pay-icon.payoneer { color: #ff4b34; }

/* ============================ CTA band ================================= */
.cta-band { position: relative; padding: 5rem 0; background: var(--ink); color: #f5f1ea; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; top: -200px; right: -150px; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, rgba(201, 162, 74, 0.22), transparent 60%); }
.cta-band::after { content: ""; position: absolute; bottom: -150px; left: -120px; width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle, rgba(228, 7, 63, 0.18), transparent 60%); }
.cta-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: center; }
.cta-inner h2 { margin: 0; font-family: "Cormorant Garamond", serif; font-weight: 400; font-size: clamp(2rem, 4.5vw, 3.4rem); line-height: 1.05; letter-spacing: -0.01em; color: #fff; }
.cta-inner h2 em { color: var(--gold-soft); }
.cta-inner p { margin-top: 1rem; color: rgba(245, 241, 234, 0.75); line-height: 1.7; max-width: 52ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: flex-end; }

/* ============================ footer =================================== */
.site-footer { background: var(--ink); color: rgba(245, 241, 234, 0.7); padding: 4rem 0 2rem; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 0.8fr; gap: 2.5rem; align-items: start; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(245, 241, 234, 0.1); }
.footer-brand { display: inline-flex; align-items: center; gap: 0.7rem; margin-bottom: 1rem; }
.footer-brand .brand-logo { filter: brightness(0) invert(1); opacity: 0.95; height: 44px; max-width: 220px; }
.footer-brand .brand-mark { background: var(--gold); color: var(--ink); }
.footer-brand .brand-mark::after { background: var(--accent); }
.footer-brand .brand-name { color: #fff; font-size: 1.55rem; }
.footer-brand .brand-tag { color: rgba(245, 241, 234, 0.5); }
.footer-grid h4 { margin: 0 0 1.2rem; font-family: "Inter", sans-serif; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-soft); }
.footer-grid p { margin: 0; font-size: 0.95rem; color: rgba(245, 241, 234, 0.6); line-height: 1.65; }
.footer-links { display: grid; gap: 0.7rem; font-size: 0.92rem; list-style: none; padding: 0; margin: 0; }
.footer-links li { list-style: none; }
.footer-links a { color: rgba(245, 241, 234, 0.75); transition: color 0.3s var(--ease); }
.footer-links a:hover { color: var(--gold-soft); }
.footer-pay { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; }
.footer-pay .pay-icon { padding: 0.4rem 0.75rem; min-height: 34px; font-size: 0.8rem; }
.footer-bottom { margin-top: 1.8rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; font-size: 0.82rem; color: rgba(245, 241, 234, 0.45); }
.footer-bottom a { transition: color 0.3s var(--ease); }
.footer-bottom a:hover { color: var(--gold-soft); }

/* ============================ utility ================================== */
.stack-lg > * + * { margin-top: 2rem; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; } .mt-6 { margin-top: 3rem; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ============================ responsive =============================== */
@media (max-width: 1100px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-lg { grid-column: span 2; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; }
  .about-card { position: static; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-meta { grid-template-columns: 1fr; gap: 1.5rem; }
  .hero-actions { justify-content: flex-start; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .step-arrow { display: none; }
  .cases { grid-template-columns: repeat(2, 1fr); }
  .page-header-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .page-header-side { align-items: flex-start; }
  .cta-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .cta-actions { justify-content: flex-start; }
  .terms-grid { grid-template-columns: 1fr; gap: 2rem; }
  .terms-nav { position: static; display: flex; flex-wrap: wrap; }
  .contact-form-wrap .wpcf7 .row-2 { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
}

@media (max-width: 780px) {
  .menu { display: none; }
  .lang-switch { display: none; }
  .burger { display: block; }
  .nav { min-height: 72px; }
  .hero { padding-top: 2rem; }
  .hero-inner { padding: 1rem 0 3rem; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .service-layout { grid-template-columns: 1fr; }
  .section { padding: 5rem 0; }
  .page-header { padding: 4rem 0 3rem; }
  .bento { grid-template-columns: 1fr; }
  .bento-lg { grid-column: span 1; }
  .timeline { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .contact-meta { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .cases { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .contact-form, .contact-form-wrap { padding: 1.6rem 1.3rem; }
  .service-card { padding: 2rem 1.5rem; }
  .hero-title { font-size: clamp(2.4rem, 13vw, 3.8rem); }
  .brand-tag { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ============================ initial hero reveal ====================== */
@media (prefers-reduced-motion: no-preference) {
  .hero-tag, .hero-title .line, .hero-sub, .hero-actions, .hero-stats {
    opacity: 0; transform: translateY(18px); animation: reveal 0.9s var(--ease) forwards;
  }
  .hero-tag { animation-delay: 0.05s; }
  .hero-title .line:nth-child(1) { animation-delay: 0.15s; }
  .hero-title .line:nth-child(2) { animation-delay: 0.3s; }
  .hero-sub { animation-delay: 0.5s; }
  .hero-actions { animation-delay: 0.65s; }
  .hero-stats { animation-delay: 0.8s; }
}

@keyframes reveal { to { opacity: 1; transform: translateY(0); } }

/* ============================ wp gutenberg overrides =================== */
.wp-caption,
.alignwide,
.alignfull { max-width: 100%; }
.screen-reader-text { position: absolute !important; clip: rect(1px,1px,1px,1px); height: 1px; width: 1px; overflow: hidden; }
