:root {
  --bg-dark-green: #1b3b22;
  --burgundy: #8b1d1d;
  --yellow-sun: #fbc02d;
  --card-bg: #f8f9fa;
  --text-dark: #202b33;
  --text-muted: #6b7a85;
}

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

html {
  background-color: #0d231a;
}

body {
  font-family: "Montserrat", sans-serif;
  background: url("https://images.unsplash.com/photo-1732130318657-c8740c0f5215?q=80&w=1170&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D")
  no-repeat center center fixed;
  min-height: 100vh;
  background-size: cover;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: 30px 15px;
  position: relative;
  overflow-x: hidden;
}

.card {
  background-color: var(--card-bg);
  width: 100%;
  max-width: 480px;
  border-radius: 25px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 10;
  overflow: hidden;
}

/* HEADER */
.card-header {
  background: linear-gradient(135deg, var(--bg-dark-green) 0%, #112615 100%);
  padding: 40px 20px 60px;
  text-align: center;
  position: relative;
}

.logo-container {
  width: 90px;
  height: 90px;
  background: #fff;
  border-radius: 50%;
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  padding: 10px;
}

.logo {
  width: 100%;
  height: auto;
}

.brand-title {
  font-family: "Playfair Display", serif;
  color: #fff;
  font-size: 2rem;
  margin-bottom: 5px;
}

.highlight {
  color: var(--yellow-sun);
  font-style: italic;
}

.brand-subtitle {
  color: #fff;
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  opacity: 0.9;
}

.wave-bottom {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
}

.card-body {
  padding: 20px 25px;
  background-color: var(--card-bg);
}

/* CONTACT GRID */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 15px;
}

.contact-btn {
  background: #fff;
  border-radius: 12px;
  padding: 15px 10px;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s;
}

.contact-btn:hover {
  transform: translateY(-2px);
}

.contact-btn i {
  font-size: 1.4rem;
  margin-bottom: 8px;
}
.color-wa {
  color: #25d366;
}
.color-phone {
  color: #007bff;
}
.color-mail {
  color: #f57c00;
}
.color-web {
  color: #00acc1;
}

.btn-title {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 3px;
}

.btn-desc {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-dark);
}

/* SOCIAL GRID */
.social-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 30px;
}

.social-btn {
  padding: 12px;
  border-radius: 25px;
  text-align: center;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
}

.btn-ig {
  background: linear-gradient(
    45deg,
    #f09433,
    #e6683c,
    #dc2743,
    #cc2366,
    #bc1888
  );
}
.btn-map {
  background: #333;
}

/* TITULOS DE SECCION */
.section-title {
  font-family: "Playfair Display", serif;
  color: var(--text-dark);
  text-align: center;
  font-size: 1.3rem;
  margin-bottom: 20px;
}

/* GALERÍA ADAPTADA (3 tarjetas fijas sin scroll) */
.gallery-section {
  background: #fdfdfd;
  padding: 20px 15px;
  border-radius: 15px;
  margin: -10px -15px 25px;
}

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

.gallery-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.gallery-card img {
  width: 100%;
  height: 75px;
  object-fit: cover;
}

.gallery-info {
  padding: 8px 6px;
  text-align: center;
}

.gallery-info h3 {
  font-size: 0.7rem;
  color: var(--text-dark);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gallery-info a {
  font-size: 0.6rem;
  color: #00acc1;
  text-decoration: none;
  font-weight: 600;
}

/* BANNER */
.promo-banner {
  background: linear-gradient(135deg, #1d3b55 0%, var(--bg-dark-green) 100%);
  border-radius: 12px;
  padding: 25px 20px;
  position: relative;
  color: #fff;
  margin-bottom: 30px;
}

.promo-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--yellow-sun);
  color: #000;
  font-size: 0.6rem;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 12px;
}

.promo-content {
  display: flex;
  align-items: center;
  gap: 15px;
}

.promo-icon {
  font-size: 2.5rem;
  color: var(--yellow-sun);
}

.promo-content h3 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}
.promo-content p {
  font-size: 0.8rem;
  opacity: 0.9;
}
.promo-content strong {
  color: var(--yellow-sun);
}

/* FEATURES */
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 20px;
}

.feature-box {
  background: #fff;
  padding: 20px 15px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.03);
}

.feature-icon {
  width: 40px;
  height: 40px;
  background: #e0f2f1;
  color: #00796b;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  font-size: 1.1rem;
}

.feature-box h4 {
  font-size: 0.8rem;
  color: var(--text-dark);
  margin-bottom: 5px;
}

.feature-box p {
  font-size: 0.65rem;
  color: var(--text-muted);
}

/* FOOTER */
.card-footer {
  background: #101c26;
  color: #fff;
  text-align: center;
  padding: 15px;
  font-size: 0.75rem;
}

.card-footer a {
  text-decoration: none;
  color: #f7bd2d;
}

.footer-brand {
  color: var(--yellow-sun);
  font-weight: 700;
}

/* Neblina */
#fog-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.fog-layer {
  position: absolute;
  width: 200%;
  height: 100%;
  background: transparent
    url("https://raw.githubusercontent.com/danielstuart14/CSS_FOG_ANIMATION/master/fog1.png")
    repeat-x;
  background-size: contain;
  opacity: 0.4;
}
