/* =====================================================
   SATOME GROUP — style.css
   ===================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:    #1C4095;
  --green:   #00906A;
  --purple:  #6934E2;
  --dark:    #1A1A1A;
  --text:    #4A4A4A;
  --muted:   #6B6B6B;
  --border:  #E4E3E0;
  --nav-border: #EFEEEC;
  --bg-grey: #FBFBFB;
  --white:   #FFFFFF;
  --max-w:   1360px;
  --pad-x:   280px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* =====================================================
   UTILITIES
   ===================================================== */
.container {
  max-width: calc(var(--max-w) + var(--pad-x) * 2);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.section-label {
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--blue);
  letter-spacing: 0.04em;
}

.section-title {
  font-size: 36px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--dark);
}

.section-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  font-family: inherit;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s;
  white-space: nowrap;
}
.btn:hover { opacity: 0.85; }

.btn--primary {
  background: var(--blue);
  color: var(--white);
}

.btn--secondary {
  background: transparent;
  color: var(--blue);
  border: 1px solid var(--blue);
}

.btn--full { width: 100%; }

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  transition: opacity 0.2s;
}
.btn-link:hover { opacity: 0.75; }
.btn-link svg { flex-shrink: 0; }

/* =====================================================
   SCROLL REVEAL
   ===================================================== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.65s ease calc(var(--delay, 0ms)),
    transform 0.65s ease calc(var(--delay, 0ms));
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hero text variant — faster, slides from left */
.reveal--hero {
  transform: translateX(-24px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.reveal--hero.is-visible {
  transform: translateX(0);
}

/* =====================================================
   NAV
   ===================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--nav-border);
}

.nav__inner {
  max-width: calc(var(--max-w) + var(--pad-x) * 2);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  height: 80px;
  display: flex;
  align-items: center;
  gap: 48px;
}

.nav__logo img { height: 36px; width: auto; }

.nav__links {
  display: flex;
  gap: 32px;
  margin-right: auto;
}

.nav__links a {
  font-size: 18px;
  color: var(--text);
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--blue); }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  transition: all 0.25s;
}

.nav__mobile {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 150;
  background: var(--white);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 24px;
}
.nav__mobile.is-open { display: flex; }

.nav__mobile-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav__mobile-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.nav__mobile-links a {
  font-size: 18px;
  color: var(--text);
  transition: color 0.2s;
}
.nav__mobile-links a:hover { color: var(--blue); }

/* =====================================================
   HERO
   ===================================================== */
.hero {
  margin-top: 80px;
  min-height: calc(980px - 80px);
  display: flex;
  align-items: stretch;
  position: relative;
  overflow: hidden;
  background: var(--white);
}

.hero__content {
  flex: 0 0 auto;
  width: 55%;
  display: flex;
  align-items: flex-start;
  padding: 180px 80px 180px 280px;
  position: relative;
  z-index: 2;
  background: linear-gradient(90deg, #fff 65%, rgba(255,255,255,0) 100%);
}

.hero__text {
  max-width: 612px;
}

.hero h1 {
  display: block;
  font-size: 48px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--dark);
  margin-bottom: 24px;
}

.hero__desc {
  font-size: 24px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text);
  margin-bottom: 16px;
}

.hero__tagline {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--muted);
  margin-bottom: 48px;
}

.hero__ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__photo {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 60%;
  overflow: hidden;
}

.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* =====================================================
   DIVISIONS
   ===================================================== */
.divisions {
  background: var(--bg-grey);
  padding: 160px var(--pad-x);
}

.divisions > .container {
  padding: 0;
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.divisions__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  align-items: stretch;
}

.division-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.division-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.division-card__icon {
  width: 70px;
  height: 80px;
  flex-shrink: 0;
}

.division-card__num {
  font-size: 36px;
  font-weight: 600;
  color: rgba(0,0,0,0.05);
  line-height: 1;
}

.division-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.division-card__label {
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.division-card__title {
  font-size: 36px;
  font-weight: 600;
  line-height: 1.5;
}

.division-card__desc {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text);
}

.division-card__divider {
  border: none;
  border-top: 1px solid var(--border);
}

.division-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.division-card__list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
}

.division-card__list li::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  background: var(--blue);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* =====================================================
   PARTNERS
   ===================================================== */
.partners {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.partners__header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.partners__title {
  font-size: 28px;
  font-weight: 600;
  color: var(--dark);
  white-space: nowrap;
}

.partners__line {
  flex: 1;
  border: none;
  border-top: 1px solid var(--border);
}

.partners__track-wrap {
  overflow: hidden;
  position: relative;
}

.partners__logos {
  display: flex;
  align-items: center;
  gap: 24px;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.partners__logos:hover { animation-play-state: paused; }

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.partners__logos img {
  height: 44px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  flex-shrink: 0;
}

.partners__dot {
  width: 8px;
  height: 8px;
  background: #D9D9D9;
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* =====================================================
   WHY US / EXPERIENCE CARDS
   ===================================================== */
.why-us {
  background: var(--white);
  padding: 160px var(--pad-x);
}

.why-us > .container {
  padding: 0;
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 48px;
}

.exp-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.exp-card__img {
  width: 100%;
  height: 160px;
  background-size: cover;
  background-position: center;
  border-radius: 3px;
  flex-shrink: 0;
}

.exp-card__title {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--dark);
}

.exp-card__desc {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text);
}

.why-us .section-title,
.why-us .section-label {
  align-self: flex-start;
}

/* Row dividers between card rows */
.why-us .section-divider { align-self: stretch; }

/* =====================================================
   CONTACT
   ===================================================== */
.contact {
  padding: 160px var(--pad-x);
  background:
    linear-gradient(270deg, rgba(255,255,255,0) 26.17%, rgba(255,255,255,0.8) 56.27%, #fff 72.94%),
    url('assets/img/contact-bg.jpg') right center / cover no-repeat;
  overflow: hidden;
}

.contact__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 120px;
  align-items: start;
}

.contact__left {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact__right {
  /* form column */
}

.contact__photo {
  display: none;
}

.contact__desc {
  font-size: 18px;
  line-height: 1.5;
  color: var(--text);
}

/* Checkboxes */
.contact__checks {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact__check {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: default;
}

.contact__check input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid var(--blue);
  flex-shrink: 0;
  position: relative;
  cursor: default;
}

.contact__check input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 3px;
  top: 0px;
  width: 10px;
  height: 13px;
  border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(45deg);
}

.contact__check span {
  font-size: 18px;
  color: var(--dark);
  line-height: 1.5;
}

/* Form */

.contact-form {
  background: var(--white);
  border: 1px solid #DADADA;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 16px;
  font-weight: 400;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: inherit;
  font-size: 16px;
  color: var(--dark);
  background: var(--white);
  border: 1px solid var(--border);
  padding: 8px 16px;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #B2B2B2;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 7L11 1' stroke='%234A4A4A' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
  color: var(--text);
}

.form-group textarea {
  resize: vertical;
  min-height: 108px;
  padding: 12px 16px;
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* =====================================================
   POPUP
   ===================================================== */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.popup-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

.popup {
  background: var(--white);
  padding: 48px 40px;
  max-width: 440px;
  width: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  transform: translateY(16px);
  transition: transform 0.25s;
}
.popup-overlay.is-open .popup {
  transform: translateY(0);
}

.popup__icon { margin-bottom: 8px; }

.popup__title {
  font-size: 24px;
  font-weight: 600;
  color: var(--dark);
}

.popup__text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
  background: var(--dark);
  padding: 48px var(--pad-x);
}

.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.footer__logo img { height: 48px; width: auto; }

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: flex-end;
  align-items: center;
}

.footer__nav a {
  font-size: 18px;
  color: #B2B2B2;
  transition: color 0.2s;
}
.footer__nav a:hover { color: var(--white); }

.footer__divider {
  border: none;
  border-top: 1px solid #444444;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer__bottom span,
.footer__bottom a {
  font-size: 18px;
  color: #B2B2B2;
}

.footer__bottom a:hover { color: var(--white); }

/* =====================================================
   RESPONSIVE — TABLET (1280px)
   ===================================================== */
@media (max-width: 1280px) {
  :root {
    --pad-x: 80px;
  }

  .hero__content {
    padding: 120px 80px;
    width: 55%;
  }

  .hero__photo {
    width: 55%;
  }

  .hero h1 { font-size: 40px; }
  .hero__desc { font-size: 20px; }

  .divisions__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .division-card__title { font-size: 28px; }

  .contact__inner { gap: 60px; }
}

/* =====================================================
   RESPONSIVE — MOBILE (768px)
   ===================================================== */
@media (max-width: 768px) {
  :root {
    --pad-x: 20px;
  }

  /* Nav */
  .nav__inner {
    padding: 8px 12px;
    height: 64px;
    gap: 0;
  }
  .nav__links,
  .nav__inner > .btn { display: none; }
  .nav__burger { display: flex; }

  /* Hero */
  .hero {
    margin-top: 64px;
    flex-direction: column;
    min-height: auto;
  }

  .hero__content {
    width: 100%;
    padding: 40px 12px;
    background: var(--white);
  }

  .hero__photo {
    position: relative;
    width: 100%;
    height: 351px;
  }

  .hero__photo img {
    object-position: center top;
  }

  .hero h1 { font-size: 30px; }
  .hero__desc { font-size: 18px; }
  .hero__tagline { font-size: 14px; }
  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { width: 100%; justify-content: center; }

  /* Divisions */
  .divisions {
    padding: 40px 12px;
  }

  .divisions__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Why us */
  .why-us {
    padding: 40px 12px;
  }

  .why-us > .container { gap: 40px; }

  .cards-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Section label smaller on mobile */
  .section-label { font-size: 12px; }

  /* Contact */
  .contact {
    padding: 40px 12px;
    background: var(--white);
  }

  .contact__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact__right {
    grid-column: 1;
    grid-row: 2;
  }

  .form-row { grid-template-columns: 1fr; }

  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  /* Footer */
  .footer {
    padding: 40px 12px;
  }

  .footer__inner { gap: 32px; }

  .footer__top {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .footer__nav {
    justify-content: flex-start;
    gap: 8px 16px;
  }

  .footer__nav a,
  .footer__bottom span,
  .footer__bottom a { font-size: 14px; }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  /* Sections container fix */
  .divisions > .container,
  .why-us > .container {
    max-width: 100%;
    padding: 0;
  }
}
