/* =============================================
   NICHIREI TBA LOGISTICS VIETNAM
   Main Stylesheet
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Montserrat:wght@700;800;900&display=swap');

/* === CSS VARIABLES === */
:root {
  --blue:       #1B3B8A;
  --blue-dark:  #0D2460;
  --blue-mid:   #2952B3;
  --blue-pale:  #EEF3FB;
  --red:        #D41E20;
  --red-dark:   #AF1517;
  --white:      #FFFFFF;
  --gray-light: #F5F7FA;
  --gray:       #E8ECF2;
  --gray-mid:   #9CA3AF;
  --text:       #111827;
  --text-light: #6B7280;
  --shadow-sm:  0 2px 8px rgba(27,59,138,.10);
  --shadow:     0 4px 24px rgba(27,59,138,.14);
  --shadow-lg:  0 8px 40px rgba(27,59,138,.20);
  --radius:     12px;
  --radius-lg:  20px;
  --transition: all .3s cubic-bezier(.4,0,.2,1);
  --max-width:  1200px;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* === UTILITIES === */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 56px 0; }

.tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--blue-dark);
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-title span { color: var(--red); }
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 580px;
  line-height: 1.7;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: .95rem;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(212,30,32,.3);
}
.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(212,30,32,.4);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.6);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--blue);
  border-color: var(--white);
}
.btn-blue {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(27,59,138,.3);
}
.btn-blue:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(27,59,138,.4);
}

/* === HEADER / NAV === */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.header.scrolled { box-shadow: var(--shadow); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-brand img { height: 44px; width: auto; }
.nav-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.nav-brand-text .name {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--text);
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  padding: 8px 16px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--text);
  border-radius: 8px;
  transition: var(--transition);
  letter-spacing: .02em;
  text-transform: uppercase;
}
.nav-link:hover,
.nav-link.active {
  color: var(--blue);
  background: var(--blue-pale);
}
.nav-divider {
  width: 1px;
  height: 18px;
  background: var(--gray);
  margin: 0 4px;
}

.nav-lang {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 8px;
  background: var(--gray-light);
  border-radius: 50px;
  padding: 4px;
}
.lang-btn {
  padding: 5px 12px;
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-light);
  transition: var(--transition);
}
.lang-btn.active, .lang-btn:hover {
  background: var(--blue);
  color: var(--white);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  border-radius: 8px;
  transition: var(--transition);
}
.nav-toggle:hover { background: var(--gray-light); }
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* === PAGE HERO (inner pages) === */
.page-hero {
  margin-top: 72px;
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 60%, var(--blue-mid) 100%);
  padding: 80px 0 72px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: 10%;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: rgba(255,255,255,.03);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 20px;
}
.page-hero-breadcrumb a:hover { color: rgba(255,255,255,.9); }
.page-hero-breadcrumb span { color: rgba(255,255,255,.4); }
.page-hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
}
.page-hero h1 span { color: #f97171; }
.page-hero p {
  margin-top: 16px;
  font-size: 1.05rem;
  color: rgba(255,255,255,.75);
  max-width: 520px;
}

/* === HOME HERO === */
.hero {
  margin-top: 72px;
  position: relative;
  height: calc(100vh - 72px);
  min-height: 580px;
  max-height: 800px;
  overflow: hidden;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13,36,96,.88) 0%, rgba(13,36,96,.55) 55%, rgba(13,36,96,.15) 100%);
}
.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
}
.hero-content .container { width: 100%; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212,30,32,.2);
  border: 1px solid rgba(212,30,32,.4);
  color: #f97171;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  max-width: 680px;
  margin-bottom: 20px;
}
.hero h1 .accent { color: #f97171; }
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.8);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.5);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}
.hero-scroll::after {
  content: '';
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,.4), transparent);
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* === STATS BAR === */
.stats-bar {
  background: var(--white);
  border-bottom: 1px solid var(--gray);
  box-shadow: var(--shadow-sm);
}
.stats-bar .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  padding: 28px 24px;
  text-align: center;
  border-right: 1px solid var(--gray);
  transition: var(--transition);
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: var(--blue-pale); }
.stat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
}
.stat-num span { color: var(--red); }
.stat-label {
  font-size: .8rem;
  font-weight: 500;
  color: var(--text-light);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* === ABOUT SECTION (home) === */
.about-home {
  background: var(--gray-light);
}
.about-home .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-img-wrap img { width: 100%; height: 420px; object-fit: cover; }
.about-img-badge {
  position: absolute;
  bottom: 24px; left: 24px;
  background: var(--blue-dark);
  color: var(--white);
  padding: 14px 20px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow);
}
.about-img-badge .badge-icon {
  width: 40px; height: 40px;
  background: rgba(255,255,255,.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}
.about-img-badge .badge-text .num {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: #f97171;
  line-height: 1;
}
.about-img-badge .badge-text .label {
  font-size: .72rem;
  color: rgba(255,255,255,.7);
  margin-top: 2px;
}

.about-content .section-subtitle { margin-bottom: 28px; }
.about-features { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.feature-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  background: var(--blue-pale);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 1.1rem;
}
.feature-text h4 {
  font-size: .92rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}
.feature-text p { font-size: .88rem; color: var(--text-light); }

/* === SERVICES PREVIEW === */
.services-preview { background: var(--white); }
.services-preview .section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
}
.services-preview .section-header .section-subtitle { margin: 0 auto; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-pale);
}
.service-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.service-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.service-card-icon {
  width: 44px; height: 44px;
  background: var(--blue-pale);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 14px;
  color: var(--blue);
}
.service-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.service-card p {
  font-size: .88rem;
  color: var(--text-light);
  line-height: 1.65;
  flex: 1;
}
.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--blue);
  transition: var(--transition);
}
.service-card-link:hover { color: var(--red); gap: 10px; }
.service-card-link svg { transition: var(--transition); }

/* === GALLERY STRIP === */
.gallery-strip {
  background: var(--gray-light);
  padding: 64px 0;
}
.gallery-strip .section-header {
  text-align: center;
  max-width: 540px;
  margin: 0 auto 40px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,36,96,.6), transparent 60%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 16px;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-overlay span {
  color: var(--white);
  font-size: .8rem;
  font-weight: 600;
}

/* === CTA SECTION === */
.cta-section {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
}
.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.cta-text h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}
.cta-text p {
  font-size: 1rem;
  color: rgba(255,255,255,.75);
  max-width: 480px;
}
.cta-badge {
  flex-shrink: 0;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  padding: 16px 24px;
  text-align: center;
  color: var(--white);
}
.cta-badge .phone {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: #f97171;
}
.cta-badge .label {
  font-size: .75rem;
  color: rgba(255,255,255,.6);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: 4px;
}

/* === CERTIFICATE SECTION === */
.cert-section {
  background: var(--gray-light);
  padding: 56px 0;
}
.cert-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.cert-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: var(--radius);
  padding: 20px 32px;
  box-shadow: var(--shadow-sm);
}
.cert-icon {
  width: 52px; height: 52px;
  background: var(--blue-pale);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}
.cert-text .label {
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-light);
}
.cert-text .name {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--blue);
}

/* === HOME CONTACT SECTION === */

/* === ABOUT FACILITY PHOTOS === */
.about-facility {
  background: var(--gray-light);
  padding: 48px 0;
}
.about-facility-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.about-facility-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}
.about-facility-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.about-facility-item:hover img { transform: scale(1.04); }
.about-facility-item span {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 10px 14px;
  background: linear-gradient(transparent, rgba(0,0,0,.55));
  font-size: .78rem;
  font-weight: 600;
  color: rgba(255,255,255,.9);
  letter-spacing: .03em;
}

/* === ABOUT CTA === */
.about-cta {
  padding: 40px 0;
  background: var(--gray-light);
  border-top: 1px solid var(--gray);
  text-align: center;
}
.about-cta p {
  font-size: .95rem;
  color: var(--text-light);
  margin-bottom: 16px;
}

/* === FOOTER === */
.footer {
  background: var(--blue-dark);
  color: var(--white);
}
.footer-main {
  padding: 64px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
  gap: 48px;
}
.footer-brand img { height: 48px; margin-bottom: 12px; filter: brightness(0) invert(1); }
.footer-brand p {
  font-size: .82rem;
  color: rgba(255,255,255,.55);
  margin-top: 12px;
  line-height: 1.65;
}
.footer-col h4 {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(255,255,255,.45);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: .88rem;
  color: rgba(255,255,255,.65);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-links a::before {
  content: '›';
  color: var(--red);
  font-size: 1rem;
  line-height: 1;
}
.footer-links a:hover { color: var(--white); padding-left: 4px; }

.footer-contact-items { display: flex; flex-direction: column; gap: 14px; }
.footer-contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.footer-contact-item .icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  background: rgba(255,255,255,.08);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  margin-top: 1px;
}
.footer-contact-item .text {
  font-size: .85rem;
  color: rgba(255,255,255,.65);
  line-height: 1.6;
}
.footer-contact-item .text strong { color: rgba(255,255,255,.9); }
a.footer-contact-item .text,
.footer-contact-item a.text { text-decoration: none; transition: var(--transition); }
.footer-contact-item a.text:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0;
}
.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: .82rem; color: rgba(255,255,255,.4); }
.footer-bottom-links {
  display: flex;
  gap: 20px;
}
.footer-bottom-links a {
  font-size: .82rem;
  color: rgba(255,255,255,.4);
  transition: var(--transition);
}
.footer-bottom-links a:hover { color: rgba(255,255,255,.8); }
.footer-saga-credit {
  font-size: .82rem;
  color: rgba(255,255,255,.55);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: var(--transition);
}
.footer-saga-credit:hover { color: var(--white); }

/* === ABOUT PAGE === */
.about-intro { background: var(--white); }
.about-intro .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.about-intro-content .section-subtitle { margin-bottom: 24px; }
.about-intro-content p {
  font-size: .95rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 16px;
}
.about-intro-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-intro-img img { width: 100%; height: 480px; object-fit: cover; }

.values-section { background: var(--gray-light); }
.values-section .section-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 52px;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.value-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  border: 1px solid var(--gray);
  transition: var(--transition);
}
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--blue-pale);
}
.value-icon {
  width: 64px; height: 64px;
  background: var(--blue-pale);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 20px;
}
.value-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
.value-card p { font-size: .88rem; color: var(--text-light); line-height: 1.65; }

.parent-section { background: var(--white); }
.parent-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.parent-content .section-subtitle { margin-bottom: 20px; }
.parent-content p {
  font-size: .95rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 16px;
}
.parent-highlight {
  margin-top: 28px;
  background: var(--blue-pale);
  border-left: 4px solid var(--blue);
  padding: 20px 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: .95rem;
  font-style: italic;
  color: var(--blue-dark);
  font-weight: 500;
}
.parent-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.parent-img img { width: 100%; height: 420px; object-fit: cover; }

/* === SERVICES PAGE === */
.services-intro { background: var(--white); }
.services-intro .section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 64px;
}
.services-list { display: flex; flex-direction: column; gap: 40px; }
.service-block {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--gray);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 460px;
}
.service-block:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.service-block-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.service-block-mini {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--gray);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.service-block-mini:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.service-block-mini-img { overflow: hidden; height: 200px; }
.service-block-mini-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.service-block-mini:hover .service-block-mini-img img { transform: scale(1.04); }
.service-block-mini-content {
  padding: 28px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.service-block.reverse { grid-template-columns: 1.4fr 1fr; }
.service-block.reverse .service-block-img { order: 2; }
.service-block.reverse .service-block-content { order: 1; }
.service-block-img { overflow: hidden; display: flex; }
.service-block-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.service-block:hover .service-block-img img { transform: scale(1.04); }
.service-block-content {
  padding: 40px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.service-block-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--gray);
  line-height: 1;
  margin-bottom: 12px;
}
.service-block h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
}
.service-block h2 span { color: var(--blue); }
.service-block p {
  font-size: .92rem;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 12px;
}
.service-block ul,
.service-block-mini-content ul { margin: 16px 0; }
.service-block ul li,
.service-block-mini-content ul li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: .88rem;
  color: var(--text-light);
  padding: 4px 0;
}
.service-block ul li::before,
.service-block-mini-content ul li::before {
  content: '✓';
  color: var(--blue);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.services-extra { background: var(--gray-light); }
.services-extra .section-header { text-align: center; max-width: 520px; margin: 0 auto 48px; }
.services-extra-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.extra-card {
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
}
.extra-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--blue-pale);
}
.extra-icon {
  width: 56px; height: 56px;
  margin: 0 auto 18px;
  background: var(--blue-pale);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}
.extra-card h3 { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.extra-card p { font-size: .87rem; color: var(--text-light); line-height: 1.65; }

/* === CONTACT PAGE === */
.contact-section { background: var(--blue-pale); }
.contact-intro {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 60px;
}
.contact-intro h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--blue-dark);
  margin-bottom: 8px;
}
.contact-intro h2 span { color: var(--red); }
.contact-intro p { font-size: 1.05rem; color: var(--blue); font-weight: 500; }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.contact-form-wrap h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 28px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.form-group label .req { color: var(--red); margin-left: 2px; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray);
  border-radius: 10px;
  font-size: .9rem;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(27,59,138,.08);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-note {
  font-size: .8rem;
  color: var(--text-light);
  margin-bottom: 20px;
}
.form-note a { color: var(--blue); font-weight: 600; }
.form-note a:hover { color: var(--red); }
.form-submit { width: 100%; text-align: center; justify-content: center; }

.contact-info-wrap {
  background: var(--blue-dark);
  border-radius: var(--radius-lg);
  padding: 40px;
  color: var(--white);
}
.contact-info-wrap h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 28px;
}
.contact-info-items { display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px; }
.contact-info-item { display: flex; gap: 14px; }
.ci-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: rgba(255,255,255,.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.ci-content .ci-label {
  font-size: .73rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.5);
  margin-bottom: 4px;
}
.ci-content .ci-value {
  font-size: .9rem;
  color: rgba(255,255,255,.85);
  line-height: 1.5;
}
.ci-content .ci-value strong { color: var(--white); font-size: 1rem; }

.map-embed {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 220px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
}
.map-embed iframe { width: 100%; height: 100%; border: none; }
.map-overlay-open {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 10;
  background: #fff;
  color: #333;
  font-size: 13px;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 3px;
  box-shadow: 0 1px 4px rgba(0,0,0,.3);
  text-decoration: none;
  pointer-events: all;
}
.map-overlay-open:hover { background: #f0f0f0; color: #000; }
.map-open-link {
  display: block;
  margin-top: 10px;
  font-size: .8rem;
  color: rgba(255,255,255,.6);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: var(--transition);
}
.map-open-link:hover { color: var(--white); }
.map-label {
  text-align: center;
  margin-top: 8px;
  font-size: .8rem;
  font-weight: 600;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: .1em;
}

/* === 404 PAGE === */
.page-404 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 60%, var(--blue-mid) 100%);
  padding: 40px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-404::before {
  content: '404';
  position: absolute;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(200px, 30vw, 380px);
  font-weight: 900;
  color: rgba(255,255,255,.04);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  pointer-events: none;
}
.error-content { position: relative; z-index: 1; }
.error-icon {
  font-size: 4rem;
  margin-bottom: 24px;
}
.error-content h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}
.error-content p {
  font-size: 1.05rem;
  color: rgba(255,255,255,.75);
  max-width: 460px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.error-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}
.error-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.error-nav a {
  color: rgba(255,255,255,.5);
  font-size: .85rem;
  padding: 6px 14px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,.15);
  transition: var(--transition);
}
.error-nav a:hover { background: rgba(255,255,255,.1); color: var(--white); }

/* === GDPR PAGE === */
.gdpr-section { background: var(--white); }
.gdpr-content {
  max-width: 800px;
  margin: 0 auto;
}
.gdpr-content .last-updated {
  font-size: .82rem;
  color: var(--text-light);
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gray);
}
.gdpr-block { margin-bottom: 40px; }
.gdpr-block h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 14px;
  padding-left: 16px;
  border-left: 3px solid var(--red);
}
.gdpr-block p {
  font-size: .92rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 12px;
}
.gdpr-block ul {
  padding-left: 20px;
  margin: 12px 0;
}
.gdpr-block ul li {
  list-style: disc;
  font-size: .92rem;
  color: var(--text-light);
  line-height: 1.8;
  padding: 2px 0;
}
.gdpr-block a { color: var(--blue); font-weight: 500; }
.gdpr-block a:hover { color: var(--red); }

/* === COOKIE BANNER === */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: var(--blue-dark);
  color: var(--white);
  padding: 20px 24px;
  box-shadow: 0 -4px 32px rgba(0,0,0,.25);
  transform: translateY(100%);
  transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-icon { font-size: 1.6rem; flex-shrink: 0; }
.cookie-text { flex: 1; min-width: 240px; }
.cookie-text p { font-size: .88rem; color: rgba(255,255,255,.8); line-height: 1.6; }
.cookie-text a { color: #7eb3ff; font-weight: 600; }
.cookie-text a:hover { color: var(--white); }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; flex-wrap: wrap; }
.cookie-accept {
  padding: 10px 24px;
  background: var(--blue);
  color: var(--white);
  border-radius: 8px;
  font-size: .85rem;
  font-weight: 600;
  transition: var(--transition);
  border: 2px solid var(--blue);
}
.cookie-accept:hover { background: var(--blue-mid); }
.cookie-decline {
  padding: 10px 20px;
  background: transparent;
  color: rgba(255,255,255,.6);
  border-radius: 8px;
  font-size: .85rem;
  font-weight: 600;
  transition: var(--transition);
  border: 2px solid rgba(255,255,255,.2);
}
.cookie-decline:hover { color: var(--white); border-color: rgba(255,255,255,.4); }

/* === LUCIDE ICONS === */
.feature-icon svg,
.service-card-icon svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.8; }
.value-icon svg  { width: 30px; height: 30px; stroke: currentColor; stroke-width: 1.8; }
.cert-icon svg   { width: 26px; height: 26px; stroke: currentColor; stroke-width: 1.8; }
.extra-icon svg  { width: 28px; height: 28px; stroke: currentColor; stroke-width: 1.8; }
.ci-icon svg     { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.8; }
.footer-contact-item .icon svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 1.8; }
.about-img-badge .badge-icon svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.8; }
.cookie-icon svg { width: 28px; height: 28px; stroke: currentColor; stroke-width: 1.8; }
.error-icon svg  { width: 72px; height: 72px; stroke: currentColor; stroke-width: 1.4; }
.page-hero-breadcrumb svg { width: 14px; height: 14px; stroke: currentColor; vertical-align: middle; }

/* === ANIMATIONS === */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up:nth-child(2) { transition-delay: .1s; }
.fade-up:nth-child(3) { transition-delay: .2s; }
.fade-up:nth-child(4) { transition-delay: .3s; }
.fade-up:nth-child(5) { transition-delay: .4s; }
.fade-up:nth-child(6) { transition-delay: .5s; }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .about-home .container,
  .about-intro .container,
  .parent-inner,
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .about-intro-img { display: none; }
  .about-facility-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-badge { align-self: center; }
  .stats-bar .container { grid-template-columns: repeat(4, 1fr); }
  .service-block,
  .service-block.reverse { grid-template-columns: 1fr; height: auto; }
  .service-block-pair { grid-template-columns: 1fr; }
  .service-block.reverse .service-block-img,
  .service-block.reverse .service-block-content { order: unset; }
  .service-block-img img { height: 240px; }
  .services-extra-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .hero-scroll { display: none; }
  .nav-brand { flex-direction: column; align-items: flex-start; gap: 5px; }
  .nav-brand img { height: 32px; }
  .nav-brand-text .name { font-size: .52rem; letter-spacing: .04em; }
  .nav-menu { display: none; flex-direction: column; gap: 4px; }
  .nav-menu.open {
    display: flex;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--white);
    padding: 16px 24px 20px;
    box-shadow: var(--shadow);
    z-index: 999;
    border-top: 1px solid var(--gray);
  }
  .nav-lang { display: none; }
  .nav-lang.open { display: flex; margin-left: 0; margin-top: 8px; }
  .nav-toggle { display: flex; }
  .nav-divider { display: none; }
  .hero { height: 70vh; min-height: 500px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-bar .container { grid-template-columns: repeat(2, 1fr); }
  .footer-main { padding: 32px 0 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px 24px; }
  .footer-brand { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; }
  .footer-brand img { height: 32px; margin-bottom: 0; }
  .footer-brand p { margin-top: 0; font-size: .78rem; }
  .footer-col:last-child { grid-column: 1 / -1; }
  .footer-col h4 { margin-bottom: 12px; padding-bottom: 8px; }
  .footer-links { gap: 7px; }
  .footer-contact-items { gap: 10px; }
  .footer-bottom { padding: 14px 0; }
  .contact-form-wrap, .contact-info-wrap { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .service-block-content { padding: 28px 24px; }
  .values-grid { grid-template-columns: 1fr; }
  .services-extra-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 56px 0 48px; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .stats-bar .container { grid-template-columns: repeat(4, 1fr); }
  .stat-item { padding: 14px 6px; border-right: 1px solid var(--gray); border-bottom: none; }
  .stat-item:last-child { border-right: none; border-bottom: none; }
  .stat-num { font-size: 1.1rem; }
  .stat-label { font-size: .58rem; margin-top: 3px; }
  .cert-inner { flex-direction: column; gap: 10px; align-items: stretch; }
  .cert-item { padding: 14px 20px; width: 100%; box-sizing: border-box; min-height: 72px; }
  .cert-text .name { font-size: 1rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
}
