:root {
  --dark: #0f172a;
  --navy: #111827;
  --gold: #c89b3c;
  --gold-dark: #a77d2d;
  --light: #f8fafc;
  --soft: #eef2f7;
  --text: #334155;
  --white: #ffffff;
  --border: #e2e8f0;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  --radius: 22px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--light);
  color: var(--text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* HEADER */
.header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
}

.navbar {
  width: min(1180px, 92%);
  margin: auto;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.5px;
}

.logo span {
  color: var(--gold);
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
  transition: 0.3s ease;
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-cta {
  background: var(--dark);
  color: var(--white) !important;
  padding: 11px 18px;
  border-radius: 999px;
}

.nav-cta:hover {
  background: var(--gold);
}

.menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.9rem;
  cursor: pointer;
  color: var(--dark);
}

/* HERO */
.hero {
  width: min(1180px, 92%);
  margin: 0 auto;
  min-height: 100vh;
  padding: 130px 0 70px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}

.tag {
  display: inline-block;
  color: var(--gold);
  background: rgba(200, 155, 60, 0.12);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.7rem);
  line-height: 1.05;
  color: var(--dark);
  letter-spacing: -2px;
  margin-bottom: 22px;
}

.hero-text {
  max-width: 610px;
  font-size: 1.08rem;
  color: #475569;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 23px;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.3s ease;
  border: none;
  font-size: 0.95rem;
}

.btn.primary {
  background: var(--gold);
  color: var(--white);
  box-shadow: 0 12px 25px rgba(200, 155, 60, 0.28);
}

.btn.primary:hover {
  background: var(--gold-dark);
  transform: translateY(-3px);
}

.btn.secondary {
  background: var(--white);
  color: var(--dark);
  border: 1px solid var(--border);
}

.btn.secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-3px);
}

.btn.light {
  background: var(--white);
  color: var(--dark);
}

.btn.light:hover {
  transform: translateY(-3px);
}

.btn.full {
  width: 100%;
}

.hero-image {
  position: relative;
}

.hero-image img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.hero-image::before {
  content: "";
  position: absolute;
  width: 80%;
  height: 80%;
  right: -20px;
  bottom: -20px;
  background: var(--gold);
  border-radius: 34px;
  z-index: -1;
}

/* STATS */
.stats {
  width: min(1180px, 92%);
  margin: -20px auto 90px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-card {
  background: var(--white);
  padding: 28px 22px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.stat-card h3 {
  font-size: 1.8rem;
  color: var(--dark);
  margin-bottom: 4px;
}

.stat-card p {
  color: #64748b;
  font-weight: 600;
}

/* SECTIONS */
.section {
  width: min(1180px, 92%);
  margin: 0 auto;
  padding: 85px 0;
}

.section-title {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.section-title p {
  color: var(--gold);
  font-weight: 800;
  margin-bottom: 8px;
}

.section-title h2 {
  color: var(--dark);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -1px;
  margin-bottom: 12px;
}

.section-title span {
  color: #64748b;
}

/* SERVICIOS */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  transition: 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.icon {
  width: 58px;
  height: 58px;
  background: rgba(200, 155, 60, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.service-card h3 {
  color: var(--dark);
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.service-card p {
  color: #64748b;
}

/* ABOUT */
.about {
  width: min(1180px, 92%);
  margin: 0 auto;
  padding: 85px 0;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.about-image img {
  height: 560px;
  width: 100%;
  object-fit: cover;
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.about-content h2 {
  color: var(--dark);
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -1px;
  margin-bottom: 18px;
}

.about-content p {
  margin-bottom: 18px;
  color: #475569;
}

.about-list {
  display: grid;
  gap: 14px;
  margin: 28px 0;
}

.about-list div {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 16px 18px;
  border-radius: 16px;
}

.about-list strong {
  display: block;
  color: var(--dark);
}

.about-list span {
  color: #64748b;
}

/* PROCESS */
.process-section {
  background: var(--soft);
  width: 100%;
  padding-left: 4%;
  padding-right: 4%;
}

.process-grid {
  width: min(1180px, 100%);
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.process-card {
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.process-card span {
  display: inline-flex;
  width: 46px;
  height: 46px;
  background: var(--dark);
  color: var(--white);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-bottom: 22px;
}

.process-card h3 {
  color: var(--dark);
  margin-bottom: 10px;
}

/* BANNER */
.banner {
  width: min(1180px, 92%);
  margin: 70px auto;
  background: linear-gradient(135deg, var(--dark), #1e293b);
  color: var(--white);
  padding: 55px;
  border-radius: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  box-shadow: var(--shadow);
}

.banner h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: -1px;
  margin-bottom: 12px;
}

.banner p {
  color: #cbd5e1;
  max-width: 760px;
}

/* TESTIMONIOS */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.testimonial-card {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.testimonial-card p {
  color: #475569;
  margin-bottom: 22px;
  font-style: italic;
}

.testimonial-card h4 {
  color: var(--dark);
}

.testimonial-card span {
  color: var(--gold);
  font-weight: 700;
  font-size: 0.9rem;
}

/* CONTACTO */
.contact {
  width: min(1180px, 92%);
  margin: 0 auto;
  padding: 90px 0;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 60px;
  align-items: start;
}

.contact-info h2 {
  color: var(--dark);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -1px;
  margin-bottom: 18px;
}

.contact-info p {
  color: #475569;
  margin-bottom: 20px;
}

.contact-data {
  margin-top: 30px;
  display: grid;
  gap: 14px;
}

.contact-data p {
  background: var(--white);
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid var(--border);
  margin: 0;
}

.contact-data strong {
  color: var(--dark);
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 35px;
  box-shadow: var(--shadow);
}

.contact-form h3 {
  color: var(--dark);
  font-size: 1.6rem;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  color: var(--dark);
  font-weight: 700;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #f8fafc;
  color: var(--dark);
  outline: none;
  font-family: inherit;
  font-size: 0.95rem;
}

.form-group textarea {
  resize: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
  background: var(--white);
}

/* FOOTER */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 50px 4%;
  text-align: center;
}

.footer h3 {
  margin-bottom: 8px;
}

.footer p {
  color: #cbd5e1;
}

.footer-links {
  margin: 24px 0;
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #cbd5e1;
  transition: 0.3s ease;
}

.footer-links a:hover {
  color: var(--gold);
}

.copy {
  font-size: 0.9rem;
}

/* TOAST */
.toast {
  position: fixed;
  right: 25px;
  bottom: 25px;
  background: var(--dark);
  color: var(--white);
  padding: 16px 20px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  transform: translateY(120px);
  opacity: 0;
  transition: 0.4s ease;
  z-index: 2000;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* RESPONSIVE */
@media (max-width: 950px) {
  .menu-btn {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 78px;
    right: 4%;
    width: 260px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li a {
    display: block;
    padding: 14px 16px;
    border-radius: 14px;
  }

  .nav-links li a:hover {
    background: var(--soft);
  }

  .hero,
  .about,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 120px;
  }

  .hero-image img,
  .about-image img {
    height: 420px;
  }

  .stats,
  .services-grid,
  .process-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 620px) {
  .navbar {
    height: 72px;
  }

  .nav-links {
    top: 72px;
    width: 92%;
    left: 4%;
    right: 4%;
  }

  .hero {
    padding-top: 110px;
    gap: 35px;
  }

  .hero h1 {
    letter-spacing: -1px;
  }

  .hero-image img,
  .about-image img {
    height: 330px;
    border-radius: 24px;
  }

  .stats,
  .services-grid,
  .process-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .stats {
    margin-bottom: 50px;
  }

  .section,
  .about,
  .contact {
    padding: 60px 0;
  }

  .banner {
    padding: 35px 25px;
    border-radius: 24px;
  }

  .contact-form {
    padding: 25px;
    border-radius: 24px;
  }

  .toast {
    left: 18px;
    right: 18px;
    bottom: 18px;
  }
}
/* Evita desbordes laterales en celulares muy estrechos */
body {
  overflow-x: hidden;
}

@media (max-width: 620px) {
  .hero-image::before {
    right: 0;
    bottom: -10px;
  }
}
