/* ===========================
   KAOTICA SPAIN - ESTILOS
   =========================== */

:root {
  --bg: #0b0b0d;
  --bg-soft: #f5f5f2;
  --surface: #151518;
  --text: #111111;
  --text-light: #ffffff;
  --muted: #6c6c73;
  --border: #dddddd;
  --accent: #ffffff;
  --radius: 22px;
  --max-width: 1240px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: #ffffff;
  line-height: 1.5;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(92%, var(--max-width));
  margin: 0 auto;
}

.section {
  padding: 100px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 48px;
}

.section-heading span,
.section-label,
.quote-intro > span {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  font-weight: 800;
}

.section-heading h2,
.split-content h2,
.quote-intro h2,
.contact-section h2 {
  font-size: clamp(2rem, 5vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.045em;
  margin-bottom: 22px;
}

.section-heading p,
.split-content p,
.quote-intro p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 680px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid #111;
  background: #111;
  color: #fff;
  font-weight: 800;
  border-radius: 999px;
  transition: 0.25s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
  background: #292929;
}

.btn-small {
  min-height: 42px;
  padding: 0 18px;
}

.btn-outline {
  background: transparent;
  border-color: #fff;
  color: #fff;
}

.btn-outline:hover {
  background: #fff;
  color: #111;
}

/* HEADER */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(8, 8, 10, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.09);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.logo {
  width: 250px;
  max-height: 52px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
}

.nav > a:not(.btn):hover {
  opacity: .65;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
}

/* HERO */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  color: #fff;

  background-color: #0b0b0d;
  background-image: url("img/7.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% auto;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(0,0,0,.58) 0%,
      rgba(0,0,0,.28) 48%,
      rgba(0,0,0,.04) 100%
    );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 90px;
}

.eyebrow {
  margin-bottom: 20px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: .18em;
}

.hero h1 {
  max-width: 790px;
  font-size: clamp(3.5rem, 9vw, 8.5rem);
  line-height: .84;
  letter-spacing: -.065em;
  text-transform: uppercase;
}

.hero-text {
  max-width: 630px;
  margin: 32px 0;
  color: rgba(255,255,255,.82);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* CATEGORÍAS */

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.category-card {
  overflow: hidden;
  background: var(--bg-soft);
  border-radius: var(--radius);
}

.category-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform .35s ease;
}

.category-card:hover img {
  transform: scale(1.035);
}

.category-content {
  padding: 24px;
}

.category-content h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.category-content p {
  color: var(--muted);
}

/* SECCIONES DIVIDIDAS */

.split-section {
  padding: 110px 0;
}

.dark-section {
  background: var(--bg);
  color: #fff;
}

.split-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 72px;
}

.split-grid.reverse .split-image {
  order: 2;
}

.split-image img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 30px;
}

.dark-section .split-content p,
.dark-section .feature-list {
  color: rgba(255,255,255,.72);
}

.dark-section .btn {
  margin-top: 30px;
  background: #fff;
  color: #111;
  border-color: #fff;
}

.feature-list {
  display: grid;
  gap: 12px;
  list-style: none;
  margin-top: 28px;
}

.feature-list li::before {
  content: "✓";
  margin-right: 10px;
  font-weight: 800;
}

.mini-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 34px 0;
}

.mini-features div {
  padding: 22px;
  background: var(--bg-soft);
  border-radius: 18px;
}

.mini-features strong,
.mini-features span {
  display: block;
}

.mini-features span {
  color: var(--muted);
  font-size: .9rem;
  margin-top: 4px;
}

.text-link {
  font-weight: 800;
}

/* EMPRESAS */

.business-section {
  padding: 110px 0;
  color: #fff;
  background:
    linear-gradient(rgba(10,10,12,.88), rgba(10,10,12,.88)),
    url("img/banner-empresas.jpg") center / cover no-repeat;
}

.section-heading.light p {
  color: rgba(255,255,255,.68);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 60px;
  border-top: 1px solid rgba(255,255,255,.18);
  border-bottom: 1px solid rgba(255,255,255,.18);
}

.stat {
  min-height: 330px;
  padding: 22px;
  border-right: 1px solid rgba(255,255,255,.18);
}
.stat-image {
  width: 100%;
  height: 580px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 22px;
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  display: block;
  font-size: 2.8rem;
  margin-bottom: 34px;
}

.stat span {
  color: rgba(255,255,255,.75);
}

/* GALERÍA */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-grid img {
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  border-radius: 18px;
}

.gallery-grid img:nth-child(2),
.gallery-grid img:nth-child(5) {
  aspect-ratio: 4 / 5.3;
}

/* VENTAJAS */

.soft-section {
  background: var(--bg-soft);
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.adv-card {
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  min-height: 100%;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.adv-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.adv-card .number {
  font-size: .82rem;
  color: #909096;
  margin: 24px 24px 12px;
}

.adv-card h3 {
  font-size: 1.25rem;
  margin: 0 24px 10px;
}

.adv-card p {
  color: var(--muted);
  margin: 0 24px 26px;
  line-height: 1.5;
}



/* FORMULARIO */

.quote-section {
  padding: 110px 0;
  background: #111;
  color: #fff;
}

.quote-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 80px;
  align-items: start;
}

.quote-intro {
  color: #fff;
}

.quote-intro p {
  color: rgba(255,255,255,.68);
  margin-bottom: 14px;
}

.contact-shortcuts {
  display: grid;
  gap: 10px;
  margin-top: 36px;
}

.contact-shortcuts a {
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
}

.quote-form {
  width: 100%;
  padding: 34px;
  background: #1b1b1e;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 26px;
  box-sizing: border-box;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form-group {
  width: 100%;
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #cfcfd3;
  font-size: .9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;

  border: 1px solid rgba(255,255,255,.13);
  background: #111;
  color: #fff;

  border-radius: 13px;
  padding: 14px 15px;
  outline: none;
}

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

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: #fff;
}

.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 22px;
  color: #bcbcc2;
  font-size: .85rem;
}

.check input {
  margin-top: 3px;
}

.quote-form .btn {
  background: #fff;
  color: #111;
  border-color: #fff;
}

.form-note {
  margin-top: 16px;
  color: #898990;
  font-size: .82rem;
}

/* CONTACTO */

.contact-section {
  padding: 80px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: end;
}

.social-links {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  flex-wrap: wrap;
  font-weight: 800;
}

/* FOOTER */

.footer {
  padding: 70px 0 28px;
  background: #09090b;
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
}

.footer-logo {
  display: block;
  width: 90px;
  max-width: 90px;
  height: auto;
  object-fit: contain;
  margin-bottom: 18px;
}

.footer p,
.footer a {
  color: #94949b;
}

.footer h4 {
  margin-bottom: 15px;
}

.footer-grid > div:not(:first-child) {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-bottom {
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: .85rem;
}

/* WHATSAPP */

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 999;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  color: #fff;
  font-size: .84rem;
  font-weight: 900;
  box-shadow: 0 8px 30px rgba(0,0,0,.25);
}

/* RESPONSIVE */

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: 78px;
    left: 0;
    width: 100%;
    padding: 24px 4%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: #0b0b0d;
  }

  .nav.open {
    display: flex;
  }

  .category-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .split-grid,
  .quote-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .split-grid.reverse .split-image {
    order: initial;
  }

  .stats-grid,
  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .social-links {
    justify-content: flex-start;
  }

}

@media (max-width: 640px) {
  .section,
  .split-section,
  .business-section,
  .quote-section {
    padding: 72px 0;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-overlay {
    background: rgba(0,0,0,.68);
  }

  .category-grid,
  .gallery-grid,
  .stats-grid,
  .advantages-grid,
  .form-row,
  .footer-grid,
  .mini-features {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    border-bottom: 0;
  }

  .stat {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.18);
  }

  .quote-form {
    padding: 22px;
  }

  .footer-grid {
    gap: 34px;
  }
}
