/* ============================================
   UFG Inoxidables — style.css
   ============================================ */

/* 1. Variables & Reset */
:root {
  --bg:             #0f0f0f;
  --surface:        #1a1a1a;
  --surface-light:  #ffffff;
  --steel:          #2a2a2a;
  --border:         #333333;
  --text:           #f0ede8;
  --text-dark:      #1a1a1a;
  --muted:          #9a9a9a;
  --accent:         #e85d04;
  --accent-dark:    #c44d03;
  --whatsapp:       #25D366;
  --whatsapp-dark:  #1da851;

  --font-heading: 'Montserrat', sans-serif;
  --font-body:    'Inter', sans-serif;

  --radius:     8px;
  --shadow:     0 4px 20px rgba(0, 0, 0, 0.3);
  --transition: 0.25s ease;

  --header-h: 100px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }


/* 2. Typography */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.8rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.8rem); }


/* 3. Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}
.btn-wa {
  background: var(--whatsapp);
  color: #fff;
}
.btn-wa:hover {
  background: var(--whatsapp-dark);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: rgba(240, 237, 232, 0.3);
}
.btn-outline:hover {
  border-color: var(--text);
  background: rgba(240, 237, 232, 0.05);
}


/* 4. Layout helpers */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 80px 0; }
.section--dark { background: var(--surface); }

.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-title { margin-bottom: 16px; }
.section-subtitle {
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto;
  font-size: 1rem;
}


/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(15, 15, 15, 0.8);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.header.scrolled {
  background: rgba(15, 15, 15, 0.98);
  border-bottom-color: var(--border);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 100% !important;
  padding: 0 40px !important;
}
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-logo img {
  height: 85px;
  width: auto;
  display: block;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links > a {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  transition: color var(--transition);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav-links > a:hover,
.nav-links > a.active { color: var(--text); }

.nav-contact-btn {
  padding: 10px 18px !important;
  font-size: 0.78rem !important;
}

/* Nav dropdown (desktop) */
.nav-dropdown {
  position: relative;
}
.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color var(--transition);
}
.nav-dropdown-toggle:hover,
.nav-dropdown-toggle.active,
.nav-dropdown:hover .nav-dropdown-toggle {
  color: var(--text);
}
.nav-dropdown-arrow {
  transition: transform var(--transition);
}
.nav-dropdown:hover .nav-dropdown-arrow,
.nav-dropdown-toggle[aria-expanded="true"] .nav-dropdown-arrow {
  transform: rotate(180deg);
}
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  min-width: 220px;
  background: rgba(20, 20, 20, 0.98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 1100;
}
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown-menu a {
  display: block;
  padding: 12px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 6px;
  transition: background var(--transition), color var(--transition);
}
.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.active {
  background: rgba(232, 93, 4, 0.12);
  color: var(--text);
}

/* Mobile submenu */
.mobile-submenu {
  border-bottom: 1px solid var(--border);
}
.mobile-submenu-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  padding: 14px 0;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-align: left;
  transition: color var(--transition);
}
.mobile-submenu-toggle:hover,
.mobile-submenu-toggle[aria-expanded="true"] {
  color: var(--text);
}
.mobile-submenu-arrow {
  transition: transform var(--transition);
  flex-shrink: 0;
}
.mobile-submenu-toggle[aria-expanded="true"] .mobile-submenu-arrow {
  transform: rotate(180deg);
}
.mobile-submenu-items {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition);
}
.mobile-submenu-items.open {
  max-height: 200px;
}
.mobile-submenu-items a {
  display: block;
  padding: 12px 0 12px 18px;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  border-left: 2px solid var(--border);
  margin-left: 4px;
  margin-bottom: 4px;
  transition: color var(--transition), border-color var(--transition);
}
.mobile-submenu-items a:hover {
  color: var(--text);
  border-left-color: var(--accent);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all var(--transition);
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
  background: rgba(15, 15, 15, 0.98);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding: 24px 24px 48px;
  flex-direction: column;
  gap: 4px;
  z-index: 999;
}
.mobile-menu.open { display: flex; }
.mobile-menu > a {
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-heading);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  letter-spacing: 0.04em;
  color: var(--muted);
  transition: color var(--transition);
}
.mobile-menu > a:hover { color: var(--text); }


/* ============================================
   HERO (home)
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--header-h);
  background: #0a0a0a;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/hero-parrillas.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.28;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(15, 15, 15, 0.92) 35%,
    rgba(15, 15, 15, 0.45) 100%
  );
}
.hero .container {
  margin-left: 0;
  padding-left: clamp(60px, 18vw, 250px);
  padding-right: clamp(32px, 8vw, 120px);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}
.hero-label {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-label::before {
  content: '';
  display: block;
  width: 36px;
  height: 2px;
  background: var(--accent);
  flex-shrink: 0;
}
.hero-title {
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}
.hero-title em {
  font-style: normal;
  color: var(--accent);
}
.hero-subtitle {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 40px;
  max-width: 480px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: hero-bounce 2.5s ease-in-out infinite;
}
.hero-scroll::after { content: '↓'; font-size: 1rem; }
@keyframes hero-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}


/* ============================================
   PAGE HERO (inner pages)
   ============================================ */
.page-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--header-h);
  padding-bottom: 80px;
  background: #080808;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.55;
  transform: scale(1.04);
}
.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(8,8,8,0.96) 32%, rgba(8,8,8,0.25) 100%),
    linear-gradient(to bottom, transparent 25%, rgba(8,8,8,0.85) 100%);
}
.page-hero .container {
  margin-left: 0;
  padding-left: 200px;
}
.page-hero .breadcrumb {
  padding: 0;
  margin-bottom: 28px;
}
.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin-top: 44px;
  margin-left: 0;
}
.page-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.page-hero-eyebrow::before {
  content: '';
  display: block;
  width: 30px;
  height: 2px;
  background: var(--accent);
  flex-shrink: 0;
}
.page-hero-title {
  margin-bottom: 20px;
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  line-height: 1.07;
  letter-spacing: -0.025em;
}
.page-hero-subtitle {
  color: rgba(240, 240, 240, 0.7);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 500px;
}


/* ============================================
   VALUE PROPS
   ============================================ */
.value-props {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.value-props-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.value-prop {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 48px 40px;
  border-right: 1px solid var(--border);
}
.value-prop:last-child { border-right: none; }
.value-prop-icon {
  font-size: 2.2rem;
  line-height: 1;
  flex-shrink: 0;
}
.value-prop-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.value-prop-text {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.65;
}


/* ============================================
   PRODUCTS GRID
   ============================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product-card {
  background: var(--surface-light);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}
.product-card-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e8e8e8;
}
.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.product-card:hover .product-card-img img { transform: scale(1.06); }

.product-card-body {
  padding: 20px 20px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  color: var(--text-dark);
}
.product-card-name {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}
.product-card-price {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 8px;
}
.product-card-desc {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 20px;
  flex: 1;
  line-height: 1.55;
}
.product-card-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px;
  background: var(--whatsapp);
  color: #fff;
  border-radius: calc(var(--radius) - 2px);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background var(--transition), transform var(--transition);
  cursor: pointer;
}
.product-card-btn:hover {
  background: var(--whatsapp-dark);
  transform: translateY(-1px);
}
.product-card-btn svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
  flex-shrink: 0;
}
.catalog-cta {
  text-align: center;
  margin-top: 48px;
}


/* ============================================
   SERVICES SECTION
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.service-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  box-shadow: var(--shadow);
  cursor: pointer;
}
.service-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--steel);
  transition: transform 0.5s ease;
}
.service-card:hover .service-card-bg { transform: scale(1.05); }
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.88) 0%,
    rgba(0, 0, 0, 0.35) 55%,
    rgba(0, 0, 0, 0.1) 100%
  );
}
.service-card-body {
  position: relative;
  z-index: 1;
  padding: 36px;
}
.service-card-title {
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: var(--text);
}
.service-card-desc {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  margin-bottom: 22px;
}
.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  transition: gap var(--transition);
}
.service-card:hover .service-card-link { gap: 14px; }


/* ============================================
   GALLERY
   ============================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.gallery-item {
  overflow: hidden;
  border-radius: 4px;
  background: var(--steel);
  aspect-ratio: 4 / 3;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item:first-child {
  grid-column: span 2;
  aspect-ratio: 16 / 9;
}


/* ============================================
   CTA BAND
   ============================================ */
.cta-band {
  background: linear-gradient(135deg, #150700 0%, #281000 50%, #150700 100%);
  border-top: 1px solid rgba(232, 93, 4, 0.25);
  border-bottom: 1px solid rgba(232, 93, 4, 0.25);
  text-align: center;
  padding: 96px 0;
}
.cta-band .section-label { display: block; margin-bottom: 12px; }
.cta-band .btn { max-width: 260px; width: auto; white-space: normal; text-align: center; justify-content: center; }
.cta-band-title { margin-bottom: 16px; }
.cta-band-subtitle {
  color: var(--muted);
  margin-bottom: 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1rem;
}


/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #080808;
  border-top: 1px solid var(--border);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-logo {
  margin-bottom: 14px;
}
.footer-logo img {
  height: 52px;
  width: auto;
  display: block;
  object-fit: contain;
}
.footer-tagline {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.65;
  max-width: 230px;
}
.footer-col-title {
  font-family: var(--font-heading);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: var(--muted);
  font-size: 0.875rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--text); }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.875rem;
}
.footer-contact-item a {
  color: var(--muted);
  transition: color var(--transition);
}
.footer-contact-item a:hover { color: var(--whatsapp); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.78rem;
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--steel);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: all var(--transition);
}
.footer-social a:hover { background: var(--accent); color: #fff; }


/* ============================================
   WHATSAPP FLOAT
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 998;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--whatsapp);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: transform var(--transition), box-shadow var(--transition);
  animation: wa-pulse 3.5s ease-in-out infinite;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.6);
  animation: none;
}
.whatsapp-float svg { width: 30px; height: 30px; fill: #fff; }
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
  50%       { box-shadow: 0 4px 32px rgba(37, 211, 102, 0.7), 0 0 0 10px rgba(37, 211, 102, 0.08); }
}


/* ============================================
   SERVICE DETAIL (inner pages)
   ============================================ */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.service-detail-text h2 { margin-bottom: 20px; }
.service-detail-text p {
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 24px;
}
.service-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.service-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--muted);
  font-size: 0.9rem;
}
.service-feature::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  font-family: var(--font-heading);
  flex-shrink: 0;
  margin-top: 2px;
}
.service-detail-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.service-detail-img img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* Catalog note */
.catalog-note {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 20px 24px;
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 48px;
  line-height: 1.6;
}
.catalog-note strong { color: var(--text); }

/* Breadcrumb */
.breadcrumb {
  padding: 20px 0 0;
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 0.78rem;
}
.breadcrumb a { color: var(--muted); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--accent); }


/* ============================================
   ABOUT SECTION
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-text p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 20px;
}
.about-text strong {
  color: var(--text);
  font-weight: 700;
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.about-stat {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  transition: border-color var(--transition), transform var(--transition);
}
.about-stat:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}
.about-stat-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}
.about-stat-label {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}


/* ============================================
   PROCESS SECTION
   ============================================ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.process-step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  position: relative;
  transition: transform var(--transition), border-color var(--transition);
}
.process-step:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}
.process-step-num {
  font-size: 2.8rem;
  line-height: 1;
  margin-bottom: 16px;
}
.process-step-title {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--text);
}
.process-step-text {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}


/* ============================================
   PRODUCT DETAILS BUTTON & MODAL
   ============================================ */
.product-card-details-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px;
  background: #1a1a1a;
  color: #fff;
  border: none;
  border-radius: calc(var(--radius) - 2px);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.product-card-details-btn:hover {
  background: #333;
  transform: translateY(-1px);
}

.product-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.product-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.product-modal {
  background: #fff;
  border-radius: var(--radius);
  max-width: 860px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.25s ease;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
}
.product-modal-overlay.open .product-modal {
  transform: translateY(0) scale(1);
}
.product-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.15);
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
  color: #333;
  line-height: 1;
}
.product-modal-close:hover {
  background: rgba(0, 0, 0, 0.28);
}
.product-modal-img {
  overflow: hidden;
  border-radius: var(--radius) 0 0 var(--radius);
  min-height: 280px;
}
.product-modal-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-modal-body {
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  color: var(--text-dark);
}
.product-modal-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.3;
}
.product-modal-price {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 16px;
}
.product-modal-desc {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.75;
  flex: 1;
  margin-bottom: 28px;
}


/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }

  .section { padding: 60px 0; }

  .nav-links { display: none; }
  .hamburger { display: flex; }

  /* Home hero — mobile */
  .hero { min-height: 88vh; }
  .hero-bg { opacity: 0.45; }
  .hero-bg::after {
    background: linear-gradient(180deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.92) 100%);
  }
  .hero .container {
    padding-left: 24px;
    padding-right: 24px;
  }
  .hero-content {
    margin-top: 16px;
    max-width: 100%;
  }
  .hero-label {
    font-size: 0.66rem;
    letter-spacing: 0.18em;
    margin-bottom: 14px;
    gap: 10px;
  }
  .hero-label::before { width: 22px; }
  .hero-title {
    font-size: clamp(1.9rem, 8vw, 2.6rem);
    line-height: 1.1;
    margin-bottom: 16px;
  }
  .hero-subtitle {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 28px;
    max-width: 100%;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100%;
  }
  .hero .btn { width: 100%; justify-content: center; }
  .hero-scroll { display: none; }

  .value-props-grid { grid-template-columns: 1fr; }
  .value-prop {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 32px 24px;
  }
  .value-prop:last-child { border-bottom: none; }

  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 280px; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item:first-child { grid-column: span 2; }

  .service-detail { grid-template-columns: 1fr; gap: 40px; }
  .service-detail-img { order: -1; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }

  /* Page hero (inner pages) — mobile */
  .page-hero {
    min-height: 88vh;
    padding-bottom: 56px;
  }
  .page-hero .container {
    padding-left: 24px;
    padding-right: 24px;
  }
  .page-hero-bg { opacity: 0.45; }
  .page-hero-bg::after {
    background:
      linear-gradient(180deg, rgba(8,8,8,0.65) 0%, rgba(8,8,8,0.92) 100%);
  }
  .page-hero-content {
    margin-top: 24px;
    margin-left: 0;
    max-width: 100%;
  }
  .page-hero .breadcrumb {
    margin-bottom: 20px;
    font-size: 0.72rem;
  }
  .page-hero-eyebrow {
    font-size: 0.66rem;
    letter-spacing: 0.18em;
    margin-bottom: 14px;
    gap: 10px;
  }
  .page-hero-eyebrow::before { width: 22px; }
  .page-hero-title {
    font-size: clamp(1.9rem, 8vw, 2.6rem);
    margin-bottom: 16px;
    line-height: 1.1;
  }
  .page-hero-subtitle {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 28px;
    max-width: 100%;
  }
  .page-hero .btn { width: 100%; justify-content: center; }
}

@media (max-width: 640px) {
  .product-modal {
    grid-template-columns: 1fr;
    max-height: 88vh;
  }
  .product-modal-img {
    border-radius: var(--radius) var(--radius) 0 0;
    min-height: auto;
    aspect-ratio: 16 / 9;
  }
  .product-modal-body {
    padding: 24px 20px;
  }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }

  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item:first-child { grid-column: span 1; aspect-ratio: 4 / 3; }

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

  .whatsapp-float { width: 52px; height: 52px; bottom: 20px; right: 20px; }
  .whatsapp-float svg { width: 26px; height: 26px; }

  .cta-band { padding: 64px 0; }
  .cta-band-title { font-size: 1.6rem; }
  .cta-band-subtitle { font-size: 0.95rem; }

  .page-hero { min-height: 92vh; padding-bottom: 48px; }
  .page-hero-title { font-size: clamp(1.75rem, 9vw, 2.3rem); }
  .page-hero-subtitle { font-size: 0.95rem; }

  .hero { min-height: 92vh; }
  .hero-title { font-size: clamp(1.75rem, 9vw, 2.3rem); }
  .hero-subtitle { font-size: 0.95rem; }
}
