/*
Theme Name: Pisos Chile
Theme URI: https://pisoschile.cl
Author: Pisos Chile
Author URI: https://pisoschile.cl
Description: Tema profesional para Pisos Chile - Especialistas en instalación de pisos flotantes laminados, biselados y vinílicos en Santiago. 15+ años de experiencia, trabajos 100% garantizados.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pisoschile
Tags: flooring, construction, chile, business, one-page
*/

/* Reset y base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #1f2937;
  background: #fff;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #b45309; text-decoration: none; }
a:hover { text-decoration: underline; }

/* Header */
.site-header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.site-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #111827;
}
.site-title span { color: #b45309; }
.nav-menu {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}
.nav-menu a {
  font-weight: 500;
  color: #374151;
  font-size: 0.95rem;
}
.nav-menu a:hover { color: #b45309; text-decoration: none; }
.btn-whatsapp {
  background: #25D366;
  color: white !important;
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-whatsapp:hover { background: #1ebe5d; text-decoration: none; }

/* Hero */
.hero {
  background: linear-gradient(135deg, rgba(17,24,39,0.75), rgba(180,83,9,0.6)), url('images/Usv9J.jpg') center/cover no-repeat;
  color: white;
  padding: 8rem 1.5rem 6rem;
  text-align: center;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-content { max-width: 800px; }
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.1;
}
.hero p { font-size: 1.15rem; margin-bottom: 2rem; opacity: 0.95; }
.hero-badges {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  font-size: 0.9rem;
  opacity: 0.9;
}
.hero-badges span { background: rgba(255,255,255,0.15); padding: 0.4rem 1rem; border-radius: 50px; }

/* Stats */
.stats {
  background: #111827;
  color: white;
  padding: 3rem 1.5rem;
}
.stats-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  text-align: center;
}
.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #f59e0b;
}
.stat-label { font-size: 0.9rem; opacity: 0.85; margin-top: 0.25rem; }

/* Sections */
.section { padding: 5rem 1.5rem; }
.section-alt { background: #f9fafb; }
.container { max-width: 1100px; margin: 0 auto; }
.section h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  text-align: center;
  margin-bottom: 1rem;
  color: #111827;
}
.section-subtitle {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
  color: #6b7280;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.service-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: transform 0.2s;
}
.service-card:hover { transform: translateY(-4px); }
.service-card img { width: 100%; height: 200px; object-fit: cover; }
.service-card-content { padding: 1.5rem; }
.service-card h3 { margin-bottom: 0.75rem; color: #111827; }
.service-card ul { list-style: none; font-size: 0.95rem; }
.service-card li { padding: 0.3rem 0; padding-left: 1.2rem; position: relative; }
.service-card li::before { content: "✓"; position: absolute; left: 0; color: #b45309; font-weight: bold; }

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.gallery-item {
  border-radius: 10px;
  overflow: hidden;
  height: 220px;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.gallery-item:hover img { transform: scale(1.05); }

/* Commitment */
.commitment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.commitment-grid img { border-radius: 12px; height: 350px; width: 100%; object-fit: cover; }
.commitment-list { list-style: none; }
.commitment-list li {
  margin-bottom: 1.25rem;
  padding-left: 2rem;
  position: relative;
}
.commitment-list li::before {
  content: "★";
  position: absolute;
  left: 0;
  color: #f59e0b;
  font-size: 1.2rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.contact-item { margin-bottom: 1.5rem; }
.contact-item strong { display: block; color: #111827; margin-bottom: 0.25rem; }
.contact-item a { color: #b45309; font-weight: 500; }

/* Footer */
.site-footer {
  background: #111827;
  color: #d1d5db;
  padding: 3rem 1.5rem 1.5rem;
  text-align: center;
}
.site-footer .container { max-width: 800px; }
.footer-contact { margin: 1.5rem 0; font-size: 0.95rem; }
.copyright { font-size: 0.85rem; opacity: 0.7; margin-top: 2rem; border-top: 1px solid #374151; padding-top: 1.5rem; }

/* Responsive */
@media (max-width: 768px) {
  .nav-menu { display: none; }
  .commitment-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero { padding: 5rem 1rem 4rem; min-height: auto; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
