/* ===== DEFAULT APPLE VARIABLES ===== */
:root {
  --apple-blue: #0071E3;
  --apple-blue-hover: #0077ED;
  --apple-text: #1d1d1f;
  --apple-bg: #f5f5f7;
  --apple-gray: #86868b;
  --white: #ffffff;
  --gray-100: #f5f5f7;
  --gray-200: #e5e5ea;
  --gray-900: #1d1d1f;
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
  --radius: 18px;
  --radius-lg: 28px;
  --radius-pill: 980px;
  --transition: .3s cubic-bezier(0.25, 0.1, 0.25, 1);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ===== RESET ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--apple-text);
  background: var(--apple-bg);
  line-height: 1.47059;
  letter-spacing: -0.015em;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ===== CONTAINER ===== */
.container {
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== SECTION ===== */
.section {
  padding: 120px 0;
}

.section--gray {
  background: var(--apple-bg);
}

.section--dark {
  background: #000000;
  color: var(--white);
}

.section__header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

.section__label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--apple-blue);
  margin-bottom: 16px;
}

.section__label--light {
  color: var(--apple-gray);
}

.section__title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--apple-text);
  line-height: 1.08;
  margin-bottom: 20px;
}

.section__title--light {
  color: var(--white);
}

.section__sub {
  font-size: 21px;
  font-weight: 400;
  color: var(--apple-gray);
  line-height: 1.381;
  letter-spacing: -0.01em;
}


/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: -0.01em;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--apple-blue);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--apple-blue-hover);
  transform: scale(0.98);
}

.btn--outline {
  background: rgba(0, 0, 0, 0.05);
  color: var(--apple-text);
}

.btn--outline:hover {
  background: rgba(0, 0, 0, 0.08);
  transform: scale(0.98);
}

.btn--lg {
  padding: 16px 32px;
  font-size: 17px;
}

.btn--sm {
  padding: 8px 16px;
  font-size: 12px;
}

.btn--full {
  width: 100%;
  justify-content: center;
}


/* ===== HEADER (APPLE GLASSMORPHISM) ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 14px 0;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all var(--transition);
}

.header.scrolled {
  padding: 10px 0;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.logo__img {
  height: 38px;
  width: auto;
  opacity: 0.9;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav__link {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: rgba(0, 0, 0, 0.8);
  transition: all var(--transition);
}

.nav__link:hover {
  color: var(--apple-blue);
}

.nav__link--cta {
  background: var(--apple-blue);
  color: var(--white) !important;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
}

.nav__link--cta:hover {
  background: var(--apple-blue-hover);
  transform: scale(0.96);
}


.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav__toggle span {
  display: block;
  height: 2px;
  background: var(--gray-900);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 180px 0 0;
  overflow: hidden;
  background: var(--white);
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 80% at 70% 30%, rgba(0, 113, 227, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding-bottom: 80px;
}

.hero__badge {
  display: inline-block;
  background: rgba(0, 174, 239, .12);
  color: var(--blue-dark);
  border: 1px solid rgba(0, 174, 239, .25);
  border-radius: 40px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero__title {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 900;
  line-height: 1.1;
  color: var(--gray-900);
  margin-bottom: 20px;
}

.hero__highlight {
  color: var(--blue-dark);
}

.hero__sub {
  font-size: 18px;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero__trust {
  display: flex;
  align-items: center;
  gap: 24px;
}

.trust-item {
  text-align: center;
}

.trust-item__number {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: var(--blue-dark);
}

.trust-item__label {
  font-size: 12px;
  color: var(--gray-500);
  font-weight: 500;
}

.trust-divider {
  width: 1px;
  height: 40px;
  background: var(--gray-200);
}

.hero__img-wrapper {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition);
}

.hero__img-wrapper:hover {
  transform: scale(1.02);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

.hero__img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.hero__img-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(0, 174, 239, 0.95);
  color: white;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 12px 32px rgba(0, 174, 239, 0.3);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero__wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  line-height: 0;
}

.hero__wave svg {
  width: 100%;
  height: 80px;
}

/* ===== HERO VIDEO ===== */
.hero-video {
  position: relative;
  z-index: 10;
  padding: 40px 0 96px;
  background: var(--white);
}

.hero-video__wrapper {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 0, 0, 0.05);
  line-height: 0;
  transition: all var(--transition);
}

.hero-video__wrapper:hover {
  transform: scale(1.02);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

.hero-video__player {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ===== WHAT IS ===== */
.what-is__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.what-is__image {
  position: relative;
}

.what-is__img {
  border-radius: 32px;
  width: 100%;
  height: 440px;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition);
}

.what-is__img:hover {
  transform: scale(1.02);
}

.what-is__img-overlay {
  background: rgba(0, 174, 239, 0.95);
  color: white;
  padding: 24px 32px;
  border-radius: 24px;
  max-width: 100%;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  box-shadow: 0 12px 32px rgba(0, 174, 239, 0.3);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.what-is__text {
  color: var(--gray-500);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 16px;
}

.what-is__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.tag {
  background: var(--cyan-light);
  color: var(--blue-dark);
  border: 1px solid rgba(0, 174, 239, .2);
  padding: 6px 14px;
  border-radius: 40px;
  font-size: 13px;
  font-weight: 600;
}

/* ===== SOLUTIONS ===== */
.solutions__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.solution-card {
  background: var(--white);
  border: none;
  border-radius: 32px;
  padding: 40px;
  position: relative;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.solution-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: var(--shadow-md);
}

.solution-card--featured {
  box-shadow: var(--shadow-lg);
  outline: 2px solid var(--apple-blue);
  outline-offset: -2px;
}

.solution-card__badge {
  position: absolute;
  top: 24px;
  right: 24px;
  background: var(--apple-blue);
  color: white;
  font-size: 11px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.solution-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.solution-card__icon--blue,
.solution-card__icon--cyan {
  background: #000000;
}

.solution-card__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.solution-card__text {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 20px;
}

.solution-card__features {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.solution-card__features li {
  font-size: 13px;
  color: var(--gray-700);
  padding-left: 20px;
  position: relative;
}

.solution-card__features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--apple-blue);
  font-weight: 700;
}

.solutions__cta {
  text-align: center;
}

/* ===== HOW IT WORKS ===== */
.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.step {
  flex: 1;
  text-align: center;
}

.step__number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #01427a, var(--apple-blue));
  color: white;
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 8px 24px rgba(0, 113, 227, 0.4);
}

.step__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.step__text {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.7;
  max-width: 220px;
  margin: 0 auto;
}

.step__connector {
  flex: 0 0 60px;
  height: 2px;
  background: linear-gradient(90deg, #01427a, var(--apple-blue));
  margin-top: 32px;
  position: relative;
}

.step__connector::before,
.step__connector::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.step__connector::before {
  left: 0;
  background: #01427a;
}

.step__connector::after {
  right: 0;
  background: var(--apple-blue);
}

/* ===== BENEFITS ===== */
.benefits__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: center;
}

.benefits__sub {
  font-size: 16px;
  color: rgba(255, 255, 255, .7);
  line-height: 1.7;
  margin-bottom: 36px;
}

.benefits__list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.benefit-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.benefit-item__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: rgba(0, 113, 227, 0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-item__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.benefit-item__text {
  font-size: 13px;
  color: rgba(255, 255, 255, .65);
  line-height: 1.6;
}

/* ===== GALLERY ===== */
.gallery__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 280px 280px;
  gap: 16px;
}

.gallery__item {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.gallery__item--wide {
  grid-row: 1 / 3;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.gallery__item:hover img {
  transform: scale(1.05);
}

.gallery__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
  color: white;
  padding: 32px 24px 24px;
  font-size: 15px;
  font-weight: 500;
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery__item:hover .gallery__overlay {
  opacity: 1;
}

/* ===== PARTNERS ===== */
.partners__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.partners__text {
  color: var(--gray-500);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 24px;
}

.partners__benefits {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 36px;
}

.partners__benefits li {
  font-size: 15px;
  color: var(--gray-700);
  font-weight: 500;
}

.partners__form-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 32px;
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.partners__form-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.partners__form-card p {
  font-size: 14px;
  color: var(--gray-500);
  margin-bottom: 24px;
}

/* ===== FORMS ===== */
.form__group {
  margin-bottom: 20px;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form__label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--apple-gray);
  margin-bottom: 8px;
}

.form__input {
  width: 100%;
  padding: 14px 16px;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-family: var(--font);
  color: var(--apple-text);
  transition: all var(--transition);
  background: rgba(0, 0, 0, 0.03);
}

.form__input:focus {
  outline: none;
  background: rgba(0, 0, 0, 0.06);
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.1);
}

.form__textarea {
  resize: vertical;
  min-height: 120px;
}

.form__select {
  cursor: pointer;
}

/* ===== CONTACT ===== */
.contact__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact__form-wrapper {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 32px;
  padding: 48px;
  box-shadow: var(--shadow-lg);
}

.contact__office {
  margin-bottom: 32px;
}

.contact__office-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 10px;
}

.contact__office p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.8;
}

.contact__phone {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  color: var(--blue-dark);
  margin-top: 8px;
  transition: color var(--transition);
}

.contact__phone:hover {
  color: var(--cyan);
}

.contact__social {
  margin-top: 32px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--gray-900);
  color: white;
  padding: 60px 0 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.footer__logo {
  height: 40px;
  width: auto;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
  opacity: .85;
}

.footer__tagline {
  font-size: 14px;
  color: rgba(255, 255, 255, .5);
  line-height: 1.6;
}

.footer__links h4 {
  font-size: 14px;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.footer__links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  font-size: 14px;
  color: rgba(255, 255, 255, .55);
  transition: color var(--transition);
}

.footer__links a:hover {
  color: var(--cyan);
}

.footer__bottom {
  padding: 20px 0;
}

.footer__bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, .35);
  text-align: center;
}

/* ===== WHATSAPP BUTTON ===== */
.whatsapp-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .4);
  transition: all var(--transition);
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 32px rgba(37, 211, 102, .5);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .solutions__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero__inner,
  .what-is__grid,
  .benefits__inner,
  .partners__inner,
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero {
    padding-top: 120px;
    min-height: auto;
  }

  .hero__img {
    height: 360px;
  }

  .hero__image {
    order: -1;
  }

  .what-is__img-overlay {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: 16px;
    max-width: 100%;
  }

  .gallery__grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .gallery__item--wide {
    grid-row: auto;
  }

  .gallery__item {
    height: 240px;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }

  .steps {
    flex-wrap: wrap;
    gap: 32px;
  }

  .step__connector {
    display: none;
  }

  .step {
    flex: 0 0 calc(50% - 16px);
  }
}

@media (max-width: 768px) {
  .section {
    padding: 64px 0;
  }

  .nav {
    display: none;
    position: fixed;
    inset: 0;
    background: white;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 999;
  }

  .nav.open {
    display: flex;
  }

  .nav__list {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .nav__link {
    font-size: 18px;
    padding: 12px 24px;
  }

  .nav__toggle {
    display: flex;
    z-index: 1000;
  }

  .hero__actions {
    flex-direction: column;
  }

  .solutions__grid {
    grid-template-columns: 1fr;
  }

  .form__row {
    grid-template-columns: 1fr;
  }

  .step {
    flex: 0 0 100%;
  }

  .footer__inner {
    grid-template-columns: 1fr;
  }

  .hero__trust {
    flex-wrap: wrap;
    gap: 16px;
  }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__content>* {
  animation: fadeInUp .6s ease both;
}

.hero__content>*:nth-child(1) {
  animation-delay: .1s;
}

.hero__content>*:nth-child(2) {
  animation-delay: .2s;
}

.hero__content>*:nth-child(3) {
  animation-delay: .3s;
}

.hero__content>*:nth-child(4) {
  animation-delay: .4s;
}

.hero__content>*:nth-child(5) {
  animation-delay: .5s;
}