/*
Theme Name: ARGO Astra Child
Theme URI: https://mediumvioletred-rhinoceros-447188.hostingersite.com/
Description: Tema hijo personalizado para ARGO ENERGY S.A.S., basado en Astra y adaptado desde la versión HTML/CSS original.
Author: ARGO ENERGY S.A.S.
Template: astra
Version: 1.0.0
Text Domain: argo-astra-child
*/

/* ARGO ENERGY SAS — Rediseño Home */
:root {
  --blue-950: #031525;
  --blue-900: #061B2E;
  --blue-850: #08243A;
  --blue-800: #0A2E4B;
  --blue-700: #0B3B5A;
  --blue-600: #005A9C;
  --yellow: #F2B705;
  --yellow-2: #FFD34D;
  --green: #16A34A;
  --green-wa: #25D366;
  --white: #FFFFFF;
  --gray-50: #F6F8FB;
  --gray-100: #EEF2F6;
  --gray-200: #E1E8F0;
  --gray-500: #64748B;
  --gray-700: #334155;
  --text: #102033;
  --muted: #56677C;
  --maxw: 1280px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 48px rgba(3, 21, 37, .10);
  --shadow-soft: 0 10px 28px rgba(3, 21, 37, .08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.55;
}

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

a {
  color: inherit;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(6, 27, 46, .96);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  backdrop-filter: blur(10px);
}

.site-header.is-scrolled {
  box-shadow: 0 8px 28px rgba(3, 21, 37, .18);
}

.nav {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  height: 64px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links a {
  color: rgba(255, 255, 255, .9);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
}

.nav-links a:hover {
  color: var(--yellow);
}

.nav-cta {
  background: var(--yellow);
  color: var(--blue-900) !important;
  padding: 11px 18px;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(242, 183, 5, .25);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  margin: 6px auto;
  transition: .25s ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* HERO */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 8%, rgba(242, 183, 5, .15), transparent 28%),
    linear-gradient(120deg, #F7FAFD 0%, #FFFFFF 55%, #EEF4F8 100%);
}

.hero-grid {
  min-height: calc(100vh - 84px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, .9fr);
  align-items: center;
  gap: 56px;
  padding-top: 64px;
  padding-bottom: 64px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--yellow);
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: .11em;
  font-weight: 800;
}

.hero h1,
.section h2,
.contact-cta h2 {
  font-family: 'Poppins', sans-serif;
  color: var(--blue-900);
  font-weight: 800;
  letter-spacing: -.04em;
}

.hero h1 {
  margin: 0;
  font-size: clamp(42px, 5vw, 72px);
  line-height: .98;
  max-width: 820px;
}

.hero-lead {
  margin: 22px 0 0;
  max-width: 720px;
  font-size: clamp(18px, 1.6vw, 23px);
  color: var(--gray-700);
}

.hero-actions,
.contact-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid transparent;
  transition: .22s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 12px 24px rgba(22, 163, 74, .22);
}

.btn.secondary {
  background: var(--white);
  color: var(--blue-900);
  border-color: var(--gray-200);
}

.btn.secondary-dark {
  background: rgba(255, 255, 255, .08);
  color: var(--white);
  border-color: rgba(255, 255, 255, .18);
}

.hero-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.hero-badges span {
  background: var(--white);
  border: 1px solid var(--gray-200);
  color: var(--blue-900);
  font-weight: 700;
  font-size: 13px;
  border-radius: 999px;
  padding: 8px 12px;
}

.hero-media {
  position: relative;
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  min-height: 500px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(6, 27, 46, .10);
  background: var(--blue-900);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3,21,37,.04), rgba(3,21,37,.20));
  pointer-events: none;
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
}

/* TRUST */
.trust-strip {
  background: var(--blue-900);
  color: var(--white);
  padding: 28px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.trust-grid article {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 12px;
  align-items: start;
  padding: 12px 8px;
}

.trust-icon {
  width: 36px;
  height: 36px;
  background: rgba(242, 183, 5, .14);
  color: var(--yellow);
  display: grid;
  place-items: center;
  border-radius: 999px;
  font-weight: 900;
}

.trust-grid h3 {
  margin: 0;
  font-size: 16px;
}

.trust-grid p {
  grid-column: 2;
  margin: 4px 0 0;
  color: rgba(255, 255, 255, .72);
  font-size: 14px;
}

/* BASE SECTIONS */
.section {
  padding: 96px 0;
}

.section-soft {
  background: var(--gray-50);
}

.section-head {
  max-width: 780px;
  margin: 0 auto 42px;
  text-align: center;
}

.section h2,
.contact-cta h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
}

.lead {
  margin: 16px auto 0;
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
}

/* EQUIPMENT */
.equipment-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.equipment-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: .22s ease;
}

.equipment-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.equipment-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.equipment-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.equipment-type {
  color: var(--yellow);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: .07em;
  margin: 0 0 8px;
}

.equipment-body h3 {
  font-family: 'Poppins', sans-serif;
  color: var(--blue-900);
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.1;
}

.equipment-body p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 15px;
}

.equipment-body a {
  margin-top: auto;
  color: var(--blue-600);
  font-weight: 900;
  text-decoration: none;
}

.equipment-body a:hover {
  color: var(--green);
}

/* BENEFITS */
.benefits-grid,
.sector-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.benefits-grid article,
.sector-grid article {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-soft);
}

.benefits-grid span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: var(--blue-900);
  color: var(--yellow);
  align-items: center;
  justify-content: center;
  font-weight: 900;
  margin-bottom: 16px;
}

.benefits-grid h3,
.process-grid h3,
.sector-grid h3 {
  margin: 0 0 8px;
  color: var(--blue-900);
  font-family: 'Poppins', sans-serif;
  line-height: 1.15;
}

.benefits-grid p,
.process-grid p,
.sector-grid p {
  margin: 0;
  color: var(--muted);
}

/* PROCESS */
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  counter-reset: process;
}

.process-grid article {
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 24px 18px;
  box-shadow: var(--shadow-soft);
}

.process-grid span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--blue-900);
  font-weight: 900;
  margin-bottom: 14px;
}

/* SERVICES DARK */
.services-dark {
  background:
    radial-gradient(circle at 10% 10%, rgba(242, 183, 5, .12), transparent 30%),
    linear-gradient(180deg, var(--blue-900), var(--blue-950));
  color: var(--white);
}

.section-head-light h2 {
  color: var(--white);
}

.section-head-light .lead {
  color: rgba(255, 255, 255, .75);
}

.service-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 32px;
  align-items: stretch;
}

.service-layout figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 520px;
}

.service-layout img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-list {
  display: grid;
  gap: 14px;
}

.service-list article {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-sm);
  padding: 20px;
}

.service-list h3 {
  margin: 0 0 6px;
  color: var(--yellow);
  font-family: 'Poppins', sans-serif;
}

.service-list p {
  margin: 0;
  color: rgba(255, 255, 255, .76);
}

/* GALLERY */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.gallery-grid figure {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.gallery-grid figcaption {
  padding: 14px 16px;
  color: var(--blue-900);
  font-weight: 800;
}

/* BRANDS */
.brands-section {
  padding: 42px 0;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  text-align: center;
}

.brand-title {
  margin: 0 0 22px;
  color: var(--blue-900);
  font-weight: 800;
}

.brands {
  display: flex;
  gap: 34px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.brands img {
  max-height: 40px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: .78;
  transition: .22s ease;
}

.brands img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: translateY(-2px);
}

/* CONTACT */
.contact-cta {
  background: linear-gradient(135deg, var(--blue-900), var(--blue-800));
  color: var(--white);
  padding: 96px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 36px;
  align-items: stretch;
}

.contact-copy h2 {
  color: var(--white);
  margin: 0;
}

.contact-copy > p {
  max-width: 620px;
  color: rgba(255, 255, 255, .76);
  font-size: 19px;
  margin: 16px 0 0;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 12px;
  color: rgba(255, 255, 255, .78);
}

.contact-list strong {
  color: var(--white);
}

.map {
  min-height: 430px;
  border: 0;
  border-radius: var(--radius);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .20);
  width: 100%;
}

/* FOOTER */
.footer {
  background: var(--blue-950);
  color: rgba(255, 255, 255, .74);
  padding: 56px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr .8fr .9fr;
  gap: 36px;
}

.footer-logo {
  height: 64px;
  width: auto;
  margin-bottom: 14px;
}

.footer h3 {
  color: var(--white);
  margin: 0 0 14px;
  font-size: 16px;
}

.footer a {
  display: block;
  color: rgba(255, 255, 255, .72);
  text-decoration: none;
  margin: 8px 0;
}

.footer a:hover {
  color: var(--yellow);
}

.footer p {
  margin: 8px 0;
}

.legal {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .10);
  color: rgba(255, 255, 255, .56);
  font-size: 13px;
  text-align: center;
}

/* WHATSAPP FLOAT */
.wafloat {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: var(--green-wa);
  display: grid;
  place-items: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .24);
  z-index: 1100;
}

.wafloat img {
  width: 32px;
  height: 32px;
}

/* RESPONSIVE */
@media (max-width: 1120px) {
  .equipment-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .process-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 380px;
  }

  .hero-media img {
    min-height: 380px;
  }
}

@media (max-width: 900px) {
  .nav {
    min-height: 72px;
  }

  .logo {
    height: 52px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    inset: 72px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 22px 24px 28px;
    background: var(--blue-900);
    border-top: 1px solid rgba(255, 255, 255, .08);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 0;
  }

  .nav-cta {
    text-align: center;
    padding: 12px 16px !important;
  }

  .trust-grid,
  .benefits-grid,
  .sector-grid,
  .gallery-grid,
  .service-layout,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    gap: 8px;
  }

  .service-layout figure {
    min-height: 300px;
  }

  .map {
    min-height: 300px;
  }
}

@media (max-width: 680px) {
  .wrap {
    padding: 0 18px;
  }

  .hero-grid {
    min-height: auto;
    padding-top: 52px;
    padding-bottom: 52px;
    gap: 34px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-lead {
    font-size: 17px;
  }

  .equipment-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .section,
  .contact-cta {
    padding: 72px 0;
  }

  .section-head {
    margin-bottom: 30px;
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}

/* COVERAGE CARD — reemplazo del mapa de Google */
.coverage-card {
  min-height: 430px;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(246,248,251,.96));
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .22);
  color: var(--blue-900);
  display: grid;
  grid-template-rows: 1fr auto;
}

.coverage-map {
  min-height: 250px;
  background:
    radial-gradient(circle at 20% 20%, rgba(242,183,5,.16), transparent 22%),
    radial-gradient(circle at 80% 18%, rgba(22,163,74,.14), transparent 20%),
    linear-gradient(135deg, #EEF6FB, #FFFFFF 58%, #F6F8FB);
  display: grid;
  place-items: center;
  padding: 18px;
}

.coverage-map svg {
  width: min(100%, 520px);
  height: auto;
}

.meta-shape {
  fill: url(#metaGradient);
  stroke: rgba(6, 27, 46, .18);
  stroke-width: 3;
  filter: drop-shadow(0 14px 20px rgba(3, 21, 37, .12));
}

.meta-line {
  fill: none;
  stroke: rgba(6, 27, 46, .38);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 9 9;
}

.meta-line.alt {
  stroke: rgba(0, 90, 156, .30);
  stroke-width: 3;
}

.city-dot {
  fill: var(--blue-900);
  stroke: var(--white);
  stroke-width: 4;
}

.city-dot.secondary {
  fill: var(--blue-600);
}

.city-label,
.map-title {
  font-family: 'Poppins', sans-serif;
  fill: var(--blue-900);
  font-weight: 800;
  font-size: 18px;
}

.city-label.small {
  font-size: 15px;
  fill: var(--blue-700);
}

.map-title {
  font-size: 34px;
  letter-spacing: .12em;
  fill: rgba(6,27,46,.22);
}

.coverage-content {
  padding: 26px 28px 30px;
  border-top: 1px solid var(--gray-200);
}

.coverage-kicker {
  margin: 0 0 8px;
  color: var(--yellow);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.coverage-content h3 {
  margin: 0 0 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 25px;
  line-height: 1.15;
}

.coverage-content p {
  margin: 0;
  color: var(--gray-700);
  font-size: 16px;
}

.coverage-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.coverage-tags span {
  display: inline-flex;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  color: var(--blue-900);
  font-size: 13px;
  font-weight: 800;
}

@media (max-width: 980px) {
  .coverage-card {
    min-height: auto;
  }
  .coverage-map {
    min-height: 230px;
  }
}

@media (max-width: 680px) {
  .coverage-content {
    padding: 22px 20px 24px;
  }
  .coverage-content h3 {
    font-size: 21px;
  }
}

/* Corrección contraste franja de beneficios */
.trust-strip {
  background: #031525;
}

.trust-strip h3,
.trust-strip p {
  color: #FFFFFF;
}

.trust-strip p {
  opacity: 0.88;
}

.trust-strip .trust-icon {
  color: #F2B705;
  background: rgba(242, 183, 5, 0.12);
}
