/*
Theme Name: Ecoventic
Theme URI: https://ecoventic.cl
Author: Ecoventic Team
Author URI: https://ecoventic.cl
Description: Tema oficial Ecoventic, especialmente optimizado para Elementor Free y Elementor Header & Footer Builder. Ideal para sitios One Page de alta conversión para empresas de ventanas de PVC, termopanel y mallas de seguridad.
Version: 1.0.0
Tested up to: 6.7
Requires at least: 5.8
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: ecoventic
Tags: one-column, custom-colors, full-width-template, translation-ready, block-styles
*/

:root {
  --ecoventic-primary: #2E7D32;
  --ecoventic-primary-dark: #1B5E20;
  --ecoventic-light: #66BB6A;
  --ecoventic-dark: #263238;
  --ecoventic-gray-light: #ECEFF1;
  --ecoventic-neutral: #F8F9FA;
  --ecoventic-text: #37474F;
  --ecoventic-text-light: #607D8B;
  --ecoventic-white: #FFFFFF;
  --ecoventic-font-main: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --ecoventic-font-script: 'Caveat', cursive, sans-serif;
  --ecoventic-radius: 12px;
  --ecoventic-shadow: 0 10px 30px rgba(38, 50, 56, 0.08);
}

html {
  scroll-behavior: smooth;
  box-sizing: border-box;
}

*, *::before, *::after {
  box-sizing: inherit;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--ecoventic-font-main);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ecoventic-text);
  background-color: var(--ecoventic-white);
  -webkit-font-smoothing: antialiased;
}

/* Base Headings */
h1, h2, h3, h4, h5, h6 {
  color: var(--ecoventic-dark);
  font-weight: 700;
  line-height: 1.25;
  margin-top: 0;
}

/* Links */
a {
  color: var(--ecoventic-primary);
  text-decoration: none;
  transition: all 0.25s ease;
}

a:hover {
  color: var(--ecoventic-light);
}

/* Script Accent Style */
.font-script, .ecoventic-script {
  font-family: var(--ecoventic-font-script) !important;
}

/* Elementor Full Width Compatibility */
.elementor-page .site-content {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
}

.site-main {
  width: 100%;
}

/* Header & Footer default styling */
.ecoventic-default-header {
  background: #FFFFFF;
  border-bottom: 1px solid var(--ecoventic-gray-light);
  padding: 15px 30px;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.ecoventic-header-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ecoventic-logo img {
  height: 44px;
  width: auto;
  display: block;
}

.ecoventic-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 28px;
}

.ecoventic-nav a {
  font-weight: 600;
  color: var(--ecoventic-dark);
  font-size: 15px;
}

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

.ecoventic-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--ecoventic-primary);
  color: #FFFFFF !important;
  font-weight: 600;
  font-size: 15px;
  padding: 10px 22px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.ecoventic-btn-primary:hover {
  background-color: var(--ecoventic-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(46, 125, 50, 0.3);
}

.ecoventic-default-footer {
  background-color: #1a2327;
  color: #ECEFF1;
  padding: 40px 20px 25px;
  font-size: 14px;
}

.ecoventic-footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
