:root {
  --gold: #c4a77d;
  --blue: #004a99;
  --dark: #121212;
  --whatsapp: #25d366;
  --urgent: #b30000;
}

* { box-sizing: border-box; }

body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  background: var(--dark);
  color: white;
  scroll-behavior: smooth;
}

nav {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.96);
  z-index: 3000;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
  padding: 12px 10px;
  border-bottom: 2px solid var(--gold);
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  flex-wrap: nowrap;
  -webkit-overflow-scrolling: touch;
}

nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 42px;
  padding: 10px 14px;
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 8px;
  touch-action: manipulation;
}

nav::-webkit-scrollbar { height: 6px; }
nav::-webkit-scrollbar-thumb { background: #555; border-radius: 10px; }

.urgent-bar {
  position: sticky;
  top: 66px;
  z-index: 2500;
  background: var(--urgent);
  text-align: center;
  padding: 10px 12px;
}

.urgent-bar a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
}

.hero {
  background:
    linear-gradient(rgba(0,0,0,0.60), rgba(0,0,0,0.60)),
    url('https://images.unsplash.com/photo-1558449028-b53a39d100fc?q=80&w=1400&auto=format&fit=crop');
  min-height: 52vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  padding: 155px 20px 60px;
}

.hero h1 {
  font-size: clamp(1.9rem, 5vw, 3.2rem);
  color: var(--gold);
  margin: 0;
  padding: 0 10px;
}

.hero p {
  font-size: 1.15rem;
  color: #eee;
  padding: 0 15px;
  max-width: 900px;
  margin-top: 12px;
}

.hero-cta {
  display: inline-block;
  margin-top: 20px;
  background: var(--urgent);
  color: #ffffff !important;
  padding: 15px 25px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none !important;
  font-size: 1.05rem;
}

.urgent-section {
  padding: 50px 20px;
  text-align: center;
}

.form-container {
  background: #1e1e1e;
  max-width: 650px;
  margin: 20px auto;
  padding: 30px;
  border-radius: 15px;
  border: 1px solid #444;
}

.form-group {
  margin-bottom: 15px;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-weight: bold;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  background: #2a2a2a;
  border: 1px solid #555;
  color: white;
  border-radius: 6px;
}

.btn-submit {
  background: var(--urgent);
  color: white;
  border: none;
  padding: 20px;
  width: 100%;
  cursor: pointer;
  font-weight: bold;
  border-radius: 6px;
  font-size: 1.05rem;
  text-transform: uppercase;
}

.btn-submit:hover { background: #d10000; }

.quick-points {
  margin-top: 15px;
  font-size: 0.92rem;
  color: #aaa;
  line-height: 1.7;
}

.work-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  padding: 60px 20px;
  max-width: 1200px;
  margin: auto;
}

.photo-card {
  height: 400px;
  border-radius: 15px;
  background-size: cover;
  background-position: center;
  border: 2px solid #333;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
}

.photo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
}

.photo-card span {
  position: relative;
  width: 100%;
  color: white;
  padding: 25px;
  font-weight: bold;
  font-size: 1.2rem;
  text-transform: uppercase;
}

.local-seo,
#donde,
.partners,
.zones-section {
  background: white;
  color: #222;
  padding: 60px 20px;
}

.local-seo .wrap,
.zones-section .wrap,
.faq-section .wrap {
  max-width: 1100px;
  margin: 0 auto;
}

.local-seo h2,
.zones-section h2,
#donde h2,
#opiniones h2,
.faq-section h2 {
  color: #121212;
  font-size: 2rem;
  margin-bottom: 20px;
}

.local-seo p,
.zones-section p,
.faq-item p {
  line-height: 1.85;
  font-size: 1rem;
  margin-bottom: 18px;
}

.zones-section {
  text-align: center;
  border-top: 1px solid #eee;
}

.zones-links a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 600;
  margin: 0 8px;
  line-height: 2;
}

.map-container {
  max-width: 1100px;
  margin: 30px auto;
  border: 4px solid var(--gold);
  border-radius: 20px;
  overflow: hidden;
  height: 400px;
}

.partners {
  text-align: center;
  border-top: 1px solid #eee;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  align-items: stretch;
  max-width: 1100px;
  margin: 0 auto;
}

.partner-item {
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 18px 20px;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  color: #334155;
  font-weight: 700;
  text-align: center;
}

.faq-section {
  background: #f9f9f9;
  color: #1e293b;
  padding: 60px 20px;
}

.faq-item { margin-bottom: 24px; }
.faq-item h3 { margin-bottom: 8px; color: #121212; }

#opiniones {
  background: #f9f9f9;
  padding: 60px 20px;
  text-align: center;
  color: #1e293b;
  border-top: 1px solid #e2e8f0;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  max-width: 1100px;
  margin: 30px auto;
}

.review-card {
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  text-align: left;
  border-top: 4px solid var(--gold);
}

.review-header {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.review-avatar {
  width: 40px;
  height: 40px;
  background: #e2e8f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-right: 12px;
  color: #475569;
}

.review-stars {
  color: #f59e0b;
  font-size: 0.8rem;
  margin-top: 2px;
}

.float-btn {
  position: fixed;
  bottom: 25px;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  display: flex !important;
  justify-content: center;
  align-items: center;
  color: #ffffff !important;
  font-size: 32px;
  z-index: 2000;
  box-shadow: 0 5px 15px rgba(0,0,0,0.4);
  text-decoration: none !important;
}

.wa {
  right: 25px;
  background: var(--whatsapp);
  animation: pulse 1.5s infinite;
}

.call {
  left: 25px;
  background: var(--blue);
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

footer {
  padding: 40px;
  text-align: center;
  background: #000;
  color: #888;
  border-top: 1px solid #222;
}

footer a {
  color: var(--gold);
  text-decoration: none;
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  nav { gap: 8px; padding: 10px 8px; }
  nav a { font-size: 0.74rem; min-height: 40px; padding: 9px 12px; }
  .urgent-bar { top: 62px; }
  .hero { padding-top: 160px; }
  .partner-item { min-height: 72px; padding: 12px 16px; }
  .float-btn { width: 58px; height: 58px; font-size: 28px; }
}

.call-now {
  position: fixed;
  bottom: 95px;
  left: 50%;
  transform: translateX(-50%);
  background: #ff0000;
  color: #ffffff !important;
  font-weight: 700;
  padding: 16px 28px;
  border-radius: 999px;
  font-size: 1.02rem;
  z-index: 2600;
  text-decoration: none !important;
  box-shadow: 0 6px 20px rgba(0,0,0,0.38);
  animation: callpulse 1.5s infinite;
  text-align: center;
  line-height: 1.2;
  display: inline-block !important;
}

@keyframes callpulse {
  0% { transform: translateX(-50%) scale(1); }
  50% { transform: translateX(-50%) scale(1.05); }
  100% { transform: translateX(-50%) scale(1); }
}

@media (max-width: 768px) {
  .call-now {
    bottom: 88px;
    width: calc(100% - 34px);
    max-width: 360px;
    padding: 15px 18px;
    font-size: 0.96rem;
  }
}

/* ===== FIX FINAL BOTONES Y TEXTO ===== */
.hero-cta,
.hero-cta:visited,
.hero-cta:hover,
.hero-cta:active {
  color: #ffffff !important;
  text-decoration: none !important;
}

.call-now,
.call-now:visited,
.call-now:hover,
.call-now:active {
  color: #ffffff !important;
  text-decoration: none !important;
}

.float-btn,
.float-btn:visited,
.float-btn:hover,
.float-btn:active,
.float-btn.wa,
.float-btn.wa:visited,
.float-btn.wa:hover,
.float-btn.wa:active,
.float-btn i,
.float-btn.wa i {
  color: #ffffff !important;
  text-decoration: none !important;
}