/* =========================================================
   EbenBrillo — Estilos personalizados
   Paleta inspirada en el logotipo:
   - Crema fondo:  #f4ede1
   - Dorado:       #b8874a  (acento principal)
   - Dorado claro: #d4a862
   - Carbón:       #1a1a1a  (texto y superficies oscuras)
   - Gris texto:   #4a4a4a
   ========================================================= */

:root {
  --eb-cream: #f4ede1;
  --eb-cream-2: #ebe2d2;
  --eb-gold: #b8874a;
  --eb-gold-light: #d4a862;
  --eb-gold-dark: #8f6631;
  --eb-dark: #1a1a1a;
  --eb-dark-soft: #2b2b2b;
  --eb-muted: #6b6b6b;
  --eb-body: #333333;
  --eb-line: rgba(26, 26, 26, 0.12);

  --eb-font-display: "Cinzel", "Cormorant Garamond", Georgia, serif;
  --eb-font-serif: "Cormorant Garamond", Georgia, serif;
  --eb-font-body: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--eb-font-body);
  color: var(--eb-body);
  background: var(--eb-cream);
  font-size: 16px;
  line-height: 1.65;
}

h1, h2, h3, h4, h5 {
  font-family: var(--eb-font-serif);
  color: var(--eb-dark);
  font-weight: 600;
  letter-spacing: 0.01em;
}

a { color: var(--eb-gold-dark); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--eb-gold); }

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

/* ============ Botones ============ */
.btn { font-weight: 600; letter-spacing: 0.03em; border-radius: 2px; padding: .7rem 1.5rem; transition: all .25s ease; }
.btn-lg { padding: .95rem 1.9rem; font-size: 1rem; }

.btn-eb-gold {
  background: linear-gradient(135deg, var(--eb-gold-light), var(--eb-gold));
  color: #fff !important;
  border: 1px solid var(--eb-gold);
  box-shadow: 0 6px 20px -8px rgba(184, 135, 74, 0.6);
}
.btn-eb-gold:hover {
  background: linear-gradient(135deg, var(--eb-gold), var(--eb-gold-dark));
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -8px rgba(184, 135, 74, 0.75);
  color: #fff !important;
}

.btn-eb-outline {
  background: transparent;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,0.7);
}
.btn-eb-outline:hover { background: #fff; color: var(--eb-dark) !important; border-color: #fff; }

.btn-eb-outline-light {
  background: transparent; color: #fff !important; border: 1px solid rgba(255,255,255,0.7);
}
.btn-eb-outline-light:hover { background: #fff; color: var(--eb-dark) !important; }

.btn-eb-outline-dark {
  background: transparent; color: var(--eb-dark) !important; border: 1px solid var(--eb-dark);
}
.btn-eb-outline-dark:hover { background: var(--eb-dark); color: #fff !important; }

/* ============ Navbar ============ */
.eb-navbar {
  background: transparent;
  padding: 1rem 0;
  transition: all .3s ease;
}
.eb-navbar.scrolled {
  background: rgba(244, 237, 225, 0.97);
  padding: .55rem 0;
  box-shadow: 0 6px 24px -12px rgba(0,0,0,0.25);
  backdrop-filter: saturate(180%) blur(8px);
}
.eb-navbar .nav-link {
  color: #fff;
  font-weight: 500;
  font-size: .92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 .35rem;
  padding: .5rem .3rem !important;
  position: relative;
}
.eb-navbar .nav-link::after {
  content: ""; position: absolute; left: 50%; bottom: 4px; width: 0; height: 2px;
  background: var(--eb-gold); transition: all .25s ease; transform: translateX(-50%);
}
.eb-navbar .nav-link:hover::after { width: 70%; }
.eb-navbar.scrolled .nav-link { color: var(--eb-dark); }
.eb-navbar .navbar-toggler {
  border: 1px solid rgba(255,255,255,0.6);
  padding: .3rem .55rem;
}
.eb-navbar .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}
.eb-navbar.scrolled .navbar-toggler { border-color: var(--eb-dark); }
.eb-navbar.scrolled .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%231a1a1a' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}
.eb-brand-img { display: block; border-radius: 4px; height: 52px !important; width: auto !important; }
.eb-footer .eb-brand-img { height: 72px !important; }

@media (max-width: 991.98px) {
  .eb-navbar { background: rgba(244,237,225,0.98); }
  .eb-navbar .nav-link { color: var(--eb-dark); }
  .eb-navbar .navbar-toggler { border-color: var(--eb-dark); }
  .eb-navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%231a1a1a' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
  }
}

/* ============ Hero ============ */
.eb-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  min-height: 100vh;
}
.eb-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.05);
  filter: brightness(0.6);
}
.eb-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,10,10,0.85) 0%, rgba(26,26,26,0.55) 55%, rgba(184,135,74,0.35) 100%);
}
.eb-hero-title {
  font-family: var(--eb-font-serif);
  color: #fff;
  font-size: clamp(2.2rem, 5.2vw, 4rem);
  line-height: 1.08;
  margin-bottom: 1.2rem;
  font-weight: 600;
}
.eb-hero-title::after {
  content: "";
  display: block;
  width: 90px; height: 3px;
  background: var(--eb-gold);
  margin-top: 1.5rem;
}
.eb-hero-lead {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  max-width: 620px;
  margin-bottom: 2rem;
  color: rgba(255,255,255,0.9);
}
.eb-hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.eb-hero-badges {
  display: flex; flex-wrap: wrap; gap: 2.2rem;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(255,255,255,0.18);
  max-width: 620px;
}
.eb-hero-badges > div { display: flex; flex-direction: column; }
.eb-hero-badges strong {
  font-family: var(--eb-font-serif);
  font-size: 1.7rem;
  color: var(--eb-gold-light);
  line-height: 1;
}
.eb-hero-badges span {
  font-size: .78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-top: .35rem;
}

.eb-eyebrow {
  display: inline-block;
  font-family: var(--eb-font-body);
  font-size: .78rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--eb-gold-light);
  margin-bottom: 1rem;
  padding-left: 46px;
  position: relative;
}
.eb-eyebrow::before {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 32px; height: 1px; background: var(--eb-gold);
}
.eb-eyebrow-dark { color: var(--eb-gold-dark); }
.eb-eyebrow-dark::before { background: var(--eb-gold-dark); }

.eb-scroll {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 44px; border: 1.5px solid rgba(255,255,255,0.6);
  border-radius: 15px; z-index: 3;
}
.eb-scroll span {
  position: absolute; top: 8px; left: 50%; width: 3px; height: 8px;
  background: #fff; border-radius: 2px; transform: translateX(-50%);
  animation: ebScroll 1.8s infinite;
}
@keyframes ebScroll {
  0% { transform: translate(-50%, 0); opacity: 1; }
  100% { transform: translate(-50%, 16px); opacity: 0; }
}

/* ============ Secciones ============ */
.eb-section { padding: 6rem 0; }
.eb-section-alt { background: var(--eb-cream-2); }

.eb-title {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  margin-bottom: 1.1rem;
  line-height: 1.2;
}
.eb-lead {
  font-size: 1.05rem;
  color: var(--eb-muted);
  margin-bottom: 0;
}

.eb-features .eb-check {
  position: relative;
  padding-left: 30px;
  margin-bottom: .55rem;
  color: var(--eb-dark);
  font-weight: 500;
}
.eb-features .eb-check::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 16px; height: 8px;
  border-left: 2px solid var(--eb-gold);
  border-bottom: 2px solid var(--eb-gold);
  transform: rotate(-45deg);
}

.eb-media-frame {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.4);
}
.eb-media-frame::before {
  content: ""; position: absolute; inset: 0;
  border: 1px solid rgba(184,135,74,0.4);
  pointer-events: none; z-index: 2;
  margin: 12px;
}
.eb-media-frame img { display: block; width: 100%; height: auto; }

/* ============ Services ============ */
.eb-service-card {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  height: 100%;
  transition: transform .35s ease, box-shadow .35s ease;
  border: 1px solid var(--eb-line);
  display: flex; flex-direction: column;
}
.eb-service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px -25px rgba(0,0,0,0.35);
  border-color: rgba(184,135,74,0.5);
}
.eb-service-media { aspect-ratio: 4/3; overflow: hidden; }
.eb-service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.eb-service-card:hover .eb-service-media img { transform: scale(1.06); }
.eb-service-body { padding: 1.6rem 1.5rem 1.7rem; }
.eb-service-body h3 { font-size: 1.3rem; margin-bottom: .55rem; }
.eb-service-body p { color: var(--eb-muted); margin-bottom: 0; font-size: .95rem; }

.eb-service-cta {
  background: var(--eb-dark);
  color: #fff;
  border-color: var(--eb-dark);
}
.eb-service-cta h3 { color: #fff; }
.eb-service-cta p { color: rgba(255,255,255,0.75); }
.eb-service-cta:hover { border-color: var(--eb-gold); }

/* ============ Surface items ============ */
.eb-surface-item {
  background: #fff;
  border-left: 3px solid var(--eb-gold);
  padding: 2rem 1.7rem;
  height: 100%;
  transition: all .3s ease;
}
.eb-surface-item:hover { background: var(--eb-dark); color: #fff; }
.eb-surface-item:hover h4 { color: #fff; }
.eb-surface-item:hover p { color: rgba(255,255,255,0.8); }
.eb-surface-item:hover .eb-surface-num { color: var(--eb-gold-light); }
.eb-surface-num {
  font-family: var(--eb-font-serif);
  font-size: 2.4rem;
  color: var(--eb-gold);
  font-weight: 600;
  line-height: 1;
  margin-bottom: 1rem;
}
.eb-surface-item h4 { margin-bottom: .6rem; }
.eb-surface-item p { color: var(--eb-muted); margin-bottom: 0; }

/* ============ CTA strip ============ */
.eb-cta-strip {
  background: linear-gradient(135deg, var(--eb-dark) 0%, #333 100%);
  color: #fff;
  padding: 3.5rem 0;
  position: relative;
  overflow: hidden;
}
.eb-cta-strip::before {
  content: ""; position: absolute; top: -50%; right: -10%; width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(184,135,74,0.25), transparent 70%);
  pointer-events: none;
}
.eb-cta-strip h3 {
  color: #fff; font-size: 1.8rem; margin-bottom: .4rem;
}
.eb-cta-strip p { color: rgba(255,255,255,0.75); }

/* ============ Contact ============ */
.eb-contact-info {
  background: #fff;
  padding: 2.2rem 2rem;
  border-radius: 4px;
  border: 1px solid var(--eb-line);
  height: 100%;
}
.eb-contact-info h3 { font-size: 1.4rem; margin-bottom: 1.4rem; }
.eb-contact-list { list-style: none; padding: 0; margin: 0 0 1.6rem; }
.eb-contact-list li {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: .95rem 0; border-bottom: 1px dashed var(--eb-line);
}
.eb-contact-list li:last-child { border-bottom: 0; }
.eb-contact-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  background: var(--eb-cream); color: var(--eb-gold-dark);
  border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
}
.eb-contact-list li > div { display: flex; flex-direction: column; }
.eb-contact-list li span {
  font-size: .72rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--eb-muted);
}
.eb-contact-list li a {
  color: var(--eb-dark); font-weight: 600; font-size: 1.02rem;
  cursor: pointer;
}
.eb-contact-list li a:hover { color: var(--eb-gold); }

.eb-form .form-label {
  font-size: .78rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--eb-dark); font-weight: 600; margin-bottom: .4rem;
}
.eb-form .form-control, .eb-form .form-select {
  background: #fff; border: 1px solid var(--eb-line);
  border-radius: 2px; padding: .8rem 1rem;
  font-size: .98rem;
}
.eb-form .form-control:focus, .eb-form .form-select:focus {
  border-color: var(--eb-gold);
  box-shadow: 0 0 0 3px rgba(184,135,74,0.15);
}

/* ============ Footer ============ */
.eb-footer {
  background: var(--eb-dark);
  color: rgba(255,255,255,0.75);
  padding: 4rem 0 2rem;
}
.eb-footer h5 {
  color: #fff;
  font-family: var(--eb-font-body);
  font-size: .82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
  font-weight: 600;
}
.eb-footer-tagline {
  font-family: var(--eb-font-serif);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--eb-gold-light);
}
.eb-footer-list { list-style: none; padding: 0; margin: 0; }
.eb-footer-list li { padding: .3rem 0; font-size: .95rem; }
.eb-footer-list a { color: rgba(255,255,255,0.75); }
.eb-footer-list a:hover { color: var(--eb-gold-light); }
.eb-footer hr {
  border-color: rgba(255,255,255,0.12);
  margin: 2.2rem 0 1.2rem;
}
.eb-footer .small { color: rgba(255,255,255,0.55); }

/* ============ WhatsApp float ============ */
.eb-whatsapp-float {
  position: fixed;
  bottom: 22px; right: 22px;
  width: 56px; height: 56px;
  background: #25D366; color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px -8px rgba(37, 211, 102, 0.6);
  z-index: 999;
  transition: transform .25s ease;
}
.eb-whatsapp-float:hover { color: #fff; transform: scale(1.08); }
.eb-whatsapp-float::before {
  content: ""; position: absolute; inset: -6px;
  border-radius: 50%; border: 2px solid rgba(37,211,102,0.4);
  animation: ebPulse 2s infinite;
}
@keyframes ebPulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* ============ Responsive ============ */
@media (max-width: 767.98px) {
  .eb-section { padding: 4rem 0; }
  .eb-hero-badges { gap: 1.5rem; }
  .eb-hero-badges strong { font-size: 1.4rem; }
  .eb-cta-strip h3 { font-size: 1.4rem; }
  .eb-cta-strip .col-lg-4 { text-align: left !important; }
}
@media (max-width: 992px) {
  .marmol{padding-top:90px;}
}