/*
Theme Name: GoPH - Propiedad Horizontal
Theme URI: https://www.inggos.com/
Author: GoPH
Author URI: https://www.inggos.com/
Description: Tema WordPress one-page para GoPH, plataforma tecnológica integral para la gestión de Propiedad Horizontal en Colombia. Diseño moderno, profesional y responsivo basado en la identidad de marca GoPH (rojo, amarillo y gris).
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: goph
Tags: one-page, business, technology, responsive, custom-colors, custom-logo
*/

/* ==========================================================================
   GoPH Theme — Design Tokens
   Brand: Red (#F53D41), Yellow (#FFC107), Gray (#9E9E9E)
   ========================================================================== */

:root {
  /* Brand */
  --goph-primary: #f53d41;
  --goph-primary-600: #e02a30;
  --goph-accent: #fcc419;
  --goph-accent-600: #f1b300;
  --goph-secondary: #9e9e9e;

  /* Surfaces */
  --goph-bg: #ffffff;
  --goph-fg: #141414;
  --goph-muted: #f5f5f5;
  --goph-muted-fg: #616161;
  --goph-border: #e6e6e6;
  --goph-card: #ffffff;
  --goph-dark: #141414;

  /* Effects */
  --goph-radius: 1rem;
  --goph-radius-lg: 1.5rem;
  --goph-radius-xl: 2rem;
  --goph-shadow-soft: 0 4px 20px -4px rgba(0,0,0,0.08);
  --goph-shadow-card: 0 10px 40px -12px rgba(0,0,0,0.15);
  --goph-shadow-brand: 0 20px 50px -20px rgba(245,61,65,0.45);
  --goph-transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);

  --goph-gradient-brand: linear-gradient(135deg, #f53d41 0%, #fcc419 100%);
  --goph-gradient-hero:
    radial-gradient(ellipse at top left, rgba(245,61,65,0.08), transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(252,196,25,0.10), transparent 50%);
}

/* ==========================================================================
   Base Reset
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--goph-bg);
  color: var(--goph-fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv01";
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: var(--goph-transition); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; padding: 0; margin: 0; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 .5em;
}

p { margin: 0 0 1em; }

/* ==========================================================================
   Layout helpers
   ========================================================================== */
.goph-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.goph-section { padding: 6rem 0; }
@media (min-width: 1024px) { .goph-section { padding: 8rem 0; } }

.goph-text-balance { text-wrap: balance; }
.goph-text-gradient {
  background: var(--goph-gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.goph-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem 1rem;
  border-radius: 999px;
  background: var(--goph-muted);
  border: 1px solid var(--goph-border);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.goph-dot { display:inline-block; width:.5rem; height:.5rem; border-radius:999px; }
.goph-dot--primary { background: var(--goph-primary); }
.goph-dot--accent { background: var(--goph-accent); }
.goph-dot--secondary { background: var(--goph-secondary); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.goph-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 1.5rem;
  border-radius: .75rem;
  font-weight: 600;
  font-size: .95rem;
  transition: var(--goph-transition);
  border: 1px solid transparent;
  white-space: nowrap;
}
.goph-btn--brand {
  background: var(--goph-primary);
  color: #fff;
  box-shadow: var(--goph-shadow-brand);
}
.goph-btn--brand:hover { background: var(--goph-primary-600); transform: translateY(-2px); }
.goph-btn--accent { background: var(--goph-accent); color: var(--goph-fg); }
.goph-btn--accent:hover { background: var(--goph-accent-600); transform: translateY(-2px); }
.goph-btn--outline {
  background: transparent;
  border-color: var(--goph-border);
  color: var(--goph-fg);
}
.goph-btn--outline:hover { border-color: var(--goph-primary); color: var(--goph-primary); }
.goph-btn--ghost { background: transparent; color: var(--goph-fg); }
.goph-btn--ghost:hover { color: var(--goph-primary); }
.goph-btn--xl { padding: 1.1rem 2rem; font-size: 1.05rem; border-radius: 1rem; }

/* ==========================================================================
   Header
   ========================================================================== */
.goph-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: var(--goph-transition);
}
.goph-header.is-scrolled {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--goph-border);
  box-shadow: var(--goph-shadow-soft);
}
.goph-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}
.goph-brand { display: flex; align-items: center; gap: .75rem; }
.goph-brand img { height: 44px; width: 44px; object-fit: contain; }
.goph-brand__name { font-weight: 800; font-size: 1.125rem; line-height: 1; }
.goph-brand__tag { font-size: .625rem; letter-spacing: .18em; text-transform: uppercase; color: var(--goph-muted-fg); }

.goph-nav { display: none; gap: 2rem; align-items: center; }
.goph-nav a { font-size: .9rem; font-weight: 500; color: rgba(20,20,20,.8); }
.goph-nav a:hover { color: var(--goph-primary); }
.goph-header__cta { display: none; gap: .75rem; align-items: center; }
.goph-burger { display: inline-flex; padding: .5rem; }
.goph-burger svg { width: 24px; height: 24px; }

@media (min-width: 1024px) {
  .goph-nav, .goph-header__cta { display: flex; }
  .goph-burger { display: none; }
}

.goph-mobile-nav {
  display: none;
  background: var(--goph-bg);
  border-top: 1px solid var(--goph-border);
}
.goph-mobile-nav.is-open { display: block; }
.goph-mobile-nav__inner { padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.goph-mobile-nav a { padding: .5rem 0; font-weight: 500; }

/* ==========================================================================
   Hero
   ========================================================================== */
.goph-hero {
  position: relative;
  padding: 8rem 0 6rem;
  overflow: hidden;
  background: var(--goph-gradient-hero);
}
@media (min-width: 1024px) { .goph-hero { padding: 10rem 0 8rem; } }
.goph-hero__grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) { .goph-hero__grid { grid-template-columns: 1fr 1fr; } }

.goph-hero h1 {
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  margin-bottom: 1.25rem;
}
.goph-hero__lead {
  font-size: 1.125rem;
  color: var(--goph-muted-fg);
  max-width: 36rem;
  margin-bottom: 2rem;
}
.goph-hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; }
.goph-hero__stats {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  font-size: .9rem;
  color: var(--goph-muted-fg);
}
.goph-hero__stats strong { display:block; font-size: 1.5rem; color: var(--goph-fg); font-weight: 800; }

.goph-hero__visual {
  position: relative;
  max-width: 26rem;
  margin: 0 auto;
}
.goph-hero__glow {
  position: absolute; inset: -2rem;
  background: radial-gradient(circle, rgba(245,61,65,0.2), rgba(252,196,25,0.1) 40%, transparent 70%);
  filter: blur(40px);
  z-index: 0;
}
.goph-hero__card {
  position: relative;
  background: var(--goph-card);
  border: 1px solid var(--goph-border);
  border-radius: var(--goph-radius-xl);
  padding: 3rem;
  box-shadow: var(--goph-shadow-card);
  animation: goph-float 6s ease-in-out infinite;
  z-index: 1;
}
.goph-hero__card img { max-width: 320px; margin: 0 auto; }
.goph-hero__pill {
  position: absolute;
  background: var(--goph-card);
  border: 1px solid var(--goph-border);
  border-radius: 1rem;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  box-shadow: var(--goph-shadow-card);
  font-size: .85rem;
  z-index: 2;
}
.goph-hero__pill--top { top: -1.5rem; left: -1.5rem; }
.goph-hero__pill--bottom { bottom: -1.5rem; right: -1.5rem; }
.goph-hero__pill small { display:block; color: var(--goph-muted-fg); font-size: .7rem; }
.goph-hero__pill .goph-icon-circle {
  width: 2.5rem; height: 2.5rem; border-radius: .85rem;
  display: flex; align-items: center; justify-content: center;
  background: rgba(245,61,65,0.1); color: var(--goph-primary); font-weight: 700;
}
.goph-hero__pill--bottom .goph-icon-circle { background: rgba(252,196,25,0.2); color: var(--goph-fg); }
@media (max-width: 767px) { .goph-hero__pill { display: none; } }

/* ==========================================================================
   Section header
   ========================================================================== */
.goph-section-head { max-width: 48rem; margin: 0 auto 4rem; text-align: center; }
.goph-section-head h2 { font-size: clamp(2rem, 4vw, 3.5rem); margin-bottom: 1rem; }
.goph-section-head p { color: var(--goph-muted-fg); font-size: 1.05rem; }

/* ==========================================================================
   Products
   ========================================================================== */
.goph-products { background: rgba(245,245,245,0.5); }
.goph-products__grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .goph-products__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .goph-products__grid { grid-template-columns: repeat(3, 1fr); } }

.goph-card {
  background: var(--goph-bg);
  border: 1px solid var(--goph-border);
  border-radius: var(--goph-radius-xl);
  padding: 2rem;
  transition: var(--goph-transition);
}
.goph-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--goph-shadow-card);
  border-color: rgba(245,61,65,0.3);
}
.goph-card__icon {
  width: 3.5rem; height: 3.5rem;
  border-radius: 1rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
}
.goph-card__icon--primary { background: rgba(245,61,65,0.10); color: var(--goph-primary); }
.goph-card__icon--accent { background: rgba(252,196,25,0.20); color: #8a6d00; }
.goph-card__icon--secondary { background: rgba(158,158,158,0.20); color: var(--goph-fg); }
.goph-card__icon svg { width: 28px; height: 28px; }
.goph-card h3 { font-size: 1.25rem; margin-bottom: .75rem; }
.goph-card p { color: var(--goph-muted-fg); font-size: .9rem; margin-bottom: 1.25rem; }
.goph-card ul li {
  display: flex; align-items: center; gap: .5rem;
  font-size: .85rem; font-weight: 500; padding: .25rem 0;
}
.goph-card ul li::before {
  content: ""; width: 6px; height: 6px; border-radius: 999px; background: var(--goph-primary);
}

.goph-products__cta { margin-top: 4rem; text-align: center; }

/* ==========================================================================
   Assemblies
   ========================================================================== */
.goph-steps {
  display: grid; gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .goph-steps { grid-template-columns: repeat(3, 1fr); } }
.goph-step {
  background: var(--goph-card);
  border: 1px solid var(--goph-border);
  border-radius: var(--goph-radius-lg);
  padding: 2rem;
  position: relative;
}
.goph-step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem;
  border-radius: 999px;
  background: var(--goph-gradient-brand);
  color: #fff; font-weight: 800;
  margin-bottom: 1rem;
}
.goph-step h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.goph-step p { color: var(--goph-muted-fg); font-size: .9rem; margin: 0; }

/* ==========================================================================
   Stats
   ========================================================================== */
.goph-stats {
  background: var(--goph-dark);
  color: #fff;
}
.goph-stats h2 { color: #fff; }
.goph-stats__grid {
  display: grid; gap: 2rem; text-align: center;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 768px) { .goph-stats__grid { grid-template-columns: repeat(4, 1fr); } }
.goph-stat__num {
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  font-weight: 800;
  background: var(--goph-gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.goph-stat__label { color: rgba(255,255,255,.7); font-size: .9rem; margin-top: .5rem; }

/* ==========================================================================
   Partners
   ========================================================================== */
.goph-partners__grid {
  display: grid; gap: 2.5rem; align-items: center;
}
@media (min-width: 1024px) { .goph-partners__grid { grid-template-columns: 1fr 1fr; } }
.goph-partners__list {
  display: grid; gap: 1rem;
  grid-template-columns: 1fr 1fr;
}
.goph-partner {
  padding: 1.5rem;
  border: 1px solid var(--goph-border);
  border-left: 4px solid var(--goph-primary);
  border-radius: var(--goph-radius);
  background: var(--goph-card);
  font-weight: 600;
  font-size: .9rem;
  min-height: 100px;
  display: flex; align-items: center;
  transition: var(--goph-transition);
}
.goph-partner:nth-child(3n+2) { border-left-color: var(--goph-secondary); }
.goph-partner:nth-child(3n) { border-left-color: var(--goph-accent); }
.goph-partner:hover { transform: translateY(-4px); box-shadow: var(--goph-shadow-card); }

/* ==========================================================================
   Community
   ========================================================================== */
.goph-community__embed {
  position: relative;
  border-radius: var(--goph-radius-xl);
  overflow: hidden;
  box-shadow: var(--goph-shadow-card);
  aspect-ratio: 16/9;
  background: #000;
}
.goph-community__embed iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* ==========================================================================
   Contact
   ========================================================================== */
.goph-contact { background: rgba(245,245,245,0.5); }
.goph-contact__grid {
  display: grid; gap: 3rem;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) { .goph-contact__grid { grid-template-columns: 1fr 1fr; } }
.goph-form {
  background: var(--goph-card);
  border: 1px solid var(--goph-border);
  border-radius: var(--goph-radius-xl);
  padding: 2.5rem;
  box-shadow: var(--goph-shadow-card);
}
.goph-form__row { display: grid; gap: 1rem; margin-bottom: 1rem; }
@media (min-width: 640px) { .goph-form__row--2 { grid-template-columns: 1fr 1fr; } }
.goph-form label { display:block; font-weight: 600; font-size: .85rem; margin-bottom: .35rem; }
.goph-form input, .goph-form textarea, .goph-form select {
  width: 100%;
  padding: .85rem 1rem;
  border: 1px solid var(--goph-border);
  border-radius: .75rem;
  font-family: inherit;
  font-size: .95rem;
  background: #fff;
  transition: var(--goph-transition);
}
.goph-form input:focus, .goph-form textarea:focus, .goph-form select:focus {
  outline: none;
  border-color: var(--goph-primary);
  box-shadow: 0 0 0 4px rgba(245,61,65,0.12);
}
.goph-form textarea { min-height: 140px; resize: vertical; }

.goph-info__item {
  display: flex; gap: 1rem;
  padding: 1.25rem;
  border: 1px solid var(--goph-border);
  border-radius: var(--goph-radius);
  background: var(--goph-card);
  margin-bottom: 1rem;
}
.goph-info__icon {
  width: 2.75rem; height: 2.75rem;
  border-radius: .85rem;
  background: rgba(245,61,65,0.1); color: var(--goph-primary);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.goph-info__item strong { display: block; margin-bottom: .25rem; }
.goph-info__item span { color: var(--goph-muted-fg); font-size: .9rem; }

/* ==========================================================================
   Footer
   ========================================================================== */
.goph-footer {
  background: var(--goph-dark);
  color: rgba(255,255,255,.85);
  padding: 5rem 0 2.5rem;
}
.goph-footer__grid {
  display: grid; gap: 2.5rem; margin-bottom: 3.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .goph-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .goph-footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.goph-footer h4 {
  font-size: .8rem; text-transform: uppercase; letter-spacing: .08em;
  color: #fff; margin-bottom: 1rem;
}
.goph-footer ul li { padding: .25rem 0; }
.goph-footer ul li a { color: rgba(255,255,255,.7); font-size: .9rem; }
.goph-footer ul li a:hover { color: var(--goph-accent); }
.goph-footer__brand .goph-brand__name, .goph-footer__brand .goph-brand__tag { color: #fff; }
.goph-footer__brand .goph-brand__tag { color: rgba(255,255,255,.6); }
.goph-footer__brand img { background: #fff; border-radius: 999px; padding: 4px; }
.goph-footer__about { color: rgba(255,255,255,.7); font-size: .9rem; margin: 1rem 0 1.25rem; }
.goph-social { display: flex; gap: .75rem; }
.goph-social a {
  width: 2.25rem; height: 2.25rem; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  transition: var(--goph-transition);
}
.goph-social a:hover { background: var(--goph-primary); border-color: var(--goph-primary); }
.goph-social svg { width: 16px; height: 16px; }
.goph-footer__bottom {
  border-top: 1px solid rgba(255,255,255,.15);
  padding-top: 2rem;
  display: flex; flex-direction: column; gap: 1rem;
  align-items: center; justify-content: space-between;
  font-size: .85rem; color: rgba(255,255,255,.6);
}
@media (min-width: 768px) { .goph-footer__bottom { flex-direction: row; } }

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes goph-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes goph-pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .6; transform: scale(.92); }
}
@keyframes goph-fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.goph-animate-float { animation: goph-float 6s ease-in-out infinite; }
.goph-animate-pulse-dot { animation: goph-pulse-dot 2.4s ease-in-out infinite; }
.goph-animate-fade-up { animation: goph-fade-up .8s cubic-bezier(0.22, 1, 0.36, 1) both; }

/* ==========================================================================
   WordPress core compat
   ========================================================================== */
.alignleft { float: left; margin-right: 1.5em; }
.alignright { float: right; margin-left: 1.5em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); height: 1px; width: 1px;
  overflow: hidden; position: absolute !important;
}
.wp-caption { max-width: 100%; }
.sticky, .gallery-caption, .bypostauthor { display: block; }
