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

:root {
  --bg: #08090c;
  --bg-raised: #111318;
  --bg-surface: #181b22;
  --border: rgba(255,255,255,0.06);
  --border-hover: rgba(255,255,255,0.12);
  --gold: #e8ad1a;
  --gold-dim: rgba(232,173,26,0.12);
  --gold-glow: rgba(232,173,26,0.06);
  --text: #eaeaea;
  --text-secondary: #8a8f9e;
  --text-muted: #5c6070;
  --white: #ffffff;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(8,9,12,0.8);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}

.logo img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: cover;
  background: #0a0a0a;
  padding: 5px;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
  letter-spacing: -0.01em;
}

.nav-links a:hover { color: var(--white); }

.nav-cta {
  background: var(--gold);
  color: var(--bg);
  padding: 8px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  transition: opacity 0.2s;
  cursor: pointer;
}

.nav-cta:hover { opacity: 0.88; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  border-radius: 1px;
  transition: 0.25s;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  letter-spacing: -0.01em;
}

.btn-gold {
  background: var(--gold);
  color: var(--bg);
}

.btn-gold:hover { opacity: 0.88; }

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  color: var(--white);
  border-color: var(--border-hover);
}

.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ─── SECTION COMMON ─── */
.section-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 64px;
}

.section-tag {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 12px;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 480px;
  line-height: 1.65;
}

/* ─── SERVICES ─── */
.services-main {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 16px;
}

.service-main-card {
  background: var(--bg-raised);
  padding: 44px 32px;
  position: relative;
  transition: background 0.3s;
}

.service-main-card:hover { background: var(--bg-surface); }

.service-main-card .s-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--gold-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.service-main-card .s-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-main-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.service-main-card h3 a {
  color: inherit;
  text-decoration: none;
}

.service-main-card h3 a:hover { color: var(--gold); }

.service-main-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.65;
}

.services-secondary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: 20px;
  overflow: hidden;
}

.service-sm {
  background: var(--bg-raised);
  padding: 28px 32px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: background 0.3s;
}

.service-sm:hover { background: var(--bg-surface); }

.service-sm .s-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  opacity: 0.5;
  margin-top: 7px;
}

.service-sm span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.service-sm a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.service-sm:hover span,
.service-sm:hover a { color: var(--white); }

.service-sm-desc {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-top: 4px;
  line-height: 1.5;
}

/* ─── FAQ ─── */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  overflow: hidden;
  transition: background 0.2s;
}

.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-item[open] { background: var(--bg-raised); }

.faq-item summary {
  padding: 20px 24px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-item summary:hover { color: var(--gold); }

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-item[open] summary::after { content: '−'; }

.faq-answer {
  padding: 0 24px 20px;
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.95rem;
}

.faq-answer a {
  color: var(--gold);
  text-decoration: none;
}

.faq-answer a:hover { text-decoration: underline; }

/* ─── CONTACT ─── */
.contact-link {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.9rem;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: all 0.2s;
}

.contact-link:hover {
  color: var(--white);
  background: var(--bg-raised);
  border-color: var(--border);
}

.contact-link svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  stroke: var(--gold);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-link.wa-fill svg {
  fill: var(--gold);
  stroke: none;
}

/* ─── FOOTER ─── */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 24px;
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-left p {
  color: var(--text-muted);
  font-size: 0.82rem;
}

.footer-left .sep {
  width: 1px;
  height: 16px;
  background: var(--border);
}

.footer-socials {
  display: flex;
  gap: 8px;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}

.footer-socials a:hover {
  color: var(--gold);
  background: var(--gold-dim);
}

.footer-socials svg { width: 16px; height: 16px; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--gold); }

/* ─── WHATSAPP FLOAT ─── */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(37,211,102,0.35);
  z-index: 99;
  transition: transform 0.2s;
  cursor: pointer;
}

.wa-float:hover { transform: translateY(-2px); }
.wa-float svg { width: 26px; height: 26px; fill: #fff; }

/* ─── ENTRANCE ANIMATIONS ─── */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 24px 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -100px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--gold-glow) 0%, transparent 65%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1080px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 80px;
  align-items: center;
}

.hero-text { position: relative; }

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-tag::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--gold);
}

.hero h1 {
  font-size: clamp(2.4rem, 4.8vw, 3.6rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: var(--white);
}

.hero h1 .accent {
  color: var(--gold);
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo-block {
  width: 260px;
}

.hero-logo-block img {
  width: 100%;
  height: auto;
}

/* ─── TRUST BAR ─── */
.trust-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 24px;
}

.trust-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

.trust-item {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.trust-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.03em;
}

.trust-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.trust-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
}

/* ─── HOMEPAGE SECTIONS ─── */
#servicios {
  padding: 100px 24px;
}

#nosotros {
  padding: 100px 24px;
  border-top: 1px solid var(--border);
}

#preguntas {
  padding: 100px 24px;
}

#contacto {
  padding: 100px 24px;
  border-top: 1px solid var(--border);
}

/* ─── ABOUT ─── */
.about-layout {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-text .section-desc {
  margin-bottom: 0;
}

.about-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: border-color 0.3s;
}

.about-card:hover {
  border-color: var(--border-hover);
}

.about-card h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-card h4 svg {
  width: 16px;
  height: 16px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.about-card p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.6;
  padding-left: 26px;
}

/* ─── CONTACT ─── */
.contact-layout {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.contact-left .section-desc {
  margin-bottom: 40px;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
}

.contact-form h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}

.form-group { margin-bottom: 16px; }

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 11px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
  transition: border-color 0.2s;
  appearance: none;
  -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
}

.form-group textarea { resize: vertical; min-height: 90px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-submit {
  width: 100%;
  background: var(--gold);
  color: var(--bg);
  border: none;
  padding: 13px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
  margin-top: 8px;
  letter-spacing: -0.01em;
}

.form-submit:hover { opacity: 0.88; }

/* ─── SERVICE PAGE SPECIFIC ─── */
.page-hero {
  padding: 120px 24px 60px;
  border-bottom: 1px solid var(--border);
}

.page-hero-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 0.82rem;
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb a:hover { color: var(--gold); }

.breadcrumb span { color: var(--text-muted); }

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.page-hero .hero-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.7;
}

.page-content {
  padding: 80px 24px;
}

.page-content-inner {
  max-width: 800px;
  margin: 0 auto;
}

.page-content h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  margin-top: 48px;
}

.page-content h2:first-child { margin-top: 0; }

.page-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 16px;
}

.page-content ul {
  list-style: none;
  margin-bottom: 24px;
}

.page-content ul li {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.75;
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
}

.page-content ul li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  position: absolute;
  left: 0;
  top: 16px;
  opacity: 0.6;
}

.page-content a {
  color: var(--gold);
  text-decoration: none;
}

.page-content a:hover { text-decoration: underline; }

.page-content a.btn { color: initial; text-decoration: none; }
.page-content a.btn-gold { color: var(--bg); }

.cta-block {
  margin-top: 60px;
  padding: 48px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 20px;
  text-align: center;
}

.cta-block h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.cta-block p {
  color: var(--text-secondary);
  margin-bottom: 24px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

/* ─── SERVICES OVERVIEW PAGE ─── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.service-card-link {
  text-decoration: none;
  display: block;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 28px;
  transition: border-color 0.3s, background 0.3s;
}

.service-card-link:hover {
  border-color: var(--border-hover);
  background: var(--bg-surface);
}

.service-card-link h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
}

.service-card-link p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ─── LOCATION PAGE ─── */
.service-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.location-services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-tag { justify-content: center; }
  .hero-visual { order: -1; }

  .hero-logo-block {
    width: 180px;
  }

  .trust-inner {
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px 48px;
  }

  .trust-divider { display: none; }

  .services-main { grid-template-columns: 1fr; border-radius: 16px; }
  .services-secondary { grid-template-columns: 1fr; border-radius: 16px; }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-left {
    flex-direction: column;
    gap: 8px;
  }

  .footer-left .sep { display: none; }
}

@media (max-width: 600px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .menu-toggle { display: block; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0; right: 0;
    background: rgba(8,9,12,0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
  }

  .hero { padding: 120px 24px 60px; min-height: auto; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .form-row { grid-template-columns: 1fr; }

  #servicios, #nosotros, #contacto, #preguntas { padding: 60px 24px; }

  .page-hero { padding: 100px 24px 40px; }
  .page-content { padding: 48px 24px; }
  .cta-block { padding: 32px 24px; }
  .faq-item summary { padding: 16px 20px; font-size: 0.9rem; }
  .faq-answer { padding: 0 20px 16px; }
  .service-cards-grid { grid-template-columns: 1fr; }
}
