/* ── Homepage-only styles ──
   Loaded via <link> only on pages/index.tsx to avoid bloating
   the shared CSS bundle for all other pages.                  */

:root {
  --primary: #d46a08e3;
  --text-dark: #333;
  --text-light: #fff;
  --bg-gray: #f5f5f5;
  --bg-dark: #000;
  --bg-light-blue: #e8f0fe;
}

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

.site-header{
  padding: 20px 0;
  background-color: #fff;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-inner{
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
  box-sizing: border-box;
}

.logo{
  font-size: 35px !important;
  font-weight: bold !important;
  color: #1a1a1a !important;
  margin: 0 !important;
  padding: 0 !important;
  text-decoration: none !important;
  display: inline-block !important;
  flex: 0 0 auto !important;
}

.mobile-menu-btn{
  display: none;
  background: none;
  border: none;
  color: var(--text-dark);
  font-size: 24px;
  cursor: pointer;
}

#mainNav{
  flex: 0 0 auto;
  margin-left: auto;
  position: absolute;
  right: 40px;
  transition: all 0.3s ease;
}

nav ul{
  list-style: none;
  display: flex;
  gap: 40px;
  margin: 0;
  padding: 0;
}

nav a{
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark);
  position: relative;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

nav a::after{
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--primary);
  transition: 0.3s ease;
}

nav a:hover::after{
  width: 100%;
}

.hero{
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-top: 70px;
  overflow: hidden;
}

.hero-video{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero-overlay{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 0;
}

.hero .container{
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero h1{
  font-size: 55px;
  margin-bottom: 20px;
  color: var(--text-light);
  font-weight: 700;
  line-height: 1.2;
}

.hero-subcopy{
  font-size: 18px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 40px;
  opacity: 0.9;
}

.hero-cta{
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-cta-primary{
  display: inline-block;
  padding: 16px 40px;
  background: var(--primary);
  color: var(--text-light);
  font-weight: bold;
  border-radius: 4px;
  font-size: 16px;
  transition: all 0.3s ease;
}

.hero-cta-primary:hover{
  background: #d46a08;
}

.hero-cta-line{
  display: inline-block;
  padding: 16px 40px;
  background: #06C755;
  color: var(--text-light);
  font-weight: bold;
  border-radius: 4px;
  font-size: 16px;
  transition: all 0.3s ease;
}

.hero-cta-line:hover{
  background: #05b04c;
}

.section{
  padding: 100px 0;
}

.section-header{
  margin-bottom: 40px;
}

.section-subtitle{
  font-size: 18px;
  color: var(--primary);
  margin-bottom: 12px;
  font-weight: 500;
}

.section-title{
  font-size: 36px;
  font-weight: bold;
  color: var(--text-dark);
  line-height: 1.3;
}

/* ── About: cinematic layout ── */

.about-section{
  padding-bottom: 0;
}

.section-header--left{
  text-align: left;
}

.section-header--left .section-subtitle,
.section-header--left .section-title{
  text-align: left;
}

.about-lead{
  max-width: 680px;
  margin-bottom: 40px;
}

.about-lead h3{
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.about-lead p{
  font-size: 1rem;
  line-height: 2;
  color: #555;
}

/* Full-width visual band */
.about-visual{
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  height: 360px;
  overflow: hidden;
}

.about-visual img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-visual-overlay{
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.about-visual-statement{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  font-size: 2.4rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.6;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
  padding: 0 24px;
  margin: 0;
}

/* Values cards below the visual band */
.about-values{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding: 80px 0;
}

.about-value-card{
  position: relative;
  padding: 32px 28px 28px;
  border-left: 3px solid #222;
  transition: border-color 0.3s ease;
}

.about-value-card:hover{
  border-color: #0d9488;
}

.about-value-num{
  display: block;
  font-size: 2.4rem;
  font-weight: 200;
  color: #ccc;
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}

.about-value-card:hover .about-value-num{
  color: #0d9488;
}

.about-value-card h4{
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.about-value-card p{
  font-size: 0.95rem;
  line-height: 1.9;
  color: #555;
  white-space: pre-line;
}

.business{
  background: linear-gradient(180deg, #FAFAF8 0%, #F5F3EF 100%);
}

/* Main services — 2 column featured row */
.business-grid-main{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
  margin-bottom: 24px;
}

/* Sub services — 3 column row */
.business-grid-sub{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.business-card{
  background: #fff;
  padding: 36px 28px;
  border-radius: 6px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.business-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.business-card h3{
  font-size: 22px;
  color: var(--text-dark);
  margin-bottom: 12px;
  font-weight: 800;
}

.business-card p{
  font-size: 15px;
  line-height: 1.7;
  color: #555;
}

.business-card .business-link{
  display: inline-block;
  margin-top: auto;
  padding-top: 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.business-card .business-link:hover{
  color: #b85a06;
}

/* Legacy classes kept for backward compat — can remove later */
.business-categories{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.business-category{
  background: #fff;
  padding: 36px 28px;
  border-radius: 6px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
}

.business-category:hover{
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.business-category h3{
  font-size: 22px;
  color: var(--text-dark);
  margin-bottom: 12px;
  font-weight: 800;
}

.business-category p{
  font-size: 15px;
  line-height: 1.7;
  color: #555;
}

.business-category-icon{
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #faebd7;
  border-radius: 50%;
}

.business-category-icon svg{
  width: 30px;
  height: 30px;
  fill: var(--primary);
}

/* ── Company layout ── */
.company-layout{
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.company-photo{
  flex: 1;
}

.company-photo img{
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.company-details{
  flex: 1;
}

.company-info-item{
  display: flex;
  margin-bottom: 20px;
}

.company-info-label{
  font-weight: bold;
  min-width: 160px;
}

.company-info-value{
  flex: 1;
}

.contact{
  background-color: #ffffff;
  text-align: center;
}

.contact-description{
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.contact-button{
  display: inline-block;
  padding: 16px 40px;
  background: var(--primary);
  color: var(--text-light);
  font-weight: bold;
  border-radius: 4px;
  font-size: 16px;
  transition: all 0.3s ease;
}

.contact-button:hover{
  background: #d46a08;
}

.contact-buttons{
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-button-line{
  background: #06C755;
}

.contact-button-line:hover{
  background: #05b04c;
}

/* Why Inankl — comparison table */
.why-lead{
  font-size: 0.95rem;
  color: #555;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.comparison-wrapper{
  overflow-x: auto;
  margin: 48px 0;
}

.comparison-table{
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.comparison-table th,
.comparison-table td{
  padding: 16px 20px;
  text-align: center;
  border-bottom: 1px solid #eee;
}

.comparison-table th{
  font-weight: 700;
  font-size: 14px;
  color: #666;
  padding-bottom: 20px;
}

.comparison-table th.comparison-highlight{
  background: var(--primary);
  color: var(--text-light);
  border-radius: 8px 8px 0 0;
}

.comparison-table td.comparison-highlight{
  background: rgba(212, 106, 8, 0.06);
  font-weight: 600;
  color: var(--text-dark);
}

.comparison-label{
  text-align: left;
  font-weight: 600;
  color: #555;
  font-size: 14px;
}

.reason-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}

.reason-card{
  background: #f9f9f7;
  padding: 32px 28px;
  border-radius: 6px;
}

.reason-card h3{
  font-size: 20px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.reason-card p{
  font-size: 15px;
  line-height: 1.7;
  color: #555;
}

.corporate-footer{
  background: #1a1a1a;
  color: var(--text-light);
  padding: 40px 0 24px;
}

.footer-main{
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-logo{
  font-size: 24px;
  font-weight: bold;
  color: var(--text-light) !important;
  text-decoration: none;
  flex-shrink: 0;
}

.footer-nav-inline{
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-nav-inline a{
  color: #ccc;
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-nav-inline a:hover{
  color: var(--text-light);
}

.footer-right{
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-copyright{
  font-size: 12px;
  color: #999;
}

.footer-link{
  font-size: 12px;
  color: #999;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link:hover{
  color: var(--text-light);
}

.footer-service-links{
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-service-links a{
  font-size: 11px;
  color: #777;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-service-links a:hover{
  color: #ccc;
}

.fade-in{
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible{
  opacity: 1;
  transform: translateY(0);
}

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

  .logo{
    padding-left: 30px;
  }

  .hero h1{
    font-size: 54px;
  }

  .header-inner{
    padding: 0 30px;
  }

  #mainNav{
    right: 30px;
  }
}

@media (max-width: 1024px) {
  .business-grid-main{
    grid-template-columns: 1fr;
  }

  .business-grid-sub{
    grid-template-columns: 1fr;
  }

  .business-categories{
    grid-template-columns: 1fr;
  }

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

  .hero h1{
    font-size: 48px;
  }
}

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

  .mobile-menu-btn{
    display: block;
    margin-left: auto;
    padding-right: 5px;
  }

  #mainNav{
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 0;
    height: 0;
    overflow: hidden;
    opacity: 0;
  }

  #mainNav.active{
    height: auto;
    padding: 20px 80px;
    opacity: 1;
  }

  nav ul{
    flex-direction: column;
    gap: 15px;
  }

  .hero{
    margin-top: 65px;
  }

  .hero h1{
    font-size: 38px;
  }

  .hero-subcopy{
    font-size: 15px;
  }

  .section{
    padding: 60px 0;
  }

  .section-title{
    font-size: 28px;
  }

  .section-header--left{
    text-align: center;
  }

  .section-header--left .section-subtitle,
  .section-header--left .section-title{
    text-align: center;
  }

  .about-lead{
    max-width: 100%;
    margin-bottom: 48px;
  }

  .about-visual{
    height: 240px;
  }

  .about-visual-statement{
    font-size: 1.3rem;
  }

  .about-values{
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 60px 0;
  }

  .business-grid-main{
    grid-template-columns: 1fr;
  }

  .business-grid-sub{
    grid-template-columns: 1fr;
  }

  .business-categories{
    grid-template-columns: 1fr;
  }

  .company-layout{
    flex-direction: column;
  }

  .company-photo{
    margin-bottom: 30px;
  }

  .footer-main{
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .footer-right{
    margin-left: 0;
    justify-content: center;
  }

  .footer-nav-inline{
    justify-content: center;
  }

  .footer-service-links{
    justify-content: center;
  }

  .comparison-table{
    font-size: 13px;
  }

  .comparison-table th,
  .comparison-table td{
    padding: 12px 10px;
  }

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

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

  .site-header{
    padding: 15px 0;
  }

  .logo{
    font-size: 18px;
    padding-left: 0;
  }

  .hero h1{
    font-size: 32px;
  }

  .about-lead h3{
    font-size: 1.3rem;
  }

  .about-visual{
    height: 200px;
  }

  .about-visual-statement{
    font-size: 1.1rem;
    letter-spacing: 0.04em;
  }

  .section-subtitle{
    font-size: 16px;
  }

  .section-title{
    font-size: 24px;
  }

  .company-info-item{
    flex-direction: column;
  }

  .company-info-label{
    margin-bottom: 8px;
  }

  .hero-subcopy{
    font-size: 14px;
  }

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

  .hero-cta-primary,
  .hero-cta-line{
    width: 100%;
    text-align: center;
  }

  .contact-button{
    width: 100%;
  }

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

  .header-inner{
    padding: 0 15px;
  }
}
