:root {
  --navy: #010168;
  --navy-soft: #0f1a8a;
  --accent: #6fa8dc;
  --white: #ffffff;
  --ink: #222222;
  --gray-bg: #f4f4f4;
  --font-display: 'Anton', sans-serif;
  --font-body: 'Montserrat', sans-serif;
}

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

body {
  font-family: var(--font-body);
}

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

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  border: none;
  border-radius: 8px;
  padding: 14px 24px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: opacity 0.2s ease;
}

.btn:hover {
  opacity: 0.9;
}

.btn-blue {
  background-color: var(--navy);
  color: var(--white);
}

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

@media (min-width: 768px) {
  .btn {
    font-size: 1rem;
    padding: 15px 26px;
  }
}

/* Hero - mobile first */
.hero {
  position: relative;
  min-height: 80vh;
  background-color: var(--navy);
  background-image: url('img/fachadasemfios2formatomobile.png');
  background-size: cover;
  background-position: 40% center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

/* Desktop-only hero elements (full-bleed photo background) - hidden on mobile */
.hero-brand,
.hero-copy {
  display: none;
}

.hero-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.hero-brand-name {
  color: var(--navy);
  font-family: 'Caprasimo', cursive;
  font-size: 6rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Mobile-only hero elements (navbar + photo banner + centered content) */
.hero-navbar {
  position: fixed;
  top: 12px;
  left: 12px;
  right: 12px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--white);
  padding: 14px 18px;
  border-radius: 16px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.hero-navbar-logo-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-navbar-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.hero-navbar-btn {
  padding: 10px 16px;
  font-size: 0.7rem;
}

/* Desktop-only nav links inside the floating navbar */
.hero-navbar-links {
  display: none;
}

.hero-mobile-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 120px 20px 20px;
}

.hero-mobile-content .hero-brand-name {
  position: relative;
  font-family: 'Caprasimo', cursive;
  font-weight: 400;
  font-size: 1.8rem;
  color: var(--navy);
  margin-bottom: 4px;
  z-index: 1;
  transform: translateY(-15px);
}

.hero-mobile-content .hero-brand-name::before {
  content: attr(data-texto);
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
  color: transparent;
  -webkit-text-stroke: 4px var(--white);
}

.hero-mobile-content .hero-badge {
  color: var(--white);
  border-color: var(--white);
  margin-bottom: 190px;
  transform: translateY(-15px);
}

/* Shared text styles (used by both the desktop hero-copy and mobile hero-mobile-content) */
.hero-badge {
  display: inline-block;
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 1px solid var(--navy);
  padding: 6px 14px;
  margin-bottom: 120px;
}

.hero-title {
  color: var(--white);
  font-family: 'Fjalla One', sans-serif;
  text-transform: uppercase;
  font-size: 1.2rem;
  line-height: 1.3;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  margin-bottom: 12px;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

@media (min-width: 768px) {
  .hero {
    min-height: 84vh;
    background-image: url('img/fachada sem fios (1).jpeg');
    padding: 40px 60px 24px;
    justify-content: flex-end;
    align-items: stretch;
  }

  .hero-brand {
    display: none;
  }

  .hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 0;
  }

  .hero-copy-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
  }

  .hero-navbar {
    display: flex;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: auto;
    gap: 40px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  }

  .hero-navbar-links {
    display: flex;
    align-items: center;
    gap: 28px;
  }

  .hero-navbar-links a {
    color: var(--navy);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none;
  }

  .hero-navbar-links a:hover {
    opacity: 0.7;
  }

  .hero-mobile-content {
    display: none;
  }

  .hero-logo {
    width: 64px;
    height: 64px;
  }

  .hero-brand-name {
    font-size: 1.3rem;
  }

  .hero-copy-brand-name {
    position: relative;
    color: var(--navy);
    font-weight: 400;
    transform: scale(1.4);
    z-index: 1;
  }

  .hero-copy-brand-name::before {
    content: attr(data-texto);
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    color: transparent;
    -webkit-text-stroke: 3px var(--white);
  }

  .hero-copy .hero-badge {
    background-color: var(--navy);
    color: var(--white);
    border: 2px solid var(--white);
    border-radius: 8px;
    box-shadow: 0 0 0 2px var(--navy);
    margin-bottom: 0;
  }

  .hero-title {
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
    white-space: nowrap;
    margin-bottom: 0;
  }

  .hero-buttons {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
  }
}

/* Identity strip ticker */
.identity-strip {
  overflow: hidden;
  background-color: var(--navy);
  padding: 12px 0;
}

.identity-strip-track {
  display: flex;
  align-items: center;
  gap: 16px;
  width: max-content;
  animation: identity-ticker 78s linear infinite;
}

.identity-strip-track span {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
}

.identity-strip-track span.dot {
  color: var(--accent);
}

@keyframes identity-ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .identity-strip-track {
    animation: none;
  }
}

@media (min-width: 768px) {
  .identity-strip {
    padding: 16px 0;
  }

  .identity-strip-track span {
    font-size: 1rem;
  }
}

/* About - mobile first */
.about {
  background-color: var(--white);
  padding: 60px 20px;
}

.about-intro {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto 40px;
}

.section-kicker {
  display: inline-block;
  background-color: var(--navy);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 14px;
  margin-bottom: 16px;
}

.about-title {
  font-family: var(--font-display);
  text-transform: uppercase;
  color: var(--navy);
  font-size: 1.7rem;
  line-height: 1.2;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.about-paragraph {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.75;
  color: #333333;
}

.about-photo img,
.about-photo video {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.about-vision {
  background-color: var(--navy);
  padding: 48px 24px;
  text-align: center;
}

.about-vision-text {
  max-width: 720px;
  margin: 0 auto 16px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--white);
}

.about-vision-mark {
  font-family: var(--font-display);
  font-size: 2.5rem;
  line-height: 0;
  color: var(--accent);
  margin-right: 6px;
  vertical-align: -8px;
}

.about-vision-label {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
}

.about-values {
  background-color: var(--white);
  padding: 60px 20px;
  text-align: center;
}

.about-values-kicker {
  margin-bottom: 32px;
}

.about-values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
}

.value-tile {
  background-color: var(--gray-bg);
  padding: 24px 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.value-tile-number {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--accent);
  line-height: 1;
  flex-shrink: 0;
}

.value-tile-text {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--navy);
}

@media (min-width: 768px) {
  .about {
    padding: 90px 60px;
  }

  .about-intro {
    flex-direction: row;
    align-items: center;
    gap: 60px;
    margin-bottom: 56px;
  }

  .about-text {
    flex: 1;
  }

  .about-photo {
    flex: 1;
  }

  .about-title {
    font-size: 2.6rem;
  }

  .about-paragraph {
    font-size: 1.05rem;
  }

  .about-vision {
    padding: 72px 60px;
  }

  .about-vision-text {
    font-size: 1.9rem;
  }

  .about-vision-mark {
    font-size: 3.5rem;
    vertical-align: -14px;
  }

  .about-values {
    padding: 90px 60px;
  }

  .about-values-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .value-tile {
    flex-direction: column;
    padding: 32px 28px;
    gap: 16px;
  }

  .value-tile-number {
    font-size: 2.2rem;
  }

  .value-tile-text {
    font-size: 1rem;
  }
}

/* Services - mobile first */
.services {
  background-color: var(--white);
}

.services-content {
  padding: 60px 20px;
  text-align: center;
}

.services-title {
  margin-bottom: 40px;
}

.section-title-badge {
  display: inline-block;
  color: var(--white);
  background-color: var(--navy);
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.9;
  padding: 4px 10px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.service-card {
  position: relative;
  min-height: 240px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.service-card-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.15);
}

.service-card-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(1, 1, 104, 0.45) 0%, rgba(1, 1, 104, 0.6) 45%, rgba(1, 1, 104, 0.95) 100%);
}

.service-card-photo-content {
  position: relative;
  z-index: 2;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  color: var(--white);
  text-align: left;
}

.service-card-title {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.2rem;
  letter-spacing: 0.5px;
  line-height: 1.15;
}

.service-card-desc {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 1.5;
}

.service-card-photo-content .btn {
  margin-top: 6px;
  text-align: left;
}

.services-cta {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.services-cta-text {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.4rem;
  letter-spacing: 0.5px;
  color: var(--navy);
}

@media (min-width: 768px) {
  .services-content {
    padding: 90px 60px;
  }

  .section-title-badge {
    font-size: 1.6rem;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1200px;
  }

  .service-card {
    min-height: 320px;
    border-radius: 12px;
  }

  .service-card-title {
    font-size: 1.5rem;
  }

  .service-card-desc {
    font-size: 0.95rem;
  }

  .service-card-photo-content {
    padding: 32px 24px;
  }

  .service-card-photo-content .btn {
    white-space: nowrap;
  }

  .services-cta {
    margin-top: 64px;
  }

  .services-cta-text {
    font-size: 1.9rem;
  }
}

/* Reviews - mobile first */
.reviews {
  background-color: var(--gray-bg);
  padding: 60px 0;
  text-align: center;
}

.reviews-title {
  margin-bottom: 24px;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.reviews-kicker {
  display: inline-block;
  background-color: var(--navy);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 14px;
}

.reviews-headline {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.7rem;
  color: var(--navy);
  line-height: 1.2;
  max-width: 320px;
  letter-spacing: 0.5px;
}

.reviews-summary {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-bottom: 32px;
}

.reviews-score {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--navy);
  line-height: 1;
}

.reviews-summary-stars {
  color: #f5b301;
  font-size: 1.2rem;
  letter-spacing: 3px;
}

.reviews-count {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: #555555;
}

.reviews-track-viewport {
  overflow: hidden;
  width: 100%;
  touch-action: pan-y;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
}

.reviews-track {
  display: flex;
  width: max-content;
  gap: 16px;
  padding: 4px 8px 12px;
  cursor: grab;
  user-select: none;
  will-change: transform;
}

.reviews-track.is-dragging {
  cursor: grabbing;
}

.review-card {
  flex: 0 0 280px;
  background-color: var(--white);
  border-left: 4px solid var(--navy);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
}

.review-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.review-name {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy);
}

.review-stars {
  color: #f5b301;
  font-size: 0.8rem;
  letter-spacing: 1px;
}

.review-text {
  font-family: var(--font-body);
  font-size: 0.85rem;
  line-height: 1.6;
  color: #333333;
  white-space: pre-line;
}

.review-time {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: #888888;
}

@media (min-width: 768px) {
  .reviews {
    padding: 90px 0;
  }

  .reviews-title {
    padding-left: 60px;
    padding-right: 60px;
  }

  .reviews-kicker {
    font-size: 0.9rem;
    padding: 8px 18px;
  }

  .reviews-headline {
    font-size: 2.6rem;
    max-width: 640px;
  }

  .reviews-score {
    font-size: 2.8rem;
  }

  .reviews-summary-stars {
    font-size: 1.5rem;
  }

  .reviews-count {
    font-size: 1rem;
  }

  .review-card {
    flex: 0 0 340px;
  }

  .review-text {
    font-size: 0.95rem;
  }
}

/* Location - mobile first */
.location {
  background-color: var(--white);
  padding: 60px 20px;
  text-align: center;
}

.location-content {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.location-address {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  color: #333333;
  margin-top: -8px;
}

.location-map {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 16px;
  overflow: hidden;
}

.location-map iframe {
  width: 100%;
  height: 100%;
  display: block;
}

@media (min-width: 768px) {
  .location {
    padding: 90px 60px;
  }

  .location-address {
    font-size: 1rem;
  }

  .location-map {
    aspect-ratio: 16 / 9;
  }
}

/* Closing - mobile first */
.closing {
  background-image: linear-gradient(rgba(1, 1, 104, 0.55), rgba(1, 1, 104, 0.55)), url('img/closing-fachada.jpg');
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
  padding: 70px 20px;
  text-align: center;
}

.closing-text {
  color: var(--white);
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.8rem;
  letter-spacing: 0.5px;
  line-height: 1.25;
  max-width: 480px;
  margin: 0 auto;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

@media (min-width: 768px) {
  .closing {
    padding: 110px 60px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .closing-text {
    font-size: 3.6rem;
    max-width: 900px;
  }
}

/* Site footer - mobile first */
.site-footer {
  background-color: var(--navy);
  color: var(--white);
  padding: 48px 20px 32px;
  text-align: center;
}

.site-footer-content {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.site-footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-footer-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  background-color: var(--navy);
  border: 2px solid var(--white);
  border-radius: 50%;
  padding: 6px;
  box-sizing: border-box;
}

.site-footer-name {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
}

.site-footer-tagline {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: #c7c7e8;
}

.site-footer-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.site-footer-links a {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--white);
  text-decoration: none;
}

.site-footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.site-footer-social-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.site-footer-social-icon--whatsapp {
  transform: scale(1.6);
}

.site-footer-copy {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: #8f8fc4;
  margin-top: 18px;
}

@media (min-width: 768px) {
  .site-footer {
    padding: 56px 60px 36px;
  }

  .site-footer-links {
    flex-direction: row;
    gap: 32px;
  }
}

/* Sticky bottom bar - becomes the page footer once the document ends */
.bottom-bar {
  position: sticky;
  bottom: 0;
  z-index: 100;
  display: flex;
  width: 100%;
}

.bottom-bar-btn {
  flex: 1;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 12px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  color: var(--white);
  white-space: nowrap;
}

.bottom-bar-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
}

.bottom-bar-btn--call {
  background-color: var(--navy);
}

.bottom-bar-btn--whatsapp {
  background-color: #25d366;
}

.bottom-bar-btn--whatsapp .bottom-bar-icon {
  width: 28px;
  height: 28px;
}

@media (min-width: 768px) {
  .bottom-bar-btn {
    height: 64px;
    padding: 0 16px;
    font-size: 1rem;
  }

  .bottom-bar-icon {
    width: 24px;
    height: 24px;
  }

  .bottom-bar-btn--whatsapp .bottom-bar-icon {
    width: 34px;
    height: 34px;
  }
}
