/* ==========================================================================
   putvat store - Designer Premium Stylesheet
   Color Palette: Warm Off-White, Baseball Deep Navy, Tokyo Amber/Gold Accent
   ========================================================================== */

:root {
  --bg-body: #f8fafc;
  --bg-card: #ffffff;
  --bg-subtle: #f1f5f9;
  --bg-dark: #0f172a;
  --bg-dark-card: #1e293b;

  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-white: #ffffff;

  --primary: #0f172a;
  --primary-hover: #1e293b;
  --accent: #d97706;
  --accent-hover: #b45309;
  --accent-light: #fef3c7;
  --accent-blue: #2563eb;

  --border: #e2e8f0;
  --border-dark: #334155;

  --font-sans: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', Meiryo, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.06), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 30px -10px rgba(15, 23, 42, 0.12);

  --container-max: 1160px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-main);
  background-color: var(--bg-body);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent-blue);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: var(--accent);
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--accent);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 9999;
  border-radius: var(--radius-sm);
  font-weight: 700;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.content-container {
  max-width: 840px;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  color: var(--primary);
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }

p {
  margin-bottom: 1.25rem;
}

p:last-child {
  margin-bottom: 0;
}

.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.text-white { color: var(--text-white); }
.text-light { color: var(--text-light); }
.text-muted { color: var(--text-muted); }
.mt-md { margin-top: 1.5rem; }
.mt-lg { margin-top: 2.5rem; }

.divider {
  border: 0;
  height: 1px;
  background: var(--border);
  margin: 2.5rem 0;
}

/* Badge */
.badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  background: var(--bg-subtle);
  color: var(--primary);
  border: 1px solid var(--border);
  margin-bottom: 1rem;
}

.badge--gold {
  background: var(--accent-light);
  color: var(--accent-hover);
  border-color: #fde68a;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background-color: var(--primary);
  color: var(--text-white);
}

.btn--primary:hover {
  background-color: var(--accent);
  color: var(--text-white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.25);
}

.btn--outline {
  background-color: transparent;
  border-color: var(--border);
  color: var(--primary);
}

.btn--outline:hover {
  border-color: var(--primary);
  background-color: var(--bg-subtle);
}

.btn--sm {
  font-size: 0.875rem;
  padding: 0.5rem 1.15rem;
}

.btn--lg {
  font-size: 1.1rem;
  padding: 1rem 2.25rem;
}

.btn--block {
  display: flex;
  width: 100%;
}

/* Header */
.site-header {
  background: rgba(248, 250, 252, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.brand-logo__mark {
  background: var(--primary);
  color: #fff;
  font-weight: 900;
  font-size: 1rem;
  padding: 0.35rem 0.6rem;
  border-radius: var(--radius-sm);
  letter-spacing: -0.05em;
}

.brand-logo__text {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

.nav-link {
  font-weight: 600;
  color: var(--text-main);
  padding: 0.5rem 0;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  margin: 5px 0;
  transition: 0.2s;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.bg-light {
  background-color: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.bg-dark {
  background-color: var(--bg-dark);
}

.section-header {
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

.section-subtitle {
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.section-lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Hero Section */
.hero-section {
  padding: 4.5rem 0 5.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-title {
  margin-bottom: 1.25rem;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

.hero-feat-item {
  display: inline-flex;
  align-items: center;
}

.hero-visual {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.hero-svg-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}

/* Page Hero */
.page-hero {
  padding: 3.5rem 0 2.5rem;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}

.page-title {
  margin-bottom: 0.75rem;
}

.page-lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 720px;
}

/* Schedule Table */
.schedule-table-wrapper {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  overflow-x: auto;
  margin-bottom: 1.5rem;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 600px;
}

.schedule-table th {
  background: var(--bg-subtle);
  color: var(--primary);
  font-weight: 700;
  padding: 1.1rem 1.5rem;
  border-bottom: 2px solid var(--border);
  font-size: 0.95rem;
}

.schedule-table td {
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--text-main);
}

.schedule-table tbody tr:last-child td {
  border-bottom: none;
}

.schedule-table tbody tr:hover {
  background-color: #fafbfc;
}

.schedule-note {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
}

.service-card {
  background: var(--bg-body);
  border: 1px solid var(--border);
  padding: 2.25rem 1.75rem;
  border-radius: var(--radius-md);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.service-card__icon {
  width: 56px;
  height: 56px;
  background: var(--accent-light);
  color: var(--accent-hover);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-card__title {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.service-card__desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Detailed Services on services.html */
.detailed-services-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.detail-service-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 2.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.detail-service-item ul {
  list-style: none;
  margin-top: 1rem;
}

.detail-service-item ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}

.detail-service-item ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

.price-highlight-box {
  background: var(--bg-subtle);
  border: 1px dashed var(--accent);
  padding: 1.75rem;
  border-radius: var(--radius-md);
  margin-top: 1.5rem;
}

.price-highlight-box__amount {
  font-size: 1.35rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

/* Pricing Section */
.pricing-card-container {
  max-width: 580px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-card);
  border: 2px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.pricing-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
}

.pricing-card__title {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.pricing-card__price {
  text-align: center;
  margin-bottom: 1rem;
}

.price-val {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}

.price-curr {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent);
  margin-left: 0.25rem;
}

.price-period {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.pricing-card__summary {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.pricing-features {
  list-style: none;
  margin-bottom: 2.5rem;
}

.pricing-features li {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--text-main);
}

.pricing-features li:last-child {
  border-bottom: none;
}

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.75rem;
}

.step-item {
  background: var(--bg-body);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  position: relative;
}

.step-number {
  font-size: 2.25rem;
  font-weight: 900;
  color: #cbd5e1;
  line-height: 1;
  margin-bottom: 1rem;
}

.step-title {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* FAQ Details/Summary */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  transition: border-color 0.2s;
}

.faq-item[open] {
  border-color: var(--accent);
}

.faq-question {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary);
  cursor: pointer;
  outline: none;
  position: relative;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: '+';
  float: right;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--accent);
  transition: transform 0.2s;
}

.faq-item[open] .faq-question::after {
  content: '−';
}

.faq-answer {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Contact Grid */
.contact-box-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.contact-detail-item {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid var(--border-dark);
  padding-bottom: 0.6rem;
}

.detail-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-light);
  letter-spacing: 0.05em;
}

.detail-val {
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
}

.contact-card-box {
  background: #ffffff;
  color: var(--text-main);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.contact-card-box h3 {
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.mail-guide {
  background: var(--bg-subtle);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  margin: 1.25rem 0 1.75rem;
  font-size: 0.9rem;
}

.mail-guide ul {
  list-style: none;
  margin-top: 0.5rem;
}

.mail-template-preview {
  background: var(--bg-subtle);
  padding: 1.25rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.code-like-box {
  background: #fff;
  border: 1px solid var(--border);
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  font-family: monospace;
  font-size: 0.85rem;
  color: #334155;
  margin-top: 0.5rem;
  line-height: 1.6;
}

/* Data Tables in Legal/About */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.data-table th, .data-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
  font-size: 0.95rem;
}

.data-table th {
  width: 25%;
  background: var(--bg-subtle);
  color: var(--primary);
  font-weight: 700;
}

/* Footer */
.site-footer {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 4.5rem 0 2rem;
  margin-top: auto;
  border-top: 1px solid var(--border-dark);
}

.footer-container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand .brand-logo__mark {
  background: #fff;
  color: var(--bg-dark);
}

.footer-brand .brand-logo__text {
  color: #fff;
}

.footer-tagline {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--text-light);
}

.footer-address {
  font-size: 0.85rem;
  color: #64748b;
  margin-top: 0.5rem;
}

.footer-links-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.footer-nav-col h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  letter-spacing: 0.05em;
}

.footer-nav-col ul {
  list-style: none;
}

.footer-nav-col li {
  margin-bottom: 0.6rem;
}

.footer-nav-col a {
  color: var(--text-light);
  font-size: 0.9rem;
}

.footer-nav-col a:hover {
  color: var(--text-white);
}

.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding-top: 2rem;
  font-size: 0.85rem;
  color: #64748b;
}

/* Cookie Banner */
.cookie-banner {
  display: none;
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  max-width: 720px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  z-index: 9999;
}

.cookie-banner__content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cookie-banner__text {
  font-size: 0.875rem;
  color: var(--text-main);
  line-height: 1.5;
  margin: 0;
}

.cookie-banner__actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
}

/* 404 Page */
.error-page-body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: var(--bg-body);
}

.error-code {
  font-size: 6rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}

.error-title {
  margin: 1rem 0;
}

.error-desc {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .contact-box-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    box-shadow: var(--shadow-lg);
    display: none;
  }

  .nav-menu.nav-menu--open {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .data-table th, .data-table td {
    display: block;
    width: 100%;
  }

  .data-table th {
    background: transparent;
    padding-bottom: 0.25rem;
    color: var(--accent);
  }

  .data-table td {
    padding-top: 0;
    border-bottom: 1px solid var(--border);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}