/* =========================================
   Motto Custom Motors - Redesigned Styles
   Inspired by high-end motorcycle portfolio sites
   ========================================= */

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

:root {
  --black: #0a0a0a;
  --dark: #1a1a1a;
  --mid: #555555;
  --light: #999999;
  --border: #e5e5e5;
  --bg: #ffffff;
  --bg-light: #f8f8f8;
  --bg-mid: #eeeeee;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', 'Hiragino Sans W4', sans-serif;
  font-size: 15px;
  line-height: 1.8;
  color: var(--dark);
  background: var(--bg);
}

/* =========================================
   Typography
   ========================================= */

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--dark);
}

h1 {
  font-size: 48px;
  margin-bottom: 16px;
}

h2 {
  font-size: 32px;
  margin-bottom: 48px;
}

h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

h4 {
  font-size: 16px;
  margin-bottom: 10px;
  font-weight: 600;
}

p {
  color: var(--mid);
  margin-bottom: 16px;
  line-height: 1.8;
}

a {
  color: var(--dark);
  text-decoration: none;
  transition: opacity 0.2s;
}

a:hover {
  opacity: 0.6;
  text-decoration: none;
}

/* =========================================
   Layout & Container
   ========================================= */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
}

section {
  padding: 80px 0;
}

.section-label {
  font-size: 11px;
  letter-spacing: 0.25em;
  font-weight: 700;
  color: var(--light);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.section-intro {
  color: var(--mid);
  margin-bottom: 40px;
  font-size: 14px;
  text-align: center;
}

/* =========================================
   Header & Navigation
   ========================================= */

.header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  height: 70px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.logo a {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--black);
  text-decoration: none;
}

.logo a:hover {
  opacity: 1;
}

.navbar {
  display: flex;
  justify-content: center;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 40px;
}

.navbar a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--dark);
  text-decoration: none;
  transition: opacity 0.2s;
}

.navbar a:hover {
  opacity: 0.5;
}

.header-sns {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 18px;
}

.sns-link {
  color: var(--dark);
  display: flex;
  align-items: center;
  transition: opacity 0.2s;
}

.sns-link:hover {
  opacity: 0.5;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--dark);
  transition: 0.3s;
}

/* Header CTA (hidden in new design) */
.cta-header {
  display: none;
}

@media (max-width: 900px) {
  .header-container {
    grid-template-columns: 1fr auto;
    padding: 0 20px;
  }
  .navbar {
    display: none;
  }
  .header-sns {
    display: none;
  }
  .hamburger {
    display: flex;
  }
}

/* =========================================
   Hero Section
   ========================================= */

.hero {
  position: relative;
  height: 88vh;
  min-height: 520px;
  overflow: hidden;
  background: var(--black);
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.82;
}

.hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 64px 80px;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.1) 60%, rgba(0,0,0,0) 100%);
  color: #ffffff;
}

.hero-label {
  font-size: 11px;
  letter-spacing: 0.25em;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: 52px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 36px;
}

.hero-cta {
  display: inline-block;
  padding: 14px 36px;
  border: 1px solid rgba(255,255,255,0.65);
  color: #ffffff;
  font-size: 12px;
  letter-spacing: 0.18em;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.3s, border-color 0.3s;
}

.hero-cta:hover {
  background: rgba(255,255,255,0.12);
  border-color: #ffffff;
  opacity: 1;
  color: #ffffff;
}

.hero-background {
  display: none;
}

@media (max-width: 768px) {
  .hero {
    height: 72vh;
  }
  .hero-content {
    padding: 40px 24px;
  }
  .hero h1 {
    font-size: 32px;
  }
  .hero-subtitle {
    font-size: 14px;
  }
}

/* =========================================
   About Intro
   ========================================= */

.about-intro {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 80px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

.about-card {
  padding: 48px 40px;
  border-right: 1px solid var(--border);
  background: var(--bg);
  transition: background 0.3s;
  cursor: default;
}

.about-card:last-child {
  border-right: none;
}

.about-card:hover {
  background: var(--bg-light);
  border-color: var(--border);
  transform: none;
  box-shadow: none;
}

.about-num {
  font-size: 42px;
  font-weight: 700;
  color: var(--bg-mid);
  margin-bottom: 24px;
  font-family: 'Georgia', serif;
  line-height: 1;
}

.about-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
}

.about-card p {
  font-size: 14px;
  margin: 0;
}

/* Old about icon (compat) */
.about-icon {
  display: none;
}

/* =========================================
   Custom Line-Up Section
   ========================================= */

.lineup-section {
  background: var(--bg-light);
  padding: 80px 0;
}

.lineup-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

@media (max-width: 768px) {
  .lineup-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.lineup-item {
  display: block;
  color: inherit;
  text-decoration: none;
}

.lineup-item:hover {
  opacity: 1;
}

.lineup-photo {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-mid);
  margin-bottom: 16px;
}

.lineup-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.lineup-item:hover .lineup-photo img {
  transform: scale(1.05);
}

.lineup-model {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--light);
  margin-bottom: 6px;
}

.lineup-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin: 0;
}

.lineup-more {
  text-align: center;
}

.view-all-link {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--dark);
  text-decoration: none;
  border-bottom: 1px solid var(--dark);
  padding-bottom: 2px;
  transition: opacity 0.2s;
}

.view-all-link:hover {
  opacity: 0.5;
}

/* =========================================
   Services
   ========================================= */

.services {
  background: var(--bg);
  padding: 80px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  padding: 40px 32px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  transition: background 0.3s;
  text-align: left;
  cursor: default;
}

.service-card:hover {
  background: var(--bg-light);
  border-color: var(--border);
  transform: none;
  box-shadow: none;
}

.service-card:nth-child(3n) {
  border-right: none;
}

.service-icon {
  display: none;
}

.service-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 13px;
  margin: 0;
}

/* =========================================
   Process
   ========================================= */

.process {
  background: var(--black);
  color: #ffffff;
  padding: 80px 0;
}

.process .section-label {
  color: rgba(255,255,255,0.35);
}

.process h2 {
  color: #ffffff;
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  border: 1px solid rgba(255,255,255,0.1);
}

@media (max-width: 1024px) {
  .process-timeline {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .process-timeline {
    grid-template-columns: repeat(2, 1fr);
  }
}

.process-step {
  padding: 40px 24px;
  border-right: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  background: transparent;
  text-align: left;
}

.step-number {
  font-size: 36px;
  font-weight: 700;
  color: rgba(255,255,255,0.15);
  margin-bottom: 20px;
  font-family: 'Georgia', serif;
  line-height: 1;
  display: block;
  background: none;
  width: auto;
  height: auto;
  border-radius: 0;
}

.process-step h3 {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  margin: 0;
}

.timeline-connector {
  display: none;
}

/* =========================================
   Pricing
   ========================================= */

.pricing {
  background: var(--bg-light);
  padding: 80px 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

.pricing-card {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 40px 32px;
  text-align: left;
}

.pricing-card.featured {
  border-color: var(--dark);
  transform: none;
  box-shadow: none;
  background: var(--dark);
}

.pricing-card.featured h3 {
  color: #ffffff;
}

.pricing-card.featured .price {
  color: #ffffff;
}

.pricing-card.featured .timeframe {
  color: rgba(255,255,255,0.5);
}

.pricing-card.featured .features li {
  border-color: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.75);
}

.price {
  font-size: 28px;
  font-weight: 700;
  color: var(--dark);
  margin: 20px 0;
}

.features {
  list-style: none;
  margin: 20px 0;
  padding: 0;
}

.features li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  color: var(--mid);
  font-size: 13px;
}

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

.timeframe {
  color: var(--light);
  font-size: 13px;
  margin: 0;
}

/* =========================================
   Testimonials
   ========================================= */

.testimonials {
  background: var(--bg);
  padding: 80px 0;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
}

.testimonial-card {
  padding: 36px;
  border: 1px solid var(--border);
  background: var(--bg);
  border-left: none;
}

.testimonial-rating {
  color: #c9a84c;
  font-size: 13px;
  margin-bottom: 16px;
  letter-spacing: 0.1em;
}

.testimonial-text {
  font-size: 14px;
  color: var(--mid);
  font-style: normal;
  line-height: 1.9;
  margin-bottom: 20px;
}

.testimonial-name {
  font-size: 12px;
  color: var(--light);
  margin: 0;
  letter-spacing: 0.05em;
}

/* =========================================
   CTA Section
   ========================================= */

.cta-section,
.final-cta {
  background: var(--bg-light);
  border-top: 1px solid var(--border);
  padding: 100px 0;
  text-align: center;
}

.cta-section h2,
.final-cta h2 {
  color: var(--dark);
  margin-bottom: 20px;
}

.cta-section p,
.final-cta p {
  color: var(--mid);
  margin-bottom: 40px;
}

.cta-button {
  display: inline-block;
  background: var(--dark);
  color: #ffffff;
  padding: 16px 52px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s;
}

.cta-button:hover {
  background: var(--black);
  opacity: 1;
  color: #ffffff;
  transform: none;
  box-shadow: none;
}

.cta-button.secondary {
  background: transparent;
  border: 1px solid var(--dark);
  color: var(--dark);
}

.cta-button.secondary:hover {
  background: var(--dark);
  color: #ffffff;
  transform: none;
}

.cta-button a {
  color: #ffffff;
}

.cta-button a:hover {
  opacity: 1;
  text-decoration: none;
}

/* =========================================
   Page Header
   ========================================= */

.page-header {
  background: var(--bg-light);
  padding: 80px 0 60px;
  border-bottom: 1px solid var(--border);
}

.page-header h1 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 12px;
}

.page-header p {
  color: var(--mid);
  font-size: 15px;
  margin: 0;
}

/* =========================================
   Gallery Page
   ========================================= */

.gallery-section {
  background: var(--bg);
  padding: 80px 0;
}

.gallery-intro {
  color: var(--mid);
  margin-bottom: 48px;
  font-size: 14px;
  text-align: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 0;
}

@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

.gallery-item {
  display: block;
  text-decoration: none;
  color: inherit;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.gallery-item:hover {
  opacity: 1;
}

.gallery-image {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-mid);
  margin-bottom: 16px;
  border-radius: 0;
  border: none;
}

.gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.gallery-item:hover .gallery-image img {
  transform: scale(1.05);
}

.gallery-info {
  background: none;
  border: none;
  padding: 0;
  border-radius: 0;
}

.gallery-info h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}

.bike-model {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--light);
  margin-bottom: 6px;
  text-transform: uppercase;
}

.bike-description {
  font-size: 13px;
  color: var(--mid);
  margin: 0;
}

/* =========================================
   Stats
   ========================================= */

.gallery-stats {
  background: var(--bg-light);
  border-top: 1px solid var(--border);
  padding: 80px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.stat-card {
  padding: 48px 32px;
  text-align: center;
  border-right: 1px solid var(--border);
  background: var(--bg);
}

.stat-card:last-child {
  border-right: none;
}

.stat-number {
  font-size: 40px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.stat-label {
  font-size: 12px;
  color: var(--light);
  letter-spacing: 0.1em;
  margin: 0;
}

/* =========================================
   FAQ (Gallery Page)
   ========================================= */

.gallery-faq {
  background: var(--bg-light);
  border-top: 1px solid var(--border);
  padding: 80px 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

.faq-item {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 32px;
}

.faq-item h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--dark);
}

.faq-item p {
  font-size: 13px;
  margin: 0;
}

/* =========================================
   Footer
   ========================================= */

.footer {
  background: var(--dark);
  color: #ffffff;
  padding: 64px 40px 32px;
}

@media (max-width: 768px) {
  .footer {
    padding: 48px 20px 24px;
  }
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 48px;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.footer-section h4 {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 10px;
}

.footer-section a {
  color: rgba(255,255,255,0.75);
  font-size: 13px;
  transition: opacity 0.2s;
}

.footer-section a:hover {
  opacity: 0.5;
}

.footer-section p {
  color: rgba(255,255,255,0.65);
  font-size: 13px;
  margin-bottom: 6px;
}

.business-name {
  color: rgba(255,255,255,0.5);
  font-size: 12px;
  font-weight: 400;
  margin-bottom: 8px;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

.footer-legal {
  list-style: none;
  display: flex;
  gap: 24px;
}

.footer-legal a {
  color: rgba(255,255,255,0.45);
  font-size: 12px;
}

.copyright {
  color: rgba(255,255,255,0.45);
  font-size: 12px;
  margin: 0;
}

/* =========================================
   Contact Page
   ========================================= */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-block {
  background: var(--bg-light);
  border: 1px solid var(--border);
  padding: 40px 32px;
  text-align: center;
}

.contact-block h2 {
  text-align: center;
  font-size: 20px;
  margin-bottom: 16px;
}

.contact-description {
  color: var(--mid);
  margin-bottom: 24px;
  font-size: 14px;
}

.phone-number {
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.phone-number a {
  color: var(--dark);
}

.contact-hours,
.line-id {
  text-align: center;
  color: var(--light);
  font-size: 12px;
  margin-top: 8px;
}

.contact-icon {
  font-size: 28px;
  margin-bottom: 16px;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 13px;
  color: var(--dark);
  letter-spacing: 0.05em;
}

.required {
  color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1px solid var(--border);
  background: var(--bg);
  font-family: inherit;
  font-size: 15px;
  border-radius: 0;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--dark);
  box-shadow: none;
}

.checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-weight: normal;
  color: var(--mid);
  font-size: 13px;
}

.checkbox-label input {
  margin-right: 8px;
  cursor: pointer;
}

.privacy-agreement {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.submit-button {
  margin-top: 16px;
}

.form-note {
  font-size: 12px;
  color: var(--light);
  text-align: center;
}

/* =========================================
   About Page
   ========================================= */

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

@media (max-width: 768px) {
  .team-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }
}

.team-member {
  padding: 32px 24px;
  border: 1px solid var(--border);
  text-align: center;
  background: var(--bg);
}

.value-card {
  padding: 40px 32px;
  border: 1px solid var(--border);
  background: var(--bg-light);
  text-align: left;
}

.value-number {
  font-size: 42px;
  font-weight: 700;
  color: var(--bg-mid);
  margin-bottom: 20px;
  font-family: 'Georgia', serif;
  line-height: 1;
  display: block;
  background: none;
  width: auto;
  height: auto;
  border-radius: 0;
}

.member-icon {
  font-size: 28px;
  margin-bottom: 16px;
}

/* Info Grid */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

@media (max-width: 768px) {
  .info-grid {
    grid-template-columns: 1fr;
  }
}

.info-card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  padding: 32px 24px;
  text-align: center;
}

.info-card h3 {
  color: var(--dark);
  margin-bottom: 12px;
}

.info-card p {
  font-size: 14px;
  margin: 0;
}

/* Facilities */
.facilities-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.facility-item {
  background: var(--bg-light);
  border: 1px solid var(--border);
  padding: 20px 24px;
}

.facility-item p {
  margin: 0;
  font-size: 14px;
}

/* Awards */
.awards-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.awards-list li {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-left: 3px solid var(--dark);
  padding: 16px 20px;
  color: var(--mid);
  font-size: 14px;
}

/* Timeline */
.timeline {
  margin-top: 32px;
}

.timeline-item {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.timeline-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.timeline-year {
  background: var(--dark);
  color: #ffffff;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  min-width: 80px;
  text-align: center;
  letter-spacing: 0.05em;
}

.timeline-event {
  flex: 1;
  color: var(--mid);
  font-size: 14px;
}

/* Privacy Policy */
.privacy-content {
  max-width: 900px;
  margin: 0 auto;
}

.policy-article {
  margin-bottom: 48px;
}

.policy-article h2 {
  font-size: 20px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
  margin-bottom: 20px;
  text-align: left;
  color: var(--dark);
}

.policy-list {
  list-style: none;
  padding: 0;
  margin-bottom: 16px;
}

.policy-list li {
  padding: 8px 0 8px 20px;
  position: relative;
  color: var(--mid);
  font-size: 14px;
  border-bottom: 1px solid var(--border);
}

.policy-list li:before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--light);
}

.contact-info-policy {
  background: var(--bg-light);
  border: 1px solid var(--border);
  padding: 24px;
  margin-top: 16px;
}

.contact-info-policy p {
  margin-bottom: 8px;
  font-size: 14px;
}

.policy-footer {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  color: var(--light);
  font-size: 13px;
}

/* =========================================
   Accessibility
   ========================================= */

button:focus,
input:focus,
select:focus,
textarea:focus,
a:focus {
  outline: 2px solid var(--dark);
  outline-offset: 2px;
}

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

/* =========================================
   Responsive
   ========================================= */

/* =========================================
   About Page — Intro Grid
   ========================================= */

.about-intro {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}

.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-intro-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

.about-intro-text h2 {
  margin-bottom: 24px;
}

.about-intro-text p {
  color: var(--mid);
  font-size: 14px;
  margin-bottom: 16px;
}

/* About Page — History Section */
.history-section {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}

.timeline-event h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.timeline-event p {
  margin: 0;
}

/* About Page — Facilities Grid */
.facilities-section {
  padding: 80px 0;
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
}

.facilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  margin-top: 32px;
}

.facility-card {
  padding: 32px 28px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.facility-card:nth-child(3n) {
  border-right: none;
}

.facility-card:nth-child(n+4) {
  border-bottom: none;
}

.facility-card h4 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
  color: var(--dark);
}

.facility-card p {
  font-size: 13px;
  color: var(--mid);
  margin: 0;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .about-intro-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-intro-image img {
    height: 260px;
  }

  .facilities-grid {
    grid-template-columns: 1fr;
  }

  .facility-card {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .facility-card:last-child {
    border-bottom: none;
  }
}

/* =========================================
   Responsive
   ========================================= */

@media (max-width: 767px) {
  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 26px;
  }

  h3 {
    font-size: 16px;
  }

  section {
    padding: 60px 0;
  }
}
