/* ==========================================================================
   GRAN ROBLES CAFÉ - ONE-PAGE LANDING (DESKTOP FIXED / MOBILE SCROLL)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&display=swap');

:root {
  --primary-green: #2e7d32;
  --primary-dark-green: #1b5e20;
  --dark-glass: rgba(16, 20, 16, 0.84);
  --white-glass: rgba(255, 255, 255, 0.95);
  --glass-border: rgba(255, 255, 255, 0.4);
  --font-main: 'Open Sans', sans-serif;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden !important;
  font-family: var(--font-main);
  font-weight: 300;
  background-color: #0c120e;
}

.granroble-wrapper {
  position: relative;
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  z-index: 1;
  padding: 1.5rem 2.5rem;
}

/* Background Image Layer: granroble_cafe_bg.jpg */
.granroble-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(to right, rgba(10, 18, 12, 0.55) 0%, rgba(10, 18, 12, 0.35) 50%, rgba(10, 18, 12, 0.2) 100%),
                    url('../../img/inicio/cafe-bolsa.jpg');
  background-size: cover;
  background-position: center center;
  z-index: -2;
  filter: saturate(1.15) brightness(0.95);
}

.granroble-bg-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 50%, rgba(46, 125, 50, 0.08) 0%, rgba(0, 0, 0, 0.45) 100%);
  z-index: -1;
  pointer-events: none;
}

/* Main Split Content Area */
.granroble-main {
  width: 100%;
  max-width: 1350px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.2fr 1.2fr;
  gap: 3.5rem;
  align-items: center;
}

/* Left Hero Branding Box */
.brand-hero-box {
  background: var(--white-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 2px solid rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 2.8rem 2.2rem;
  text-align: center;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Large Logo */
.granroble-logo-large {
  max-height: 250px;
  width: auto;
  max-width: 95%;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.12));
  margin-bottom: 1.2rem;
  transition: transform 0.3s ease;
}

.granroble-logo-large:hover {
  transform: scale(1.02);
}

.brand-slogan {
  color: #334437;
  font-size: 1.05rem;
  font-weight: 300;
  font-style: italic;
  margin: 0;
  line-height: 1.5;
  letter-spacing: 0.3px;
}

/* Right Services Card Box */
.services-card-box {
  background: var(--dark-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2.5rem 2.5rem;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
}

.services-header {
  margin-bottom: 1.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  padding-bottom: 0.8rem;
}

.services-title {
  color: #ffffff;
  font-size: 1.7rem;
  font-weight: 300;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 14px;
}

.services-title i {
  color: #4caf50;
  font-size: 1.4rem;
}

.services-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-item {
  background: rgba(255, 255, 255, 0.08);
  border-left: 3px solid #4caf50;
  border-radius: 6px;
  padding: 1.1rem 1.2rem;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 300;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}

.service-item:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateX(5px);
  border-left-color: #25D366;
}

.service-item i {
  color: #4caf50;
  font-size: 1.1rem;
}

/* Floating Action Buttons */
.floating-contacts {
  position: fixed;
  right: 25px;
  bottom: 75px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 100;
}

.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.4rem;
  text-decoration: none !important;
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
  transition: transform 0.3s ease;
}

.float-btn:hover {
  transform: scale(1.12);
  color: #ffffff;
}

.float-whatsapp {
  background: #25D366;
}

.float-phone {
  background: var(--primary-green);
}

/* Footer Section */
.granroble-footer {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  font-weight: 300;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 0.8rem;
}

.btn-back-group {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.5rem 1.3rem;
  border-radius: 30px;
  text-decoration: none !important;
  font-weight: 300;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.btn-back-group:hover {
  background: var(--primary-green);
  border-color: var(--primary-green);
  color: #ffffff !important;
  transform: translateX(-3px);
}

/* Responsive Scaling & Mobile Scroll Enabled */
@media (max-width: 1024px) {
  html, body {
    overflow-y: auto !important;
    height: auto !important;
  }
  .granroble-wrapper {
    height: auto !important;
    min-height: 100vh;
    overflow-y: auto !important;
    padding: 1.5rem 1.5rem 2.5rem 1.5rem;
  }
  .granroble-main {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 600px;
    margin-top: 1rem;
    margin-bottom: 2rem;
  }
  .granroble-logo-large {
    max-height: 180px;
  }
  .services-list {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
}

@media (max-width: 576px) {
  .granroble-wrapper {
    padding: 1rem 0.8rem 2.5rem 0.8rem;
  }
  .brand-hero-box {
    padding: 1.5rem 1rem;
  }
  .granroble-logo-large {
    max-height: 140px;
  }
  .services-card-box {
    padding: 1.2rem;
  }
  .services-title {
    font-size: 1.3rem;
  }
  .service-item {
    font-size: 0.85rem;
    padding: 0.6rem 0.8rem;
  }
  .granroble-footer {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}
