/* Trabajo Hoy — Landing */
:root {
  --color-primary: #C47C4E;
  --color-primary-dark: #a86840;
  --color-warm: #EDD6C8;
  --color-dark: #313131;
  --color-gray: #E3E3E3;
  --color-cream: #F9F2ED;
  --color-white: #ffffff;
  --font: "Sora", system-ui, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(49, 49, 49, 0.08);
  --shadow-lg: 0 12px 48px rgba(49, 49, 49, 0.12);
  --transition: 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-dark);
  background: var(--color-cream);
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(249, 242, 237, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.header.is-scrolled {
  border-color: var(--color-gray);
  box-shadow: var(--shadow);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  display: block;
  height: 36px;
  width: auto;
}

.logo-img--footer {
  height: 28px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-dark);
  transition: color var(--transition);
}

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

.nav-cta {
  padding: 0.5rem 1.1rem;
  background: var(--color-primary);
  color: var(--color-white) !important;
  border-radius: 999px;
}

.nav-cta:hover {
  background: var(--color-primary-dark);
  color: var(--color-white) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-dark);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* Hero */
.hero {
  position: relative;
  padding: 8rem 0 5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 90% 20%, var(--color-warm) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 10% 80%, rgba(196, 124, 78, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  background: var(--color-warm);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.hero h1 .highlight {
  color: var(--color-primary);
}

.hero-lead {
  font-size: 1.1rem;
  color: rgba(49, 49, 49, 0.85);
  max-width: 32rem;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--color-dark);
  border-color: var(--color-gray);
}

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

/* Phone mockup — capturas reales de la app */
.phone-showcase {
  justify-self: end;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.phone-mockup {
  width: max(400px, 100%);
  aspect-ratio: 9 / 19;
  background: #1a1a1a;
  border-radius: 2rem;
  padding: 10px;
  box-shadow: var(--shadow-lg);
}

.phone-screen {
  height: 100%;
  border-radius: 1.65rem;
  overflow: hidden;
}

.phone-screen--shots {
  background: #000;
  padding: 0;
}

.phone-carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

.phone-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

.phone-slide.is-active {
  opacity: 1;
  z-index: 1;
  pointer-events: auto;
}

.phone-dots {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}

.phone-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--color-gray);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.phone-dot:hover {
  background: var(--color-warm);
}

.phone-dot.is-active {
  background: var(--color-primary);
  transform: scale(1.15);
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section--cream {
  background: var(--color-white);
}

.section-header {
  margin-bottom: 3rem;
}

.section-header--center {
  text-align: center;
  max-width: 36rem;
  margin-inline: auto;
  margin-bottom: 3.5rem;
}

.section-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.section h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-sub {
  margin-top: 0.75rem;
  color: rgba(49, 49, 49, 0.75);
}

/* Story */
.story-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.story-text p {
  margin-bottom: 1.25rem;
  color: rgba(49, 49, 49, 0.9);
}

.story-text strong {
  color: var(--color-primary);
}

.story-stats {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stat-card {
  background: var(--color-cream);
  border: 1px solid var(--color-gray);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.stat-card:hover {
  border-color: var(--color-warm);
  box-shadow: var(--shadow);
}

.stat-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.stat-card p {
  font-size: 0.9rem;
  color: rgba(49, 49, 49, 0.7);
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--color-white);
  border: 1px solid var(--color-gray);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--color-warm);
}

.feature-card--wide {
  grid-column: 1 / -1;
  gap: 1.5rem;
  align-items: flex-start;
}

.feature-text {
  flex: 1;
  min-width: 0;
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-warm);
  color: var(--color-primary);
  border-radius: var(--radius);
  margin-bottom: 0;
  flex-shrink: 0;
}

.feature-card--wide .feature-icon {
  margin-bottom: 0;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: rgba(49, 49, 49, 0.75);
  line-height: 1.55;
}

/* Download */
.section--download {
  background: var(--color-dark);
  color: var(--color-cream);
  padding: 5rem 0;
}

.download-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.download-content {
  position: relative;
}

.download-logo-accent {
  position: absolute;
  top: -2rem;
  right: 0;
  opacity: 0.12;
  pointer-events: none;
}

.download-content h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.download-content > p {
  opacity: 0.85;
  margin-bottom: 2rem;
  max-width: 28rem;
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1.25rem 0.65rem 1rem;
  background: var(--color-cream);
  color: var(--color-dark);
  border-radius: var(--radius);
  transition: transform var(--transition), background var(--transition);
}

.store-btn:hover {
  transform: translateY(-2px);
  background: var(--color-white);
}

.store-icon {
  width: 28px;
  height: 28px;
}

.store-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.store-text small {
  font-size: 0.65rem;
  font-weight: 400;
  opacity: 0.7;
}

.store-text strong {
  font-size: 1rem;
  font-weight: 600;
}

.download-brand {
  display: flex;
  align-items: center;
  justify-content: center;
}

.download-brand-logo {
  width: min(300px, 100%);
  height: auto;
}

/* Footer */
.footer {
  background: var(--color-cream);
  border-top: 1px solid var(--color-gray);
  padding: 2rem 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}


.footer-copy {
  font-size: 0.85rem;
  color: rgba(49, 49, 49, 0.6);
}

.footer-nav {
  display: flex;
  gap: 1.5rem;
}

.footer-nav a {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(49, 49, 49, 0.7);
  transition: color var(--transition);
}

.footer-nav a:hover {
  color: var(--color-primary);
}

/* Mobile nav */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--color-cream);
    border-bottom: 1px solid var(--color-gray);
    padding: 1rem 0;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s;
  }

  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links a {
    display: block;
    padding: 0.85rem 1rem;
  }

  .nav-cta {
    margin: 0.5rem 1rem 0;
    display: inline-block;
  }

  .nav-toggle.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle.is-active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero {
    padding-top: 6.5rem;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-lead {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .phone-showcase {
    justify-self: center;
  }

  .phone-mockup {
    width: min(300px, 88vw);
    aspect-ratio: 9 / 19;
  }

  .story-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .feature-card--wide {
    flex-direction: column;
  }

  .download-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .download-content > p {
    margin-inline: auto;
  }

  .store-buttons {
    justify-content: center;
  }

  .download-logo-accent {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }

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

@media (max-width: 480px) {
  .store-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .store-btn {
    justify-content: center;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-card--wide {
    grid-column: 1 / -1;
  }
}
