/*
Theme Name:  GCComex Seguros
Theme URI:   https://gccomexseguros.com
Author:      GCComex GCC Gerencia Comercial S.R.L.
Author URI:  https://gccomexseguros.com
Description: Tema institucional para GCComex – Promotores y Consultores de Seguros Internacionales. Bee Health Olé.
Version:     1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License:     Proprietary
Text Domain: gccomex
*/

/* ════════════════════════════════════════════════════════
   GOOGLE FONTS
════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300&display=swap');

/* ════════════════════════════════════════════════════════
   DESIGN TOKENS
════════════════════════════════════════════════════════ */
:root {
  --c-cyan:       #00C8E0;
  --c-cyan-light: #33D4E8;
  --c-cyan-deep:  #0097AA;
  --c-teal:       #007A8A;
  --c-dark:       #004F6B;
  --c-midnight:   #002B3D;
  --c-black:      #071318;
  --c-white:      #FFFFFF;
  --c-off-white:  #F3F9FB;
  --c-gray-50:    #EBF4F7;
  --c-gray-200:   #C8DDE4;
  --c-gray-400:   #7A9FAC;
  --c-gray-600:   #3C5C6A;
  --c-gray-800:   #1A3340;
  --c-success:    #10B981;

  --g-brand: linear-gradient(135deg, #00C8E0 0%, #004F6B 100%);
  --g-bold:  linear-gradient(160deg, #00E5FF 0%, #00C8E0 28%, #0097AA 58%, #004F6B 100%);
  --g-dark:  linear-gradient(160deg, #002B3D 0%, #001A28 100%);

  --ff-display: 'Syne', sans-serif;
  --ff-body:    'DM Sans', sans-serif;

  --r-sm:   8px;
  --r-md:   14px;
  --r-lg:   22px;
  --r-xl:   32px;
  --r-full: 9999px;

  --sh-sm:   0 2px 10px rgba(0,40,60,0.08);
  --sh-md:   0 6px 24px rgba(0,40,60,0.12);
  --sh-lg:   0 16px 56px rgba(0,40,60,0.18);
  --sh-cyan: 0 8px 32px rgba(0,200,224,0.30);

  --ease:     cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.0, 0.0, 0.2, 1.0);
  --t-fast:   150ms;
  --t-base:   280ms;
  --t-slow:   500ms;
}

/* ════════════════════════════════════════════════════════
   RESET
════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--c-black);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul, ol { list-style: none; }
input, textarea, select { font: inherit; }

/* ════════════════════════════════════════════════════════
   NAVIGATION
════════════════════════════════════════════════════════ */
.gc-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: 74px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(0,200,224,0.12);
  transition: box-shadow var(--t-base) var(--ease);
}
.gc-nav.scrolled { box-shadow: 0 2px 28px rgba(0,40,60,0.10); }
.gc-nav-logo img { height: 38px; width: auto; }

/* Nav links — ul/li structure */
.gc-nav-links {
  display: flex; align-items: center; gap: 3px;
  list-style: none; margin: 0; padding: 0;
}
.gc-nav-links li { display: flex; }
.gc-nav-links a {
  font-family: var(--ff-body); font-size: 14px; font-weight: 500;
  color: var(--c-gray-800);
  padding: 8px 14px; border-radius: var(--r-full);
  transition: color var(--t-fast), background var(--t-fast);
  white-space: nowrap;
}
.gc-nav-links a:hover,
.gc-nav-links a.active,
.gc-nav-links .current-menu-item > a,
.gc-nav-links .current_page_item > a {
  color: var(--c-cyan-deep); background: rgba(0,200,224,0.09);
}
.gc-nav-links .nav-cta,
.gc-nav-links .menu-item-cta > a {
  background: var(--g-brand) !important; color: var(--c-white) !important;
  padding: 9px 22px !important; font-weight: 600;
  border-radius: var(--r-full) !important;
  box-shadow: 0 3px 14px rgba(0,200,224,0.28);
  transition: transform var(--t-fast), box-shadow var(--t-fast) !important;
}
.gc-nav-links .nav-cta:hover,
.gc-nav-links .menu-item-cta > a:hover {
  transform: translateY(-1px) !important; box-shadow: var(--sh-cyan) !important;
}

.gc-nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  padding: 6px; border-radius: var(--r-sm);
  transition: background var(--t-fast);
}
.gc-nav-hamburger:hover { background: var(--c-gray-50); }
.gc-nav-hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--c-dark); border-radius: 2px;
  transition: transform var(--t-base) var(--ease), opacity var(--t-base) var(--ease);
}
.gc-nav-links.open {
  display: flex; flex-direction: column; align-items: flex-start;
  position: fixed; top: 74px; left: 0; right: 0;
  background: var(--c-white);
  padding: 20px 24px 28px;
  box-shadow: var(--sh-lg);
  border-top: 2px solid var(--c-cyan);
  z-index: 999;
  animation: slideDown var(--t-base) var(--ease-out);
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.gc-nav-links.open li { width: 100%; }
.gc-nav-links.open a { width: 100%; padding: 12px 16px; font-size: 15px; border-radius: var(--r-md); }

/* ════════════════════════════════════════════════════════
   LAYOUT
════════════════════════════════════════════════════════ */
.container    { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.container-sm { max-width: 840px; margin: 0 auto; padding: 0 40px; }
.section-py   { padding-top: 100px; padding-bottom: 100px; }
.section-pt   { padding-top: 100px; }
.section-pb   { padding-bottom: 100px; }
.section-white { padding-top: 96px; padding-bottom: 0; }

/* ════════════════════════════════════════════════════════
   TYPOGRAPHY UTILITIES
════════════════════════════════════════════════════════ */
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--c-cyan); margin-bottom: 14px;
}
.section-eyebrow::before {
  content: ''; display: block; width: 20px; height: 2px;
  background: var(--c-cyan); border-radius: 2px;
}
.section-title {
  font-family: var(--ff-display);
  font-size: clamp(30px, 4.5vw, 56px);
  font-weight: 800; line-height: 1.06; letter-spacing: -0.02em;
  color: var(--c-black); margin-bottom: 20px;
}
.section-title .hi  { color: var(--c-cyan); }
.section-title .hid { color: var(--c-dark); }
.section-lead {
  font-size: clamp(16px, 1.8vw, 18px);
  line-height: 1.72; color: var(--c-gray-400);
}

/* ════════════════════════════════════════════════════════
   BUTTONS
════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--ff-body); font-size: 15px; font-weight: 600;
  padding: 14px 30px; border-radius: var(--r-full);
  border: 2px solid transparent; cursor: pointer; text-decoration: none;
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), background var(--t-base);
  white-space: nowrap; letter-spacing: 0.01em;
}
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--g-brand); color: var(--c-white); border-color: transparent; box-shadow: var(--sh-cyan); }
.btn-primary:hover { box-shadow: 0 10px 40px rgba(0,200,224,0.42); }
.btn-outline { background: transparent; color: var(--c-cyan); border-color: var(--c-cyan); }
.btn-outline:hover { background: var(--c-cyan); color: var(--c-white); box-shadow: var(--sh-cyan); }
.btn-outline-white { background: transparent; color: var(--c-white); border-color: rgba(255,255,255,0.35); }
.btn-outline-white:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.65); }
.btn-white { background: var(--c-white); color: var(--c-dark); font-weight: 700; border-color: transparent; box-shadow: var(--sh-md); }
.btn-white:hover { box-shadow: var(--sh-lg); }
.btn-dark { background: var(--c-midnight); color: var(--c-white); border-color: rgba(255,255,255,0.1); }
.btn-dark:hover { background: var(--c-dark); }
.btn-lg { font-size: 17px; padding: 17px 38px; }
.btn-sm { font-size: 13px; padding: 10px 22px; }

/* ════════════════════════════════════════════════════════
   CARDS
════════════════════════════════════════════════════════ */
.gc-card {
  background: var(--c-white); border-radius: var(--r-lg); padding: 32px;
  border: 1px solid rgba(0,200,224,0.1); box-shadow: var(--sh-sm);
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base), border-color var(--t-base);
}
.gc-card:hover {
  transform: translateY(-5px); box-shadow: var(--sh-lg);
  border-color: rgba(0,200,224,0.28);
}

/* CTA SECTION */
.cta-section {
  background: var(--g-bold); text-align: center;
}
.cta-inner .section-title { color: var(--c-white); }
.cta-inner .section-lead  { color: rgba(255,255,255,0.70); max-width: 560px; margin: 0 auto 36px; }

/* ════════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════════ */
.gc-footer {
  background: var(--c-midnight);
  color: var(--c-white);
  padding: 72px 0 36px;
}
.gc-footer-top {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 28px;
}
.footer-brand-logo { height: 34px; margin-bottom: 18px; filter: brightness(0) invert(1); }
.footer-brand-desc {
  font-size: 14px; line-height: 1.75;
  color: rgba(255,255,255,0.45); margin-bottom: 24px; max-width: 270px;
}
.footer-socials { display: flex; gap: 10px; }
.footer-social-icon {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.16);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.52); font-size: 12px; font-weight: 700;
  transition: border-color var(--t-fast), color var(--t-fast), background var(--t-fast);
}
.footer-social-icon:hover { border-color: var(--c-cyan); color: var(--c-cyan); background: rgba(0,200,224,0.1); }
.footer-col-title {
  font-family: var(--ff-display); font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.30); margin-bottom: 20px;
}
.footer-col-links { display: flex; flex-direction: column; gap: 10px; }
.footer-col-links a { font-size: 14px; color: rgba(255,255,255,0.60); transition: color var(--t-fast); }
.footer-col-links a:hover { color: var(--c-cyan); }
.gc-footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; color: rgba(255,255,255,0.30);
}
.gc-footer-bottom-links { display: flex; gap: 24px; }
.gc-footer-bottom-links a { color: rgba(255,255,255,0.30); transition: color var(--t-fast); }
.gc-footer-bottom-links a:hover { color: var(--c-cyan); }

/* ════════════════════════════════════════════════════════
   SCROLL ANIMATIONS
════════════════════════════════════════════════════════ */
[data-animate] {
  opacity: 0;
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
[data-animate="fade-up"]    { transform: translateY(36px); }
[data-animate="fade-down"]  { transform: translateY(-36px); }
[data-animate="fade-left"]  { transform: translateX(-36px); }
[data-animate="fade-right"] { transform: translateX(36px); }
[data-animate].is-visible   { opacity: 1; transform: none; }
[data-delay="100"] { transition-delay: 0.10s; }
[data-delay="200"] { transition-delay: 0.20s; }
[data-delay="300"] { transition-delay: 0.30s; }
[data-delay="400"] { transition-delay: 0.40s; }
[data-delay="500"] { transition-delay: 0.50s; }

/* ════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .gc-footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .container { padding: 0 28px; }
  .container-sm { padding: 0 28px; }
}
@media (max-width: 768px) {
  .gc-nav { padding: 0 20px; }
  .gc-nav-links { display: none; }
  .gc-nav-hamburger { display: flex; }
  .section-py { padding-top: 64px; padding-bottom: 64px; }
  .section-pt { padding-top: 64px; }
  .section-pb { padding-bottom: 64px; }
  .gc-footer-top { grid-template-columns: 1fr; gap: 32px; }
  .gc-footer-bottom { flex-direction: column; gap: 14px; text-align: center; }
  .gc-footer-bottom-links { gap: 16px; }
  .container { padding: 0 20px; }
  .container-sm { padding: 0 20px; }
}
