/*
Theme Name: Horma Electricidad
Description: Tema custom para hormagrup.cl — electricidad, remodelación, climatización, gasfitería y pintura.
Author: Horma Electricidad
Version: 1.0
*/

:root {
  --navy: #14213D;
  --orange: #C1440E;
  --orange-dark: #8f330a;
  --gray: #6C757D;
  --bone: #F5F5F0;
  --white: #ffffff;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 16px rgba(20, 33, 61, 0.10);
  --shadow-sm: 0 2px 8px rgba(20, 33, 61, 0.08);
  --max-width: 1140px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--navy);
  background: var(--bone);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, background-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }

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

.btn-outline { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-outline:hover { background: rgba(255,255,255,0.1); }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}

.section { padding: 70px 0; }
.section-title { font-size: 32px; font-weight: 800; color: var(--navy); margin-bottom: 16px; }
.section-subtitle { font-size: 17px; color: var(--gray); max-width: 640px; margin-bottom: 40px; }
.section-header { text-align: center; margin-bottom: 10px; }
.section-header .section-subtitle { margin-left: auto; margin-right: auto; }

/* ── Header ── */
.site-header {
  background: var(--navy);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.site-logo { display: flex; align-items: center; gap: 10px; }
.site-logo img { height: 42px; width: auto; }
.site-logo span {
  color: var(--white);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.3px;
}
.main-nav { display: flex; gap: 28px; }
.main-nav a {
  color: var(--white);
  font-weight: 600;
  font-size: 14.5px;
  opacity: 0.85;
  transition: opacity 0.15s ease;
}
.main-nav a:hover { opacity: 1; }

.header-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}
.header-phone {
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.mobile-toggle { display: none; }

@media (max-width: 900px) {
  .main-nav { display: none; }
  .mobile-toggle {
    display: block;
    background: none;
    border: none;
    color: var(--white);
    font-size: 26px;
    cursor: pointer;
  }
  .header-phone span.phone-text { display: none; }
}
