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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #222;
  background-color: #f6f6f6;
  line-height: 1.6;
}

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

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

.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

/* Header */

.main-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: #a72d18;
  color: #fff;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.6rem;
}

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

.logo-img {
  width: 44px;
  height: 44px;
  border-radius: 4px;
  object-fit: cover;
}

.logo-text {
  display: flex;
  flex-direction: column;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
}

.logo-top {
  font-size: 0.68rem;
}

.logo-main {
  font-weight: 700;
  font-size: 0.95rem;
}

.logo-tagline {
  font-size: 0.68rem;
  font-style: italic;
}

/* Nav */

.main-nav {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
}

.main-nav a {
  padding: 0.3rem 0.1rem;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.main-nav a:hover {
  border-color: #fff;
}

.btn-header-call {
  background-color: #fff;
  color: #a72d18;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* Hero */

.hero {
  position: relative;
  min-height: 70vh;
  color: #fff;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  filter: brightness(0.6);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.7), transparent 50%);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
  padding-block: 3.5rem;
}

.hero-text h1 {
  font-size: clamp(2.1rem, 3vw, 2.7rem);
  margin-bottom: 0.75rem;
}

.hero-subtitle {
  font-size: 1.05rem;
  max-width: 32rem;
  margin-bottom: 0.5rem;
}

.hero-location {
  font-size: 0.93rem;
  margin-bottom: 1.2rem;
  opacity: 0.9;
}

.hero-location i {
  margin-right: 0.35rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.6rem 1.4rem;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  border: none;
}

.btn.primary {
  background-color: #25d366;
  color: #fff;
}

.btn.secondary {
  background-color: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn.full {
  width: 100%;
}

.hero-benefits {
  list-style: none;
  font-size: 0.9rem;
  display: grid;
  gap: 0.3rem;
}

.hero-benefits i {
  color: #25d366;
  margin-right: 0.4rem;
}

.hero-photo {
  align-self: stretch;
  display: flex;
  align-items: center;
}

.hero-photo img {
  border-radius: 1.2rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

/* Sections */

.section {
  padding-block: 3.5rem;
}

.section-alt {
  background-color: #ffffff;
}

.section-title {
  font-size: 1.7rem;
  margin-bottom: 0.4rem;
  text-align: center;
  color: #a72d18;
}

.section-intro {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2rem;
  color: #555;
}

.cards-grid {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background-color: #fff;
  border-radius: 1rem;
  padding: 1.3rem 1.4rem;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.06);
  border-top: 3px solid #a72d18;
}

.card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

/* Two columns */

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2.3rem;
  align-items: center;
}

.icon-list {
  list-style: none;
  display: grid;
  gap: 0.5rem;
  margin-top: 1.1rem;
}

.icon-list i {
  margin-right: 0.5rem;
  color: #a72d18;
}

.service-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 120px;
  gap: 0.7rem;
}

.service-photo-grid img:nth-child(1) {
  grid-column: 1 / -1;
  grid-row: 1 / 3;
  border-radius: 1rem;
}

.service-photo-grid img {
  border-radius: 0.9rem;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

/* Gallery */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.gallery-item {
  cursor: pointer;
  border-radius: 0.8rem;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.gallery-item:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

.gallery-note {
  margin-top: 1rem;
  font-size: 0.85rem;
  text-align: center;
  color: #777;
}

/* Lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 60;
  padding: 1rem;
}

.lightbox.open {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 900px;
  width: 100%;
}

.lightbox-content img {
  width: 100%;
  border-radius: 0.8rem;
}

.lightbox-close {
  position: absolute;
  top: -36px;
  right: 0;
  border: none;
  background: none;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
}

/* Redes */

.social-embeds {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.social-card {
  background-color: #fff;
  border-radius: 1rem;
  padding: 1.2rem 1.3rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.social-card h3 i {
  margin-right: 0.45rem;
  color: #a72d18;
}

.social-frame {
  border-radius: 0.8rem;
  overflow: hidden;
}

.link-btn {
  align-self: flex-start;
  background-color: #a72d18;
  color: #fff;
  font-size: 0.85rem;
  padding-inline: 1.1rem;
}

/* Video */

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Contacto */

.contact-list {
  list-style: none;
  display: grid;
  gap: 0.45rem;
  margin: 1rem 0 1.5rem;
}

.contact-list i {
  margin-right: 0.5rem;
  color: #a72d18;
}

.map-wrapper {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.1);
}

.map-wrapper iframe {
  border: 0;
  width: 100%;
  height: 230px;
}

.contact-form {
  background-color: #fff;
  border-radius: 1.1rem;
  padding: 1.5rem 1.6rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.contact-form h3 {
  margin-bottom: 0.8rem;
  font-size: 1.15rem;
}

.contact-form label {
  display: block;
  font-size: 0.88rem;
  margin-bottom: 0.6rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.55rem 0.6rem;
  border-radius: 0.6rem;
  border: 1px solid #d1d1d1;
  margin-top: 0.28rem;
  font-family: inherit;
  font-size: 0.9rem;
}

.contact-form textarea {
  resize: vertical;
  min-height: 110px;
}

.form-note {
  margin-top: 0.6rem;
  font-size: 0.78rem;
  color: #777;
}

/* Footer */

.main-footer {
  background-color: #222;
  color: #ddd;
  padding-block: 1.3rem;
  font-size: 0.84rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem;
}

.main-footer a {
  color: #fff;
  text-decoration: underline;
}

/* Floating buttons */

.whatsapp-float,
.call-float {
  position: fixed;
  right: 1.1rem;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  z-index: 70;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
}

.whatsapp-float {
  bottom: 1.3rem;
  background-color: #25d366;
}

.call-float {
  bottom: 4.2rem;
  background-color: #a72d18;
}

/* Responsive */

@media (max-width: 960px) {
  .main-nav {
    display: none;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-photo {
    display: none;
  }

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

  .two-col {
    grid-template-columns: minmax(0, 1fr);
  }

  .service-photo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 90px;
  }

  .social-embeds {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .header-content {
    padding-block: 0.5rem;
  }

  .cards-grid,
  .gallery-grid,
  .social-embeds {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    min-height: 75vh;
  }

  .hero-inner {
    padding-block: 3rem;
  }

  .whatsapp-float,
  .call-float {
    width: 44px;
    height: 44px;
  }
}
