/* =========================================================
   LARES IT SOLUTIONS - HOME PAGE
========================================================= */

:root {
  --home-navy: #101052;
  --home-navy-dark: #08082f;

  --home-blue: #343fb8;
  --home-blue-dark: #27319c;

  --home-orange: #dc3512;
  --home-orange-light: #f25a35;

  --home-teal: #24b9a3;

  --home-text: #101036;
  --home-muted: #747688;

  --home-white: #ffffff;
  --home-soft: #f6f6fb;
  --home-soft-blue: #f0f1fa;

  --home-border: #e5e6f0;

  --home-shadow:
    0 18px 45px rgba(16, 16, 82, 0.11);

  --home-transition: 0.3s ease;
}

/* =========================================================
   RESET
========================================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;

  overflow-x: hidden;

  color: var(--home-text);
  background: var(--home-white);

  font-family:
    "Manrope",
    Arial,
    sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  text-decoration: none;
}

/* =========================================================
   COMMON HOME CLASSES
========================================================= */

.home-container {
  width: min(
    1180px,
    calc(100% - 40px)
  );

  margin-inline: auto;
}

.home-section {
  padding: 70px 0;
}

.home-section-label,
.home-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;

  color: var(--home-orange);

  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.home-section-label::before {
  content: "";

  width: 28px;
  height: 2px;

  flex-shrink: 0;

  background: var(--home-orange);
}

.home-section-heading {
  max-width: 760px;

  margin:
    0 auto
    34px;

  text-align: center;
}

.home-section-heading .home-section-label {
  justify-content: center;
}

.home-section-heading h2 {
  margin: 11px 0 0;

  color: var(--home-text);

  font-size: clamp(
    1.9rem,
    3.5vw,
    2.7rem
  );

  line-height: 1.16;
  letter-spacing: -0.04em;
}

.home-section-heading p {
  max-width: 650px;

  margin:
    13px auto
    0;

  color: var(--home-muted);

  font-size: 14px;
  line-height: 1.75;
}

/* =========================================================
   BUTTONS
========================================================= */

.home-btn {
  min-height: 45px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;

  padding: 10px 20px;

  border: 0;
  border-radius: 5px;

  font-size: 13px;
  font-weight: 800;

  transition:
    transform var(--home-transition),
    box-shadow var(--home-transition),
    background var(--home-transition);
}

.home-btn:hover {
  transform: translateY(-2px);
}

.home-btn-primary {
  color: var(--home-white);

  background:
    linear-gradient(
      135deg,
      var(--home-orange),
      var(--home-orange-light)
    );

  box-shadow:
    0 12px 25px
    rgba(220, 53, 18, 0.28);
}

.home-btn-primary:hover {
  box-shadow:
    0 16px 30px
    rgba(220, 53, 18, 0.35);
}

.home-btn-light {
  color: var(--home-white);

  border:
    1px solid
    rgba(255, 255, 255, 0.42);

  background:
    rgba(255, 255, 255, 0.09);

  backdrop-filter: blur(7px);
}

.home-btn-light:hover {
  background:
    rgba(255, 255, 255, 0.16);
}

.home-btn-navy {
  color: var(--home-white);

  background:
    linear-gradient(
      135deg,
      var(--home-navy),
      var(--home-blue)
    );

  box-shadow:
    0 12px 26px
    rgba(52, 63, 184, 0.24);
}

.home-btn-white {
  color: var(--home-navy);
  background: var(--home-white);
}

/* =========================================================
   HERO SLIDER
========================================================= */

.lares-hero,
.lares-hero-track,
.lares-hero-slide,
.lares-hero-inner {
  min-height: 510px;
}

.lares-hero {
  position: relative;

  overflow: hidden;

  background: var(--home-navy);
}

.lares-hero-track {
  position: relative;
}

.lares-hero-slide {
  position: absolute;
  inset: 0;

  opacity: 0;
  visibility: hidden;

  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;

  transition:
    opacity 0.7s ease,
    visibility 0.7s ease;
}

.lares-hero-slide.is-active {
  position: relative;

  opacity: 1;
  visibility: visible;
}

/* Remove round circle shape */
.lares-hero-slide::after {
  display: none !important;
  content: none !important;
}

.lares-hero-overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(8, 8, 47, 0.94) 0%,
      rgba(16, 16, 82, 0.83) 48%,
      rgba(16, 16, 82, 0.28) 100%
    );
}

.lares-hero-inner {
  position: relative;
  z-index: 2;

  display: flex;
  align-items: center;
}

.lares-hero-content {
  width: 100%;
  max-width: 760px;

  padding:
    55px 0
    72px;
}

.home-kicker {
  padding: 8px 13px;

  border:
    1px solid
    rgba(255, 255, 255, 0.22);

  border-radius: 999px;

  color: var(--home-white);

  background:
    rgba(255, 255, 255, 0.08);
}

.lares-hero-content h1,
.lares-hero-content h2 {
  max-width: 760px;

  margin: 14px 0 0;

  color: var(--home-white);

  font-size: clamp(
    2.4rem,
    4.2vw,
    3.9rem
  );

  line-height: 1.08;
  letter-spacing: -0.05em;
}

.lares-hero-content h1 em,
.lares-hero-content h2 em {
  color: var(--home-white);
  font-style: normal;
}

.lares-hero-content p {
  max-width: 650px;

  margin: 18px 0 0;

  color:
    rgba(255, 255, 255, 0.84);

  font-size: 14px;
  line-height: 1.75;
}

.lares-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 11px;

  margin-top: 24px;
}

/* Hero arrows */

.lares-hero-arrow {
  position: absolute;
  z-index: 5;
  top: 50%;

  width: 42px;
  height: 42px;

  display: grid;
  place-items: center;

  padding: 0;

  border:
    1px solid
    rgba(255, 255, 255, 0.34);

  border-radius: 50%;

  color: var(--home-white);

  background:
    rgba(16, 16, 82, 0.52);

  font-size: 13px;

  transform: translateY(-50%);

  cursor: pointer;

  transition:
    background var(--home-transition),
    transform var(--home-transition);
}

.lares-hero-arrow:hover {
  background: var(--home-orange);

  transform:
    translateY(-50%)
    scale(1.05);
}

.lares-hero-prev {
  left: 18px;
}

.lares-hero-next {
  right: 18px;
}

/* Hero dots */

.lares-hero-dots {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 20px;

  display: flex;
  align-items: center;
  gap: 8px;

  transform: translateX(-50%);
}

.lares-hero-dot {
  width: 8px;
  height: 8px;

  padding: 0;

  border: 0;
  border-radius: 999px;

  background:
    rgba(255, 255, 255, 0.45);

  cursor: pointer;

  transition:
    width var(--home-transition),
    background var(--home-transition);
}

.lares-hero-dot.is-active {
  width: 28px;

  background: var(--home-orange);
}

/* =========================================================
   ABOUT COMPANY
========================================================= */

.home-about {
  padding: 70px 0;

  background: var(--home-white);
}

.home-about-grid {
  display: grid;

  grid-template-columns:
    minmax(0, 0.95fr)
    minmax(0, 1.05fr);

  gap: 55px;

  align-items: center;
}

.home-about-visual {
  position: relative;

  min-height: 420px;
}

/* One normal image */

.home-about-shape {
  position: relative;

  width: 100%;
  height: 420px;

  overflow: hidden;

  border-radius: 10px;

  background: var(--home-soft);

  box-shadow: var(--home-shadow);

  clip-path: none;
}

.home-about-shape img {
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;
}

.home-about-pattern {
  display: none;
}

/* Experience box */

.home-experience-card {
  position: absolute;
  z-index: 3;
  left: 18px;
  bottom: 18px;

  width: 235px;

  display: grid;

  grid-template-columns:
    75px
    minmax(0, 1fr);

  align-items: center;
  gap: 8px;

  padding: 16px 18px;

  border-right:
    5px solid
    var(--home-orange);

  color: var(--home-white);

  background:
    linear-gradient(
      135deg,
      var(--home-navy),
      var(--home-blue)
    );

  box-shadow:
    0 15px 35px
    rgba(16, 16, 82, 0.22);
}

.home-experience-card strong {
  color: var(--home-white);

  font-size: 2.7rem;
  font-weight: 500;
  line-height: 1;
}

.home-experience-card span {
  color:
    rgba(255, 255, 255, 0.78);

  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

/* About content */

.home-about-content h2 {
  margin: 10px 0 16px;

  color: var(--home-text);

  font-size: clamp(
    2rem,
    3.5vw,
    2.75rem
  );

  line-height: 1.12;
  letter-spacing: -0.04em;
}

.home-about-content > p {
  margin: 0 0 13px;

  color: var(--home-muted);

  font-size: 14px;
  line-height: 1.75;
}

.home-about-points {
  display: grid;
  gap: 10px;

  margin:
    20px 0
    24px;
}

.home-about-points > div {
  display: flex;
  align-items: center;
  gap: 9px;

  color: var(--home-text);

  font-size: 13px;
  font-weight: 700;
}

.home-about-points i {
  flex-shrink: 0;

  color: var(--home-orange);
}

/* =========================================================
   OUR EXPERTISE
========================================================= */

.home-expertise-section {
  padding: 70px 0;

  background:
    linear-gradient(
      180deg,
      var(--home-soft),
      var(--home-white)
    );
}

/* Desktop 3 cards per row */

.home-expertise-grid {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 20px;
}

.home-expertise-card {
  position: relative;

  min-height: 300px;

  overflow: hidden;

  border:
    1px solid
    var(--home-border);

  border-radius: 11px;

  background-color: var(--home-navy);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;

  box-shadow:
    0 14px 32px
    rgba(16, 16, 82, 0.1);

  transition:
    transform var(--home-transition),
    box-shadow var(--home-transition),
    border-color var(--home-transition);
}

.home-expertise-card:hover {
  transform: translateY(-6px);

  border-color:
    rgba(220, 53, 18, 0.45);

  box-shadow:
    0 20px 42px
    rgba(16, 16, 82, 0.16);
}

.home-expertise-overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      180deg,
      rgba(16, 16, 82, 0.08) 20%,
      rgba(16, 16, 82, 0.94) 100%
    );
}

.home-expertise-card > span {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 18px;

  width: 36px;
  height: 36px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  color: var(--home-white);
  background: var(--home-orange);

  font-size: 10px;
  font-weight: 800;
}

.home-expertise-card h3 {
  position: absolute;
  z-index: 2;
  left: 20px;
  right: 58px;
  bottom: 24px;

  margin: 0;

  color: var(--home-white);

  font-size: 17px;
  line-height: 1.35;
}

.home-expertise-card > i {
  position: absolute;
  z-index: 2;
  right: 20px;
  bottom: 23px;

  width: 34px;
  height: 34px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  color: var(--home-white);
  background: var(--home-orange);

  font-size: 11px;

  transition:
    transform var(--home-transition);
}

.home-expertise-card:hover > i {
  transform: rotate(45deg);
}

/* =========================================================
   INDUSTRIES
========================================================= */

.home-industries-section {
  padding: 70px 0;

  background: var(--home-white);
}

.home-industries-grid {
  display: grid;

  grid-template-columns:
    minmax(0, 0.9fr)
    minmax(0, 1.1fr);

  gap: 50px;

  align-items: center;
}

.home-industries-visual {
  position: relative;

  min-height: auto;

  margin-left: 0;
}

.home-industries-visual img {
  width: 100%;
  height: 500px;

  object-fit: cover;
  object-position: center;

  border-radius: 11px;

  box-shadow: var(--home-shadow);
}

.home-industries-caption {
  position: absolute;
  right: 18px;
  bottom: 18px;

  width:
    min(
      370px,
      calc(100% - 36px)
    );

  padding: 19px 22px;

  border-radius: 7px;

  color: var(--home-white);

  background:
    linear-gradient(
      135deg,
      var(--home-navy),
      var(--home-blue)
    );
}

.home-industries-caption span {
  display: block;

  color:
    rgba(255, 255, 255, 0.72);

  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-industries-caption strong {
  display: block;

  margin-top: 6px;

  color: var(--home-white);

  font-size: 20px;
  line-height: 1.3;
}

.home-industries-content {
  padding: 0;
}

.home-industries-content h2 {
  margin: 10px 0 15px;

  color: var(--home-text);

  font-size: clamp(
    2rem,
    3.5vw,
    2.75rem
  );

  line-height: 1.12;
  letter-spacing: -0.04em;
}

.home-industries-intro {
  margin: 0 0 22px;

  color: var(--home-muted);

  font-size: 14px;
  line-height: 1.75;
}

/* =========================================================
   INDUSTRIES ACCORDION
========================================================= */

.home-accordion {
  display: grid;
  gap: 11px;
}

.home-accordion-item {
  overflow: hidden;

  border:
    1px solid
    var(--home-border);

  border-radius: 7px;

  background: var(--home-white);

  box-shadow:
    0 8px 22px
    rgba(16, 16, 82, 0.055);
}

.home-accordion-button {
  width: 100%;
  min-height: 52px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;

  padding: 13px 17px;

  border: 0;

  color: var(--home-navy);

  background: var(--home-soft-blue);

  font-size: 13px;
  font-weight: 800;
  text-align: left;

  cursor: pointer;

  transition:
    color var(--home-transition),
    background var(--home-transition);
}

.home-accordion-button i {
  flex-shrink: 0;

  color: var(--home-navy);

  font-size: 12px;
}

.home-accordion-item.is-open
.home-accordion-button {
  color: var(--home-white);

  background:
    linear-gradient(
      135deg,
      var(--home-navy),
      var(--home-blue)
    );
}

.home-accordion-item.is-open
.home-accordion-button i {
  color: var(--home-teal);
}

/* Closed answer */

.home-accordion-content {
  max-height: 0;

  overflow: hidden;

  background: var(--home-white);

  opacity: 0;

  transition:
    max-height 0.4s ease,
    opacity 0.3s ease;
}

/* Open answer */

.home-accordion-item.is-open
.home-accordion-content {
  max-height: 400px;

  opacity: 1;
}

.home-accordion-content > div {
  overflow: visible;
}

.home-accordion-content p {
  margin: 0;

  padding: 17px 19px;

  color: var(--home-muted);

  font-size: 13px;
  line-height: 1.75;
}

/* =========================================================
   WHY LARES
========================================================= */

.home-why {
  padding: 70px 0;

  background:
    linear-gradient(
      180deg,
      var(--home-soft),
      var(--home-white)
    );
}

.home-why-grid {
  display: grid;

  grid-template-columns:
    repeat(4, minmax(0, 1fr));

  gap: 17px;
}

.home-why-card {
  position: relative;

  min-height: 235px;

  overflow: hidden;

  padding: 25px;

  border:
    1px solid
    var(--home-border);

  border-radius: 10px;

  background: var(--home-white);

  box-shadow:
    0 13px 30px
    rgba(16, 16, 82, 0.065);

  transition:
    transform var(--home-transition),
    border-color var(--home-transition),
    box-shadow var(--home-transition);
}

.home-why-card:hover {
  transform: translateY(-5px);

  border-color:
    rgba(220, 53, 18, 0.42);

  box-shadow:
    0 18px 38px
    rgba(16, 16, 82, 0.11);
}

.home-why-card > span {
  position: absolute;
  top: 10px;
  right: 15px;

  color: #ececf4;

  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
}

.home-why-card > i {
  position: relative;
  z-index: 2;

  width: 48px;
  height: 48px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  color: var(--home-white);
  background: var(--home-orange);

  font-size: 17px;
}

.home-why-card h3 {
  position: relative;
  z-index: 2;

  margin:
    19px 0
    8px;

  color: var(--home-text);

  font-size: 16px;
}

.home-why-card p {
  position: relative;
  z-index: 2;

  margin: 0;

  color: var(--home-muted);

  font-size: 12px;
  line-height: 1.7;
}

/* =========================================================
   CTA SECTION
========================================================= */

.home-cta-section {
  padding:
    0 0
    75px;

  background: var(--home-white);
}

.home-cta-card {
  display: grid;

  grid-template-columns:
    75px
    minmax(0, 1fr)
    auto;

  gap: 22px;

  align-items: center;

  padding: 30px 35px;

  border-radius: 8px;

  color: var(--home-white);

  background:
    linear-gradient(
      135deg,
      var(--home-navy),
      var(--home-blue)
    );

  box-shadow: var(--home-shadow);
}

.home-cta-icon {
  width: 66px;
  height: 66px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  color: var(--home-white);
  background: var(--home-orange);

  font-size: 24px;
}

.home-cta-card span {
  color:
    rgba(255, 255, 255, 0.72);

  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.home-cta-card h2 {
  margin: 5px 0 0;

  color: var(--home-white);

  font-size: clamp(
    1.55rem,
    2.7vw,
    2.2rem
  );

  line-height: 1.2;
}

.home-cta-card p {
  max-width: 630px;

  margin: 7px 0 0;

  color:
    rgba(255, 255, 255, 0.78);

  font-size: 12px;
  line-height: 1.65;
}

/* =========================================================
   SCROLL REVEAL
========================================================= */

.reveal {
  opacity: 0;

  transform: translateY(25px);

  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;

  transform: translateY(0);
}

/* =========================================================
   LAPTOP
========================================================= */

@media (max-width: 1199px) {
  .home-container {
    width: min(
      1120px,
      calc(100% - 36px)
    );
  }

  .lares-hero-content {
    padding-left: 45px;
    padding-right: 45px;
  }

  .home-about-grid,
  .home-industries-grid {
    gap: 38px;
  }

  .home-why-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {
  .lares-hero,
  .lares-hero-track,
  .lares-hero-slide,
  .lares-hero-inner {
    min-height: 490px;
  }

  .lares-hero-content {
    max-width: 690px;

    padding:
      48px 45px
      72px;
  }

  .lares-hero-content h1,
  .lares-hero-content h2 {
    font-size: clamp(
      2.2rem,
      6vw,
      3.3rem
    );
  }

  .home-about-grid,
  .home-industries-grid {
    grid-template-columns: 1fr;
  }

  .home-about-visual,
  .home-industries-visual {
    width: min(100%, 680px);

    margin-inline: auto;
  }

  .home-expertise-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .home-industries-visual img {
    height: 420px;
  }

  .home-cta-card {
    grid-template-columns:
      66px
      minmax(0, 1fr);
  }

  .home-cta-card .home-btn {
    grid-column: 1 / -1;

    justify-self: start;
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {
  .home-container {
    width:
      min(
        100% - 28px,
        1180px
      );
  }

  .home-section,
  .home-about,
  .home-expertise-section,
  .home-industries-section,
  .home-why {
    padding: 52px 0;
  }

  .home-section-heading {
    margin-bottom: 28px;
  }

  .home-section-heading h2 {
    font-size: clamp(
      1.65rem,
      8vw,
      2.15rem
    );
  }

  .lares-hero,
  .lares-hero-track,
  .lares-hero-slide,
  .lares-hero-inner {
    min-height: 465px;
  }

  .lares-hero-content {
    padding:
      43px 0
      78px;
  }

  .lares-hero-content h1,
  .lares-hero-content h2 {
    font-size: clamp(
      2rem,
      9vw,
      2.65rem
    );

    line-height: 1.1;
  }

  .lares-hero-content p {
    font-size: 13px;
    line-height: 1.65;
  }

  /* Mobile buttons side-by-side */

  .lares-hero-actions {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 8px;
  }

  .lares-hero-actions .home-btn {
    flex: 1;

    min-width: 0;
    min-height: 42px;

    padding: 9px 10px;

    font-size: 11px;
  }

  .lares-hero-arrow {
    top: auto;
    bottom: 15px;

    width: 38px;
    height: 38px;

    transform: none;
  }

  .lares-hero-arrow:hover {
    transform: scale(1.04);
  }

  .lares-hero-prev {
    left: 14px;
  }

  .lares-hero-next {
    right: 14px;
  }

  .lares-hero-dots {
    bottom: 29px;
  }

  .home-about-shape {
    height: 330px;
  }

  .home-about-visual {
    min-height: 330px;
  }

  .home-experience-card {
    left: 12px;
    bottom: 12px;

    width: 215px;

    padding: 13px 14px;

    grid-template-columns:
      66px
      minmax(0, 1fr);
  }

  .home-experience-card strong {
    font-size: 2.35rem;
  }

  .home-experience-card span {
    font-size: 11px;
  }

  .home-about-content h2,
  .home-industries-content h2 {
    font-size: clamp(
      1.75rem,
      8vw,
      2.2rem
    );
  }

  .home-expertise-grid {
    grid-template-columns: 1fr;
  }

  .home-expertise-card {
    min-height: 275px;
  }

  .home-industries-visual img {
    height: 330px;
  }

  .home-industries-caption {
    position: relative;

    right: auto;
    bottom: auto;

    width: 100%;

    margin-top: 11px;
  }

  .home-industries-caption strong {
    font-size: 18px;
  }

  .home-why-grid {
    grid-template-columns: 1fr;
  }

  .home-why-card {
    min-height: auto;
  }

  .home-cta-card {
    grid-template-columns: 1fr;

    padding: 26px 20px;

    text-align: center;
  }

  .home-cta-icon,
  .home-cta-card .home-btn {
    justify-self: center;
  }
}

/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {
  .lares-hero-content h1,
  .lares-hero-content h2 {
    font-size: 2rem;
  }

  .home-kicker {
    padding: 7px 10px;

    font-size: 9px;
  }

  .lares-hero-dots {
    display: none;
  }

  .lares-hero-actions .home-btn {
    padding: 9px 7px;

    font-size: 10px;
  }

  .home-about-visual {
    min-height: auto;
  }

  .home-about-shape {
    height: 285px;
  }

  .home-experience-card {
    position: relative;

    left: auto;
    bottom: auto;

    width: 100%;

    margin-top: 11px;
  }

  .home-expertise-card {
    min-height: 255px;
  }

  .home-industries-visual img {
    height: 285px;
  }

  .home-accordion-button {
    min-height: 50px;

    padding: 12px 14px;

    font-size: 12px;
  }

  .home-accordion-content p {
    padding: 15px;

    font-size: 12px;
  }
}