/* ============================================
   DIMAHO - ESTILO CHEFGEAR DEMO
   ============================================ */

:root {
  --primary: #f97316;
  --primary-dark: #ea580c;
  --primary-light: #fdba74;
  --dark: #111827;
  --dark-2: #1f2937;
  --dark-3: #0f172a;
  --light: #f8fafc;
  --white: #ffffff;
  --gray: #64748b;
  --gray-light: #94a3b8;
  --border: #e2e8f0;
  --shadow: 0 16px 35px rgba(15, 23, 42, 0.14);
  --shadow-lg: 0 24px 46px rgba(6, 9, 18, 0.35);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--dark);
  background: var(--light);
  line-height: 1.6;
  font-size: 16px;
}

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

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

ul {
  list-style: none;
}

h1, h2, h3 {
  font-family: "Barlow Condensed", sans-serif;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
}

h3 {
  font-size: clamp(1.3rem, 2vw, 1.7rem);
}

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  position: fixed;
  left: 10px;
  top: 10px;
  background: #000;
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  z-index: 9999;
}

/* ============================================
   HEADER - IGUAL QUE EL DEMO
   ============================================ */
.header {
  background: var(--dark);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 20px;
}

.logo img {
  width: 130px;
  height: auto;
  max-height: 55px;
}

.logo-placeholder {
  display: inline-block;
  background: #374151;
  color: #9ca3af;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.85rem;
}

.main-nav {
  flex: 1;
}

.nav-menu {
  display: flex;
  justify-content: center;
  gap: 28px;
}

.nav-menu a {
  color: #e5e7eb;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s;
}

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

.btn-quote {
  background: var(--primary);
  color: #fff;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: background 0.2s;
  white-space: nowrap;
}

.btn-quote:hover {
  background: var(--primary-dark);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 8px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  margin: 0 8px;
}

/* ============================================
   HERO - IGUAL QUE EL DEMO
   ============================================ */
.hero {
  background: linear-gradient(135deg, var(--dark-3) 0%, var(--dark) 50%, #1a2744 100%);
  color: #fff;
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(circle, rgba(249,115,22,0.15) 0%, transparent 60%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 560px;
}

.eyebrow {
  color: var(--primary-light);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.hero-content h1 {
  margin-bottom: 16px;
}

.hero-content > p {
  color: #c9d1e0;
  font-size: 1.1rem;
  margin-bottom: 24px;
  max-width: 500px;
}

.hero-btns {
  display: flex;
  gap: 14px;
  margin-bottom: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.25s;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-outline {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.3);
  color: #fff;
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
}

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

.hero-stats {
  display: flex;
  gap: 24px;
}

.stat {
  text-align: center;
}

.stat strong {
  display: block;
  font-size: 2.2rem;
  font-family: "Barlow Condensed", sans-serif;
  line-height: 1;
}

.stat span {
  font-size: 0.85rem;
  color: #9ca3af;
}

.hero-image {
  position: relative;
}

.hero-image img {
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

.img-placeholder {
  background: #374151;
  color: #9ca3af;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  border-radius: 20px;
  font-size: 0.9rem;
}

.since-badge {
  position: absolute;
  left: -40px;
  bottom: 30px;
  background: var(--white);
  color: var(--dark);
  padding: 16px 20px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  text-align: center;
}

.since-badge small {
  display: block;
  color: var(--gray);
  font-size: 0.75rem;
}

.since-badge strong {
  display: block;
  font-size: 2rem;
  font-family: "Barlow Condensed", sans-serif;
  color: var(--primary-dark);
  line-height: 1.1;
}

.since-badge span {
  display: block;
  color: var(--gray);
  font-size: 0.75rem;
}

/* ============================================
   SERVICES
   ============================================ */
.services {
  padding: 80px 0;
  background: var(--white);
}

.services .center {
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
}

.service-card:hover {
  transform: translateY(-8px);
}

.service-img {
  height: 200px;
  overflow: hidden;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card h3 {
  padding: 20px 20px 8px;
}

.service-card p {
  padding: 0 20px 20px;
  color: var(--gray);
}

/* ============================================
   PROCESS
   ============================================ */
.process {
  padding: 80px 0;
  background: var(--white);
}

.process .center {
  text-align: center;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.process-step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
}

.process-step:hover {
  transform: translateY(-8px);
}

.process-step img {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  object-fit: contain;
}

.icon-placeholder {
  width: 60px;
  height: 60px;
  background: #e5e7eb;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  font-size: 0.7rem;
}

.process-step p {
  color: var(--gray);
}

/* ============================================
   CATALOGS SPLIT
   ============================================ */
.catalogs {
  padding: 80px 0;
  background: var(--dark);
  color: #fff;
}

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

.catalogs-content p {
  color: #c9d1e0;
  margin: 16px 0 24px;
}

.catalogs-image img {
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
}

/* ============================================
   BRANDS
   ============================================ */
.brands {
  padding: 40px 0;
  background: var(--white);
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
  align-items: center;
}

.brands-grid img {
  max-height: 36px;
  width: auto;
  margin: 0 auto;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s;
}

.brands-grid img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

.logo-placeholder {
  background: #f3f4f6;
  padding: 10px;
  border-radius: 8px;
  text-align: center;
  color: #9ca3af;
  font-size: 0.75rem;
}

/* ============================================
   FEATURED
   ============================================ */
.featured {
  padding: 80px 0;
  background: var(--light);
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.featured-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.featured-item img {
  transition: transform 0.4s;
}

.featured-item:hover img {
  transform: scale(1.05);
}

.featured-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  color: #fff;
}

.featured-overlay small {
  color: var(--primary-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  font-weight: 700;
}

.featured-overlay h3 {
  margin: 8px 0 12px;
}

.featured-overlay a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
  padding: 80px 0;
  background: var(--white);
}

.testimonials .center {
  text-align: center;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.testimonial {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.testimonial img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 16px;
}

.avatar-placeholder {
  width: 60px;
  height: 60px;
  background: #e5e7eb;
  border-radius: 50%;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  font-size: 0.7rem;
}

.testimonial p {
  color: var(--gray);
  font-style: italic;
  margin-bottom: 12px;
}

.testimonial strong {
  color: var(--dark);
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
  padding: 80px 0;
  background: var(--dark);
  color: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 40px;
}

.contact-info p {
  color: #c9d1e0;
  margin: 12px 0 20px;
}

.contact-list {
  margin-top: 20px;
}

.contact-list li {
  margin-bottom: 10px;
}

.contact-list a {
  color: #fff;
  font-weight: 600;
}

.contact-actions {
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 24px;
}

.contact-actions h3 {
  margin-bottom: 16px;
}

.contact-actions .btn {
  width: 100%;
  margin-bottom: 10px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #0b1220;
  color: #9ca3af;
  padding: 30px 0;
}

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

.footer-logo img {
  width: 100px;
}

.footer p {
  margin: 0;
}

/* ============================================
   ANIMACIONES
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-image {
    max-width: 500px;
    margin: 0 auto;
  }

  .since-badge {
    left: 20px;
    bottom: 20px;
  }

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

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

  .brands-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--dark);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
  }

  .nav-menu.show {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }

  .btn-quote {
    display: none;
  }

  .hero {
    padding: 50px 0 70px;
  }

  .hero-btns {
    flex-direction: column;
  }

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

  .services-grid,
  .process-grid,
  .featured-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

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

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