@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Playfair+Display:wght@700;800&display=swap');

:root {
  --primary-blue: #0b4f9f;
  --dark-blue: #0c2238;
  --ink: #0d1b2a;
  --muted: #5a6a7e;
  --line: #dde5f0;
  --soft: #f0f4fa;
  --white: #ffffff;
  --primary-orange: #F39223;
  --orange-dark: #d97510;
  --teal: #0e8a8a;
  --card-bg: #ffffff;

  /* Typography Scale */
  --font-body: 'Plus Jakarta Sans', 'Segoe UI', Arial, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --text-xs:   0.72rem;
  --text-sm:   0.85rem;
  --text-base: 1rem;
  --text-md:   1.08rem;
  --text-lg:   1.2rem;
  --text-xl:   1.5rem;
  --text-2xl:  2rem;
  --text-3xl:  clamp(1.65rem, 3vw, 2.4rem);
  --text-hero: clamp(2.8rem, 5.5vw, 5.2rem);

  --lh-tight:  1.05;
  --lh-snug:   1.3;
  --lh-normal: 1.6;
  --lh-relaxed:1.8;

  --tracking-tight:  -0.03em;
  --tracking-normal:  0em;
  --tracking-wide:    0.06em;
  --tracking-wider:   0.1em;
}

* {
  box-sizing: border-box;
}

body {
  background: var(--soft);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--lh-normal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-body);
  font-weight: 800;
  letter-spacing: var(--tracking-tight);
  line-height: var(--lh-snug);
  color: var(--ink);
}

p {
  font-size: var(--text-md);
  line-height: var(--lh-relaxed);
  color: var(--muted);
}

small, .small {
  font-size: var(--text-sm);
  letter-spacing: 0.01em;
}

.navbar {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding: 14px 0;
  transition: all 0.3s ease;
}

.navbar-brand {
  letter-spacing: var(--tracking-tight);
  font-weight: 800;
  font-size: 1.1rem;
}

.navbar .nav-link {
  border-radius: 6px;
  color: var(--ink);
  font-weight: 600;
  font-size: var(--text-sm);
  letter-spacing: 0.02em;
  padding: 8px 14px;
  position: relative;
  transition: color 0.3s ease;
}

.navbar .nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: var(--primary-orange);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar .nav-link:hover {
  color: var(--primary-orange);
}

.navbar .nav-link:hover::after {
  width: 80%;
}

.btn {
  border-radius: 7px;
  font-weight: 800;
}

.btn-warning {
  background: var(--primary-orange);
  border-color: var(--primary-orange);
  color: #1f2937;
}

.btn-warning:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  color: #fff;
}

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

.btn-outline-primary {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
}

.hero {
  background:
    radial-gradient(circle at 82% 22%, rgba(243, 146, 35, .12), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(244, 247, 251, 1) 100%);
  color: var(--ink);
  overflow: hidden;
  padding: 110px 0 80px;
}

.hero-grid {
  align-items: center;
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
}

.eyebrow {
  color: var(--primary-orange);
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: var(--tracking-wider);
  margin-bottom: 14px;
  text-transform: uppercase;
  background: rgba(243, 146, 35, 0.08);
  padding: 4px 12px;
  border-radius: 100px;
  border: 1px solid rgba(243, 146, 35, 0.2);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 800;
  line-height: var(--lh-tight);
  letter-spacing: var(--tracking-tight);
  margin-bottom: 26px;
  max-width: 820px;
  color: var(--ink);
}

.hero p {
  color: var(--muted);
  font-size: var(--text-lg);
  font-weight: 400;
  line-height: var(--lh-relaxed);
  margin-bottom: 32px;
  max-width: 600px;
}

.hero-actions,
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-stats {
  border-top: 1px solid rgba(0, 0, 0, .08);
  margin-top: 34px;
  padding-top: 22px;
}

.hero-stats div {
  min-width: 135px;
}

.hero-stats strong {
  display: block;
  font-size: var(--text-2xl);
  font-weight: 800;
  letter-spacing: var(--tracking-tight);
  color: var(--teal);
  line-height: 1.1;
}

.hero-stats span {
  color: var(--muted);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero-showcase {
  min-height: 360px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-showcase img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, .15);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

.office-scene {
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 8px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, .22);
  height: 360px;
  position: relative;
}

.scene-window {
  background: linear-gradient(135deg, #f8fbff, #dfeeff);
  border-radius: 6px;
  height: 168px;
  left: 48px;
  position: absolute;
  top: 42px;
  width: 72%;
}

.scene-desk {
  background: var(--primary-orange);
  border-radius: 8px;
  bottom: 100px;
  height: 24px;
  left: 34px;
  position: absolute;
  width: calc(100% - 68px);
}

.scene-chair {
  background: #102033;
  border-radius: 10px 10px 28px 28px;
  bottom: 42px;
  height: 78px;
  position: absolute;
  width: 82px;
}

.scene-chair-left {
  left: 80px;
}

.scene-chair-right {
  right: 116px;
}

.scene-cabinet {
  background: var(--teal);
  border-radius: 7px;
  bottom: 124px;
  height: 94px;
  position: absolute;
  right: 54px;
  width: 54px;
}

.home-section {
  padding-top: 58px;
}

.section-heading {
  align-items: end;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.section-heading h2,
.section-title {
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--text-3xl);
  font-weight: 800;
  letter-spacing: var(--tracking-tight);
  line-height: var(--lh-snug);
  margin: 0;
}

.link-arrow {
  color: var(--primary-blue);
  font-weight: 700;
  font-size: var(--text-sm);
  letter-spacing: 0.03em;
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap 0.2s ease;
}

.link-arrow:hover {
  gap: 9px;
  color: var(--primary-orange);
}

.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(16, 24, 40, .06);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.card:hover {
  border-color: rgba(11, 79, 159, .28);
  box-shadow: 0 18px 42px rgba(16, 24, 40, .1);
  transform: translateY(-4px);
}

.card-icon {
  align-items: center;
  background: #eaf3ff;
  border-radius: 8px;
  color: var(--primary-blue);
  display: inline-flex;
  height: 46px;
  justify-content: center;
  margin-bottom: 16px;
  width: 46px;
}

.card-title {
  color: var(--ink);
  font-weight: 700;
  font-size: var(--text-base);
  letter-spacing: var(--tracking-tight);
  line-height: var(--lh-snug);
  margin-bottom: 8px;
}

.card-img-top {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.product-card__image {
  align-items: center;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #eaf3ff, #fff7df);
  color: var(--primary-blue);
  display: flex;
  font-size: 3rem;
  justify-content: center;
}

.empty-state {
  background: #fff;
  border: 1px dashed rgba(11, 79, 159, .35);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(16, 24, 40, .05);
  padding: 34px;
  text-align: center;
}

.empty-state--compact {
  padding: 28px;
}

.empty-state i {
  color: var(--primary-blue);
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.empty-state h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
  margin-bottom: 6px;
}

.empty-state p,
.testimonial-strip p {
  color: var(--muted);
  margin-bottom: 0;
}

.testimonial-strip {
  background: #fff;
  border-left: 5px solid var(--primary-orange);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(16, 24, 40, .06);
  padding: 28px;
}

.testimonial-strip p {
  font-size: var(--text-md);
  font-style: italic;
  font-weight: 400;
  line-height: var(--lh-relaxed);
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}

.testimonial-strip span {
  color: var(--ink);
  font-weight: 700;
  font-size: var(--text-sm);
  letter-spacing: 0.02em;
}

/* Galería de Imágenes */
.gallery-container {
  margin-top: 2rem;
}

.main-image-container {
  border: 1px solid var(--border-gray);
  border-radius: 12px;
  overflow: hidden;
  background: #eee;
  margin-bottom: 1.5rem;
}

.main-image-container img {
  max-height: 500px;
  object-fit: contain;
  width: 100%;
}

.thumbnail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 15px;
}

.thumbnail-item {
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.2s;
}

.thumbnail-item:hover {
  border-color: var(--primary-blue);
}

.thumbnail-item img {
  height: 100px;
  width: 100%;
  object-fit: cover;
}

.thumbnail-item.active {
  border-color: var(--primary-orange);
  transform: scale(1.05);
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-showcase {
    min-height: 300px;
  }

  .office-scene {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 58px 0 44px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  background-color: #128C7E;
  color: #FFF;
  transform: scale(1.1);
  box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.3);
}
