@font-face { font-family: 'Barlow'; src: url('tipografia/Barlow-Light.ttf'); font-weight: 300; font-style: normal; }
@font-face { font-family: 'Barlow'; src: url('tipografia/Barlow-LightItalic.ttf'); font-weight: 300; font-style: italic; }
@font-face { font-family: 'Barlow'; src: url('tipografia/Barlow-Regular.ttf'); font-weight: 400; font-style: normal; }
@font-face { font-family: 'Barlow'; src: url('tipografia/Barlow-Italic.ttf'); font-weight: 400; font-style: italic; }
@font-face { font-family: 'Barlow'; src: url('tipografia/Barlow-Medium.ttf'); font-weight: 500; font-style: normal; }
@font-face { font-family: 'Barlow'; src: url('tipografia/Barlow-SemiBold.ttf'); font-weight: 600; font-style: normal; }
@font-face { font-family: 'Barlow'; src: url('tipografia/Barlow-Bold.ttf'); font-weight: 700; font-style: normal; }
@font-face { font-family: 'Barlow'; src: url('tipografia/Barlow-ExtraBold.ttf'); font-weight: 800; font-style: normal; }
@font-face { font-family: 'Barlow'; src: url('tipografia/Barlow-Black.ttf'); font-weight: 900; font-style: normal; }
@font-face { font-family: 'Barlow'; src: url('tipografia/Barlow-BlackItalic.ttf'); font-weight: 900; font-style: italic; }

:root {
  --bg: #f9fbfc;
  --surface: #ffffff;
  --surface-strong: #2a3856;
  --primary: #fec437;
  --text: #444444;
  --muted: #5f6d7e;
  --border: #e6edef;
  --radius: 24px;
  --shadow: 0 30px 80px rgba(17, 41, 68, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Barlow', sans-serif;
  color: var(--text);
  background: var(--bg);
}

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

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

button {
  font: inherit;
}

.container {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

/* ── HEADER ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(230, 237, 239, 0.85);
}

.header-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 18px 0;
}

.logo img {
  height: 48px;
}

.main-nav ul {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
  list-style: none;
}

.main-nav a {
  color: var(--surface-strong);
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  font-size: 14px;
  position: relative;
  transition: color 0.2s;
}

.main-nav a:not(.nav-button)::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 999px;
  transition: width 0.25s ease;
}

.main-nav a:not(.nav-button):hover::after {
  width: 100%;
}

.nav-button {
  background: var(--primary);
  color: var(--surface-strong);
  padding: 13px 22px;
  border-radius: 999px;
  transition: background 0.2s, transform 0.15s;
}

.nav-button:hover {
  background: #f5b800;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  border: none;
  background: none;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  display: block;
  width: 25px;
  height: 3px;
  background: var(--surface-strong);
  border-radius: 999px;
}

.nav-toggle span::before,
.nav-toggle span::after {
  transition: transform 0.25s ease;
}

/* ── HERO ── */
.hero {
  position: relative;
  overflow: hidden;
}

.hero picture,
.hero img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 80px 24px;
  color: var(--surface-strong);
}

.eyebrow {
  margin: 0 0 4px;
  font-family: 'Barlow', sans-serif;
  font-size: clamp(1.5rem, 4vw, 3.75rem);
  font-weight: 400;
  line-height: 1.1;
}

.hero h1 {
  margin: 0;
  font-family: 'Barlow', sans-serif;
  font-size: clamp(1.5rem, 4vw, 3.75rem);
  font-weight: 900;
  line-height: 1.05;
}

.hero-text {
  margin: 20px 0 0;
  font-family: 'Barlow', sans-serif;
  font-size: clamp(1rem, 2vw, 1.875rem);
  font-weight: 400;
  max-width: 800px;
}

/* ── SECCIONES ── */
.section {
  padding: 80px 0;
}

.section-inner {
  display: grid;
  gap: 32px;
}

.section-intro,
.section-value {
  background: #ffffff;
}

.section-intro .section-inner {
  justify-items: center;
  gap: 24px;
}

.section-intro .section-logo {
  text-align: center;
}

.section-intro .section-logo img {
  max-width: 340px;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.section-intro .section-copy {
  text-align: center;
  font-size: 1.875rem;
  line-height: 1.3;
  max-width: 960px;
  width: 100%;
}

.section-head {
  text-align: center;
  max-width: 850px;
  margin: 0 auto 40px;
}

.section-head h2 {
  margin: 16px 0 12px;
  font-family: 'Barlow', sans-serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 400;
  line-height: 1.05;
  color: var(--surface-strong);
}

.section-head h2 strong {
  display: block;
  font-weight: 800;
}

.section-head p {
  margin: 0 auto;
  max-width: 700px;
  font-family: 'Barlow', sans-serif;
  font-size: 1.875rem;
  line-height: 1.3;
  color: var(--text);
}

.section-icon {
  width: 32px;
  margin: 0 auto 18px;
}

/* ── TARJETAS ── */
.cards {
  display: grid;
  gap: 24px;
}

.cards-small {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cards-large {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  box-shadow: var(--shadow);
}

.card img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  border-radius: 18px;
  background: #f8fafb;
  flex-shrink: 0;
}

.card h3 {
  margin: 0 0 10px;
  font-family: 'Barlow', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--surface-strong);
}

.card p {
  margin: 0;
  font-family: 'Barlow', sans-serif;
  font-size: 1.25rem;
  line-height: 1.3;
  color: var(--text);
}

/* sección ventajas */
.section-advantages {
  background: #ffffff;
}

/* tarjetas ventajas: centradas, sin caja */
.section-advantages .card {
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 20px 24px;
}

.section-advantages .card img {
  background: transparent;
  border-radius: 0;
  width: 90px;
  height: 90px;
  margin-bottom: 12px;
}

/* ── PLATAFORMA ── */
.section-platform .platform-grid {
  grid-template-columns: 1.3fr 1fr;
  align-items: center;
}

.platform-copy h2 {
  font-family: 'Barlow', sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
  line-height: 1.1;
  margin: 0 0 24px;
  color: var(--surface-strong);
}

.platform-copy h2 strong {
  font-weight: 700;
}

.platform-copy p {
  margin: 0 0 24px;
  font-family: 'Barlow', sans-serif;
  font-size: 1.875rem;
  line-height: 1.65;
  color: var(--text);
}

.platform-copy ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.platform-copy li {
  padding-left: 24px;
  position: relative;
  font-family: 'Barlow', sans-serif;
  font-size: 1.25rem;
  color: var(--text);
}

.platform-copy li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  position: absolute;
  left: 0;
  top: 10px;
}

.platform-image img {
  border-radius: 32px;
  box-shadow: var(--shadow);
}

/* ── SECCIÓN CITA/COMPROMISO ── */
.section-commitment {
  background: #b7d9db;
}

.commitment-quote {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 40px;
}

.commitment-quote p {
  margin: 0;
  font-family: 'Barlow', sans-serif;
  font-size: 1.875rem;
  line-height: 1.3;
  color: var(--surface-strong);
}

/* ── SECCIÓN SLIDER COMPROMISO ── */
.section-commitment-slider {
  background: #ffffff;
  padding: 0 0 80px;
}

/* ── SLIDER ── */
.slider {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.slider-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  transition: transform 0.5s ease;
}

.slide {
  position: relative;
}

.slide img {
  width: 100%;
  height: auto;
  display: block;
}

.slide-caption {
  position: absolute;
  left: 24px;
  bottom: 24px;
  background: rgba(255, 255, 255, 0.94);
  padding: 18px 24px;
  border-radius: 24px;
  max-width: 520px;
  backdrop-filter: blur(10px);
}

.slide-caption span {
  display: block;
  font-family: 'Barlow', sans-serif;
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 10px;
}

.slide-caption strong {
  display: block;
  font-family: 'Barlow', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--surface-strong);
}

.slider-controls {
  position: absolute;
  inset: auto 24px 24px;
  display: flex;
  justify-content: space-between;
  width: calc(100% - 48px);
  pointer-events: none;
}

.slider-controls button {
  pointer-events: all;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.75rem;
  color: var(--surface-strong);
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 18px 35px rgba(17, 41, 68, 0.12);
}

/* ── HOME STAGING ── */
.section-home-staging {
  background: #ffffff;
}

.section-home-staging .section-head {
  margin-bottom: 16px;
}

.section-home-staging .section-head h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.section-icon-spaced {
  margin-top: 28px;
  margin-bottom: 8px;
}

.section-home-staging .section-copy {
  max-width: 980px;
  margin: 0 auto;
  font-family: 'Barlow', sans-serif;
  font-size: 1.125rem;
  line-height: 1.5;
  color: var(--text);
  text-align: center;
}

.section-home-staging .section-copy p {
  margin: 14px 0;
}

/* ── CARRUSEL ── */
.section-carousel {
  background: #f3f8fb;
}

.carousel-title {
  text-align: center;
  margin-bottom: 28px;
}

.carousel-title p {
  margin: 0;
  font-family: 'Barlow', sans-serif;
  font-size: 1.875rem;
  line-height: 1.5;
  font-weight: 400;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  color: var(--surface-strong);
}

/* ── CONTACTO ── */
.section-contact {
  background: #ffffff;
}

.contact-heading {
  text-align: center;
  font-family: 'Barlow', sans-serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 400;
  line-height: 1.05;
  color: var(--surface-strong);
  margin: 0 0 24px;
}

.contact-heading strong {
  display: block;
  font-weight: 800;
}

.contact-simple {
  text-align: center;
  font-family: 'Barlow', sans-serif;
  font-size: 1.5rem;
  line-height: 1.4;
  color: var(--surface-strong);
  margin: 0 auto;
  max-width: 700px;
}

.contact-simple a {
  color: var(--surface-strong);
  font-weight: 700;
  text-decoration: underline;
}

.button {
  background: var(--primary);
  border: none;
  color: var(--surface-strong);
  padding: 16px 24px;
  border-radius: 999px;
  cursor: pointer;
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  font-size: 1rem;
}

/* ── FOOTER ── */
.site-footer {
  background: #242424;
  padding: 0 0 60px;
}

.footer-city {
  width: 100%;
  display: block;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: center;
  padding-top: 40px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: 'Barlow', sans-serif;
}

.footer-column img {
  width: 120px;
}

.footer-column a {
  color: #ffffff;
}

.footer-links a {
  display: inline-block;
}

/* ── RESPONSIVE ── */
@media (max-width: 980px) {
  .section-head h2,
  .platform-copy h2,
  .contact-copy h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
  }
  .main-nav ul {
    gap: 12px;
  }
  .platform-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .cards-small,
  .cards-large {
    grid-template-columns: 1fr;
  }
  .section-head p,
  .section-intro .section-copy,
  .platform-copy p,
  .contact-copy p,
  .section-home-staging .section-copy,
  .commitment-quote p,
  .carousel-title p {
    font-size: 1.25rem;
  }
}

@media (max-width: 640px) {
  .hero-copy {
    padding: 40px 18px;
  }
  .eyebrow,
  .hero h1 {
    font-size: clamp(1.25rem, 8vw, 2.5rem);
  }
  .hero-text {
    font-size: clamp(0.875rem, 4vw, 1.125rem);
  }
  .slider-controls {
    width: calc(100% - 24px);
  }
  .site-footer {
    padding-bottom: 40px;
  }
}
