﻿/*
Theme Name: Gallos Finos Premier
Theme URI: https://example.com/gallos-finos-premier
Author: Benigno Ranilla
Author URI: https://example.com
Description: Maqueta WordPress para Gallos finos Perú, con portada oscura, acentos dorados, cards de lineas, videos y llamadas a la accion. Desarrollado por Benigno Ranilla.
Version: 1.1.2
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gallos-finos-premier
Tags: custom-logo, custom-menu, featured-images, one-column, responsive-layout
*/

:root {
  --bg: #0c1014;
  --panel: #141920;
  --panel-soft: #1b2028;
  --gold: #cda45e;
  --gold-light: #f1d99a;
  --cream: #f7eed4;
  --red: #8f1f32;
  --red-bright: #b73642;
  --line: rgba(241, 217, 154, 0.18);
  --muted: #b9b3a6;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 9% 24%, rgba(205, 164, 94, 0.08), transparent 28rem),
    radial-gradient(circle at 92% 88%, rgba(143, 31, 50, 0.14), transparent 24rem),
    var(--bg);
  color: var(--cream);
  font-family: Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(13, 15, 20, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
}

.header-shell {
  position: relative;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding-left: 136px;
}

.utility-bar,
.main-nav-wrap {
  display: grid;
  align-items: center;
  gap: 1.25rem;
  width: 100%;
}

.utility-bar {
  grid-template-columns: auto 1fr auto;
  min-height: 48px;
  font-size: 0.78rem;
  color: #d2c5aa;
}

.brand-card {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 4;
  width: 118px;
  min-height: 136px;
  padding: 0.85rem 0.7rem 1rem;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 0.35rem;
  background: linear-gradient(180deg, #17191f, #090b0e);
  border: 1px solid rgba(205, 164, 94, 0.45);
  box-shadow: var(--shadow);
  text-transform: uppercase;
  font-family: Cinzel, Georgia, serif;
  letter-spacing: 0;
  font-size: 0.75rem;
  line-height: 1.05;
  color: var(--gold-light);
}

.brand-fallback {
  display: grid;
  justify-items: center;
  gap: 0.35rem;
}

.brand-card img,
.brand-card .custom-logo,
.custom-logo-link img {
  width: 82px;
  height: 82px;
  max-width: 82px;
  max-height: 82px;
  object-fit: contain;
}

.custom-logo-link {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  overflow: hidden;
  border-radius: 2px;
  background: #050608;
}

.brand-card strong {
  font-size: 0.68rem;
  color: var(--cream);
}

.utility-menu,
.primary-menu {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.utility-menu li + li::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 14px;
  margin: 0 0.55rem;
  vertical-align: -2px;
  background: rgba(255, 255, 255, 0.16);
}

.header-search input {
  width: clamp(170px, 20vw, 260px);
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  padding: 0 0.95rem;
  background: #1b1f27;
  color: var(--cream);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.header-actions button {
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--gold-light);
  font-weight: 800;
  cursor: pointer;
}

.main-nav-wrap {
  grid-template-columns: auto 1fr auto;
  min-height: 64px;
  position: relative;
}

.primary-nav {
  justify-self: center;
  grid-column: 2;
}

.primary-menu {
  gap: clamp(1rem, 3vw, 2.5rem);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 1.08rem;
  color: var(--gold-light);
  text-transform: uppercase;
}

.primary-menu a,
.utility-menu a {
  transition: color 160ms ease;
}

.primary-menu a:hover,
.utility-menu a:hover {
  color: #fff;
}

.nav-cta,
.large-cta,
.subscribe-cta {
  display: inline-grid;
  min-height: 42px;
  place-items: center;
  padding: 0 1.35rem;
  border: 1px solid var(--gold-light);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--red-bright), var(--red));
  color: var(--gold-light);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 12px 26px rgba(143, 31, 50, 0.28);
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 1.06rem;
  text-transform: uppercase;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  grid-column: 1;
}

.mobile-menu-check {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
  pointer-events: none;
}

.home-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 450px);
  grid-template-areas:
    "hero premium"
    "lineage premium"
    "about premium";
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  min-height: calc(100vh - 129px);
  background:
    linear-gradient(90deg, rgba(10, 13, 17, 0.72), rgba(10, 13, 17, 0.2) 56%, rgba(10, 13, 17, 0.86)),
    linear-gradient(180deg, #161b21 0%, #0b0f13 56%);
  border-left: 1px solid rgba(255, 255, 255, 0.04);
  border-right: 1px solid rgba(255, 255, 255, 0.04);
}

.hero-panel {
  position: relative;
  grid-area: hero;
  min-height: 306px;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 2rem 2.4rem;
  background:
    linear-gradient(90deg, rgba(12, 16, 20, 0.98) 0%, rgba(12, 16, 20, 0.7) 48%, rgba(12, 16, 20, 0.2)),
    url("assets/images/arena-bg.png") center / cover no-repeat;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 -8%;
  width: 34%;
  background: url("assets/images/watermark-rooster.png") left center / contain no-repeat;
  opacity: 0.18;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 520px;
}

.eyebrow,
.section-title h2,
.premium-panel h2,
.lineage-card h3,
.video-card h3,
.about-strip h2 {
  font-family: "Bebas Neue", Impact, sans-serif;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 0.25rem;
  color: var(--gold);
  font-size: clamp(1.7rem, 4.3vw, 2.65rem);
}

.hero-copy h1 {
  max-width: 570px;
  margin: 0;
  color: #fff7e4;
  font-family: Cinzel, Georgia, serif;
  font-size: clamp(2rem, 4.6vw, 3.35rem);
  line-height: 1.06;
  letter-spacing: 0;
  text-shadow: 0 7px 24px rgba(0, 0, 0, 0.72);
}

.hero-rooster {
  position: absolute;
  right: 3%;
  bottom: -16px;
  width: min(330px, 41%);
  filter: drop-shadow(0 30px 28px rgba(0, 0, 0, 0.62));
}

.lineage-panel {
  grid-area: lineage;
  padding: 1.65rem 2.4rem 2.2rem;
  background: linear-gradient(180deg, rgba(15, 19, 24, 0.95), #0b0f13);
}

.section-title {
  display: flex;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1rem;
}

.section-title span {
  width: 150px;
  height: 36px;
  background: url("assets/images/flourish.png") center / contain no-repeat;
}

.section-title h2 {
  margin: 0;
  color: var(--gold-light);
  font-size: 1.95rem;
}

.lineage-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.lineage-card,
.video-card {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(33, 39, 48, 0.86), rgba(16, 20, 26, 0.94));
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.lineage-card {
  min-width: 0;
  padding: 0.5rem;
  text-align: center;
}

.lineage-card img {
  width: 100%;
  aspect-ratio: 1.24;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.lineage-card h3 {
  margin: 0.48rem 0 0;
  color: var(--gold-light);
  font-size: 1.32rem;
  line-height: 1;
}

.lineage-card p {
  margin: 0;
  color: #fff;
  font-size: 0.78rem;
  line-height: 1;
}

.premium-panel {
  grid-area: premium;
  padding: 1.75rem 2rem;
  background:
    linear-gradient(180deg, rgba(14, 17, 22, 0.94), rgba(12, 14, 18, 0.98)),
    radial-gradient(circle at 90% 72%, rgba(205, 164, 94, 0.12), transparent 16rem);
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.premium-panel h2 {
  margin: 0;
  color: var(--gold);
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 0.95;
}

.premium-panel > p {
  margin: 0.35rem 0 1.35rem;
  color: #fff;
  font-size: 1.05rem;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.video-card {
  min-width: 0;
  padding: 0.45rem;
}

.video-thumb {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  aspect-ratio: 1.55;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-thumb span {
  position: absolute;
  left: 0.25rem;
  top: 0.25rem;
  max-width: calc(100% - 0.5rem);
  padding: 0.13rem 0.32rem;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.58);
  color: #fff;
  font-size: 0.58rem;
}

.video-card h3 {
  min-height: 44px;
  margin: 0.55rem 0 0.5rem;
  color: #fff;
  font-size: 1.02rem;
  line-height: 1.05;
}

.video-card a {
  display: block;
  color: var(--gold-light);
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
}

.video-card small {
  color: #d6d0c1;
  font-size: 0.62rem;
}

.large-cta {
  margin-top: 1.55rem;
}

.testimonial {
  position: relative;
  margin: 2rem 0 1.15rem;
  padding: 1.2rem 2.3rem 0;
  color: #d6d0c1;
}

.testimonial::before,
.testimonial::after {
  position: absolute;
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 3rem;
  line-height: 1;
}

.testimonial::before {
  content: "\201C";
  left: 0.7rem;
  top: 0.65rem;
}

.testimonial::after {
  content: "\201D";
  right: 0.7rem;
  bottom: -0.15rem;
}

.testimonial blockquote {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.45;
}

.testimonial figcaption {
  margin-top: 0.55rem;
  color: var(--gold-light);
  font-size: 0.72rem;
}

.subscribe-cta {
  min-height: 38px;
  padding-inline: 1.7rem;
}

.about-strip {
  grid-area: about;
  padding: 1.25rem 2.4rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: #d6d0c1;
}

.about-strip h2 {
  margin: 0 0 0.4rem;
  color: var(--gold-light);
  font-size: 1.75rem;
}

.about-strip p {
  max-width: 720px;
  margin: 0;
  line-height: 1.6;
}

.site-footer {
  background: #080a0d;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.4rem 0;
  color: #d2c5aa;
}

.footer-grid strong {
  color: var(--gold-light);
  font-family: Cinzel, Georgia, serif;
  text-transform: uppercase;
}

.footer-grid p {
  margin: 0.3rem 0 0;
}

.footer-grid nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 2px solid #ecfff2;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.34);
}

.content-wrap {
  width: min(960px, calc(100% - 2rem));
  margin: 2rem auto;
}

.article-shell {
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.page-wrap {
  width: min(1040px, calc(100% - 2rem));
}

.page-shell {
  overflow: hidden;
  padding: 0;
  background:
    linear-gradient(180deg, rgba(20, 25, 32, 0.96), rgba(11, 15, 19, 0.98)),
    radial-gradient(circle at 88% 18%, rgba(205, 164, 94, 0.14), transparent 21rem);
}

.page-hero {
  padding: clamp(2rem, 6vw, 4rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(90deg, rgba(12, 16, 20, 0.95), rgba(12, 16, 20, 0.55)),
    url("assets/images/arena-bg.png") center / cover no-repeat;
}

.page-hero h1 {
  max-width: 780px;
  margin: 0;
  color: #fff7e4;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 5vw, 4.4rem);
  line-height: 1.02;
}

.entry-content {
  color: #f7eed4;
}

.page-shell .entry-content {
  padding: clamp(1.4rem, 4vw, 3rem);
}

.company-page {
  display: grid;
  gap: 1.15rem;
}

.company-page h2,
.company-page h3 {
  margin: 0;
  color: var(--gold-light);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  line-height: 1.05;
  text-transform: uppercase;
}

.company-page h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.company-page h3 {
  margin-top: 0.75rem;
  font-size: 1.65rem;
}

.company-page p,
.company-page li {
  max-width: 900px;
  margin: 0;
  color: #fff;
  font-size: 1rem;
  line-height: 1.75;
}

.company-page ul {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding-left: 1.2rem;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin: 0.4rem 0 0.6rem;
}

.info-grid > div,
.callout-panel {
  min-width: 0;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(33, 39, 48, 0.86), rgba(16, 20, 26, 0.94));
}

.info-grid strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--gold-light);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 1.25rem;
  text-transform: uppercase;
}

.info-grid span,
.callout-panel {
  color: #fff;
  line-height: 1.55;
}

.gfp-plan-grid,
.gfp-video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.gfp-plan-card,
.gfp-video-card,
.gfp-checkout-box,
.gfp-locked,
.gfp-notice {
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(33, 39, 48, 0.88), rgba(16, 20, 26, 0.96));
  color: #fff;
}

.gfp-plan-card h3,
.gfp-checkout-box h3,
.gfp-locked h3 {
  margin: 0 0 0.65rem;
  color: var(--gold-light);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 1.7rem;
  text-transform: uppercase;
}

.gfp-price {
  margin: 0.35rem 0;
  color: #fff7e4;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.1rem;
  font-weight: 700;
}

.gfp-pay-button {
  display: inline-grid;
  min-height: 42px;
  place-items: center;
  margin-top: 0.8rem;
  padding: 0 1.1rem;
  border: 1px solid var(--gold-light);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--red-bright), var(--red));
  color: var(--gold-light);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  text-transform: uppercase;
  cursor: pointer;
}

.gfp-video-card iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 6px;
}

.gfp-video-placeholder {
  display: grid;
  min-height: 180px;
  place-items: center;
  border: 1px dashed rgba(241, 217, 154, 0.35);
  border-radius: 6px;
  color: var(--gold-light);
  text-align: center;
}

@media (max-width: 760px) {
  .info-grid {
    grid-template-columns: 1fr;
  }

  .gfp-plan-grid,
  .gfp-video-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .home-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "hero"
      "lineage"
      "premium"
      "about";
  }

  .premium-panel {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }

  .utility-bar {
    grid-template-columns: 1fr auto auto;
  }

  .brand-card {
    width: 108px;
    min-height: 124px;
  }

  .main-nav-wrap {
    grid-template-columns: auto 1fr auto;
  }
}

@media (max-width: 760px) {
  .header-shell {
    padding-left: 0;
  }

  .utility-bar {
    display: none;
  }

  .brand-card {
    display: none;
  }

  .main-nav-wrap {
    grid-template-columns: 44px minmax(0, 1fr);
    min-height: 58px;
    gap: 0.65rem;
    padding-bottom: 0.55rem;
  }

  .menu-toggle {
    display: inline-grid;
    grid-column: 1;
    grid-row: 1;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--panel-soft);
  }

  .menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--gold-light);
  }

  .primary-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% - 0.35rem);
    z-index: 80;
    display: none;
    gap: 0.15rem;
    padding: 0.75rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(16, 20, 26, 0.98);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.48);
  }

  .primary-menu.is-open,
  .mobile-menu-check:checked ~ .primary-nav .primary-menu {
    display: grid;
  }

  .primary-menu a {
    display: block;
    padding: 0.72rem 0.85rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.03);
  }

  .primary-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: start;
  }

  .nav-cta {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    min-height: 38px;
    max-width: 100%;
    padding-inline: 0.85rem;
    font-size: 0.82rem;
  }

  .hero-panel {
    min-height: 360px;
    align-items: start;
    padding: 2rem 1.2rem;
  }

  .hero-copy h1 {
    font-size: clamp(1.7rem, 10vw, 2.55rem);
  }

  .hero-rooster {
    right: 50%;
    bottom: -8px;
    width: min(310px, 74%);
    transform: translateX(50%);
  }

  .lineage-panel,
  .premium-panel,
  .about-strip {
    padding-inline: 1.2rem;
  }

  .lineage-grid,
  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .footer-grid nav {
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .header-shell,
  .home-layout,
  .footer-grid {
    width: min(100% - 1rem, 1180px);
  }

  .brand-card {
    display: none;
  }

  .brand-card img,
  .brand-card .custom-logo,
  .custom-logo-link,
  .custom-logo-link img {
    width: 48px;
    height: 48px;
    max-width: 48px;
    max-height: 48px;
  }

  .lineage-grid,
  .video-grid {
    grid-template-columns: 1fr;
  }

  .section-title span {
    width: 96px;
  }
}



