/* Blancos Orion — hoja de estilos propia (sin frameworks) */

* { box-sizing: border-box; }

:root {
  --accent: #26aae1;
  --accent-dark: #1a8bba;
  --text: #4c4c4c;
  --dark-bg: #0e0f29;
  --footer-bg: #111224;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Open Sans", Arial, sans-serif;
  font-weight: 300;
  color: var(--text);
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 { margin: 0 0 15px; color: #2b2b2b; }
h1 { font-weight: 800; }
h2 { font-weight: 600; font-size: 30px; }
h3 { font-family: "Share", Arial, sans-serif; font-weight: normal; font-size: 20px; }
p { margin: 0 0 15px; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }

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

.container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 15px;
}

/* ---------- Header ---------- */
#site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
}

#site-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px;
}

#site-header .logo img { height: 60px; }

#site-nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

#site-nav a {
  font-family: "Share", Arial, sans-serif;
  color: #0d165b;
  font-size: 15px;
  padding: 10px 0;
  display: block;
}

#site-nav li.active a,
#site-nav a:hover { color: var(--accent); }

#nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: #000;
  cursor: pointer;
}

/* ---------- Hero slider (vanilla) ---------- */
.hero {
  position: relative;
  height: 500px;
  overflow: hidden;
  background: #e9e9e9;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
  background-size: cover;
  background-position: center;
}

.hero-slide.active {
  opacity: 1;
  animation: heroZoom 6s ease-out forwards;
}

@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

.hero-caption {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 36px;
  font-weight: 800;
  text-shadow: 0 2px 6px rgba(0,0,0,.5);
  text-align: center;
  padding: 0 20px;
  z-index: 2;
  pointer-events: none;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,.35);
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.hero-arrow:hover { background: rgba(0,0,0,.6); }
.hero-arrow.prev { left: 20px; }
.hero-arrow.next { right: 20px; }

.hero-dots {
  position: absolute;
  bottom: 18px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 5;
}
.hero-dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: background .2s;
}
.hero-dots button.active { background: #fff; }

/* ---------- Sections ---------- */
.section { padding: 60px 0; }
.section-tight { padding: 40px 0; }

.text-center { text-align: center; }
.section-title { margin-bottom: 10px; }
.section-subtitle { color: #8a8a8a; margin-bottom: 40px; }

.underline-heading {
  padding-bottom: 15px;
  border-bottom: 1px solid #e5e5e5;
  margin-bottom: 25px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
}

.grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  align-items: center;
}

.grid-5 img { filter: grayscale(100%); opacity: .7; transition: opacity .2s, filter .2s; }
.grid-5 img:hover { filter: none; opacity: 1; }

.feature h4 { margin-bottom: 10px; }

/* ---------- CTA banner ---------- */
.cta {
  background-image: url(../images/custom_cta_bg.png);
  background-size: cover;
  background-position: center;
  padding: 40px 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cta h3 { color: #fff; margin-bottom: 5px; }
.cta p { color: #f0f0f0; margin: 0; }

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 3px;
  background: #4cae4c;
  color: #fff !important;
  font-weight: 600;
  white-space: nowrap;
}
.btn:hover { background: #449d44; }

/* ---------- Footer ---------- */
#site-bottom {
  background: var(--dark-bg);
  color: #93959d;
  padding: 60px 0;
}

#site-bottom .grid-3 { gap: 30px; }
#site-bottom h3 { color: #fff; font-size: 18px; }
#site-bottom a { color: #93959d; }
#site-bottom a:hover { color: #fff; }

.social-icons a {
  font-size: 40px;
  color: #93959d;
  margin-right: 15px;
  display: inline-block;
}
.social-icons a:hover { color: #fff; }

#site-footer {
  background: var(--footer-bg);
  color: #fff;
  padding: 20px 0;
  font-size: 13px;
}
#site-footer a { color: #fff; text-decoration: underline; }

/* ---------- Contact page ---------- */
.map-frame {
  width: 100%;
  height: 350px;
  border: 0;
}

form.contact-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #2b2b2b;
}
form.contact-form .field { margin-bottom: 18px; }
form.contact-form input,
form.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 3px;
  font-family: inherit;
  font-size: 14px;
}
form.contact-form button {
  border: 0;
  cursor: pointer;
}

/* ---------- Responsive ---------- */
@media (max-width: 782px) {
  #site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; box-shadow: 0 4px 6px rgba(0,0,0,.1); }
  #site-nav.open { display: block; }
  #site-nav ul { flex-direction: column; gap: 0; padding: 10px 20px; }
  #nav-toggle { display: block; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .hero-caption { font-size: 24px; }
  .hero-arrow { width: 34px; height: 34px; font-size: 13px; }
  .hero-arrow.prev { left: 10px; }
  .hero-arrow.next { right: 10px; }
  .cta-inner { text-align: center; justify-content: center; }
}
