/*
Theme Name: GlobalSiec Export
Theme URI: https://example.com/
Author: GlobalSiec
Description: Tema corporativo para GlobalSiec, especializado en conectar productores españoles con compradores y distribuidores en Polonia. Incluye una portada bilingüe enfocada en productos españoles de calidad, actualmente con especial atención al aceite de oliva virgen extra.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: globalsiec
*/

:root {
  --gs-bg: #f5f2e9;
  --gs-bg-2: #ebe5d7;
  --gs-ink: #18352c;
  --gs-muted: #647068;
  --gs-green: #2f5d4b;
  --gs-green-dark: #1e4638;
  --gs-olive: #8f9440;
  --gs-gold: #c4a35a;
  --gs-white: #ffffff;
  --gs-border: rgba(24,53,44,.14);
  --gs-shadow: 0 18px 45px rgba(31, 57, 47, .11);
  --gs-radius: 24px;
  --gs-max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--gs-ink);
  background: var(--gs-bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }

.gs-container { width: min(var(--gs-max), calc(100% - 40px)); margin: 0 auto; }
.gs-kicker {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gs-green);
}
.gs-kicker::before { content: ""; width: 28px; height: 2px; background: var(--gs-gold); }
.gs-title { font-size: clamp(2.1rem, 4.2vw, 4.9rem); line-height: 1.02; letter-spacing: -.045em; margin: 18px 0 22px; }
.gs-section-title { font-size: clamp(2rem, 3vw, 3.45rem); line-height: 1.06; letter-spacing: -.035em; margin: 14px 0 18px; }
.gs-lead { font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: var(--gs-muted); max-width: 680px; }
.gs-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 20px; border-radius: 999px;
  border: 1px solid transparent; font-weight: 750; transition: .2s ease;
}
.gs-button--primary { background: var(--gs-green-dark); color: #fff; }
.gs-button--primary:hover { transform: translateY(-2px); background: #143c2f; }
.gs-button--ghost { border-color: var(--gs-border); background: rgba(255,255,255,.45); }
.gs-button--ghost:hover { background: var(--gs-white); }

.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(245,242,233,.9); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(24,53,44,.08);
}
.site-header__inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-brand { display: flex; align-items: center; gap: 12px; font-weight: 900; font-size: 1.35rem; letter-spacing: -.03em; }
.site-brand__mark {
  width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center;
  background: var(--gs-green-dark); color: #fff; box-shadow: 0 8px 22px rgba(30,70,56,.18);
}
.site-brand__mark span { color: var(--gs-gold); }
.site-nav ul { list-style: none; display: flex; gap: 24px; padding: 0; margin: 0; align-items: center; }
.site-nav a { font-weight: 650; font-size: .95rem; }
.site-nav a:hover { color: var(--gs-olive); }
.gs-mobile-toggle { display: none; border: 0; background: transparent; font-size: 1.8rem; color: var(--gs-ink); }

.hero { padding: 58px 0 74px; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero__copy { padding-right: 18px; }
.hero__copy .gs-lead { max-width: 620px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 34px; }
.hero__meta div { padding: 15px; background: rgba(255,255,255,.55); border: 1px solid var(--gs-border); border-radius: 16px; }
.hero__meta strong { display: block; font-size: 1rem; }
.hero__meta span { font-size: .84rem; color: var(--gs-muted); }
.hero__media { position: relative; min-height: 640px; }
.hero__media img { width: 100%; height: 640px; object-fit: cover; border-radius: 32px; box-shadow: var(--gs-shadow); }
.hero__badge {
  position: absolute; left: -26px; bottom: 34px; max-width: 260px;
  background: #fff; border-radius: 20px; padding: 18px 20px; box-shadow: var(--gs-shadow);
}
.hero__badge strong { display: block; }
.hero__badge span { color: var(--gs-muted); font-size: .9rem; }

.section { padding: 92px 0; }
.section--light { background: rgba(255,255,255,.45); }
.section--dark { background: var(--gs-green-dark); color: #fff; }
.section--dark .gs-lead, .section--dark .gs-kicker { color: rgba(255,255,255,.72); }
.section--dark .gs-kicker::before { background: var(--gs-gold); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.card { background: rgba(255,255,255,.67); border: 1px solid var(--gs-border); border-radius: var(--gs-radius); padding: 28px; }
.card__num { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: var(--gs-green); color: #fff; font-weight: 850; }
.card h3 { margin: 18px 0 8px; font-size: 1.22rem; }
.card p { margin: 0; color: var(--gs-muted); }

.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.video-frame { background: #0f251e; padding: 12px; border-radius: 28px; box-shadow: var(--gs-shadow); }
.video-frame video { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 20px; }
.feature-list { display: grid; gap: 16px; margin: 28px 0 0; }
.feature-list__item { display: grid; grid-template-columns: 34px 1fr; gap: 12px; }
.feature-list__icon { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(143,148,64,.15); color: var(--gs-olive); font-weight: 900; }

.route { display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; margin-top: 44px; }
.route__step { text-align: center; }
.route__dot { width: 54px; height: 54px; border-radius: 50%; margin: 0 auto 12px; display: grid; place-items: center; background: #fff; color: var(--gs-green-dark); font-weight: 900; }
.route__line { height: 1px; background: rgba(255,255,255,.32); }
.route__step span { font-size: .88rem; color: rgba(255,255,255,.72); }

.sectors { display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: start; }
.sector-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sector { padding: 22px; border: 1px solid var(--gs-border); background: rgba(255,255,255,.6); border-radius: 18px; }
.sector strong { display: block; margin-bottom: 5px; }
.sector span { color: var(--gs-muted); font-size: .92rem; }

.cta { padding: 78px 0 90px; }
.cta__box { display: grid; grid-template-columns: 1fr auto; gap: 36px; align-items: center; background: var(--gs-green); color: #fff; border-radius: 30px; padding: 48px; }
.cta__box p { color: rgba(255,255,255,.76); max-width: 720px; margin-bottom: 0; }
.cta__box .gs-button { background: #fff; color: var(--gs-green-dark); }

.site-footer { padding: 30px 0 42px; border-top: 1px solid var(--gs-border); }
.site-footer__inner { display: flex; justify-content: space-between; gap: 24px; color: var(--gs-muted); font-size: .9rem; }

.content-wrap { width: min(860px, calc(100% - 40px)); margin: 60px auto 90px; }
.content-wrap h1 { font-size: clamp(2rem, 4vw, 4rem); }
.content-wrap img { border-radius: 20px; }

@media (max-width: 900px) {
  .site-nav { display: none; position: absolute; top: 76px; left: 0; right: 0; background: var(--gs-bg); padding: 20px; border-bottom: 1px solid var(--gs-border); }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: flex-start; }
  .gs-mobile-toggle { display: block; }
  .hero__grid, .feature, .sectors, .cta__box { grid-template-columns: 1fr; }
  .hero__media { min-height: auto; }
  .hero__media img { height: 520px; }
  .hero__badge { left: 18px; }
  .cards { grid-template-columns: 1fr; }
  .route { grid-template-columns: 1fr; gap: 12px; }
  .route__line { width: 1px; height: 32px; margin: 0 auto; }
  .cta__box { text-align: left; }
}

@media (max-width: 560px) {
  .gs-container { width: min(100% - 26px, var(--gs-max)); }
  .hero { padding-top: 34px; }
  .hero__meta { grid-template-columns: 1fr; }
  .hero__media img { height: 430px; }
  .hero__badge { position: static; margin: -40px 14px 0; transform: relative; }
  .section { padding: 68px 0; }
  .sector-grid { grid-template-columns: 1fr; }
  .cta__box { padding: 30px 24px; }
  .site-footer__inner { flex-direction: column; }
}

/* Bilingual language selector – floating in the page corner */
.site-header__tools { display: flex; align-items: center; gap: 18px; }
.gs-language-switcher {
  display: inline-flex; align-items: center; gap: 4px; padding: 7px 8px;
  border: 1px solid rgba(24,53,44,.14); border-radius: 999px;
  background: rgba(255,255,255,.94); box-shadow: 0 10px 30px rgba(24,53,44,.14);
  backdrop-filter: blur(10px); font-size: .78rem; font-weight: 850; letter-spacing: .03em;
}
.gs-language-switcher--floating { position: fixed; top: 16px; right: 16px; z-index: 9999; }
.gs-language-switcher span { opacity: .28; }
.gs-lang {
  border: 0; background: transparent; color: var(--gs-muted); min-width: 30px;
  padding: 5px 7px; cursor: pointer; font: inherit; border-radius: 999px;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.gs-lang:hover { color: var(--gs-green-dark); transform: translateY(-1px); }
.gs-lang.is-active { color: #fff; background: var(--gs-green-dark); }
@media (min-width: 901px) { .site-header__inner { padding-right: 94px; } }
@media (max-width: 900px) {
  .site-header__tools { gap: 10px; }
  .gs-language-switcher--floating { top: 13px; right: 58px; }
}
@media (max-width: 560px) {
  .gs-language-switcher--floating { top: 11px; right: 54px; padding: 5px 6px; }
  .gs-lang { min-width: 28px; padding: 4px 6px; }
}

.contact-phones { margin-top: .5rem; line-height: 1.7; }
.contact-phones span { white-space: nowrap; }
