/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 4.5rem;

  /*========== Brand Colors (TRESAN Navy & Industrial Amber) ==========*/
  --navy-deep: #04152b;
  --navy-main: #062547;
  --navy-light: #0d3a6e;
  --first-color: #f59e0b;
  --first-color-alt: #d97706;
  --first-gradient: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
  --title-color: #062547;
  --text-color: #334155;
  --text-color-light: #64748b;
  --body-color: #f8fafc;
  --container-color: #ffffff;
  --white-color: #ffffff;
  --border-color: #e2e8f0;

  /*========== Font & Typography ==========*/
  --body-font: "Montserrat", sans-serif;
  --display-font: "Barlow Condensed", sans-serif;
  --big-font-size: 2.5rem;
  --h1-font-size: 2rem;
  --h2-font-size: 1.5rem;
  --h3-font-size: 1.15rem;
  --normal-font-size: 0.95rem;
  --small-font-size: 0.85rem;

  --z-tooltip: 10;
  --z-fixed: 100;
}

@media screen and (min-width: 1024px) {
  :root {
    --big-font-size: 3.9rem;
    --h1-font-size: 2.65rem;
    --h2-font-size: 2rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: 0.875rem;
  }
}

/*=============== BASE ===============*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
  color: var(--text-color);
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  color: var(--title-color);
  font-weight: 700;
  line-height: 1.2;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/*=============== SCROLL PROGRESS BAR ===============*/
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--first-gradient);
  z-index: 200;
  transition: width 0.1s linear;
}

/*=============== REUSABLE CLASSES ===============*/
.container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.grid {
  display: grid;
  gap: 2rem;
}

.section {
  padding-block: 5.5rem 2.5rem;
}

.section__subtitle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--first-color-alt);
  margin-bottom: 0.5rem;
}

.section__subtitle::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--first-gradient);
}

.section__title {
  font-family: var(--display-font);
  font-size: var(--h1-font-size);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1.25rem;
}

.section__header-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3rem;
}

.section__header-desc {
  max-width: 480px;
  color: var(--text-color-light);
}

@media screen and (min-width: 900px) {
  .section__header-row {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }
}

.text-gradient {
  background: linear-gradient(90deg, #fbbf24, #f97316);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/*=============== BUTTONS ===============*/
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.75rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  border: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.button--primary {
  background: var(--first-gradient);
  color: var(--navy-deep);
  box-shadow: 0 10px 25px rgba(245, 158, 11, 0.3);
}

.button--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(245, 158, 11, 0.45);
}

.button--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white-color);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
}

.button--ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}

.button--outline {
  background: transparent;
  color: var(--navy-main);
  border: 2px solid var(--navy-main);
}

.button--outline:hover {
  background: var(--navy-main);
  color: var(--white-color);
}

.button--full {
  width: 100%;
}

/*=============== HEADER & NAV ===============*/
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
  z-index: var(--z-fixed);
  transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
}

.header.bg-header {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(6, 37, 71, 0.08);
}

.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav__logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.nav__logo-dark {
  display: none;
}

.header.bg-header .nav__logo-white {
  display: none;
}

.header.bg-header .nav__logo-dark {
  display: block;
}

.nav__logo-text {
  display: flex;
  flex-direction: column;
}

.nav__logo-title {
  font-family: var(--display-font);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--white-color);
  line-height: 1;
}

.nav__logo-sub {
  font-size: 0.65rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.8px;
}

.header.bg-header .nav__logo-title {
  color: var(--navy-main);
}

.header.bg-header .nav__logo-sub {
  color: var(--text-color-light);
}

.nav__toggle,
.nav__close {
  font-size: 1.5rem;
  color: var(--white-color);
  cursor: pointer;
}

.header.bg-header .nav__toggle {
  color: var(--navy-main);
}

@media screen and (max-width: 960px) {
  .nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--navy-deep);
    padding: 5rem 2rem;
    transition: right 0.4s ease;
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.35);
  }
  .nav__menu.show-menu {
    right: 0;
  }
  .nav__list {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
  }
  .nav__link {
    color: var(--white-color);
    font-weight: 600;
    font-size: 1.1rem;
  }
  .nav__close {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
  }
}

@media screen and (min-width: 961px) {
  .nav__toggle,
  .nav__close {
    display: none;
  }
  .nav__list {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
  .nav__link {
    color: rgba(255, 255, 255, 0.88);
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.25s;
    position: relative;
  }
  .header.bg-header .nav__link {
    color: var(--navy-main);
  }
  .nav__link:hover,
  .nav__link.active-link {
    color: var(--first-color);
  }
  .nav__cta {
    background: var(--first-gradient);
    color: var(--navy-deep) !important;
    padding: 0.6rem 1.25rem;
    border-radius: 0.4rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
  }
}

/*=============== HOME / HERO ===============*/
.home {
  position: relative;
  min-height: 100vh;
  background: radial-gradient(circle at 20% 20%, #0d3a6e 0%, #04152b 65%, #020b18 100%);
  padding-top: calc(var(--header-height) + 3rem);
  padding-bottom: 4.5rem;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.home__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.home__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.08;
  pointer-events: none;
  z-index: 1;
}

.home__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
  z-index: 1;
}

.home__glow--1 {
  width: 360px;
  height: 360px;
  background: rgba(245, 158, 11, 0.18);
  top: -80px;
  right: 10%;
}

.home__glow--2 {
  width: 420px;
  height: 420px;
  background: rgba(30, 64, 175, 0.35);
  bottom: -120px;
  left: -80px;
}

.home__container {
  position: relative;
  z-index: 2;
  align-items: center;
}

@media screen and (min-width: 960px) {
  .home__container {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
  }
}

.home__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  padding: 0.45rem 1rem;
  border-radius: 999px;
  color: #e2e8f0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 1.25rem;
}

.home__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--first-color);
  box-shadow: 0 0 10px var(--first-color);
  animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

.home__title {
  font-family: var(--display-font);
  font-size: var(--big-font-size);
  color: var(--white-color);
  line-height: 1.05;
  margin-bottom: 1.25rem;
  letter-spacing: 0.5px;
}

.home__description {
  color: #cbd5e1;
  font-size: 1rem;
  max-width: 580px;
  margin-bottom: 2rem;
}

.home__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.home__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

@media screen and (min-width: 600px) {
  .home__stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.home__stat-num {
  font-family: var(--display-font);
  font-size: 2.25rem;
  color: var(--first-color);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.home__stat-desc {
  font-size: 0.78rem;
  color: #94a3b8;
  line-height: 1.3;
}

/* Hero Visual Composition */
.home__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.home__img-card {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.home__img-card--main {
  width: 100%;
  max-width: 440px;
  height: 460px;
}

.home__img-card--sub {
  position: absolute;
  bottom: -24px;
  left: -20px;
  width: 210px;
  height: 150px;
  border: 3px solid var(--navy-deep);
  display: none;
}

@media screen and (min-width: 640px) {
  .home__img-card--sub {
    display: block;
  }
}

.home__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home__img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(4, 21, 43, 0.85) 100%);
}

.home__floating-badge {
  position: absolute;
  bottom: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  padding: 0.75rem 1rem;
  border-radius: 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--navy-main);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.home__floating-badge i {
  font-size: 1.65rem;
  color: var(--first-color-alt);
}

.home__floating-badge strong {
  display: block;
  font-size: 0.85rem;
}

.home__floating-badge span {
  font-size: 0.72rem;
  color: var(--text-color-light);
}

.home__sub-tag {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(6, 37, 71, 0.9);
  color: var(--white-color);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.45rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.home__sub-tag i {
  color: var(--first-color);
}

/*=============== ABOUT / NOSOTROS ===============*/
.about__container {
  align-items: center;
}

@media screen and (min-width: 960px) {
  .about__container {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 4rem;
  }
}

.about__images {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.about__img-wrap {
  border-radius: 0.85rem;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(6, 37, 71, 0.12);
}

.about__img-wrap--1 {
  height: 320px;
}

.about__img-wrap--2 {
  height: 320px;
  margin-top: 2.5rem;
}

.about__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.about__img-wrap:hover .about__img {
  transform: scale(1.06);
}

.about__experience-box {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  width: 88%;
  background: var(--navy-main);
  color: var(--white-color);
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 15px 30px rgba(6, 37, 71, 0.25);
  border-left: 4px solid var(--first-color);
}

.about__exp-icon {
  font-size: 2rem;
  color: var(--first-color);
}

.about__experience-box h4 {
  color: var(--white-color);
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.about__experience-box p {
  font-size: 0.78rem;
  color: #cbd5e1;
}

.about__description {
  margin-bottom: 1.5rem;
}

/* Interactive Tabs */
.about__tabs {
  background: var(--container-color);
  border: 1px solid var(--border-color);
  border-radius: 0.85rem;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 6px 20px rgba(6, 37, 71, 0.04);
}

.about__tab-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.75rem;
}

.about__tab-btn {
  background: #f1f5f9;
  color: var(--text-color);
  border: none;
  padding: 0.45rem 0.9rem;
  border-radius: 0.4rem;
  font-family: var(--body-font);
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.about__tab-btn.active {
  background: var(--navy-main);
  color: var(--white-color);
}

.about__tab-content {
  display: none;
  font-size: 0.9rem;
  color: var(--text-color);
  animation: fadeIn 0.35s ease;
}

.about__tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.about__values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
}

.about__values-grid span {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--navy-main);
}

.about__values-grid i {
  color: var(--first-color-alt);
}

.about__list {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 1.75rem;
}

.about__item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 500;
  font-size: 0.92rem;
}

.about__item i {
  color: var(--first-color-alt);
  font-size: 1.15rem;
}

/*=============== SERVICES / SERVICIOS ===============*/
.services {
  position: relative;
  background: var(--navy-deep);
  color: var(--white-color);
  overflow: hidden;
}

.services .section__title {
  color: var(--white-color);
}

.services .section__header-desc {
  color: #cbd5e1;
}

.services__card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 1rem;
  padding: 2.25rem 1.75rem;
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
  height: auto;
  display: flex;
  flex-direction: column;
}

.services__card:hover {
  border-color: var(--first-color);
  background: rgba(255, 255, 255, 0.09);
}

.services__icon {
  width: 56px;
  height: 56px;
  border-radius: 0.75rem;
  background: var(--first-gradient);
  color: var(--navy-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  margin-bottom: 1.5rem;
}

.services__num {
  position: absolute;
  top: 1.5rem;
  right: 1.75rem;
  font-family: var(--display-font);
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.07);
}

.services__title {
  color: var(--white-color);
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.services__description {
  color: #cbd5e1;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  flex: 1;
}

.services__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.services__tags li {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.services__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.services__nav-btn {
  position: static !important;
  width: 44px !important;
  height: 44px !important;
  margin: 0 !important;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white-color) !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s;
}

.services__nav-btn::after {
  display: none !important;
}

.services__nav-btn:hover {
  background: var(--first-color);
  color: var(--navy-deep) !important;
}

.services__pagination {
  position: static !important;
  width: auto !important;
}

.services__pagination .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.35);
  opacity: 1;
}

.services__pagination .swiper-pagination-bullet-active {
  background: var(--first-color);
  width: 24px;
  border-radius: 999px;
}

/*=============== MACHINERY FLEET ===============*/
.machinery__header {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

@media screen and (min-width: 900px) {
  .machinery__header {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }
}

.machinery__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-btn {
  padding: 0.55rem 1.1rem;
  border-radius: 0.45rem;
  border: 1px solid var(--border-color);
  background: var(--container-color);
  color: var(--text-color);
  font-family: var(--body-font);
  font-weight: 600;
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--navy-main);
  color: var(--white-color);
  border-color: var(--navy-main);
}

.machinery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.machinery__card {
  background: var(--container-color);
  border: 1px solid var(--border-color);
  border-radius: 0.85rem;
  padding: 1.75rem 1.5rem;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.machinery__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 36px rgba(6, 37, 71, 0.08);
  border-color: var(--first-color);
}

.machinery__card.hide {
  display: none;
}

.machinery__badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 0.35rem;
  background: #fef3c7;
  color: #b45309;
}

.machinery__icon {
  width: 48px;
  height: 48px;
  border-radius: 0.65rem;
  background: #eff6ff;
  color: var(--navy-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.machinery__card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
}

.machinery__brand {
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--first-color-alt);
  margin-bottom: 0.6rem;
}

.machinery__spec {
  font-size: 0.82rem;
  color: var(--text-color-light);
}

/*=============== PROJECTS ===============*/
.projects {
  background: #f1f5f9;
}

.projects__container {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.projects__card {
  background: var(--container-color);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(6, 37, 71, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.projects__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(6, 37, 71, 0.12);
}

.projects__img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.projects__data {
  padding: 1.75rem;
}

.projects__data span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--first-color-alt);
}

.projects__title {
  font-size: 1.15rem;
  margin: 0.45rem 0 0.6rem;
}

.projects__location {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy-main);
  margin-bottom: 0.75rem;
}

.projects__desc {
  font-size: 0.88rem;
  color: var(--text-color-light);
}

.clients__banner {
  margin-top: 3.5rem;
  background: var(--navy-main);
  color: var(--white-color);
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
}

.clients__label {
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  font-weight: 700;
  color: var(--first-color);
  margin-bottom: 1.25rem;
}

.clients__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.clients__list span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.85rem 1rem;
  border-radius: 0.5rem;
}

.clients__list i {
  color: var(--first-color);
  font-size: 1.15rem;
}

/*=============== CONTACT ===============*/
@media screen and (min-width: 960px) {
  .contact__container {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3rem;
  }
}

.contact__info {
  display: grid;
  gap: 1.15rem;
}

.contact__card {
  background: var(--container-color);
  border: 1px solid var(--border-color);
  border-radius: 0.85rem;
  padding: 1.25rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: border-color 0.25s;
}

.contact__card:hover {
  border-color: var(--first-color);
}

.contact__card-icon {
  width: 44px;
  height: 44px;
  border-radius: 0.6rem;
  background: var(--navy-main);
  color: var(--first-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact__card h3 {
  font-size: 0.98rem;
  margin-bottom: 0.25rem;
}

.contact__card p,
.contact__card a {
  font-size: 0.86rem;
  color: var(--text-color);
}

.contact__card a:hover {
  color: var(--first-color-alt);
  text-decoration: underline;
}

.contact__form {
  background: var(--container-color);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 15px 40px rgba(6, 37, 71, 0.06);
}

.contact__form-title {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.contact__form-grid {
  display: grid;
  gap: 1rem;
}

@media screen and (min-width: 600px) {
  .contact__form-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact__input-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.contact__input-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy-main);
}

.contact__input-group input,
.contact__input-group select,
.contact__input-group textarea {
  padding: 0.8rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border-color);
  background: #f8fafc;
  font-family: var(--body-font);
  font-size: 0.9rem;
  color: var(--navy-main);
  outline: none;
  transition: border-color 0.25s;
}

.contact__input-group input:focus,
.contact__input-group select:focus,
.contact__input-group textarea:focus {
  border-color: var(--first-color);
  background: var(--white-color);
}

.contact__form-actions {
  display: grid;
  gap: 0.85rem;
}

@media screen and (min-width: 600px) {
  .contact__form-actions {
    grid-template-columns: 1fr 1fr;
  }
}

.contact__status {
  margin-top: 0.85rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #059669;
}

/*=============== FOOTER ===============*/
.footer {
  background: var(--navy-deep);
  color: #cbd5e1;
  padding-top: 4rem;
  padding-bottom: 2rem;
}

.footer__container {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white-color);
  margin-bottom: 1rem;
}

.footer__logo img {
  height: 44px;
}

.footer__logo span {
  display: block;
  font-family: var(--display-font);
  font-size: 1.2rem;
  font-weight: 700;
}

.footer__logo small {
  font-size: 0.75rem;
  color: var(--first-color);
}

.footer__description {
  font-size: 0.86rem;
  color: #94a3b8;
}

.footer__title {
  color: var(--white-color);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer__links,
.footer__info {
  display: grid;
  gap: 0.65rem;
  font-size: 0.86rem;
}

.footer__link {
  color: #94a3b8;
  transition: color 0.25s;
}

.footer__link:hover {
  color: var(--first-color);
}

.footer__info li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.footer__info i {
  color: var(--first-color);
  margin-top: 0.2rem;
}

.footer__copy {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.75rem;
  font-size: 0.82rem;
  color: #94a3b8;
}

/*=============== FLOATING WHATSAPP & SCROLL UP ===============*/
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  z-index: 90;
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-tooltip {
  position: absolute;
  left: 66px;
  background: var(--navy-main);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  border-radius: 0.4rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
}

.scrollup {
  position: fixed;
  right: 1.5rem;
  bottom: -30%;
  width: 44px;
  height: 44px;
  border-radius: 0.5rem;
  background: var(--first-gradient);
  color: var(--navy-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  z-index: 90;
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.35);
  transition: bottom 0.35s ease, transform 0.25s ease;
}

.scrollup.show-scroll {
  bottom: 1.5rem;
}

.scrollup:hover {
  transform: translateY(-4px);
}
