@charset "UTF-8";

/* ==========================================================================
   DAWIN Inc. - Corporate Website Stylesheet
   Clean, trustworthy, warm design for residential construction
   ========================================================================== */

/* --------------------------------------------------------------------------
   Google Fonts
   -------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&display=swap');

/* --------------------------------------------------------------------------
   CSS Custom Properties
   -------------------------------------------------------------------------- */
:root {
  /* Colors */
  --color-primary: #2B5DAE;
  --color-primary-dark: #1E4A8E;
  --color-primary-light: #3A6FBF;
  --color-bg-accent: #F0F5FA;
  --color-white: #FFFFFF;
  --color-text: #2A2A2A;
  --color-text-light: #5A6A7A;
  --color-border: #D8E2EE;
  --color-footer-bg: #1A3A6A;
  --color-footer-text: #C8D8E8;

  /* Typography */
  --font-family: 'Noto Sans JP', sans-serif;
  --font-weight-light: 300;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-bold: 700;
  --font-size-h1: 2.8rem;
  --font-size-h2: 2rem;
  --font-size-h3: 1.4rem;
  --font-size-body: 1rem;
  --font-size-small: 0.875rem;
  --line-height-body: 1.8;
  --line-height-heading: 1.4;

  /* Spacing */
  --section-padding: 5rem 1.5rem;
  --content-max-width: 1200px;
  --header-height: 80px;
  --border-radius: 8px;
  --border-radius-lg: 12px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(43, 93, 174, 0.06);
  --shadow-md: 0 4px 16px rgba(43, 93, 174, 0.1);
  --shadow-lg: 0 8px 32px rgba(43, 93, 174, 0.12);
  --shadow-header: 0 2px 12px rgba(43, 93, 174, 0.08);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-cubic: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}


/* --------------------------------------------------------------------------
   Reset & Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  font-weight: var(--font-weight-regular);
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
  color: var(--color-text);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Page load fade-in */
body {
  animation: pageLoadFadeIn 0.6s ease-out;
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-primary-dark);
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

::selection {
  background-color: var(--color-primary);
  color: var(--color-white);
}


/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-heading);
  color: var(--color-text);
}

h1 { font-size: var(--font-size-h1); }
h2 { font-size: var(--font-size-h2); }
h3 { font-size: var(--font-size-h3); }

p {
  margin-bottom: 1em;
}

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


/* --------------------------------------------------------------------------
   Utility: Container
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}


/* --------------------------------------------------------------------------
   Keyframes
   -------------------------------------------------------------------------- */

/* Page load */
@keyframes pageLoadFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Fade in up - for scroll reveal */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero text staggered fade-in */
@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Counter roll-up */
@keyframes counterPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* FAQ icon rotation */
@keyframes faqIconRotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(45deg);
  }
}

/* Underline expand */
@keyframes underlineExpand {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

/* Hamburger bar animation */
@keyframes hamburgerTopOpen {
  0% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(8px) rotate(0); }
  100% { transform: translateY(8px) rotate(45deg); }
}

@keyframes hamburgerTopClose {
  0% { transform: translateY(8px) rotate(45deg); }
  50% { transform: translateY(8px) rotate(0); }
  100% { transform: translateY(0) rotate(0); }
}

@keyframes hamburgerBottomOpen {
  0% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-8px) rotate(0); }
  100% { transform: translateY(-8px) rotate(-45deg); }
}

@keyframes hamburgerBottomClose {
  0% { transform: translateY(-8px) rotate(-45deg); }
  50% { transform: translateY(-8px) rotate(0); }
  100% { transform: translateY(0) rotate(0); }
}

/* Slide down for mobile menu */
@keyframes slideInFromTop {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Pulse for CTA */
@keyframes subtlePulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(43, 93, 174, 0.3);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(43, 93, 174, 0);
  }
}

/* Section title underline draw */
@keyframes drawLine {
  from {
    width: 0;
  }
  to {
    width: 60px;
  }
}

/* Stagger entrance for service cards */
@keyframes staggerFadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Flow timeline step reveal */
@keyframes stepReveal {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}


/* --------------------------------------------------------------------------
   Scroll-triggered Animations
   -------------------------------------------------------------------------- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children */
.animate-on-scroll.is-visible .stagger-child:nth-child(1) { transition-delay: 0.1s; }
.animate-on-scroll.is-visible .stagger-child:nth-child(2) { transition-delay: 0.2s; }
.animate-on-scroll.is-visible .stagger-child:nth-child(3) { transition-delay: 0.3s; }
.animate-on-scroll.is-visible .stagger-child:nth-child(4) { transition-delay: 0.4s; }
.animate-on-scroll.is-visible .stagger-child:nth-child(5) { transition-delay: 0.5s; }
.animate-on-scroll.is-visible .stagger-child:nth-child(6) { transition-delay: 0.6s; }

.stagger-child {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.animate-on-scroll.is-visible .stagger-child {
  opacity: 1;
  transform: translateY(0);
}

/* Service card staggered entrance */
.service-card.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
}

.service-card.animate-on-scroll.is-visible {
  animation: staggerFadeInUp 0.6s ease-out forwards;
}

.service-card.animate-on-scroll:nth-child(1).is-visible { animation-delay: 0s; }
.service-card.animate-on-scroll:nth-child(2).is-visible { animation-delay: 0.15s; }
.service-card.animate-on-scroll:nth-child(3).is-visible { animation-delay: 0.3s; }
.service-card.animate-on-scroll:nth-child(4).is-visible { animation-delay: 0.45s; }
.service-card.animate-on-scroll:nth-child(5).is-visible { animation-delay: 0.6s; }
.service-card.animate-on-scroll:nth-child(6).is-visible { animation-delay: 0.75s; }

/* Flow step reveal */
.flow-step.animate-on-scroll {
  opacity: 0;
  transform: translateX(-20px);
}

.flow-step.animate-on-scroll.is-visible {
  animation: stepReveal 0.5s ease-out forwards;
}

.flow-step.animate-on-scroll:nth-child(1).is-visible { animation-delay: 0s; }
.flow-step.animate-on-scroll:nth-child(2).is-visible { animation-delay: 0.15s; }
.flow-step.animate-on-scroll:nth-child(3).is-visible { animation-delay: 0.3s; }
.flow-step.animate-on-scroll:nth-child(4).is-visible { animation-delay: 0.45s; }
.flow-step.animate-on-scroll:nth-child(5).is-visible { animation-delay: 0.6s; }
.flow-step.animate-on-scroll:nth-child(6).is-visible { animation-delay: 0.75s; }
.flow-step.animate-on-scroll:nth-child(7).is-visible { animation-delay: 0.9s; }
.flow-step.animate-on-scroll:nth-child(8).is-visible { animation-delay: 1.05s; }


/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow var(--transition-base), background-color var(--transition-base);
  display: flex;
  align-items: center;
}

.header.scrolled {
  box-shadow: var(--shadow-header);
  background-color: rgba(255, 255, 255, 0.98);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: var(--font-weight-bold);
  font-size: 1.25rem;
  color: var(--color-primary);
  text-decoration: none;
  flex-shrink: 0;
}

.header-logo img {
  height: 40px;
  width: auto;
}

.header-logo span,
.header-logo-text {
  white-space: nowrap;
}

.header-logo:hover {
  color: var(--color-primary-dark);
}

/* Header Phone */
.header-phone {
  display: flex;
  align-items: center;
  color: var(--color-primary);
  font-weight: var(--font-weight-bold);
  font-size: 0.9rem;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.header-phone::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-right: 0.4rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232B5DAE'%3E%3Cpath d='M6.62 10.79a15.05 15.05 0 006.59 6.59l2.2-2.2a1 1 0 011.01-.24 11.36 11.36 0 003.58.57 1 1 0 011 1V20a1 1 0 01-1 1A17 17 0 013 4a1 1 0 011-1h3.5a1 1 0 011 1 11.36 11.36 0 00.57 3.58 1 1 0 01-.24 1.01l-2.2 2.2z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

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

.nav-menu a {
  position: relative;
  color: var(--color-text);
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-medium);
  padding: 0.25rem 0;
  text-decoration: none;
  transition: color var(--transition-fast);
}

/* Smooth underline animation on nav links */
.nav-menu a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: width var(--transition-base);
}

.nav-menu a:hover {
  color: var(--color-primary);
}

.nav-menu a:hover::after {
  width: 100%;
}

.nav-menu a.is-current {
  color: var(--color-primary);
}

.nav-menu a.is-current::after {
  width: 100%;
}

/* Nav CTA button */
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2.2rem;
  background-color: var(--color-primary);
  color: var(--color-white) !important;
  border-radius: 50px;
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-small);
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background-color: var(--color-primary-dark);
  color: var(--color-white) !important;
  transform: scale(1.03);
}


/* --------------------------------------------------------------------------
   Hamburger Menu (Mobile)
   -------------------------------------------------------------------------- */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  cursor: pointer;
  z-index: 1100;
  position: relative;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-text);
  border-radius: 2px;
  transition: background-color var(--transition-fast);
}

.hamburger span:nth-child(1) {
  margin-bottom: 6px;
  animation: hamburgerTopClose 0.4s ease forwards;
}

.hamburger span:nth-child(2) {
  transition: opacity var(--transition-fast);
}

.hamburger span:nth-child(3) {
  margin-top: 6px;
  animation: hamburgerBottomClose 0.4s ease forwards;
}

/* Active state */
.hamburger.is-active span:nth-child(1) {
  animation: hamburgerTopOpen 0.4s ease forwards;
}

.hamburger.is-active span:nth-child(2) {
  opacity: 0;
}

.hamburger.is-active span:nth-child(3) {
  animation: hamburgerBottomOpen 0.4s ease forwards;
}


/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: calc(var(--header-height) + 2rem) 1.5rem 2rem;
  background-color: var(--color-bg-accent);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* Gradient overlay for background image */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.88) 0%,
    rgba(240, 245, 250, 0.75) 50%,
    rgba(43, 93, 174, 0.15) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
}

.hero-subtitle {
  display: inline-block;
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-medium);
  color: var(--color-primary);
  letter-spacing: 0.15em;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: heroFadeIn 0.8s ease-out 0.2s forwards;
}

.hero-title {
  font-size: var(--font-size-h1);
  font-weight: var(--font-weight-bold);
  line-height: 1.3;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: heroFadeIn 0.8s ease-out 0.5s forwards;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--color-text-light);
  line-height: var(--line-height-body);
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: heroFadeIn 0.8s ease-out 0.8s forwards;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: heroFadeIn 0.8s ease-out 1.1s forwards;
}


/* --------------------------------------------------------------------------
   Page Hero (Sub-pages)
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  padding: calc(var(--header-height) + 2rem) 1.5rem 2rem;
  background-color: var(--color-bg-accent);
  background-size: cover;
  background-position: center;
  text-align: center;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(240, 245, 250, 0.8) 100%
  );
  z-index: 1;
}

.page-hero-content {
  position: relative;
  z-index: 2;
}

.page-hero-title {
  font-size: var(--font-size-h1);
  font-weight: var(--font-weight-bold);
  margin-bottom: 0.5rem;
}

.page-hero-subtitle {
  font-size: var(--font-size-body);
  color: var(--color-text-light);
  font-weight: var(--font-weight-light);
  letter-spacing: 0.1em;
}


/* --------------------------------------------------------------------------
   Breadcrumb
   -------------------------------------------------------------------------- */
.breadcrumb {
  padding: 1rem 0;
  font-size: var(--font-size-small);
  color: var(--color-text-light);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.breadcrumb li + li::before {
  content: '>';
  color: var(--color-border);
  font-size: 0.75rem;
}

.breadcrumb a {
  color: var(--color-text-light);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--color-primary);
}

.breadcrumb .current {
  color: var(--color-text);
  font-weight: var(--font-weight-medium);
}


/* --------------------------------------------------------------------------
   Section
   -------------------------------------------------------------------------- */
.section {
  padding: var(--section-padding);
}

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

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: var(--font-size-h2);
  margin-bottom: 0.5rem;
}

.section-title .section-title-en {
  display: block;
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-medium);
  color: var(--color-primary);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

/* Underline decoration */
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--color-primary);
  margin: 1rem auto 0;
  border-radius: 2px;
}

.section-title.animate-on-scroll.is-visible::after {
  animation: drawLine 0.6s ease-out 0.3s both;
}

.section-description {
  text-align: center;
  max-width: 700px;
  margin: -1.5rem auto 3rem;
  color: var(--color-text-light);
  line-height: var(--line-height-body);
}


/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 2.2rem;
  background-color: var(--color-primary);
  color: var(--color-white);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-medium);
  border: 2px solid var(--color-primary);
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color var(--transition-fast),
              color var(--transition-fast),
              transform var(--transition-fast),
              box-shadow var(--transition-fast);
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: var(--color-white);
  transform: scale(1.04);
  box-shadow: var(--shadow-md);
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 2.2rem;
  background-color: transparent;
  color: var(--color-primary);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-medium);
  border: 2px solid var(--color-primary);
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color var(--transition-fast),
              color var(--transition-fast),
              transform var(--transition-fast),
              box-shadow var(--transition-fast);
}

.btn-secondary:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  transform: scale(1.04);
  box-shadow: var(--shadow-md);
}

.btn-secondary:active {
  transform: scale(0.98);
}

/* White variant for dark backgrounds */
.btn-primary--white {
  background-color: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
}

.btn-primary--white:hover {
  background-color: var(--color-bg-accent);
  border-color: var(--color-bg-accent);
  color: var(--color-primary-dark);
}

.btn-secondary--white {
  color: var(--color-white);
  border-color: var(--color-white);
}

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


/* --------------------------------------------------------------------------
   Service Cards
   -------------------------------------------------------------------------- */
.service-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.service-card {
  background-color: var(--color-white);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  border: 1px solid var(--color-border);
  transition: transform var(--transition-cubic),
              box-shadow var(--transition-cubic);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 1.5rem;
  background-color: var(--color-bg-accent);
  border-radius: 50%;
  color: var(--color-primary);
  font-size: 1.8rem;
  transition: background-color var(--transition-base),
              color var(--transition-base);
}

.service-card:hover .service-card-icon {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.service-card-icon img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.service-card-title {
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-bold);
  margin-bottom: 1rem;
}

.service-card-description {
  color: var(--color-text-light);
  font-size: var(--font-size-small);
  line-height: var(--line-height-body);
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 1.25rem;
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-medium);
  color: var(--color-primary);
  transition: gap var(--transition-fast);
}

.service-card-link:hover {
  gap: 0.6rem;
}


/* --------------------------------------------------------------------------
   Strength Items
   -------------------------------------------------------------------------- */
.strength-items {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.strength-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.strength-number {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background-color: var(--color-primary);
  color: var(--color-white);
  font-size: 1.5rem;
  font-weight: var(--font-weight-bold);
  border-radius: 50%;
}

.strength-content {
  flex: 1;
}

.strength-title {
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-bold);
  margin-bottom: 0.5rem;
}

.strength-text {
  color: var(--color-text-light);
  font-size: var(--font-size-small);
  line-height: var(--line-height-body);
}


/* --------------------------------------------------------------------------
   Counter Numbers
   -------------------------------------------------------------------------- */
.counters {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  text-align: center;
}

.counter-item {
  padding: 1.5rem;
}

.counter-number {
  font-size: 3rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.counter-number .counter-unit {
  font-size: 1.2rem;
  font-weight: var(--font-weight-medium);
  margin-left: 0.15em;
}

.counter-number.is-animated {
  animation: counterPulse 0.4s ease-out;
}

.counter-label {
  font-size: var(--font-size-small);
  color: var(--color-text-light);
  font-weight: var(--font-weight-medium);
}


/* --------------------------------------------------------------------------
   Works Grid (Gallery)
   -------------------------------------------------------------------------- */
.works-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.works-item {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  cursor: pointer;
}

.works-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

/* Subtle image hover zoom */
.works-item:hover img {
  transform: scale(1.05);
}

.works-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(42, 42, 42, 0.7) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.works-item:hover .works-item-overlay {
  opacity: 1;
}

.works-item-info {
  color: var(--color-white);
}

.works-item-title {
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-medium);
  color: var(--color-white);
  margin-bottom: 0.25rem;
}

.works-item-category {
  font-size: var(--font-size-small);
  opacity: 0.8;
}


/* --------------------------------------------------------------------------
   Before / After
   -------------------------------------------------------------------------- */
.before-after {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.before-after-item {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.before-after-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.before-after-item:hover img {
  transform: scale(1.03);
}

.before-after-label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.3rem 1rem;
  border-radius: 50px;
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.05em;
  z-index: 2;
}

.before-after-label--before {
  background-color: var(--color-text);
  color: var(--color-white);
}

.before-after-label--after {
  background-color: var(--color-primary);
  color: var(--color-white);
}


/* --------------------------------------------------------------------------
   Flow Steps (Timeline)
   -------------------------------------------------------------------------- */
.flow-steps {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

/* Vertical line */
.flow-steps::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: var(--color-border);
}

.flow-step {
  position: relative;
  display: flex;
  gap: 1.5rem;
  padding-bottom: 2.5rem;
  align-items: flex-start;
}

.flow-step:last-child {
  padding-bottom: 0;
}

.flow-step-number {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background-color: var(--color-primary);
  color: var(--color-white);
  font-size: 1.2rem;
  font-weight: var(--font-weight-bold);
  border-radius: 50%;
  position: relative;
  z-index: 2;
}

.flow-step-content {
  flex: 1;
  padding-top: 0.75rem;
}

.flow-step-title {
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-bold);
  margin-bottom: 0.5rem;
}

.flow-step-text {
  color: var(--color-text-light);
  font-size: var(--font-size-small);
  line-height: var(--line-height-body);
}


/* --------------------------------------------------------------------------
   FAQ Accordion
   -------------------------------------------------------------------------- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-item:first-child {
  border-top: 1px solid var(--color-border);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.5rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-medium);
  color: var(--color-text);
  line-height: 1.6;
  gap: 1rem;
  transition: color var(--transition-fast);
}

.faq-question:hover {
  color: var(--color-primary);
}

.faq-question-label {
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  margin-right: 0.75rem;
  flex-shrink: 0;
}

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  position: relative;
  transition: transform var(--transition-base);
}

/* Plus icon using pseudo-elements */
.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background-color: var(--color-primary);
  border-radius: 1px;
}

.faq-icon::before {
  width: 16px;
  height: 2px;
  transform: translate(-50%, -50%);
}

.faq-icon::after {
  width: 2px;
  height: 16px;
  transform: translate(-50%, -50%);
  transition: transform var(--transition-base), opacity var(--transition-base);
}

/* Active state - rotate + to x */
.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-answer-inner {
  padding: 0 0 1.5rem 0;
  color: var(--color-text-light);
  line-height: var(--line-height-body);
}

.faq-answer-inner .faq-answer-label {
  font-weight: var(--font-weight-bold);
  color: #C05040;
  margin-right: 0.75rem;
}

.faq-item.is-open .faq-answer {
  max-height: 500px;
}


/* --------------------------------------------------------------------------
   Company Table
   -------------------------------------------------------------------------- */
.company-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
}

.company-table th,
.company-table td {
  padding: 1.2rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  font-size: var(--font-size-body);
  line-height: 1.7;
  vertical-align: top;
}

.company-table th {
  font-weight: var(--font-weight-medium);
  color: var(--color-text);
  background-color: var(--color-bg-accent);
  white-space: nowrap;
  width: 160px;
}

.company-table td {
  color: var(--color-text-light);
}

.company-table tr:nth-child(even) th {
  background-color: var(--color-white);
}


/* --------------------------------------------------------------------------
   CTA Section
   -------------------------------------------------------------------------- */
.cta-section {
  background-color: var(--color-primary);
  color: var(--color-white);
  text-align: center;
  padding: 4rem 1.5rem;
}

.cta-section h2 {
  color: var(--color-white);
  font-size: var(--font-size-h2);
  margin-bottom: 1rem;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .btn-primary {
  animation: subtlePulse 2.5s ease-in-out infinite;
}


/* --------------------------------------------------------------------------
   Contact Form
   -------------------------------------------------------------------------- */
.contact-form {
  max-width: 700px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-medium);
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.form-label .required {
  display: inline-block;
  background-color: var(--color-primary);
  color: var(--color-white);
  font-size: 0.7rem;
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  margin-left: 0.5rem;
  vertical-align: middle;
  font-weight: var(--font-weight-medium);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  background-color: var(--color-white);
  color: var(--color-text);
  font-size: var(--font-size-body);
  transition: border-color var(--transition-fast),
              box-shadow var(--transition-fast);
  appearance: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(43, 93, 174, 0.12);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #A0B0C0;
}

.form-textarea {
  min-height: 160px;
  resize: vertical;
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%232A2A2A' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 0.15rem;
  accent-color: var(--color-primary);
  cursor: pointer;
}

.form-submit {
  text-align: center;
  margin-top: 2rem;
}

.form-note {
  font-size: var(--font-size-small);
  color: var(--color-text-light);
  margin-top: 1rem;
  text-align: center;
}


/* --------------------------------------------------------------------------
   Message Section (Representative Message)
   -------------------------------------------------------------------------- */
.message-section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

.message-photo {
  flex-shrink: 0;
}

.message-photo img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--color-bg-accent);
}

.message-content {
  flex: 1;
}

.message-content blockquote {
  position: relative;
  padding: 1.5rem 0 1.5rem 1.5rem;
  border-left: 3px solid var(--color-primary);
  font-style: normal;
  color: var(--color-text);
  line-height: var(--line-height-body);
  margin-bottom: 1.5rem;
}

.message-content blockquote::before {
  content: none;
}

.message-name {
  font-weight: var(--font-weight-bold);
  font-size: 1.1rem;
}

.message-position {
  font-size: var(--font-size-small);
  color: var(--color-text-light);
  margin-bottom: 0.25rem;
}


/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
  background-color: var(--color-footer-bg);
  color: var(--color-footer-text);
  padding: 4rem 1.5rem 2rem;
}

.footer-inner {
  max-width: var(--content-max-width);
  margin: 0 auto;
}

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

.footer-column-title {
  color: var(--color-white);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-bold);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-logo {
  color: var(--color-white);
  font-size: 1.25rem;
  font-weight: var(--font-weight-bold);
  margin-bottom: 1rem;
  display: block;
}

.footer-logo img {
  height: 36px;
  width: auto;
}

.footer-info {
  font-size: var(--font-size-small);
  line-height: 1.9;
  color: var(--color-footer-text);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-nav a {
  color: var(--color-footer-text);
  font-size: var(--font-size-small);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
}

.footer-copyright {
  font-size: var(--font-size-small);
  color: rgba(200, 216, 232, 0.6);
}


/* --------------------------------------------------------------------------
   Scroll to Top Button
   -------------------------------------------------------------------------- */
.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background-color: var(--color-primary);
  color: var(--color-white);
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--transition-base),
              visibility var(--transition-base),
              transform var(--transition-base),
              background-color var(--transition-fast);
  box-shadow: var(--shadow-md);
  z-index: 900;
}

.scroll-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-3px);
}


/* ==========================================================================
   RESPONSIVE DESIGN (Mobile-first)
   ========================================================================== */

/* --------------------------------------------------------------------------
   Small screens (default / mobile)
   -------------------------------------------------------------------------- */
@media screen and (max-width: 767px) {
  :root {
    --font-size-h1: 1.8rem;
    --font-size-h2: 1.5rem;
    --font-size-h3: 1.2rem;
    --section-padding: 3.5rem 1rem;
    --header-height: 64px;
  }

  .header-logo {
    font-size: 0;
    gap: 0;
  }

  .header-logo img {
    height: 36px;
  }

  .header-phone {
    font-size: 0.8rem;
    margin-left: auto;
    margin-right: 0.75rem;
  }

  .hamburger {
    display: flex;
  }

  .nav-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    min-height: 100vh;
    min-height: -webkit-fill-available;
    box-sizing: border-box;
    background: #FFFFFF;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
    z-index: 1050;
    overflow-y: auto;
    padding: 4rem 1.5rem 3rem;
    margin: 0;
  }

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

  .nav-menu a {
    font-size: 1.15rem;
    padding: 1.1rem 2rem;
    color: var(--color-text);
    width: 100%;
    text-align: center;
    border-bottom: 1px solid var(--color-border);
  }

  .nav-menu a:last-child {
    border-bottom: none;
  }

  .nav-menu a.is-current {
    color: var(--color-primary);
    font-weight: var(--font-weight-bold);
  }

  .nav-menu a::after {
    display: none;
  }

  .nav-menu .nav-cta {
    margin-top: 1.5rem;
    padding: 0.9rem 3rem;
    font-size: 1rem;
    width: auto;
    border-bottom: none;
    border-radius: 50px;
  }

  .hamburger {
    z-index: 1100;
  }

  /* Hero */
  .hero {
    padding: calc(var(--header-height) + 1rem) 1rem 2rem;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  /* Page Hero */
  .page-hero {
    min-height: 200px;
  }

  /* Before/After */
  .before-after {
    grid-template-columns: 1fr;
  }

  /* Counter */
  .counters {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .counter-number {
    font-size: 2.2rem;
  }

  /* Company Table */
  .company-table th,
  .company-table td {
    display: block;
    width: 100%;
    padding: 0.8rem 1rem;
  }

  .company-table th {
    padding-bottom: 0.3rem;
    border-bottom: none;
  }

  .company-table td {
    padding-top: 0;
  }

  /* Flow Steps */
  .flow-steps::before {
    left: 20px;
  }

  .flow-step-number {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .flow-step {
    gap: 1rem;
  }

  /* Message */
  .message-section {
    text-align: center;
  }

  .message-content blockquote {
    border-left: none;
    border-top: 3px solid var(--color-primary);
    padding: 1.5rem 0 0 0;
  }

  /* Footer */
  .footer {
    padding: 3rem 1rem 1.5rem;
  }
}


/* --------------------------------------------------------------------------
   Tablet (768px and up)
   -------------------------------------------------------------------------- */
@media screen and (min-width: 768px) {
  .service-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .works-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .before-after {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .counters {
    grid-template-columns: repeat(4, 1fr);
  }

  .strength-items {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-columns {
    grid-template-columns: repeat(2, 1fr);
  }

  .message-section {
    flex-direction: row;
    align-items: flex-start;
    gap: 3rem;
  }
}


/* --------------------------------------------------------------------------
   Desktop (1024px and up)
   -------------------------------------------------------------------------- */
@media screen and (min-width: 1024px) {
  .hamburger {
    display: none;
  }

  .nav-menu {
    display: flex;
    position: static;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    flex-direction: row;
    gap: 2rem;
  }

  .nav-menu a {
    font-size: var(--font-size-small);
    padding: 0.25rem 0;
  }

  .nav-menu a::after {
    display: block;
  }

  .service-cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .works-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-columns {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}


/* --------------------------------------------------------------------------
   Large Desktop (1280px and up)
   -------------------------------------------------------------------------- */
@media screen and (min-width: 1280px) {
  .container {
    padding: 0 2rem;
  }

  .hero-title {
    font-size: 3.2rem;
  }
}


/* ==========================================================================
   PRINT STYLES
   ========================================================================== */
@media print {
  *,
  *::before,
  *::after {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  body {
    font-size: 11pt;
    line-height: 1.6;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    color: #555 !important;
  }

  /* Don't show links for nav, buttons, and anchors with # */
  .nav-menu a[href]::after,
  .btn-primary[href]::after,
  .btn-secondary[href]::after,
  a[href^="#"]::after {
    content: none;
  }

  /* Hide non-essential elements */
  .header,
  .hamburger,
  .scroll-to-top,
  .cta-section,
  .hero::before,
  .page-hero::before {
    display: none !important;
  }

  .hero {
    min-height: auto;
    padding: 2rem 0;
  }

  .page-hero {
    min-height: auto;
    padding: 1rem 0;
  }

  .section {
    padding: 1.5rem 0;
    page-break-inside: avoid;
  }

  .service-card,
  .faq-item,
  .flow-step {
    page-break-inside: avoid;
  }

  .faq-answer {
    max-height: none !important;
    overflow: visible !important;
  }

  img {
    max-width: 100% !important;
    page-break-inside: avoid;
  }

  h1, h2, h3 {
    page-break-after: avoid;
  }

  .footer {
    padding: 1rem 0;
    border-top: 1px solid #ccc;
  }

  .footer-columns {
    display: block;
  }

  /* Reset all animations */
  .animate-on-scroll,
  .stagger-child {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}


/* ==========================================================================
   ACCESSIBILITY
   ========================================================================== */

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

  .animate-on-scroll {
    opacity: 1;
    transform: none;
  }

  .stagger-child {
    opacity: 1;
    transform: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* Focus visible for keyboard navigation */
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

button:focus:not(:focus-visible),
a:focus:not(:focus-visible) {
  outline: none;
}

/* Skip link (hidden, visible on focus) */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 0.75rem 1.5rem;
  z-index: 10000;
  font-weight: var(--font-weight-medium);
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 0;
}
