/* ==========================================================================
   Imprenta Express - hoja de estilos
   Colores:  naranja #FE7E17 · azul #009BDB · texto #4a4a4a
   Fuente:   Open Sans
   ========================================================================== */

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

:root {
  --orange: #FE7E17;
  --blue:   #009BDB;
  --blue-d: #0083ba;
  --text:   #4a4a4a;
  --muted:  #777;
  --nav-bg: #f7f8f9;
  --dark:   #2b2b2b;
  --border: #e2e2e2;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Open Sans", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--orange); }

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

h1, h2, h3, h4 { color: var(--text); margin: 0 0 .4em; font-weight: 600; }

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ------------------------------------------------------------------ header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--nav-bg);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
}
.brand img { height: 58px; width: auto; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 26px;
  color: var(--text);
  cursor: pointer;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}
.main-nav a {
  display: block;
  padding: 10px 14px;
  color: var(--text);
  font-size: 13.5px;
  letter-spacing: .3px;
  text-transform: uppercase;
  border-left: 1px solid var(--border);
}
.main-nav li:first-child a { border-left: 0; }
.main-nav a:hover,
.main-nav a.active { color: var(--blue); }

/* ------------------------------------------------------------------- hero */
.hero {
  position: relative;
  height: 88vh;
  min-height: 460px;
  max-height: 720px;
  overflow: hidden;
  background: #111;
}
.hero .slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}
.hero .slide.is-active { opacity: 1; }
.hero .hero-caption {
  position: absolute;
  left: 0; right: 0;
  bottom: 34%;
}
.hero .hero-caption h1 {
  color: #fff;
  font-weight: 300;
  font-size: clamp(30px, 5vw, 62px);
  line-height: 1.1;
  max-width: 900px;
  margin: 0;
  background: rgba(40,40,40,.35);
  display: inline;
  padding: 8px 14px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* ---------------------------------------------------------------- sections */
section { padding: 80px 0; }
.section-title {
  text-align: center;
  font-weight: 300;
  font-size: clamp(34px, 5vw, 52px);
  margin-bottom: 10px;
}
.section-title.light { color: #fff; }
.title-rule {
  width: 90px;
  height: 2px;
  background: rgba(0,0,0,.25);
  margin: 0 auto 55px;
}
.title-rule.light { background: rgba(255,255,255,.6); }

/* --------------------------------------------------------- nuestra empresa */
#about { background: #fff; }
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px 55px;
}
.feature {
  display: flex;
  gap: 22px;
}
.feature .icon {
  flex: 0 0 46px;
  color: #6f6f6f;
}
.feature .icon svg { width: 46px; height: 46px; }
.feature h3 {
  color: var(--orange);
  text-transform: uppercase;
  font-size: 16px;
  letter-spacing: .5px;
  margin-bottom: 8px;
}
.feature p { margin: 0; color: var(--muted); }

/* ---------------------------------------------------------------- servicios */
#our-services {
  position: relative;
  background: var(--dark) center/cover no-repeat;
  color: #fff;
}
#our-services::before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(20,20,20,.72);
}
#our-services .container { position: relative; z-index: 1; }
.service-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.service-card {
  border: 1px solid rgba(255,255,255,.5);
  padding: 34px 12px;
  text-align: center;
  color: #fff;
  transition: background .25s, border-color .25s;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.service-card:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}
.service-card svg { width: 46px; height: 46px; }
.service-card span { font-size: 15px; }

/* ---------------------------------------------------------------- contacto */
#get-in-touch {
  background: var(--blue);
  color: #fff;
}
#get-in-touch a { color: #fff; text-decoration: underline; }
#get-in-touch a:hover { color: #ffe; }
.contact-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 55px;
}
.contact-cols h3 { color: #fff; font-size: 20px; margin-bottom: 18px; }
.contact-info p { margin: 0 0 6px; }
.contact-info .block { margin-bottom: 26px; }
.contact-line { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 18px; }
.contact-line svg { width: 22px; height: 22px; flex: 0 0 22px; margin-top: 4px; fill: #fff; }

/* --------------------------------------------------------------------- form */
.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 14px;
}
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.4);
  background: rgba(255,255,255,.35);
  color: #fff;
  font: inherit;
  border-radius: 2px;
}
.form-field textarea { min-height: 150px; resize: vertical; }
.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(255,255,255,.85); }
.btn {
  display: inline-block;
  background: #f4f6f7;
  color: var(--blue);
  border: 0;
  padding: 14px 34px;
  font: inherit;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  cursor: pointer;
  border-radius: 2px;
  transition: background .2s, color .2s;
}
.btn:hover { background: var(--orange); color: #fff; }

/* --------------------------------------------------------------- subpáginas */
.page-head {
  padding: 70px 0 30px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.page-head h1 {
  font-weight: 300;
  font-size: clamp(30px, 4vw, 46px);
}
.page-body { padding: 55px 0 80px; }
.layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 50px;
}
.sidebar h2 {
  font-weight: 300;
  font-size: 28px;
  margin-bottom: 14px;
}
.sidebar ul { list-style: none; margin: 0 0 30px; padding: 0; }
.sidebar li { border-bottom: 1px solid var(--border); }
.sidebar li a {
  display: block;
  padding: 9px 4px;
  color: var(--orange);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .3px;
}
.sidebar li a:hover,
.sidebar li a.active { color: var(--blue); }
.sidebar .search { display: flex; margin-bottom: 30px; }
.sidebar .search input {
  flex: 1; padding: 9px 12px; border: 1px solid var(--border); border-right: 0;
  font: inherit;
}
.sidebar .search button {
  border: 1px solid var(--border); background: var(--nav-bg); padding: 0 14px; cursor: pointer;
}

.content h3 { color: var(--orange); font-size: 19px; margin-top: 26px; }
.content h3:first-child { margin-top: 0; }
.content p { margin: 0 0 16px; }
.content .note {
  background: #fff7ef;
  border-left: 4px solid var(--orange);
  padding: 14px 18px;
  margin: 22px 0;
}
.content strong { color: var(--text); }

/* -------------------------------------------------------- galería de boletas */
.gallery-intro { text-align: center; margin: 10px 0 26px; }
.gallery-intro h2 { font-weight: 300; font-size: 30px; }
.gallery-intro p { color: var(--muted); margin: 4px 0; }
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 30px;
}
.filters button {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  padding: 8px 16px;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  border-radius: 3px;
  transition: all .2s;
}
.filters button:hover { border-color: var(--orange); color: var(--orange); }
.filters button.active { background: var(--orange); color: #fff; border-color: var(--orange); }
.model-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.model {
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  background: #fafafa;
  transition: box-shadow .2s, transform .2s;
}
.model:hover { box-shadow: 0 6px 18px rgba(0,0,0,.12); transform: translateY(-3px); }
.model a { display: block; }
.model .thumb {
  height: 230px;
  background: #fff center/cover no-repeat;
}
.model .caption {
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  text-align: center;
  border-top: 1px solid var(--border);
}

/* --------------------------------------------------------------- form boleta */
.quote-form .form-field label { color: var(--text); }
.quote-form .form-field input,
.quote-form .form-field textarea,
.quote-form .form-field select {
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text);
}
.quote-form .form-field input::placeholder { color: #aaa; }
.quote-form .hint { font-size: 12px; color: var(--muted); margin-top: 4px; }
.quote-form .btn { background: var(--orange); color: #fff; }
.quote-form .btn:hover { background: var(--blue); }

/* ------------------------------------------------------------------- footer */
.site-footer {
  background: #5a5a5a;
  color: #eee;
  text-align: center;
  padding: 18px 0;
  font-size: 14px;
}
.site-footer a { color: #fff; }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 960px) {
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .model-grid { grid-template-columns: repeat(3, 1fr); }
  .layout { grid-template-columns: 1fr; }
  .sidebar { order: 2; }
}
@media (max-width: 780px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 82px; left: 0; right: 0;
    background: var(--nav-bg);
    border-bottom: 1px solid var(--border);
    display: none;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav a { border-left: 0; border-top: 1px solid var(--border); padding: 14px 20px; }
  .feature-grid { grid-template-columns: 1fr; }
  .contact-cols { grid-template-columns: 1fr; }
  .model-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 460px) {
  .model-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
}
