/*
Theme Name: Gases Óptimos
Theme URI: https://gasesoptimossas.com
Author: Gases Óptimos S.A.S.
Author URI: https://gasesoptimossas.com
Description: Tema profesional para suministro de gases industriales. Diseño moderno, responsive y optimizado para conversiones.
Version: 1.0.2
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gaseoptimos
Domain Path: /languages

Requires at least: 6.0
Requires PHP: 7.4
*/

:root {
  --primary-dark: #0F172A;
  --primary-blue: #1E3A8A;
  --accent-teal: #06B6D4;
  --background: #F8FAFC;
  --surface: #FFFFFF;
  --text-dark: #0F172A;
  --text-light: #64748B;
  --border: #E2E8F0;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-400: #94A3B8;
  --gray-500: #64748B;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1E293B;
  --gray-900: #0F172A;
  --shadow-soft: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-raised: 0 10px 25px rgba(0, 0, 0, 0.1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  color: var(--text-dark);
  background: var(--background);
  line-height: 1.6;
}

/* TIPOGRAFÍA */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
}

a {
  color: var(--accent-teal);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-blue);
}

/* CONTENEDOR */
.container-site {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-y {
  padding: 4rem 0;
}

/* EYEBROW */
.eyebrow {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-teal);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

/* CARDS */
.card {
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--surface);
  padding: 1.5rem;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card:hover {
  box-shadow: var(--shadow-raised);
  border-color: var(--accent-teal);
  transform: translateY(-4px);
}

/* BOTONES */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
  font-size: 1rem;
  text-align: center;
}

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

.btn-primary:hover {
  background: var(--primary-blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.3);
}

.btn-outline {
  border: 2px solid var(--border);
  color: var(--text-dark);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--accent-teal);
  color: var(--accent-teal);
  background: var(--gray-100);
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: white;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.site-header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.site-header .logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.site-header ul {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.site-header a {
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.3s ease;
}

.site-header a:hover {
  color: var(--accent-teal);
}

/* FOOTER */
.site-footer {
  background: var(--gray-900);
  color: white;
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

.site-footer h4,
.site-footer h5 {
  color: white;
}

.site-footer a {
  color: var(--gray-400);
}

.site-footer a:hover {
  color: var(--accent-teal);
}

.site-footer .copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-700);
  color: var(--gray-500);
  font-size: 0.875rem;
}

/* HERO */
.hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
  color: white;
  overflow: hidden;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  color: white;
}

.hero p {
  font-size: 1.25rem;
  color: var(--gray-300);
  margin-bottom: 2rem;
  max-width: 500px;
}

/* GRID */
.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

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

/* FORMULARIO */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent-teal);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
}

/* BREADCRUMB */
.breadcrumb {
  font-size: 0.875rem;
  color: var(--gray-600);
  margin-bottom: 2rem;
}

.breadcrumb a {
  color: var(--accent-teal);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }

  .section-y {
    padding: 2rem 0;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .site-header ul {
    gap: 1rem;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* UTILIDADES */
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.text-center { text-align: center; }
.text-white { color: white; }
.bg-primary { background: var(--primary-dark); }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.gap-4 { gap: 1rem; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
