/* ==========================================================================
   Casa REN Marketing: master stylesheet
   Hand-ported from the Astro "agency" theme (rapibot-sites/src/themes/agency/)
   ========================================================================== */

/* ===== Base / Layout (reset, CSS vars, fonts, global section/button classes, fade-in) ===== */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Backgrounds */
  --ag-bg: #141414;
  --ag-bg-alt: #1c1c1c;
  --ag-bg-dark: #0a0a0a;
  /* Accent colors */
  --ag-gold: #d4af55;
  --ag-gold-hi: #dfc070;
  --ag-coral: #d45b3a;
  /* Text colors */
  --ag-bone: #e8e2d9;
  --ag-mid: #9a9284;
  --ag-muted: #6b6056;
  /* Borders */
  --ag-border: rgba(212, 175, 85, 0.12);
  --ag-bord-g: rgba(212, 175, 85, 0.22);
  /* Typography */
  --ag-display: 'Playfair Display', serif;
  --ag-sans: 'Inter', sans-serif;
  /* Backward-compat aliases: kept so components that reference the old
     names (e.g. CTA's --ag-orange) still resolve correctly */
  --ag-orange: var(--ag-gold);
  --ag-ora-hi: var(--ag-gold-hi);
  --ag-bord-o: var(--ag-bord-g);
  --ag-serif: var(--ag-display);
  --ag-dark: #141414;
}

html {
  scroll-behavior: smooth;
}
body {
  background: var(--ag-bg);
  color: var(--ag-bone);
  font-family: var(--ag-sans);
  overflow-x: hidden;
}

.ag-sec-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ag-gold);
  margin-bottom: 1.1rem;
}
.ag-sec-eyebrow::before {
  content: '';
  display: block;
  width: 1.5rem;
  height: 2.5px;
  background: var(--ag-gold);
  border-radius: 2px;
}
.ag-sec-title {
  font-family: var(--ag-display);
  font-size: clamp(2.4rem, 3.8vw, 4rem);
  line-height: 1.05;
  color: var(--ag-bone);
  margin-bottom: 0.9rem;
}
.ag-sec-sub {
  font-size: 1rem;
  color: var(--ag-mid);
  line-height: 1.72;
  max-width: 520px;
}
.ag-sec {
  padding: 5.5rem 5rem;
  background: var(--ag-bg);
}
.ag-sec.alt {
  background: var(--ag-bg-alt);
}
.ag-container {
  max-width: 1024px;
  margin: 0 auto;
}

.fi {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}
.fi.on {
  opacity: 1;
  transform: translateY(0);
}
.fi2 {
  transition-delay: 0.1s;
}
.fi3 {
  transition-delay: 0.2s;
}
.fi4 {
  transition-delay: 0.3s;
}
.fi5 {
  transition-delay: 0.4s;
}
.fi6 {
  transition-delay: 0.5s;
}

.ag-btn-gold {
  display: inline-block;
  background: var(--ag-gold);
  color: #0a0a0a;
  padding: 0.9rem 2rem;
  border-radius: 5px;
  font-weight: 900;
  font-size: 0.85rem;
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all 0.2s;
}
.ag-btn-gold:hover {
  background: var(--ag-gold-hi);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(212, 175, 85, 0.3);
}
.ag-btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--ag-bone);
  border: 1.5px solid var(--ag-border);
  padding: 0.9rem 2rem;
  border-radius: 5px;
  font-weight: 900;
  font-size: 0.85rem;
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all 0.2s;
}
.ag-btn-outline:hover {
  border-color: var(--ag-gold);
  color: var(--ag-gold);
}

@media (max-width: 900px) {
  .ag-sec {
    padding: 4rem 1.5rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== Nav ===== */

.ag-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2.5rem;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ag-border);
  transition: box-shadow 0.3s;
}
.ag-nav.scrolled {
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);
}
.ag-nav-logo {
  font-family: var(--ag-display);
  font-size: 1.7rem;
  letter-spacing: 0.05em;
  color: var(--ag-gold);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
}
.ag-nav-logo-sub {
  font-family: var(--ag-sans);
  color: var(--ag-bone);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
}
.ag-dot {
  color: var(--ag-gold);
}
.ag-nav-right {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}
.ag-nav-links {
  display: flex;
  gap: 1.9rem;
  list-style: none;
  align-items: center;
}
.ag-nav-links a {
  color: var(--ag-muted);
  text-decoration: none;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s;
  white-space: nowrap;
}
.ag-nav-links a:hover {
  color: var(--ag-bone);
}
.ag-nav-cta {
  background: var(--ag-gold);
  color: #0a0a0a;
  padding: 0.65rem 1.4rem;
  border-radius: 5px;
  font-weight: 900;
  font-size: 0.82rem;
  text-decoration: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition:
    background 0.2s,
    transform 0.15s;
  white-space: nowrap;
}
.ag-nav-cta:hover {
  background: var(--ag-gold-hi);
  transform: translateY(-1px);
}
.ag-nav-right-mobile {
  display: none;
  align-items: center;
  gap: 0.75rem;
}
.lang-toggle {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.lang-toggle .lang-active {
  color: var(--ag-gold);
}
.lang-toggle .lang-divider {
  color: var(--ag-muted);
  margin: 0 0.3em;
}
.lang-toggle a.lang-inactive,
.lang-toggle a.lang-inactive:visited {
  color: var(--ag-mid);
  text-decoration: none;
  transition: color 0.2s;
}
.lang-toggle a.lang-inactive:hover {
  color: var(--ag-bone);
}
.ag-hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.ag-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ag-bone);
}
.ag-mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--ag-border);
  padding: 1.5rem 0;
}
.ag-mobile-menu.open {
  display: block;
}
.ag-mobile-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  padding: 0 1.5rem;
}
.ag-mobile-links a {
  display: block;
  text-decoration: none;
  color: var(--ag-bone);
  font-size: 0.85rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--ag-border);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.ag-mobile-links a:last-child {
  border-bottom: none;
}
.ag-mobile-cta {
  background: var(--ag-gold) !important;
  color: #0a0a0a !important;
  text-align: center;
  border-radius: 5px;
  margin-top: 1rem;
  border: none !important;
  padding: 0.85rem !important;
}
@media (max-width: 1080px) {
  .ag-nav {
    padding: 0.9rem 1.5rem;
  }
  .ag-nav-right {
    display: none;
  }
  .ag-nav-right-mobile {
    display: flex;
  }
}

/* ===== Footer ===== */

.ag-footer {
  background: var(--ag-bg-dark);
  padding: 3.5rem 5rem 2rem;
}
.ag-ft-inner {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}
.ag-ft-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
}
.ag-ft-logo-text {
  display: flex;
  flex-direction: column;
  font-family: var(--ag-serif);
  font-size: 1.5rem;
  letter-spacing: 0.03em;
  color: var(--ag-gold);
  font-weight: 700;
  line-height: 1.15;
}
.ag-ft-logo-sub {
  font-family: var(--ag-sans);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
}
.ag-ft-brand p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.65;
  max-width: 290px;
}
.ag-ft-col h4 {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 1rem;
  font-family: var(--ag-sans);
}
.ag-ft-col ul {
  list-style: none;
}
.ag-ft-col ul li {
  margin-bottom: 0.55rem;
}
.ag-ft-col ul li a,
.ag-ft-col ul li span {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-size: 0.82rem;
  transition: color 0.2s;
}
.ag-ft-col ul li a:hover {
  color: #fff;
}
.ag-ft-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1.5rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.25);
  gap: 0.5rem 1.5rem;
}
.ag-ft-bottom > :last-child {
  justify-self: end;
}
.ag-ft-legal a {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: color 0.2s;
}
.ag-ft-legal a:hover {
  color: var(--ag-gold);
}
@media (max-width: 900px) {
  .ag-footer {
    padding: 2.5rem 1.5rem 1.5rem;
  }
  .ag-ft-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .ag-ft-bottom {
    display: flex;
    flex-direction: column;
    text-align: center;
  }
}

/* ===== Home (Hero + ServicesSplit + StatsStrip + Services + Trust) ===== */

/* Hero */
.ag-hero-inner {
  padding: 9rem 2.5rem 6rem;
}
.ag-hero-h1 {
  font-family: var(--ag-display);
  font-size: clamp(2.4rem, 4.6vw, 4.4rem);
  line-height: 1.12;
  color: var(--ag-bone);
  margin: 1.1rem 0 1.5rem;
}
.ag-hero-h1 em {
  color: var(--ag-gold);
  font-style: italic;
}
.ag-hero-tagline {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--ag-bone);
  margin-bottom: 0.6rem;
}
.ag-hero-tagline-bold {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ag-gold);
  margin-bottom: 1.6rem;
}
.ag-hero-desc {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--ag-mid);
  max-width: 560px;
  margin-bottom: 2.2rem;
}
.ag-hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
@media (max-width: 900px) {
  .ag-hero-inner {
    padding: 6.5rem 1.5rem 3.5rem;
  }
}

/* ServicesSplit */
.ag-split-sec {
  background: var(--ag-bg-dark);
  padding: 5.5rem 2.5rem;
}
.ag-split-inner {
  max-width: 1024px;
  margin: 0 auto;
}
.ag-split-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin-bottom: 2.5rem;
}
.ag-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.ag-split-card {
  position: relative;
  display: block;
  background: var(--ag-bg);
  border: 1.5px solid var(--ag-border);
  border-radius: 10px;
  padding: 2rem;
  text-decoration: none;
  transition:
    border-color 0.25s,
    transform 0.25s;
}
.ag-split-card:hover {
  border-color: var(--ag-gold);
  transform: translateY(-3px);
}
.ag-split-card-coral:hover {
  border-color: var(--ag-coral);
}
.ag-split-eyebrow {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ag-gold);
  margin-bottom: 0.8rem;
}
.ag-split-eyebrow-coral {
  color: var(--ag-coral);
}
.ag-split-card h3 {
  font-family: var(--ag-display);
  font-size: 1.7rem;
  color: var(--ag-bone);
  margin-bottom: 0.7rem;
}
.ag-split-card p {
  font-size: 0.85rem;
  color: var(--ag-mid);
  line-height: 1.68;
  margin-bottom: 1.3rem;
}
.ag-split-link {
  color: var(--ag-gold);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}
.ag-split-link-coral {
  color: var(--ag-coral);
}
.ag-split-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--ag-coral);
  color: #fff;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.28rem 0.7rem;
  border-radius: 100px;
}
@media (max-width: 900px) {
  .ag-split-sec {
    padding: 4rem 1.5rem;
  }
  .ag-split-grid {
    grid-template-columns: 1fr;
  }
}

/* StatsStrip */
.ag-stats-strip {
  background: var(--ag-bone);
  padding: 3rem 5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.ag-stat-item {
  text-align: center;
}
.ag-stat-num {
  font-family: var(--ag-display);
  font-weight: 900;
  font-size: 2.8rem;
  color: #1a1512;
  letter-spacing: 0.01em;
  display: block;
  line-height: 1;
}
.ag-stat-lbl {
  font-size: 0.72rem;
  font-weight: 700;
  color: #8a7a5c;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 0.5rem;
  display: block;
}
@media (max-width: 900px) {
  .ag-stats-strip {
    grid-template-columns: repeat(2, 1fr);
    padding: 2rem 1.5rem;
  }
}

/* Services (home "what we build" grid) */
.ag-build-inner {
  max-width: 1024px;
  margin: 0 auto;
}
.ag-build-title {
  max-width: 22ch;
}
.ag-build-title em {
  color: var(--ag-gold);
  font-style: italic;
}
.ag-srv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.ag-srv-card {
  background: var(--ag-bg-alt);
  border: 1.5px solid var(--ag-border);
  border-left: 3px solid transparent;
  border-radius: 8px;
  padding: 1.75rem;
  transition:
    border-color 0.25s,
    transform 0.25s;
}
.ag-srv-card:hover {
  transform: translateY(-3px);
  border-color: var(--ag-bord-g);
}
.ag-srv-card-hl {
  border-left-color: var(--ag-coral);
  background: rgba(212, 91, 58, 0.06);
}
.ag-srv-arrow {
  display: block;
  color: var(--ag-gold);
  font-size: 0.9rem;
  margin-bottom: 0.9rem;
}
.ag-srv-card h3 {
  font-family: var(--ag-sans);
  font-weight: 800;
  font-size: 0.98rem;
  color: var(--ag-bone);
  margin-bottom: 0.55rem;
}
.ag-srv-card p {
  font-size: 0.82rem;
  color: var(--ag-muted);
  line-height: 1.65;
}
@media (max-width: 900px) {
  .ag-srv-grid {
    grid-template-columns: 1fr;
  }
}

/* Trust */
.ag-trust-sec {
  text-align: center;
}
.ag-trust-inner {
  max-width: 780px;
  margin: 0 auto;
}
.ag-trust-headline {
  font-family: var(--ag-display);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  line-height: 1.25;
  color: var(--ag-bone);
  margin-bottom: 2.5rem;
}
.ag-trust-headline em {
  color: var(--ag-gold);
  font-style: italic;
}
.ag-promise {
  margin-bottom: 2.5rem;
}
.ag-promise-quote {
  font-family: var(--ag-display);
  font-style: italic;
  font-size: 1.3rem;
  line-height: 1.55;
  color: var(--ag-mid);
  margin-bottom: 1.5rem;
}
.ag-promise-detail {
  font-size: 0.88rem;
  color: var(--ag-muted);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
}
@media (max-width: 900px) {
  .ag-trust-headline {
    margin-bottom: 2rem;
  }
}

/* ===== About + CTA ===== */

/* About: opening hero */
.ag-about-hero {
  position: relative;
  border-bottom: 1px solid var(--ag-border);
}
.ag-about-hero-inner {
  max-width: 1024px;
  margin: 0 auto;
}
.ag-about-headline {
  font-family: var(--ag-display);
  font-size: clamp(2.4rem, 4.5vw, 4.2rem);
  line-height: 1.1;
  color: var(--ag-bone);
  margin-bottom: 1.2rem;
}
.ag-about-sub {
  font-size: 1.05rem;
  color: var(--ag-mid);
  max-width: 560px;
  line-height: 1.7;
}
.ag-about-hero-rule {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--ag-gold);
}

/* About: founder */
.ag-founder-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 6rem;
  align-items: center;
}
.ag-founder-photo-wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--ag-bg);
  border: 1.5px solid var(--ag-border);
}
.ag-founder-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}
.ag-photo-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
}
.ag-founder-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--ag-border);
  border-radius: 6px;
  padding: 0.6rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ag-bone);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.ag-founder-role {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ag-gold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.ag-founder-story {
  font-size: 1rem;
  line-height: 1.82;
  color: var(--ag-mid);
  margin-bottom: 2rem;
}

/* NOTE: renamed from the source's `.ag-pulse` / `@keyframes ag-pulse` to
   avoid colliding with GrowthMembershipPage's identically-named pulse
   effect below. Use `ag-pulse-about` in About page HTML. */
.ag-pulse-about {
  animation: ag-pulse-about 2s ease-in-out infinite;
  color: var(--ag-gold);
}
@keyframes ag-pulse-about {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

/* About: the 15 limit */
.ag-limit-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 5rem;
  align-items: center;
}
.ag-limit-num {
  font-family: var(--ag-display);
  font-size: clamp(8rem, 16vw, 14rem);
  line-height: 1;
  color: var(--ag-gold);
  opacity: 0.18;
  letter-spacing: -0.02em;
}
.ag-limit-body .ag-sec-sub {
  max-width: 620px;
}

/* About: values */
.ag-values-hdr {
  margin-bottom: 3rem;
}
.ag-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.ag-val-card {
  background: var(--ag-bg);
  border: 1.5px solid var(--ag-border);
  border-radius: 12px;
  padding: 2.5rem;
  transition:
    border-color 0.25s,
    transform 0.25s;
}
.ag-val-card:hover {
  border-color: var(--ag-gold);
  transform: translateY(-3px);
}
.ag-val-icon {
  font-size: 2.4rem;
  margin-bottom: 1.2rem;
}
.ag-val-card h3 {
  font-family: var(--ag-display);
  font-size: 1.5rem;
  color: var(--ag-bone);
  margin-bottom: 0.7rem;
}
.ag-val-card p {
  font-size: 0.88rem;
  color: var(--ag-mid);
  line-height: 1.72;
}

@media (max-width: 900px) {
  .ag-founder-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .ag-founder-photo-wrap {
    aspect-ratio: 4/3;
  }
  .ag-limit-inner {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .ag-limit-num {
    font-size: 6rem;
    margin-bottom: -1rem;
  }
  .ag-values-grid {
    grid-template-columns: 1fr;
  }
}

/* CTA (site-wide call-to-action band) */
.ag-cta-sec {
  background: var(--ag-orange);
  padding: 5.5rem 5rem;
  text-align: center;
}
.ag-cta-sec .ag-sec-eyebrow {
  color: #fff;
  opacity: 0.75;
  justify-content: center;
}
.ag-cta-sec .ag-sec-title {
  color: #fff;
  max-width: 700px;
  margin: 0 auto 0.9rem;
  text-align: center;
}
.ag-cta-sec .ag-sec-sub {
  color: rgba(255, 255, 255, 0.75);
  max-width: 520px;
  margin: 0 auto 2.5rem;
  text-align: center;
}
.ag-cta-sec .ag-sec-eyebrow::before {
  background: #fff;
}
.ag-cta-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.ag-btn-white {
  background: var(--ag-bone);
  color: #0a0a0a;
  padding: 1rem 2.4rem;
  border-radius: 5px;
  font-weight: 900;
  font-size: 0.92rem;
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all 0.2s;
}
.ag-btn-white:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}
.ag-btn-wht-ghost {
  color: #fff;
  font-weight: 800;
  font-size: 0.88rem;
  text-decoration: none;
  border-bottom: 2px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 1px;
  transition: border-color 0.2s;
  align-self: center;
}
.ag-btn-wht-ghost:hover {
  border-color: #fff;
}
@media (max-width: 900px) {
  .ag-cta-sec {
    padding: 4rem 1.5rem;
  }
}

/* ===== Services (catalog page) ===== */

.ag-svc-hero {
  border-bottom: 1px solid var(--ag-border);
}
.ag-svc-title {
  font-size: clamp(2.2rem, 4.2vw, 3.8rem);
  max-width: 24ch;
}
.ag-svc-title em {
  color: var(--ag-gold);
  font-style: italic;
}
.ag-svc-sub {
  max-width: 700px;
}

.ag-svc-cat {
  margin-bottom: 2.8rem;
}
.ag-svc-cat-hdr {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--ag-border);
}
.ag-svc-cat-hdr h3 {
  font-family: var(--ag-sans);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ag-bone);
}
.ag-svc-cat-desc {
  font-size: 0.9rem;
  color: var(--ag-mid);
  line-height: 1.65;
  max-width: 62ch;
  margin: -0.25rem 0 1.25rem;
}
.ag-svc-cat-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.ag-dot-coral {
  background: var(--ag-coral);
}
.ag-dot-gold {
  background: var(--ag-gold);
}
.ag-dot-blue {
  background: #4a9fd8;
}
.ag-dot-green {
  background: #4fa870;
}
.ag-svc-cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.ag-svc-mini-card {
  background: var(--ag-bg);
  border: 1px solid var(--ag-border);
  border-radius: 10px;
  padding: 1.4rem 1.6rem;
  transition: border-color 0.25s;
}
.ag-svc-mini-card:hover {
  border-color: var(--ag-bord-g);
}
.ag-svc-mini-card h4 {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--ag-bone);
  margin-bottom: 0.4rem;
  font-family: var(--ag-sans);
}
.ag-svc-mini-card p {
  font-size: 0.82rem;
  color: var(--ag-mid);
  line-height: 1.65;
}

.ag-svc-closing {
  text-align: center;
  background: var(--ag-bg);
  border: 1.5px solid var(--ag-border);
  border-radius: 12px;
  padding: 3rem 2.5rem;
}
.ag-svc-closing-title {
  font-family: var(--ag-display);
  font-size: 1.6rem;
  color: var(--ag-bone);
  margin-bottom: 0.9rem;
}
.ag-svc-closing-note {
  font-size: 0.9rem;
  color: var(--ag-mid);
  line-height: 1.7;
  max-width: 620px;
  margin: 0 auto 1.75rem;
}

@media (max-width: 900px) {
  .ag-svc-cat-grid {
    grid-template-columns: 1fr;
  }
  .ag-svc-closing {
    padding: 2.5rem 1.5rem;
  }
}

/* ===== Ad Platforms ===== */

.ag-pf-hero {
  border-bottom: 1px solid var(--ag-border);
}
.ag-pf-title {
  max-width: 22ch;
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
}
.ag-pf-title em {
  color: var(--ag-gold);
  font-style: italic;
}
.ag-pf-hero .ag-sec-sub {
  max-width: 60ch;
  margin-top: 1.2rem;
}

.ag-pf-tier {
  margin-bottom: 2.8rem;
}
.ag-pf-tier:last-child {
  margin-bottom: 0;
}
.ag-pf-tier-hdr {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--ag-border);
}
.ag-pf-tier-hdr h3 {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ag-bone);
}
.ag-pf-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.ag-pf-dot-coral {
  background: var(--ag-coral);
}
.ag-pf-dot-gold {
  background: var(--ag-gold);
}
.ag-pf-dot-purple {
  background: #a87fd8;
}
.ag-pf-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.ag-pf-card {
  background: var(--ag-bg);
  border: 1px solid var(--ag-border);
  border-radius: 10px;
  padding: 1.4rem 1.6rem;
  transition: border-color 0.25s;
}
.ag-pf-card:hover {
  border-color: var(--ag-bord-g);
}
.ag-pf-card h4 {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--ag-bone);
  margin-bottom: 0.4rem;
}
.ag-pf-card p {
  font-size: 0.82rem;
  color: var(--ag-mid);
  line-height: 1.65;
}

.ag-pf-closing-sec {
  text-align: center;
}
.ag-pf-closing-note {
  max-width: 640px;
  margin: 0 auto 1.75rem;
  background: var(--ag-bg-alt);
  border: 1px solid var(--ag-border);
  border-radius: 10px;
  padding: 1.1rem 1.4rem;
  font-size: 0.84rem;
  color: var(--ag-mid);
  line-height: 1.6;
}
.ag-pf-cta {
  display: inline-block;
  background: var(--ag-gold);
  color: #0a0a0a;
  padding: 1rem 2.2rem;
  border-radius: 6px;
  font-weight: 900;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.2s;
}
.ag-pf-cta:hover {
  background: var(--ag-gold-hi);
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .ag-pf-cards {
    grid-template-columns: 1fr;
  }
}

/* ===== Web Services ===== */

.ag-web-hero {
  text-align: center;
  border-bottom: 1px solid var(--ag-border);
}
.ag-web-h1 {
  font-size: clamp(2.4rem, 5vw, 5rem);
  max-width: 20ch;
  margin: 0 auto;
}
.ag-web-sub {
  margin: 0 auto 2rem;
}
.ag-web-cta {
  display: inline-block;
  background: var(--ag-gold);
  color: #0a0a0a;
  padding: 0.9rem 2rem;
  border-radius: 5px;
  font-weight: 900;
  font-size: 0.88rem;
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all 0.2s;
}
.ag-web-cta:hover {
  background: var(--ag-gold-hi);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(212, 175, 85, 0.3);
}

/* Services */
.ag-web-svc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.ag-web-svc-card {
  background: var(--ag-bg);
  border: 1.5px solid var(--ag-border);
  border-radius: 12px;
  padding: 2rem;
  transition:
    border-color 0.2s,
    transform 0.2s;
}
.ag-web-svc-card:hover {
  border-color: var(--ag-bord-g);
  transform: translateY(-2px);
}
.ag-web-svc-icon {
  font-size: 2rem;
  margin-bottom: 0.9rem;
}
.ag-web-svc-card h3 {
  font-family: var(--ag-display);
  font-size: 1.4rem;
  color: var(--ag-bone);
  margin-bottom: 0.5rem;
}
.ag-web-svc-card p {
  font-size: 0.85rem;
  color: var(--ag-mid);
  line-height: 1.7;
}

/* Process */
.ag-web-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 3rem;
  position: relative;
}
.ag-web-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.8rem;
  position: relative;
}
.ag-web-step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ag-bg-alt);
  border: 2px solid var(--ag-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ag-display);
  font-size: 1.2rem;
  color: var(--ag-gold);
  flex-shrink: 0;
  z-index: 1;
}
.ag-web-step-line {
  position: absolute;
  top: 28px;
  left: calc(50% + 28px);
  width: calc(100% - 56px);
  height: 1px;
  background: linear-gradient(to right, var(--ag-gold), transparent);
  opacity: 0.3;
}
.ag-web-step h4 {
  font-family: var(--ag-display);
  font-size: 1.2rem;
  color: var(--ag-bone);
}
.ag-web-step p {
  font-size: 0.8rem;
  color: var(--ag-mid);
  line-height: 1.6;
}

/* Stack */
.ag-web-stack-sec {
  border-top: 1px solid var(--ag-border);
  border-bottom: 1px solid var(--ag-border);
}
.ag-web-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.ag-web-tech {
  background: var(--ag-bg);
  border: 1px solid var(--ag-bord-g);
  border-radius: 4px;
  padding: 0.45rem 1rem;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--ag-gold);
  letter-spacing: 0.06em;
  font-family: var(--ag-sans);
}

/* Form */
.ag-web-form-wrap {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 5rem;
  align-items: center;
}
.ag-web-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.ag-web-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.ag-web-form input {
  background: var(--ag-bg-alt);
  border: 1.5px solid var(--ag-border);
  color: var(--ag-bone);
  padding: 0.85rem 1rem;
  border-radius: 8px;
  font-size: 0.88rem;
  font-family: var(--ag-sans);
  transition: border-color 0.2s;
}
.ag-web-form input:focus {
  outline: none;
  border-color: var(--ag-gold);
}
.ag-web-form input::placeholder {
  color: rgba(232, 226, 217, 0.35);
}
.ag-web-submit {
  background: var(--ag-gold);
  color: #0a0a0a;
  border: none;
  padding: 1rem;
  border-radius: 8px;
  font-weight: 900;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: var(--ag-sans);
  transition:
    background 0.2s,
    transform 0.15s;
}
.ag-web-submit:hover {
  background: var(--ag-gold-hi);
  transform: translateY(-1px);
}
@media (max-width: 900px) {
  .ag-web-svc-grid {
    grid-template-columns: 1fr;
  }
  .ag-web-steps {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .ag-web-step-line {
    display: none;
  }
  .ag-web-form-wrap {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .ag-web-form-row {
    grid-template-columns: 1fr;
  }
}

/* ===== Growth Membership (page + pricing) ===== */

.ag-gp-hero {
  border-bottom: 1px solid var(--ag-border);
}
.ag-gp-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(212, 91, 58, 0.1);
  border: 1px solid rgba(212, 91, 58, 0.3);
  color: var(--ag-coral);
  border-radius: 100px;
  padding: 0.4rem 1rem;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

/* NOTE: renamed from the source's `.ag-pulse` / `@keyframes ag-pulse` to
   avoid colliding with AboutPage's identically-named pulse effect above.
   Use `ag-pulse-growth` in Growth Membership page HTML. */
.ag-pulse-growth {
  animation: ag-pulse-growth 2s ease-in-out infinite;
}
@keyframes ag-pulse-growth {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

.ag-gp-title {
  max-width: 26ch;
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
}
.ag-gp-title em {
  color: var(--ag-coral);
  font-style: italic;
}
.ag-gp-sub {
  max-width: 60ch;
  margin-top: 1.2rem;
}
.ag-gp-combo {
  max-width: 640px;
  margin-top: 2rem;
  background: var(--ag-bg-alt);
  border: 1px solid var(--ag-border);
  border-radius: 10px;
  padding: 1.1rem 1.4rem;
  font-size: 0.84rem;
  color: var(--ag-mid);
  line-height: 1.6;
}
.ag-gp-cta {
  display: inline-block;
  margin-top: 2rem;
  background: var(--ag-coral);
  color: #fff;
  padding: 1rem 2.2rem;
  border-radius: 6px;
  font-weight: 900;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.2s;
}
.ag-gp-cta:hover {
  background: #e06945;
  transform: translateY(-2px);
}

.ag-gp-results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.ag-gp-result-card {
  background: var(--ag-bg);
  border: 1px solid var(--ag-border);
  border-radius: 12px;
  padding: 1.75rem;
}
.ag-gp-result-card h4 {
  font-family: var(--ag-display);
  font-size: 1.2rem;
  color: var(--ag-bone);
  margin-bottom: 0.2rem;
}
.ag-gp-result-meta {
  font-size: 0.74rem;
  color: var(--ag-muted);
  margin-bottom: 1rem;
}
.ag-gp-result-metric {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.ag-gp-before {
  color: var(--ag-muted);
  font-size: 0.95rem;
}
.ag-gp-arrow {
  color: var(--ag-gold);
}
.ag-gp-after {
  color: var(--ag-gold);
  font-family: var(--ag-display);
  font-size: 1.5rem;
  font-weight: 700;
}
.ag-gp-months {
  color: var(--ag-muted);
  font-size: 0.72rem;
  margin-left: 0.3rem;
}
.ag-gp-quote {
  font-size: 0.84rem;
  color: var(--ag-mid);
  line-height: 1.65;
  font-style: italic;
}

.ag-gp-addons-sec {
  border-top: 1px solid var(--ag-border);
}
.ag-gp-addons-list {
  display: flex;
  flex-direction: column;
  margin-top: 1.5rem;
}
.ag-gp-addon-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--ag-border);
  font-size: 0.9rem;
  color: var(--ag-bone);
}
.ag-gp-addon-row:last-child {
  border-bottom: none;
}
.ag-gp-addon-cta {
  color: var(--ag-gold);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

@media (max-width: 900px) {
  .ag-gp-results-grid {
    grid-template-columns: 1fr;
  }
  .ag-gp-addon-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }
}

/* Growth Membership: pricing tiers */
.ag-gp-tiers-sec {
  background: var(--ag-bg-dark);
  border-top: 1px solid var(--ag-border);
}
.ag-gp-tiers-sub {
  font-size: 0.9rem;
  color: var(--ag-mid);
  max-width: 560px;
  margin-top: -0.5rem;
  margin-bottom: 2.5rem;
}
.ag-gp-tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}
.ag-gp-tier {
  background: var(--ag-bg);
  border: 1.5px solid var(--ag-border);
  border-radius: 12px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.ag-gp-tier-popular {
  border-color: var(--ag-gold);
  box-shadow: 0 8px 40px rgba(212, 175, 85, 0.12);
}
.ag-gp-tier-badge {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.ag-gp-tier-popular-badge {
  align-self: center;
  background: var(--ag-gold);
  color: #0a0a0a;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 100px;
  margin: -2.6rem 0 1rem;
}
.ag-gp-tier-green .ag-gp-tier-badge {
  color: #4fa870;
}
.ag-gp-tier-gold .ag-gp-tier-badge {
  color: var(--ag-gold);
}
.ag-gp-tier-purple .ag-gp-tier-badge {
  color: #a87fd8;
}
.ag-gp-tier h3 {
  font-family: var(--ag-display);
  font-size: 1.35rem;
  color: var(--ag-bone);
  margin-bottom: 0.3rem;
}
.ag-gp-tier-price {
  font-family: var(--ag-display);
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
}
.ag-gp-tier-green .ag-gp-tier-price {
  color: #4fa870;
}
.ag-gp-tier-gold .ag-gp-tier-price {
  color: var(--ag-gold);
}
.ag-gp-tier-purple .ag-gp-tier-price {
  color: #a87fd8;
}
.ag-gp-tier-feats {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
  margin-bottom: 1.5rem;
}
.ag-gp-tier-feats li {
  font-size: 0.82rem;
  color: var(--ag-mid);
  line-height: 1.5;
  padding-left: 1.1rem;
  position: relative;
}
.ag-gp-tier-feats li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--ag-gold);
}
.ag-gp-tier-cta {
  text-align: center;
  background: var(--ag-bg-alt);
  border: 1.5px solid var(--ag-border);
  color: var(--ag-bone);
  padding: 0.8rem;
  border-radius: 6px;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.2s;
}
.ag-gp-tier-popular .ag-gp-tier-cta {
  background: var(--ag-gold);
  color: #0a0a0a;
  border-color: var(--ag-gold);
}
.ag-gp-tier-cta:hover {
  border-color: var(--ag-gold);
  color: var(--ag-gold);
}
.ag-gp-tier-popular .ag-gp-tier-cta:hover {
  background: var(--ag-gold-hi);
  color: #0a0a0a;
}
@media (max-width: 900px) {
  .ag-gp-tiers-grid {
    grid-template-columns: 1fr;
  }
  .ag-gp-tier-popular-badge {
    margin-top: 0;
  }
}

/* ===== Negocios ===== */

/* Hero */
.ag-neg-hero {
  border-bottom: 1px solid rgba(212, 91, 58, 0.2);
}
.ag-neg-hero-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
}
.ag-neg-h1 {
  font-size: clamp(2.4rem, 4.5vw, 4.2rem);
  max-width: 18ch;
}
.ag-neg-sub {
  max-width: 50ch;
}
.ag-neg-cta {
  display: inline-block;
  background: var(--ag-coral);
  color: #fff;
  padding: 0.9rem 2rem;
  border-radius: 5px;
  font-weight: 900;
  font-size: 0.88rem;
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all 0.2s;
  margin-top: 0.5rem;
}
.ag-neg-cta:hover {
  background: #e06a48;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(212, 91, 58, 0.35);
}
/* Decorative flag */
.ag-neg-flag {
  display: flex;
  flex-direction: column;
  height: 200px;
  width: 8px;
  border-radius: 4px;
  overflow: hidden;
  opacity: 0.6;
}
.ag-neg-flag-bar {
  flex: 1;
}
.ag-neg-coral {
  background: var(--ag-coral);
}
.ag-neg-white {
  background: var(--ag-bone);
}
.ag-neg-green {
  background: #2d9248;
}
/* Eyebrow coral override */
.ag-neg-eyebrow {
  color: var(--ag-coral);
}
.ag-neg-eyebrow::before {
  background: var(--ag-coral);
}
/* Problems */
.ag-neg-prob-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.ag-neg-prob-card {
  background: var(--ag-bg);
  border: 1.5px solid var(--ag-border);
  border-left: 3px solid var(--ag-coral);
  border-radius: 0 10px 10px 0;
  padding: 2rem;
}
.ag-neg-prob-icon {
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
}
.ag-neg-prob-card h3 {
  font-weight: 800;
  font-size: 1rem;
  color: var(--ag-bone);
  margin-bottom: 0.5rem;
  font-family: var(--ag-sans);
}
.ag-neg-prob-card p {
  font-size: 0.85rem;
  color: var(--ag-mid);
  line-height: 1.68;
}
/* Solutions */
.ag-neg-sol-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.ag-neg-sol-card {
  background: var(--ag-bg-alt);
  border: 1px solid var(--ag-border);
  border-radius: 12px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s;
}
.ag-neg-sol-card:hover {
  border-color: rgba(212, 91, 58, 0.4);
}
.ag-neg-sol-num {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  font-family: var(--ag-display);
  font-size: 3rem;
  color: rgba(212, 91, 58, 0.1);
  line-height: 1;
}
.ag-neg-sol-icon {
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
}
.ag-neg-sol-card h3 {
  font-weight: 800;
  font-size: 1rem;
  color: var(--ag-bone);
  margin-bottom: 0.5rem;
  font-family: var(--ag-sans);
}
.ag-neg-sol-card p {
  font-size: 0.85rem;
  color: var(--ag-mid);
  line-height: 1.68;
}
/* Form */
.ag-neg-form-sec {
  border-top: 3px solid var(--ag-coral);
}
.ag-neg-form-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: center;
}
.ag-neg-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.ag-neg-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.ag-neg-form input {
  background: var(--ag-bg);
  border: 1.5px solid var(--ag-border);
  color: var(--ag-bone);
  padding: 0.85rem 1rem;
  border-radius: 8px;
  font-size: 0.88rem;
  font-family: var(--ag-sans);
  transition: border-color 0.2s;
}
.ag-neg-form input:focus {
  outline: none;
  border-color: var(--ag-coral);
}
.ag-neg-form input::placeholder {
  color: rgba(232, 226, 217, 0.35);
}
.ag-neg-submit {
  background: var(--ag-coral);
  color: #fff;
  border: none;
  padding: 1rem;
  border-radius: 8px;
  font-weight: 900;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: var(--ag-sans);
  transition:
    background 0.2s,
    transform 0.15s;
}
.ag-neg-submit:hover {
  background: #e06a48;
  transform: translateY(-1px);
}
@media (max-width: 900px) {
  .ag-neg-hero-inner {
    grid-template-columns: 1fr;
  }
  .ag-neg-flag {
    display: none;
  }
  .ag-neg-prob-grid {
    grid-template-columns: 1fr;
  }
  .ag-neg-sol-grid {
    grid-template-columns: 1fr;
  }
  .ag-neg-form-wrap {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .ag-neg-form-row {
    grid-template-columns: 1fr;
  }
}

/* ===== Ren AI ===== */

.ag-rp-hero {
  border-bottom: 1px solid var(--ag-border);
}
.ag-rp-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4.5rem;
  align-items: start;
}
.ag-rp-title {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  max-width: 14ch;
}
.ag-rp-title em {
  color: var(--ag-gold);
  font-style: italic;
}
.ag-rp-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1.75rem;
}
.ag-rp-bullets li {
  font-size: 0.9rem;
  color: var(--ag-bone);
  font-weight: 600;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}
.ag-rp-arrow {
  color: var(--ag-gold);
  flex-shrink: 0;
}

.ag-rp-demo {
  background: var(--ag-bg-alt);
  border: 1px solid var(--ag-border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}
.ag-rp-demo-hdr {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.1rem 1.4rem;
  border-bottom: 1px solid var(--ag-border);
}
.ag-rp-demo-av {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #128c7e);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.ag-rp-demo-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ag-bone);
}
.ag-rp-demo-status {
  font-size: 0.68rem;
  color: #25d366;
}
.ag-rp-demo-body {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.ag-rp-bbl {
  max-width: 85%;
  padding: 0.7rem 0.95rem;
  border-radius: 11px;
  font-size: 0.8rem;
  line-height: 1.5;
}
.ag-rp-bbl-in {
  background: var(--ag-bg);
  border-radius: 0 11px 11px 11px;
  align-self: flex-start;
  color: var(--ag-bone);
}
.ag-rp-bbl-out {
  background: var(--ag-gold);
  border-radius: 11px 0 11px 11px;
  align-self: flex-end;
  color: #0a0a0a;
}
.ag-rp-demo-badge {
  margin-top: 0.5rem;
  text-align: center;
  background: rgba(37, 211, 102, 0.1);
  border: 1px solid rgba(37, 211, 102, 0.3);
  color: #25d366;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.6rem;
  border-radius: 8px;
}

@media (max-width: 900px) {
  .ag-rp-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* ===== Contact ===== */

.ag-ct-hero {
  border-bottom: 1px solid var(--ag-border);
}
.ag-ct-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.ag-ct-h1 {
  font-size: clamp(2.4rem, 4.5vw, 4rem);
}
.ag-ct-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #25d366;
  color: #fff;
  padding: 0.9rem 1.8rem;
  border-radius: 5px;
  font-weight: 900;
  font-size: 0.88rem;
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all 0.2s;
  margin-top: 1.2rem;
}
.ag-ct-wa-btn:hover {
  background: #1ebe5c;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
}
.ag-ct-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.ag-ct-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--ag-bg-alt);
  border: 1px solid var(--ag-border);
  border-radius: 10px;
  padding: 1.2rem 1.4rem;
  transition: border-color 0.2s;
}
.ag-ct-card:hover {
  border-color: var(--ag-bord-g);
}
.ag-ct-card-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.ag-ct-card-title {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ag-gold);
  margin-bottom: 0.2rem;
}
.ag-ct-card-detail {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ag-bone);
  text-decoration: none;
  display: block;
}
a.ag-ct-card-detail:hover {
  color: var(--ag-gold);
}
.ag-ct-card-desc {
  font-size: 0.78rem;
  color: var(--ag-muted);
  margin-top: 0.2rem;
}
.ag-ct-book-sec {
  border-top: 1px solid var(--ag-border);
  border-bottom: 1px solid var(--ag-border);
}
/* Form */
.ag-ct-form-sec {
  border-top: 1px solid var(--ag-border);
}
.ag-ct-form-wrap {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: center;
}
.ag-ct-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.ag-ct-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.ag-ct-form input {
  background: var(--ag-bg-alt);
  border: 1.5px solid var(--ag-border);
  color: var(--ag-bone);
  padding: 0.85rem 1rem;
  border-radius: 8px;
  font-size: 0.88rem;
  font-family: var(--ag-sans);
  transition: border-color 0.2s;
}
.ag-ct-form input:focus {
  outline: none;
  border-color: var(--ag-gold);
}
.ag-ct-form input::placeholder {
  color: rgba(232, 226, 217, 0.35);
}
.ag-ct-submit {
  background: var(--ag-gold);
  color: #0a0a0a;
  border: none;
  padding: 1rem;
  border-radius: 8px;
  font-weight: 900;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: var(--ag-sans);
  transition:
    background 0.2s,
    transform 0.15s;
}
.ag-ct-submit:hover {
  background: var(--ag-gold-hi);
  transform: translateY(-1px);
}
@media (max-width: 900px) {
  .ag-ct-hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .ag-ct-form-wrap {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .ag-ct-form-row {
    grid-template-columns: 1fr;
  }
}

/* ===== Landing (empezar / get-started standalone pages) ===== */
/* LandingPage.astro is a fully standalone document with its own --lp-*
   namespace and its own reset. Safe to coexist with the --ag-* rules above
   since none of the class/variable names collide. */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --lp-bg: #0a0a0a;
  --lp-bg-alt: #141414;
  --lp-bg-card: #1c1c1c;
  --lp-gold: #d4af55;
  --lp-gold-hi: #dfc070;
  --lp-bone: #e8e2d9;
  --lp-mid: #9a9284;
  --lp-muted: #6b6056;
  --lp-border: rgba(212, 175, 85, 0.15);
  --lp-display: 'Playfair Display', serif;
  --lp-sans: 'Inter', sans-serif;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--lp-bg);
  color: var(--lp-bone);
  font-family: var(--lp-sans);
}
/* Header */
.lp-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 3rem;
  background: rgba(10, 10, 10, 0.95);
  border-bottom: 1px solid var(--lp-border);
  position: sticky;
  top: 0;
  z-index: 50;
}
.lp-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--lp-bone);
  font-family: var(--lp-display);
  font-size: 1.6rem;
}
.lp-logo-img {
  height: 40px;
  width: 40px;
  object-fit: contain;
  border-radius: 50%;
}
.lp-dot {
  color: var(--lp-gold);
}
.lp-phone {
  color: var(--lp-gold);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
}
/* Hero */
.lp-hero {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 4rem;
  align-items: center;
  padding: 5rem 3rem;
  max-width: 1200px;
  margin: 0 auto;
}
.lp-badge {
  display: inline-block;
  background: rgba(212, 175, 85, 0.1);
  border: 1px solid var(--lp-border);
  border-radius: 20px;
  padding: 0.3rem 0.9rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--lp-gold);
  margin-bottom: 1.2rem;
}
.lp-h1 {
  font-family: var(--lp-display);
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1.08;
  color: var(--lp-bone);
  margin-bottom: 1.2rem;
}
.lp-sub {
  font-size: 0.95rem;
  color: var(--lp-mid);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}
.lp-trust {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.lp-trust span {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--lp-mid);
}
/* Form card */
.lp-form-card {
  background: var(--lp-bg-card);
  border: 1.5px solid var(--lp-border);
  border-top: 3px solid var(--lp-gold);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.lp-form-title {
  font-family: var(--lp-display);
  font-size: 1.4rem;
  color: var(--lp-bone);
  margin-bottom: 1.4rem;
  line-height: 1.2;
}
#lp-form-el {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
#lp-form-el input {
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 0.8rem 1rem;
  color: var(--lp-bone);
  font-family: var(--lp-sans);
  font-size: 0.88rem;
  transition: border-color 0.2s;
}
#lp-form-el input:focus {
  outline: none;
  border-color: var(--lp-gold);
}
#lp-form-el input::placeholder {
  color: rgba(232, 226, 217, 0.3);
}
#lp-form-el button {
  background: var(--lp-gold);
  color: #0a0a0a;
  border: none;
  padding: 1rem;
  border-radius: 6px;
  font-weight: 900;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: var(--lp-sans);
  transition:
    background 0.2s,
    transform 0.15s;
  margin-top: 0.25rem;
}
#lp-form-el button:hover {
  background: var(--lp-gold-hi);
  transform: translateY(-1px);
}
.lp-legal {
  text-align: center;
  font-size: 0.68rem;
  color: var(--lp-muted);
  margin-top: 0.75rem;
}
/* Stats */
.lp-stats {
  display: flex;
  justify-content: center;
  gap: 0;
  border-top: 1px solid var(--lp-border);
  border-bottom: 1px solid var(--lp-border);
  background: var(--lp-bg-alt);
}
.lp-stat {
  flex: 1;
  text-align: center;
  padding: 2rem 1rem;
  border-right: 1px solid var(--lp-border);
}
.lp-stat:last-child {
  border-right: none;
}
.lp-stat-val {
  font-family: var(--lp-display);
  font-size: 2.2rem;
  color: var(--lp-gold);
}
.lp-stat-lbl {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lp-muted);
  margin-top: 0.3rem;
}
/* Benefits */
.lp-ben {
  padding: 5rem 3rem;
  max-width: 1200px;
  margin: 0 auto;
}
.lp-sec-eyebrow {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lp-gold);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.lp-sec-eyebrow::before {
  content: '';
  display: block;
  width: 1.5rem;
  height: 2.5px;
  background: var(--lp-gold);
  border-radius: 2px;
}
.lp-ben-title {
  font-family: var(--lp-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--lp-bone);
  margin-bottom: 2.5rem;
  line-height: 1.1;
}
.lp-ben-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.lp-ben-card {
  background: var(--lp-bg-card);
  border: 1px solid var(--lp-border);
  border-radius: 12px;
  padding: 2rem;
}
.lp-ben-icon {
  font-size: 2rem;
  margin-bottom: 0.9rem;
}
.lp-ben-card h3 {
  font-weight: 800;
  font-size: 1rem;
  color: var(--lp-bone);
  margin-bottom: 0.5rem;
}
.lp-ben-card p {
  font-size: 0.84rem;
  color: var(--lp-mid);
  line-height: 1.7;
}
/* CTA */
.lp-cta {
  background: var(--lp-bg-alt);
  border-top: 3px solid var(--lp-gold);
  text-align: center;
  padding: 5rem 3rem;
}
.lp-cta-title {
  font-family: var(--lp-display);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  color: var(--lp-bone);
  margin-bottom: 0.8rem;
}
.lp-cta-sub {
  color: var(--lp-mid);
  font-size: 1rem;
  margin-bottom: 2rem;
}
.lp-cta-btns {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.lp-cta-primary {
  background: var(--lp-gold);
  color: #0a0a0a;
  padding: 1rem 2.2rem;
  border-radius: 6px;
  font-weight: 900;
  font-size: 0.95rem;
  text-decoration: none;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.2s;
}
.lp-cta-primary:hover {
  background: var(--lp-gold-hi);
  transform: translateY(-2px);
}
.lp-cta-wa {
  background: #25d366;
  color: #fff;
  padding: 1rem 2.2rem;
  border-radius: 6px;
  font-weight: 900;
  font-size: 0.95rem;
  text-decoration: none;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.2s;
}
.lp-cta-wa:hover {
  background: #1ebe5c;
  transform: translateY(-2px);
}
/* Footer */
.lp-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 3rem;
  border-top: 1px solid var(--lp-border);
  font-size: 0.75rem;
  color: var(--lp-muted);
}
.lp-footer a {
  color: var(--lp-mid);
  text-decoration: none;
}
.lp-footer a:hover {
  color: var(--lp-gold);
}
@media (max-width: 900px) {
  .lp-header {
    padding: 1rem 1.5rem;
  }
  .lp-hero {
    grid-template-columns: 1fr;
    padding: 3rem 1.5rem;
    gap: 2.5rem;
  }
  .lp-stats {
    flex-wrap: wrap;
  }
  .lp-stat {
    min-width: 50%;
    border-bottom: 1px solid var(--lp-border);
  }
  .lp-ben {
    padding: 3rem 1.5rem;
  }
  .lp-ben-grid {
    grid-template-columns: 1fr;
  }
  .lp-cta {
    padding: 3rem 1.5rem;
  }
  .lp-footer {
    padding: 1.2rem 1.5rem;
  }
}

/* ===== Legal pages (Privacy Policy, Legal Disclaimer) ===== */
.ag-legal {
  padding-top: 8.5rem;
}
.ag-legal-inner {
  max-width: 820px;
  margin: 0 auto;
}
.ag-legal-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
  padding: 0.35rem;
  background: var(--ag-bg-alt);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  margin-bottom: 3rem;
}
.ag-legal-tabs a {
  display: block;
  padding: 0.75rem 1rem;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ag-muted);
  border-radius: 4px;
  transition: color 0.2s;
}
.ag-legal-tabs a:hover {
  color: var(--ag-bone);
}
.ag-legal-tabs a.active {
  background: var(--ag-gold);
  color: #141414;
}
.ag-legal-title {
  font-family: var(--ag-display);
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  line-height: 1.1;
  color: var(--ag-bone);
  margin: 0.4rem 0 1rem;
}
.ag-legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
  font-size: 0.85rem;
  color: var(--ag-muted);
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 2.5rem;
}
.ag-legal-callout {
  background: rgba(212, 175, 85, 0.12);
  border-left: 3px solid var(--ag-gold);
  padding: 1.4rem 1.6rem;
  color: var(--ag-bone);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 2.5rem;
}
.ag-legal-section {
  padding-bottom: 2.75rem;
  margin-bottom: 2.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.ag-legal-section:last-child {
  border-bottom: 0;
  margin-bottom: 0;
}
.ag-legal-num {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ag-gold);
}
.ag-legal-section h2 {
  font-family: var(--ag-display);
  font-size: 1.6rem;
  color: var(--ag-bone);
  margin: 0.5rem 0 1rem;
}
.ag-legal-section p,
.ag-legal-section li {
  color: var(--ag-mid);
  font-size: 1rem;
  line-height: 1.75;
}
.ag-legal-section p,
.ag-legal-section ul {
  margin-bottom: 1rem;
}
.ag-legal-section ul {
  list-style: none;
  padding: 0;
}
.ag-legal-section li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.6rem;
}
.ag-legal-section li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--ag-gold);
}
.ag-legal-section a {
  color: var(--ag-gold);
}
@media (max-width: 900px) {
  .ag-legal {
    padding-top: 7rem;
  }
  .ag-legal-tabs a {
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    padding: 0.7rem 0.5rem;
  }
}
