:root {
  --white: #FFFFFF;
  --bg: #FEFCF8;
  --surface: #F7F4ED;
  --surface-2: #EBE5D8;
  --primary: #E54B4B;
  --primary-dark: #BF3838;
  --primary-soft: #FCE3E3;
  --terracotta: #D87355;
  --gold: #D4A24C;
  --gold-soft: #F9EFD9;
  --olive: #6B7C3F;
  --olive-soft: #E8EDD4;
  --sea: #2E7A8C;
  --sea-soft: #DDECEF;
  --ink: #1F1F1F;
  --ink-2: #444444;
  --ink-3: #757575;
  --ink-4: #B0B0B0;
  --border: #DDDDDD;
  --border-light: #EEE8DC;
  --success: #047857;
  --success-soft: #ECFDF5;
  --warning: #B45309;
  --warning-soft: #FEF3C7;
  --shadow-card: 0 6px 24px rgba(60,40,20,0.10);
  --shadow-card-hover: 0 12px 32px rgba(60,40,20,0.16);
  --shadow-search: 0 1px 2px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.05);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter Tight', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
a { color: var(--primary); }
a:hover { color: var(--primary-dark); }

/* HEADER */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
  color: var(--primary);
  font-family: 'Fraunces', serif;
  font-size: 26px; font-weight: 600;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.logo-mark { width: 36px; height: 36px; }
.logo .tld {
  color: var(--ink);
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
}
.header-search {
  display: flex; align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 9999px;
  box-shadow: var(--shadow-search);
  cursor: pointer;
}
.hs-segment {
  padding: 14px 22px;
  font-size: 13px; font-weight: 600;
  color: var(--ink);
  border-right: 1px solid var(--border-light);
}
.hs-segment.muted { color: var(--ink-3); font-weight: 400; }
.hs-segment:last-of-type { border-right: none; }
.hs-orb {
  width: 34px; height: 34px;
  background: var(--primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  margin: 4px 6px 4px 8px;
  font-size: 14px;
}
.header-actions { display: flex; gap: 8px; align-items: center; }
.header-link {
  padding: 12px 16px;
  border-radius: 9999px;
  text-decoration: none;
  color: var(--ink);
  font-size: 14px; font-weight: 600;
}
.header-link:hover { background: var(--surface); color: var(--ink); }
.header-profile {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 8px 6px 14px;
  border: 1px solid var(--border);
  border-radius: 9999px;
  background: var(--white);
  cursor: pointer;
}
.profile-icon {
  width: 30px; height: 30px;
  background: var(--ink-3);
  border-radius: 50%;
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600;
}
.menu-dots { display: flex; flex-direction: column; gap: 3px; }
.menu-dots span { width: 14px; height: 1.5px; background: var(--ink); }
.mobile-action {
  display: none;
  background: var(--primary);
  color: var(--white);
  border-radius: 9999px;
  padding: 8px 14px;
  font-size: 13px; font-weight: 600;
  border: none; cursor: pointer;
  font-family: inherit;
}

/* CATEGORY BAR */
.category-bar {
  background: var(--bg);
  border-bottom: 1px solid var(--border-light);
}
.category-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 40px;
}
.category-scroll {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scrollbar-width: none;
}
.category-scroll::-webkit-scrollbar { display: none; }
.category {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 4px 2px;
  cursor: pointer;
  color: var(--ink-3);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  flex-shrink: 0;
  opacity: 0.72;
  transition: all 0.15s;
}
.category:hover { color: var(--ink); opacity: 0.92; }
.category.active { color: var(--ink); border-bottom-color: var(--ink); opacity: 1; }
.cat-icon { font-size: 20px; }
.cat-label { font-size: 11px; font-weight: 600; white-space: nowrap; }

/* MAIN */
main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 40px 80px;
}

/* TYPOGRAPHY */
h1, h2, h3, h4 {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
em.serif {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  color: var(--primary);
  font-weight: 400;
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s;
}
.btn-primary {
  background: linear-gradient(90deg, var(--primary-dark) 0%, var(--primary) 50%, var(--terracotta) 100%);
  color: var(--white);
}
.btn-primary:hover { filter: brightness(1.05); color: var(--white); }
.btn-ghost {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }

/* FEATURE BANNER */
.feature-banner {
  position: relative;
  height: 540px;
  border-radius: 28px;
  overflow: hidden;
  margin-bottom: 56px;
}
.fb-illust {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
}
.fb-content {
  position: absolute;
  bottom: 56px;
  left: 64px;
  right: 64px;
  z-index: 2;
  color: var(--white);
}
.fb-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(12px);
  padding: 8px 16px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}
.fb-eyebrow .pulse {
  width: 8px; height: 8px;
  background: #5BCE7F;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}
.fb-content h1 {
  font-size: 64px;
  letter-spacing: -0.035em;
  line-height: 0.98;
  margin-bottom: 16px;
  max-width: 720px;
}
.fb-content h1 em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 72px;
}
.fb-content p {
  font-size: 18px;
  line-height: 1.5;
  max-width: 540px;
  margin-bottom: 28px;
  opacity: 0.95;
}
.fb-btns { display: flex; gap: 12px; align-items: center; }
.btn-white {
  background: var(--white);
  color: var(--ink);
  padding: 14px 24px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px; font-weight: 600;
  border: none; cursor: pointer;
  text-decoration: none;
}
.btn-white:hover { color: var(--ink); transform: translateY(-2px); }
.btn-ghost-white {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  color: var(--white);
  padding: 14px 24px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px; font-weight: 600;
  border: 1px solid rgba(255,255,255,0.3);
  cursor: pointer;
  text-decoration: none;
}
.btn-ghost-white:hover { color: var(--white); background: rgba(255,255,255,0.2); }

/* SECTIONS */
.section { margin-bottom: 64px; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 32px;
  gap: 24px;
}
.section-title {
  font-size: 32px;
  letter-spacing: -0.015em;
}
.section-title em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--primary);
  font-size: 36px;
}
.section-sub {
  color: var(--ink-3);
  font-size: 15px;
  margin-top: 6px;
}
.head-link {
  color: var(--ink);
  text-decoration: underline;
  font-size: 14px; font-weight: 600;
  flex-shrink: 0;
}

/* CARDS GRIDS */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

/* REGION/CALC CARDS */
.region-card, .calc-card {
  cursor: pointer;
  transition: transform 0.2s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.region-card:hover, .calc-card:hover { transform: translateY(-4px); color: inherit; }
.region-image, .calc-image {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  margin-bottom: 12px;
  background: var(--surface);
}
.region-image svg, .calc-image svg { width: 100%; height: 100%; display: block; }
.card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--white);
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
  z-index: 2;
}
.card-info {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 2px;
}
.card-name { font-size: 15px; font-weight: 600; color: var(--ink); }
.card-rating {
  display: flex; align-items: center; gap: 4px;
  font-size: 14px; color: var(--ink);
}
.card-rating::before { content: '★'; font-size: 12px; }
.card-desc { color: var(--ink-3); font-size: 13px; margin-bottom: 2px; }
.card-price { color: var(--ink); font-size: 14px; margin-top: 4px; }
.card-price strong { font-weight: 600; }
.card-price span { color: var(--ink-3); }

/* LIVE CALC */
.live-calc-section {
  background: var(--surface);
  border-radius: 24px;
  padding: 56px;
  margin-bottom: 64px;
}
.live-calc {
  background: var(--white);
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--shadow-card);
}
.lc-head {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 20px;
}
.lc-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}
.lc-icon.red { background: var(--primary-soft); }
.lc-icon.gold { background: var(--gold-soft); }
.lc-icon.sea { background: var(--sea-soft); }
.lc-title { font-size: 17px; font-weight: 600; }
.lc-sub { font-size: 13px; color: var(--ink-3); font-style: italic; }

.field { margin-bottom: 14px; }
.field label {
  font-size: 12px; color: var(--ink-3);
  display: block; margin-bottom: 4px; font-weight: 500;
}
.field input, .field select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  background: var(--white);
}
.field input:focus, .field select:focus { outline: none; border-color: var(--ink); }
.calc-result {
  margin-top: 18px;
  padding: 16px 18px;
  background: var(--ink);
  color: var(--white);
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.calc-result-label {
  font-size: 11px; opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.calc-result-value {
  font-family: 'Fraunces', serif;
  font-size: 28px; font-weight: 700;
}

/* TRUST BAND */
.trust-band {
  background: var(--ink);
  color: var(--white);
  border-radius: 24px;
  padding: 56px 64px;
  margin-bottom: 64px;
}
.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
}
.trust-fact {
  border-left: 2px solid var(--primary);
  padding-left: 20px;
}
.trust-num {
  font-family: 'Fraunces', serif;
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}
.trust-num em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--primary);
}
.trust-label {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}

/* FAQ */
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px;
  cursor: pointer;
  margin-bottom: 12px;
}
.faq-item:hover { border-color: var(--ink); }
.faq-item.open { border-color: var(--primary); }
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-weight: 600;
}
.faq-icon {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--surface);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  transition: all 0.2s;
}
.faq-item.open .faq-icon {
  background: var(--primary);
  color: var(--white);
  transform: rotate(45deg);
}
.faq-a {
  color: var(--ink-3);
  font-size: 15px;
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s;
}
.faq-item.open .faq-a { margin-top: 14px; max-height: 280px; }

/* FOOTER */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border-light);
  padding: 48px 0 24px;
  margin-top: 80px;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}
.footer-col h5 {
  font-family: 'Fraunces', serif;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
}
.footer-col a:hover { text-decoration: underline; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--ink-2);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a { color: var(--ink); text-decoration: none; }

/* RESPONSIVE */
@media (max-width: 1280px) {
  .header-inner, .category-inner, main, .footer-inner { padding-left: 32px; padding-right: 32px; }
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
  .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .feature-banner { height: 460px; }
  .fb-content h1 { font-size: 48px; }
  .fb-content h1 em { font-size: 54px; }
  .live-calc-section { padding: 36px; }
  .trust-band { padding: 40px; }
  .trust-row { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}
@media (max-width: 900px) {
  .header-inner, .category-inner, main, .footer-inner { padding-left: 24px; padding-right: 24px; }
  .header-search { display: none; }
  .mobile-action { display: inline-flex; }
  .header-link { display: none; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}
@media (max-width: 560px) {
  .header-inner, .category-inner, main, .footer-inner { padding-left: 16px; padding-right: 16px; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .feature-banner { height: 400px; border-radius: 18px; }
  .fb-content { left: 24px; right: 24px; bottom: 32px; }
  .fb-content h1 { font-size: 32px; }
  .fb-content h1 em { font-size: 36px; }
  .fb-content p { font-size: 15px; }
  .live-calc-section { padding: 20px; border-radius: 18px; }
  .trust-band { padding: 28px; border-radius: 18px; }
  .trust-row { grid-template-columns: 1fr; gap: 24px; }
  .trust-num { font-size: 32px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .section-title { font-size: 26px; }
  .section-title em { font-size: 30px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
