:root {
  --navy: #2b2a5c;
  --navy-deep: #232149;
  --orange: #f5a623;
  --orange-hover: #e09400;
  --gray-100: #f3f4f7;
  --white: #fff;
  --muted: #6f7090;
  --bdr: #e3e4ec;
  --font: 'Barlow', sans-serif;
  --radius-btn: 10px 10px 28px 4px;
  --header-h: 92px;
  --transition: 0.28s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font);
  color: var(--navy);
  line-height: 1.5;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5vw;
}

.section {
  padding: 100px 0;
}

/* ─── REVEAL ─── */
[data-reveal] {
  opacity: 0;
  translate: 0 28px;
  transition: opacity .65s ease, translate .65s ease;
}

[data-reveal].revealed {
  opacity: 1;
  translate: 0 0;
}

/* ─── HEADER ─── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  height: var(--header-h);
  padding-left: 5vw;
  padding-right: 0;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  box-shadow: 0 0 0 0 rgba(0, 0, 0, .0);
  transition: height .3s ease, box-shadow .3s ease, background .3s ease, backdrop-filter .3s ease;
}

.site-header.scrolled {
  background: var(--white);
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
  box-shadow: 0 2px 18px rgba(0, 0, 0, .09);
  height: 74px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  color: var(--white);
  transition: color .3s ease;
}

.logo svg {
  display: block;
  transition: color .3s ease;
}

.site-header.scrolled .logo {
  color: var(--navy);
}

.logo-badge {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 22px;
  color: var(--navy);
  letter-spacing: 0;
  flex-shrink: 0;
  transition: width .3s ease, height .3s ease, font-size .3s ease;
}

.site-header.scrolled .logo-badge {
  width: 44px;
  height: 44px;
  font-size: 18px;
}

.logo-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.logo-wordmark strong {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: .02em;
}

.logo-wordmark small {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .22em;
  color: var(--muted);
}

.site-header.scrolled .logo-wordmark strong {
  font-size: 22px;
}

.main-nav {
  display: flex;
  gap: 38px;
  margin-left: auto;
  margin-right: 48px;
}

.main-nav a {
  font-weight: 500;
  font-size: 16px;
  color: var(--white);
  position: relative;
  padding: 6px 0;
  transition: color .3s ease;
}

.site-header.scrolled .main-nav a {
  color: var(--navy);
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width var(--transition);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--orange);
}

.header-cta {
  background: var(--orange);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 44px;
  height: var(--header-h);
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .04em;
  white-space: nowrap;
  align-self: stretch;
  transition: height .3s ease;
}

.site-header.scrolled .header-cta {
  height: 74px;
}

.header-cta:hover {
  background: var(--orange-hover);
}

.nav-toggle {
  display: none;
}

.nav-toggle span {
  transition: background .3s ease;
}

.site-header.scrolled .nav-toggle span {
  background: var(--navy);
}

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: calc(-1 * var(--header-h));
  padding-top: var(--header-h);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(rgba(22, 21, 44, .72), rgba(35, 33, 73, .8)), url('../img/bg-hero.webp') center/cover;
}

.hero-content {
  position: relative;
  z-index: 2;
  margin: inherit;
}

.hero h1 {
  font-size: clamp(2.6rem, 5.2vw, 4.6rem);
  line-height: 1.08;
  font-weight: 300;
  color: var(--white);
  margin: 20px 0 32px;
}

.hero h1 strong {
  font-weight: 700;
  display: block;
}

.hero-lines {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: clamp(260px, 50vw, 660px);
  z-index: 1;
  pointer-events: none;
  opacity: 0.8;
}

/* ─── HERO ROTATOR ─── */
.hero-rotator {
  position: relative;
  margin: 20px 0 32px;
  min-height: clamp(5.8rem, 11vw, 9.8rem);
}

.rotator-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity .7s ease, transform .7s ease;
  transform: translateY(18px);
  font-size: clamp(2.6rem, 5.2vw, 4.6rem);
  line-height: 1.08;
  font-weight: 300;
  color: var(--white);
  margin: 0;
}

.rotator-text strong {
  font-weight: 700;
  display: block;
}

.rotator-text.active {
  opacity: 1;
  transform: translateY(0);
  position: relative;
  pointer-events: auto;
}

/* ─── EYEBROW & TITLE ─── */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.eyebrow span {
  font-weight: 600;
  font-size: 20px;
  letter-spacing: .03em;
}

.eyebrow.white,
.eyebrow.white span {
  color: var(--white);
}

.eyebrow:not(.white),
.eyebrow:not(.white) span {
  color: var(--navy);
}

.chevrons {
  width: 34px;
  height: 20px;
  color: var(--orange);
  flex-shrink: 0;
}

.title {
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -.01em;
}

.title strong {
  font-weight: 700;
}

.title.white {
  color: var(--white);
}

.title.center {
  text-align: center;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: var(--white);
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: .03em;
  padding: 15px 36px;
  border-radius: var(--radius-btn);
  transition: background var(--transition), translate var(--transition);
}

.btn:hover {
  background: var(--orange-hover);
  translate: 0 -2px;
}

.btn-sm {
  padding: 12px 28px;
  font-size: 14px;
  border-radius: 8px 8px 22px 4px;
}

.plus {
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
}

/* ─── SECTION HEAD ─── */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

/* ─── SECTION LINK (Ver más) ─── */
.section-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 36px;
  font-weight: 600;
  font-size: 16px;
  color: var(--orange);
  transition: gap var(--transition);
}

.section-link:hover {
  gap: 16px;
}

.section-link svg {
  width: 18px;
  height: 18px;
}

/* ─── SERVICES ─── */
.services {
  background: var(--navy-deep);
  padding: 110px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
}

/* ─── CARD ─── */
.card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  display: block;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16/10;
}

.card-caption {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 26px 30px 22px;
  background: linear-gradient(transparent, rgba(22, 21, 44, .88) 40%);
  color: var(--white);
  font-weight: 500;
  font-size: 18px;
}

.card-caption>span:last-child {
  flex: 1;
}

.card-badge {
  width: 46px;
  height: 46px;
  border-radius: 5px;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;

  svg {
    width: 20px;
    height: 20px;
  }
}

.card-badge--float {
  position: absolute;
  left: 24px;
  bottom: 68px;
  z-index: 3;
}

.card-proj {
  aspect-ratio: 3/4;
}

.card-proj img {
  aspect-ratio: 3/4;
}

/* ─── CTA BAND ─── */
.cta-band {
  background: var(--navy-deep);
  position: relative;
  z-index: 2;
}

.cta-photo {
  position: relative;
  margin-top: 48px;
  margin-bottom: 0;
  border-radius: 16px;
  overflow: visible;
}

.cta-photo img {
  width: 100%;
  border-radius: 16px;
}

.cta-band .cta-photo {
  margin-bottom: -220px;
  z-index: 2;
}

.photo-btn {
  position: absolute;
  top: 28px;
  left: 28px;
  padding: 13px 32px;
  font-size: 15px;
  border-radius: 10px 10px 28px 4px;
}

/* ─── STATS ─── */
.stats-section {
  padding-top: 260px;
  padding-bottom: 80px;
}

.stats {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: center;
}

.stat-main {
  padding: 10px 0;
}

.stat-num {
  font-size: clamp(3.4rem, 8vw, 4.8rem);
  font-weight: 800;
  line-height: .95;
  color: var(--navy);
  display: block;
  letter-spacing: -.02em;
}

.stat-num em {
  font-style: normal;
  font-weight: 600;
  font-size: .42em;
  vertical-align: super;
  letter-spacing: 0;
}

.stat-label {
  font-size: 22px;
  font-weight: 300;
  color: var(--navy);
  margin-top: 6px;
  letter-spacing: .01em;
}

.stat-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.stat-card {
  border: 1px solid var(--bdr);
  border-radius: 14px;
  padding: 38px 22px 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.stat-card svg {
  color: var(--orange);
}

.stat-card strong {
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
}

.stat-card span {
  font-size: 16px;
  font-weight: 400;
  color: var(--muted);
}

/* ─── PROJECTS ─── */
.projects {
  padding-bottom: 100px;
}

.carousel-viewport {
  margin-left: 5vw;
  margin-right: 5vw;
  overflow: hidden;
}

.carousel {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding-bottom: 10px;
  scrollbar-width: none;
}

.carousel::-webkit-scrollbar {
  display: none;
}

.carousel .card-proj {
  flex: 0 0 calc((100% - 84px) / 3.85);
  scroll-snap-align: start;
}

.pager {
  display: flex;
  gap: 14px;
  margin-top: 44px;
  justify-content: center;
}

.pager button {
  width: 60px;
  height: 10px;
  border: 1px solid var(--navy);
  background: transparent;
  border-radius: 10px;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
}

.pager button.active {
  background: var(--orange);
  border-color: var(--orange);
}

.pager button:hover:not(.active) {
  border-color: var(--orange);
}

/* ─── TESTIMONIOS ─── */
.testimonios {
  background: var(--gray-100);
  padding-bottom: 80px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.t-card {
  background: var(--navy);
  border-radius: 18px;
  padding: 42px 26px 36px;
  position: relative;
  color: var(--white);
  text-align: center;
}

.t-card--orange {
  background: var(--orange);
  color: var(--navy);
}

.t-card p {
  font-weight: 300;
  font-size: 15px;
  line-height: 1.6;
  margin-top: 10px;
}

.t-quote {
  display: block;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 64px;
  line-height: 0.5;
  text-align: left;
  opacity: .35;
}

.t-quote--close {
  text-align: right;
  margin-top: 12px;
}

.t-author {
  font-size: 13px;
  font-weight: 600;
  margin-top: 14px;
  opacity: .75;
}

/* ─── CLIENTES ─── */
.clientes {
  padding-top: 80px;
  padding-bottom: 90px;
}

.logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 44px;
  margin-top: 48px;
}

.logos img {
  height: 60px;
  width: auto;
  max-width: 160px;
  filter: grayscale(1);
  opacity: .75;
}

/* ─── NEWS HOME ─── */
.news {
  padding-bottom: 100px;
}

.news-card {
  display: grid;
  grid-template-columns: 45% 1fr;
  gap: 48px;
  margin-top: 36px;
  align-items: center;
}

.news-card:hover .news-body h3 {
  color: var(--orange);
}

.news-img {
  border-radius: 14px;
  overflow: hidden;
}

.news-img img {
  width: 100%;
}

.news-body {
  padding: 12px 0;
}

.news-file {
  display: inline-block;
  border: 1px solid #c9cad6;
  padding: 8px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: .02em;
  margin-bottom: 16px;
}

.news-body h3 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 8px;
  transition: color var(--transition);
}

.news-body p {
  font-size: 17px;
  color: var(--muted);
  font-weight: 300;
}

/* ─── PAGE HERO (INTERNAL PAGES) ─── */
.page-hero {
  background: var(--navy-deep);
  padding: calc(var(--header-h) + 60px) 0 50px;
}

.page-hero .title {
  color: var(--white);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, .5);
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 12px;
}

.breadcrumb a {
  color: var(--orange);
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* ─── ABOUT PAGE ─── */
.about-intro {
  padding: 80px 0;
}

.about-intro p {
  font-size: 18px;
  line-height: 1.7;
  font-weight: 300;
  max-width: 900px;
  color: var(--muted);
}

.about-intro p:first-child {
  color: var(--navy);
  font-size: 20px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 48px;
}

.about-card {
  background: var(--gray-100);
  border-radius: 18px;
  padding: 44px 36px;
}

.about-card h3 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 16px;
}

.about-card p {
  font-size: 17px;
  line-height: 1.7;
  font-weight: 300;
  color: var(--muted);
}

.about-values {
  padding: 80px 0;
  background: var(--gray-100);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.value-card {
  background: var(--white);
  border-radius: 16px;
  padding: 40px 28px;
  text-align: center;
  box-shadow: 0 1px 6px rgba(0, 0, 0, .04);
  transition: translate var(--transition), box-shadow var(--transition);
}

.value-card:hover {
  translate: 0 -6px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .08);
}

.value-card .value-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--white);
  font-size: 28px;
  font-weight: 800;
}

.value-card h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.value-card p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  font-weight: 400;
}

.about-team {
  padding: 80px 0;
}

.about-team .cta-photo {
  margin-top: 36px;
}

.about-team .photo-btn {
  display: none;
}

/* ─── SERVICES DETAIL ─── */
.services-page {
  background: var(--white);
}

.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 80px 0;
  border-bottom: 1px solid var(--bdr);
}

.service-block:last-child {
  border-bottom: none;
}

.service-block.reversed .service-img {
  order: 2;
}

.service-block.reversed .service-content {
  order: 1;
}

.service-img {
  border-radius: 16px;
  overflow: hidden;
}

.service-img img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.service-content .service-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}

.service-content h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
}

.service-content p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
  font-weight: 300;
  margin-bottom: 20px;
}

.service-features {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
}

.service-features li::before {
  content: '✓';
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.service-cta {
  background: var(--navy-deep);
  padding: 90px 0;
  text-align: center;
}

.service-cta .title {
  color: var(--white);
}

.service-cta .btn {
  margin-top: 24px;
}

/* ─── PROJECTS PAGE ─── */
.projects-body {
  padding: 60px 0 100px;
}

.project-filters {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.project-filters button {
  padding: 10px 26px;
  border: 1px solid var(--bdr);
  border-radius: 40px;
  background: var(--white);
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  cursor: pointer;
  font-family: var(--font);
  transition: all var(--transition);
}

.project-filters button.active,
.project-filters button:hover {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.projects-grid .card-proj {
  aspect-ratio: 3/4;
}

.projects-grid .card-proj img {
  aspect-ratio: 3/4;
}

.projects-grid .card-proj .card-caption {
  font-size: 16px;
  padding: 22px 24px 18px;
}

.projects-grid .card-proj.hidden {
  display: none;
}

/* ─── NEWS PAGE ─── */
.news-body-page {
  padding: 60px 0 100px;
}

.news-list {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.news-item {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 36px;
  align-items: center;
}

.news-item-img {
  border-radius: 14px;
  overflow: hidden;
}

.news-item-img img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.news-item-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 4px 0;
}

.news-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

.news-meta .news-cat {
  background: var(--orange);
  color: var(--white);
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.news-item h3 {
  font-size: 22px;
  font-weight: 700;
  transition: color var(--transition);
}

.news-item:hover h3 {
  color: var(--orange);
}

.news-item p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  font-weight: 300;
}

/* ─── CONTACT PAGE ─── */
.contact-body {
  padding: 60px 0 100px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 36px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}

.form-group input,
.form-group textarea {
  padding: 14px 18px;
  border: 1px solid var(--bdr);
  border-radius: 10px;
  font-family: var(--font);
  font-size: 16px;
  color: var(--navy);
  transition: border-color var(--transition);
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--orange);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.form-message {
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  display: none;
}

.form-message.success {
  display: block;
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #c8e6c9;
}

.form-message.error {
  display: block;
  background: #fbe9e7;
  color: #c62828;
  border: 1px solid #ffccbc;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-info-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--white);
}

.contact-info-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--white);
}

.contact-info-text strong {
  display: block;
  font-size: 16px;
  margin-bottom: 4px;
}

.contact-info-text p,
.contact-info-text a {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  transition: color var(--transition);
}

.contact-info-text a:hover {
  color: var(--orange);
}

/* ─── WHATSAPP FLOAT ─── */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 200;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, .4);
  transition: transform var(--transition), box-shadow var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 8px 28px rgba(37, 211, 102, .5);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
}

/* ─── FOOTER ─── */
.site-footer {
  background: var(--navy);
  color: var(--white);
  padding: 80px 0 40px;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-logo {
  margin-bottom: 14px;
  display: block;
}

.footer-logo img {
  width: 140px;
}

.logo-badge--sm {
  width: 50px;
  height: 50px;
  font-size: 20px;
}

.footer-label {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--muted);
  margin-top: 6px;
}

.footer-text {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.5;
}

.footer-link {
  font-size: 18px;
  font-weight: 600;
  transition: color var(--transition);
}

.footer-link:hover {
  color: var(--orange);
}

.footer-col--nav {
  gap: 14px;
}

.footer-col--nav a:not(.btn) {
  font-size: 16px;
  font-weight: 500;
  padding: 2px 0;
  transition: color var(--transition);
}

.footer-col--nav a:not(.btn):hover {
  color: var(--orange);
}

.footer-col--nav .btn {
  margin-top: 14px;
  align-self: flex-start;
}

.footer-social {
  display: flex;
  gap: 14px;
  margin-top: 8px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), border-color var(--transition);
}

.footer-social a:hover {
  background: var(--orange);
  border-color: var(--orange);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  fill: var(--white);
}

.footer-bottom {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.footer-members-label {
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
}

.footer-members {
  display: flex;
  align-items: center;
  gap: 0;
}

.member {
  padding: 6px 22px;
  font-size: 14px;
  font-weight: 500;
  border-right: 1px solid rgba(255, 255, 255, .2);
}

.member:last-child {
  border-right: none;
}

.member strong {
  font-weight: 800;
  font-size: 15px;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 16px;
}

.footer-legal a {
  font-size: 13px;
  color: var(--muted);
  transition: color var(--transition);
}

.footer-legal a:hover {
  color: var(--white);
}

.footer-copy {
  font-size: 13px;
  color: var(--muted);
  margin-top: 16px;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1080px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-card {
    grid-template-columns: 1fr 1fr;
  }

  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-block {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .service-block.reversed .service-img {
    order: 0;
  }

  .service-features {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .section {
    padding: 70px 0;
  }

  .services-grid,
  .stats {
    grid-template-columns: 1fr;
  }

  .stat-cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-item {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--white);
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease, padding .4s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .06);
  }

  .main-nav.open {
    max-height: 320px;
    padding: 16px 5vw 24px;
  }

  .main-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--bdr);
    color: var(--navy);
    font-size: 17px;
  }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-left: auto;
    margin-right: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 101;
  }

  .nav-toggle span {
    display: block;
    width: 28px;
    height: 2.5px;
    background: var(--white);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition), background .3s ease;
  }

  .site-header.scrolled .nav-toggle span {
    background: var(--navy);
  }

  .nav-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  .news-card {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-lines {
    width: 62%;
    opacity: .45;
  }

  .carousel .card-proj {
    flex: 0 0 calc((100% - 56px) / 2.05);
  }

  .cta-band .cta-photo {
    margin-bottom: -120px;
  }

  .stats-section {
    padding-top: 160px;
  }
}

@media (max-width: 600px) {
  .site-header {
    height: 68px;
  }

  :root {
    --header-h: 68px;
  }

  .logo svg {
    width: 130px;
  }

  .logo-badge {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .logo-wordmark strong {
    font-size: 20px;
  }

  .logo-wordmark small {
    font-size: 7px;
  }

  .header-cta {
    padding: 0 24px;
    font-size: 13px;
    height: 68px;
  }

  .site-header.scrolled {
    height: 60px;
  }

  .site-header.scrolled .header-cta {
    height: 60px;
  }

  .stat-cards {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .logos {
    gap: 28px;
  }

  .logos img {
    height: 44px;
  }

  .carousel .card-proj {
    flex: 0 0 calc((100% - 28px) / 1.2);
  }

  .carousel-viewport {
    margin-left: 3vw;
    margin-right: 3vw;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .news-item {
    grid-template-columns: 1fr;
  }

  .service-features {
    grid-template-columns: 1fr;
  }

  .project-filters {
    gap: 8px;
  }

  .project-filters button {
    padding: 8px 18px;
    font-size: 13px;
  }

  .cta-photo .photo-btn {
    top: 14px;
    left: 14px;
    padding: 10px 22px;
    font-size: 13px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .rotator-text {
    font-size: 2rem;
  }

  .hero-rotator {
    min-height: auto;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 18px;
    right: 18px;
  }

  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }

  .cta-band .cta-photo {
    margin-bottom: 0;
  }

  .stats-section {
    padding-top: 80px;
  }
}