/* ==========================================================================
   Cortinas Metálicas Quiroz — Industrial identity
   Signature: horizontal slat motif (metal curtain lamas)
   ========================================================================== */

:root {
  --header-h: 124px;
  --navy-900: #081526;
  --navy-800: #0c2038;
  --navy-700: #143352;
  --navy-600: #1c4670;
  --steel-500: #526478;
  --steel-400: #72889c;
  --metal: #9aafc2;
  --gray-100: #dde5ed;
  --gray-200: #c8d4e0;
  --gray-300: #b0bec9;
  --white: #ffffff;
  --red: #d62828;
  --red-dark: #b91f1f;
  --red-glow: rgba(214, 40, 40, 0.18);
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --whatsapp: #25d366;
  --whatsapp-dark: #1ebe57;
  --font-primary: 'Open Sans', sans-serif;
  --font-brand: 'Bebas Neue', sans-serif;
  --transition: 0.3s ease;
  --radius: 6px;
  --radius-lg: 12px;
  --shadow: 0 4px 24px rgba(8, 21, 38, 0.09);
  --shadow-lg: 0 16px 48px rgba(8, 21, 38, 0.14);
  --container: 1200px;
  --slat-h: 3px;
  --slat-gap: 5px;
}

*,
*::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-primary);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--navy-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection {
  background: var(--red);
  color: var(--white);
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

:focus:not(:focus-visible) {
  outline: none;
}

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

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

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 2px solid transparent;
  border-radius: var(--radius);
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--lg {
  padding: 0.9rem 1.75rem;
  font-size: 1rem;
}

.btn--primary {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn--secondary {
  background: var(--navy-800);
  border-color: var(--navy-800);
  color: var(--white);
}

.btn--secondary:hover {
  background: var(--navy-900);
  border-color: var(--navy-900);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn--outline {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}

.btn--outline:hover {
  background: var(--white);
  color: var(--navy-900);
}

.btn--outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--white);
}

.btn--outline-light:hover {
  background: var(--white);
  color: var(--navy-900);
  border-color: var(--white);
}

.btn--whatsapp {
  background: var(--whatsapp);
  border-color: var(--whatsapp);
  color: var(--white);
}

.btn--whatsapp:hover {
  background: var(--whatsapp-dark);
  border-color: var(--whatsapp-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* ---- Logo ---- */
.logo-img {
  display: block;
  width: auto;
  object-fit: contain;
}

.logo-img--header {
  height: 108px;
  max-width: min(460px, 65vw);
}

.logo-img--footer {
  height: 120px;
  max-width: 100%;
  border-radius: 8px;
}

/* ---- Header ---- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: var(--white);
  border-bottom: 1px solid rgba(8, 21, 38, 0.07);
  box-shadow: 0 2px 16px rgba(8, 21, 38, 0.05);
  transition: box-shadow var(--transition), border-color var(--transition);
}

.header--scrolled {
  background: var(--white);
  border-bottom-color: rgba(8, 21, 38, 0.1);
  box-shadow: 0 6px 32px rgba(8, 21, 38, 0.1);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1.5rem;
}

.header__logo {
  flex-shrink: 0;
  display: block;
  line-height: 0;
}

.header__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: none;
  z-index: 1001;
}

.header__toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--navy-900);
  border-radius: 2px;
  transition: all var(--transition);
}

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

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

.header__toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.header__nav ul {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.header__nav a {
  position: relative;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy-900);
  transition: color var(--transition);
}

.header__nav a:hover {
  color: var(--red);
}

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

.header__nav a:hover::after,
.header__nav a.is-active::after {
  width: 100%;
}

.header__nav a.is-active {
  color: var(--red);
}

.header__cta {
  font-size: 0.85rem;
  padding: 0.6rem 1.25rem;
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.header__cta::after {
  display: none;
}

.header__nav a.header__cta:hover {
  color: var(--white);
}

.header__cta:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: var(--white);
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__slides {
  position: absolute;
  inset: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}

.hero__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
}

.hero__slide.is-active img {
  animation: kenBurns 7s ease-out forwards;
}

@keyframes kenBurns {
  from { transform: scale(1); }
  to { transform: scale(1.07); }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 7px,
      rgba(255, 255, 255, 0.018) 7px,
      rgba(255, 255, 255, 0.018) 8px
    ),
    linear-gradient(
      165deg,
      rgba(8, 21, 38, 0.72) 0%,
      rgba(8, 21, 38, 0.5) 45%,
      rgba(8, 21, 38, 0.78) 100%
    );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-top: var(--header-h);
  padding-bottom: 6rem;
  color: var(--white);
}

.hero__badge {
  display: inline-block;
  padding: 0.45rem 1.25rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-primary);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 100px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero__title {
  margin-bottom: 1.25rem;
  color: var(--white);
}

.hero__title-line {
  display: block;
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.15;
}

.hero__title-accent {
  display: block;
  font-family: var(--font-primary);
  font-size: clamp(2.25rem, 7vw, 4.5rem);
  font-weight: 700;
  font-style: normal;
  letter-spacing: -0.02em;
  text-transform: none;
  color: var(--white);
  line-height: 1.1;
  margin-top: 0.15em;
}

.hero__subtitle {
  max-width: 640px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero__pillars {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-family: var(--font-primary);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

.hero__dot {
  opacity: 0.5;
}

.hero__scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: rgba(255, 255, 255, 0.7);
  animation: heroBounce 2s ease-in-out infinite;
  transition: color var(--transition);
}

.hero__scroll:hover {
  color: var(--white);
}

@keyframes heroBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ---- Trust Bar ---- */
.trust-bar {
  position: relative;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 55%, var(--navy-600) 100%);
  border-bottom: none;
  padding: 2.75rem 0;
  overflow: hidden;
}

.trust-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.07;
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 11px,
    rgba(255, 255, 255, 0.9) 11px,
    rgba(255, 255, 255, 0.9) 12px
  );
  pointer-events: none;
}

.trust-bar__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.trust-bar__item {
  position: relative;
  padding: 0 1rem;
}

.trust-bar__item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 12%;
  height: 76%;
  width: 1px;
  background: rgba(255, 255, 255, 0.15);
}

.trust-bar__item strong {
  display: block;
  font-family: var(--font-primary);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.trust-bar__item span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---- Section Header ---- */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.5rem;
}

.section-header__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-primary);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.75rem;
}

.section-header__eyebrow::before {
  content: '';
  flex-shrink: 0;
  width: 28px;
  height: var(--slat-h);
  background: var(--red);
  border-radius: 1px;
}

.section-header--left {
  text-align: left;
  max-width: none;
  margin: 0 0 2rem;
}

.section-header--left .section-header__eyebrow::before {
  width: 36px;
}

.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--steel-500);
  line-height: 1.7;
}

/* ---- Section typography ---- */
.services .section-header h2,
.about__content h2,
.gallery .section-header h2,
.cta-section h2 {
  font-weight: 700;
  text-transform: none;
  letter-spacing: -0.02em;
  color: var(--navy-900);
}

.services .section-header p,
.about__content p,
.gallery .section-header p,
.cta-section p {
  font-size: 1rem;
  line-height: 1.75;
  color: #4a5c6e;
}

.service-card__body h3 {
  font-size: 1.35rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: -0.01em;
  color: var(--navy-900);
}

.service-card__body > p {
  font-size: 0.98rem;
  line-height: 1.75;
  color: #4a5c6e;
}

.service-card__list li {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #3d4f61;
}

.about__feature strong {
  font-weight: 600;
}

.about__feature span {
  font-size: 0.9rem;
  line-height: 1.55;
  color: #4a5c6e;
}

/* ---- Services ---- */
.services {
  background: var(--gray-100);
  padding: 4rem 0 2rem;
}

.services > .container {
  max-width: min(1420px, 96vw);
}

.service-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 2rem;
  padding: 2rem 2.25rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border-left: 4px solid transparent;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.service-card:hover {
  border-left-color: var(--red);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.service-card:last-child {
  margin-bottom: 0;
}

.service-card--reverse .service-card__media {
  order: 2;
}

.service-card--reverse .service-card__body {
  order: 1;
}

.service-card__media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

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

.service-card:hover .service-card__media img {
  transform: scale(1.04);
}

.service-card__tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.35rem 0.85rem;
  font-family: var(--font-primary);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--red);
  border-radius: var(--radius);
}

.service-card__body {
  position: relative;
  z-index: 1;
  color: var(--navy-800);
}

.service-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1.25rem;
  background: var(--gray-100);
  border-radius: var(--radius);
  color: var(--red);
  border: 1px solid var(--gray-200);
}

.service-card__icon svg {
  width: 26px;
  height: 26px;
}

.service-card__body h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--navy-900);
}

.service-card__body > p {
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

.service-card__list {
  margin-bottom: 1.5rem;
}

.service-card__list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.55rem;
}

.service-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
}

/* ---- About ---- */
.about {
  position: relative;
  padding: 2rem 0 4.5rem;
  background: var(--gray-100);
  overflow: hidden;
}

.about > .container {
  max-width: min(1420px, 96vw);
}

.about__bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.65;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 9px,
      rgba(8, 21, 38, 0.055) 9px,
      rgba(8, 21, 38, 0.055) 10px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 39px,
      rgba(8, 21, 38, 0.035) 39px,
      rgba(8, 21, 38, 0.035) 40px
    );
  pointer-events: none;
}

.about__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: stretch;
}

.about__image {
  position: relative;
  display: flex;
  min-height: 0;
}

.about__image-frame {
  position: relative;
  flex: 1;
  width: 100%;
  min-height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--white);
}

.about__image-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 3px solid var(--white);
  border-radius: var(--radius-lg);
  z-index: 2;
  pointer-events: none;
}

.about__image-frame::after {
  content: '';
  position: absolute;
  top: -12px;
  left: -12px;
  right: 12px;
  bottom: 12px;
  border: 2px solid var(--red);
  border-radius: var(--radius-lg);
  z-index: 0;
  opacity: 0.55;
  pointer-events: none;
}

.about__image-frame img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
  position: relative;
  z-index: 1;
}

.about__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about__content .section-header__eyebrow {
  display: inline-flex;
  text-align: left;
}

.about__content h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  margin-bottom: 1.25rem;
}

.about__content p {
  margin-bottom: 1rem;
  line-height: 1.75;
}

.about__content p strong {
  color: var(--navy-900);
}

.about__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

.about__feature {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.1rem 1.15rem;
  background: rgba(255, 255, 255, 0.65);
  border-radius: 1rem;
  border: 1px solid rgba(8, 21, 38, 0.06);
  transition: background var(--transition), box-shadow var(--transition);
}

.about__feature:hover {
  background: var(--white);
  box-shadow: var(--shadow);
}

.about__feature svg {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin-top: 0.15rem;
  color: var(--red);
}

.about__feature strong {
  display: block;
  font-size: 0.95rem;
  color: var(--navy-900);
  margin-bottom: 0.15rem;
}

.about__feature span {
  line-height: 1.4;
}

/* ---- Gallery ---- */
.gallery {
  padding: 4rem 0 3.5rem;
  overflow: hidden;
  background: var(--white);
}

.gallery .section-header {
  margin-bottom: 2.5rem;
}

.gallery__viewport {
  position: relative;
  overflow: hidden;
}

.gallery__fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.gallery__fade--left {
  left: 0;
  background: linear-gradient(90deg, var(--white) 0%, transparent 100%);
}

.gallery__fade--right {
  right: 0;
  background: linear-gradient(270deg, var(--white) 0%, transparent 100%);
}

.gallery__track {
  display: flex;
  gap: 1.25rem;
  padding: 0.5rem 0 1rem;
  animation: galleryScroll 45s linear infinite;
  width: max-content;
}

.gallery__track:hover {
  animation-play-state: paused;
}

.gallery__track img {
  flex-shrink: 0;
  width: 340px;
  height: 230px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.gallery__track img:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-lg);
}

@keyframes galleryScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---- CTA Section ---- */
.cta-section {
  position: relative;
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 55%, var(--navy-600) 100%);
  color: var(--white);
  overflow: hidden;
}

.cta-section__slats {
  position: absolute;
  inset: 0;
  opacity: 0.07;
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 11px,
    rgba(255, 255, 255, 0.9) 11px,
    rgba(255, 255, 255, 0.9) 12px
  );
  pointer-events: none;
}

.cta-section__inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-section h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-section p {
  max-width: 560px;
  margin: 0 auto 2rem;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.75;
}

.cta-section__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.cta-section__phones {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

/* ---- Footer ---- */
.footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.8);
  padding-top: 4rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.footer__logo {
  display: inline-block;
  line-height: 0;
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.35));
}

.footer__tagline {
  margin-top: 1.25rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
  max-width: 280px;
}

.footer__col h4 {
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.footer__col ul li {
  margin-bottom: 0.6rem;
}

.footer__col a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition);
}

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

.footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.footer__contact svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 0.2rem;
  color: var(--red);
}

.footer__contact span,
.footer__contact a {
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer__social {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  color: var(--white);
  transition: all var(--transition);
}

.footer__social a svg {
  width: 18px;
  height: 18px;
}

.footer__social a:hover {
  background: var(--red);
  transform: translateY(-2px);
}

.footer__hours {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
}

.footer__hours strong {
  color: var(--white);
  font-weight: 600;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
}

.footer__bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.footer__bottom p {
  font-size: 0.85rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
}

.footer__credit {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer__credit a {
  color: #5b9fd4;
  font-weight: 600;
  transition: color var(--transition);
}

.footer__credit a:hover {
  color: #7eb8e8;
}

/* ---- Back to top ---- */
.back-to-top {
  position: fixed;
  right: 1.75rem;
  bottom: calc(1.75rem + 60px + 0.85rem);
  z-index: 998;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--navy-800);
  color: var(--white);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--transition);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--navy-900);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* ---- WhatsApp Float ---- */
.whatsapp-float {
  position: fixed;
  right: 1.75rem;
  bottom: 1.75rem;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: var(--whatsapp);
  color: var(--white);
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: all var(--transition);
}

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

.whatsapp-float:hover {
  background: var(--whatsapp-dark);
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
}

.whatsapp-float__tooltip {
  position: absolute;
  right: calc(100% + 12px);
  white-space: nowrap;
  padding: 0.5rem 1rem;
  background: var(--navy-800);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius);
  opacity: 0;
  pointer-events: none;
  transform: translateX(8px);
  transition: all var(--transition);
  box-shadow: var(--shadow);
}

.whatsapp-float:hover .whatsapp-float__tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ---- Reveal Animations ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger hero reveals */
.hero__badge.reveal { transition-delay: 0.1s; }
.hero__title.reveal { transition-delay: 0.2s; }
.hero__subtitle.reveal { transition-delay: 0.35s; }
.hero__actions.reveal { transition-delay: 0.45s; }
.hero__pillars.reveal { transition-delay: 0.55s; }

.services .service-card.reveal:nth-child(2) { transition-delay: 0.05s; }
.services .service-card.reveal:nth-child(3) { transition-delay: 0.1s; }
.services .service-card.reveal:nth-child(4) { transition-delay: 0.15s; }
.services .service-card.reveal:nth-child(5) { transition-delay: 0.2s; }

.trust-bar__item.reveal:nth-child(2) { transition-delay: 0.08s; }
.trust-bar__item.reveal:nth-child(3) { transition-delay: 0.16s; }
.trust-bar__item.reveal:nth-child(4) { transition-delay: 0.24s; }
.trust-bar__item.reveal:nth-child(5) { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero__slide.is-active img {
    animation: none;
  }

  .hero__scroll {
    animation: none;
  }

  .gallery__track {
    animation: none;
  }

  .service-card:hover {
    transform: none;
  }

  .btn--primary:hover,
  .btn--secondary:hover,
  .btn--whatsapp:hover {
    transform: none;
  }
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .service-card,
  .service-card--reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .service-card--reverse .service-card__media,
  .service-card--reverse .service-card__body {
    order: unset;
  }

  .about__grid {
    gap: 3rem;
  }
}

@media (max-width: 1100px) {
  .trust-bar__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 102px;
  }

  .header__toggle {
    display: flex;
  }

  .header__nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 85vw);
    height: 100vh;
    height: 100dvh;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: calc(var(--header-h) + 2rem) 2rem 2rem;
    background: var(--white);
    box-shadow: -8px 0 32px rgba(10, 29, 55, 0.15);
    transform: translateX(100%);
    transition: transform var(--transition);
    overflow-y: auto;
  }

  .header__nav.open {
    transform: translateX(0);
  }

  .header__nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
    margin-bottom: 2rem;
  }

  .header__nav ul li {
    width: 100%;
    border-bottom: 1px solid var(--gray-200);
  }

  .header__nav ul a {
    display: block;
    padding: 1rem 0;
    font-size: 1rem;
  }

  .header__cta {
    width: 100%;
    text-align: center;
  }

  .logo-img--header {
    height: 80px;
    max-width: min(360px, 80vw);
  }

  .logo-img--footer {
    height: 100px;
  }

  .hero__content {
    padding-bottom: 7rem;
  }

  .trust-bar__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .trust-bar__item:not(:last-child)::after {
    display: none;
  }

  .trust-bar__item strong {
    font-size: 2rem;
  }

  .services {
    padding: 4rem 0 1.5rem;
  }

  .service-card {
    padding: 1.25rem;
    margin-bottom: 1.5rem;
  }

  .about {
    padding: 1.5rem 0 3.5rem;
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about__image {
    min-height: auto;
  }

  .about__image-frame {
    min-height: auto;
  }

  .about__image-frame img {
    aspect-ratio: 4 / 3;
    min-height: auto;
    height: auto;
  }

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

  .cta-section {
    padding: 4rem 0;
  }

  .cta-section__actions {
    flex-direction: column;
    width: 100%;
  }

  .cta-section__actions .btn {
    width: 100%;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .whatsapp-float {
    flex-direction: row;
    width: auto;
    height: auto;
    padding: 0.65rem 1rem;
    border-radius: 100px;
    gap: 0.5rem;
    right: 1.25rem;
    bottom: 1.25rem;
  }

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

  .whatsapp-float__tooltip {
    position: static;
    opacity: 1;
    transform: none;
    background: transparent;
    padding: 0;
    box-shadow: none;
    font-size: 0.8rem;
    pointer-events: auto;
  }

  .back-to-top {
    right: 1.25rem;
    bottom: calc(1.25rem + 52px + 0.75rem);
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1.15rem;
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__pillars {
    font-size: 0.8rem;
    gap: 0.5rem;
  }

  .trust-bar__grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }

  .gallery__track img {
    width: 260px;
    height: 180px;
  }
}
