/*
Theme Name: AQBJJ Minha Familia
Theme URI: https://aqbjj.com
Author: Zilla IT Consulting
Author URI: https://zillaitconsulting.com
Description: Mobile-friendly one-page WordPress theme for AQBJJ Minha Familia Brazilian Jiu Jitsu.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.8
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: aqbjj-minha-familia
*/

:root {
  --red: #ed1c24;
  --red-dark: #a70f15;
  --ink: #070707;
  --ink-2: #111111;
  --paper: #f1eee7;
  --muted: #aaa7a2;
  --line: rgba(255, 255, 255, .15);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 20px; }
body { margin: 0; background: var(--ink); color: #fff; font-family: Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; }
img { max-width: 100%; }

.hero { min-height: 100svh; position: relative; overflow: hidden; background: radial-gradient(circle at 82% 54%, rgba(237,28,36,.28), transparent 30%), linear-gradient(135deg, #111, #030303 63%); padding: 0 clamp(1.25rem, 5vw, 5rem) 4rem; }
.hero::after { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 58px 58px; mask-image: linear-gradient(to bottom, #000, transparent 90%); }
.nav { min-height: 92px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; border-bottom: 1px solid var(--line); position: relative; z-index: 3; }
.brand { display: inline-flex; align-items: center; gap: .7rem; width: fit-content; font-weight: 900; letter-spacing: .08em; }
.brand img { width: 46px; height: 46px; object-fit: cover; border-radius: 50%; }
.nav-links { display: flex; align-items: center; justify-content: center; gap: clamp(1.2rem, 3vw, 2.5rem); }
.nav-links a { color: #c9c9c9; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.nav-links a:hover { color: #fff; }
.nav-call { justify-self: end; border-bottom: 2px solid var(--red); padding: .6rem 0; font-size: .86rem; font-weight: 800; }
.hero-content { position: relative; z-index: 2; max-width: 830px; padding-top: clamp(5rem, 13vh, 8.5rem); }
.eyebrow { margin: 0 0 1.15rem; color: #ff6b70; font-size: .72rem; line-height: 1.5; font-weight: 900; letter-spacing: .19em; text-transform: uppercase; }
.eyebrow.dark { color: var(--red-dark); }
.hero h1 { margin: 0; font-size: clamp(3.5rem, 9.2vw, 8.65rem); line-height: .84; letter-spacing: -.068em; text-transform: uppercase; }
.hero h1 span { color: var(--red); }
.hero-copy { margin: 2rem 0 0; font-size: clamp(1rem, 2vw, 1.25rem); line-height: 1.65; color: #c7c7c7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero-actions.centered { justify-content: center; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 1.5rem; min-height: 54px; padding: .9rem 1.25rem; border: 1px solid rgba(255,255,255,.26); font-weight: 900; text-transform: uppercase; letter-spacing: .06em; font-size: .76rem; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--red); border-color: var(--red); }
.button-primary:hover { background: #ff2b32; }
.button-secondary { background: rgba(255,255,255,.06); }
.hero-mark { position: absolute; z-index: 1; right: -7vw; bottom: -12vw; width: min(56vw, 720px); opacity: .15; transform: rotate(-7deg); }
.hero-mark img { width: 100%; display: block; }
.hero-stamp { position: absolute; right: clamp(1.25rem, 5vw, 5rem); bottom: 2rem; z-index: 2; display: flex; align-items: center; gap: .65rem; color: #9c9c9c; font-size: .68rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; writing-mode: vertical-rl; }
.hero-stamp i { color: var(--red); font-style: normal; }

.contact-section { background: var(--paper); color: #111; padding: clamp(4.5rem, 9vw, 8rem) clamp(1.25rem, 6vw, 6rem); display: grid; grid-template-columns: minmax(0, .9fr) minmax(420px, 1fr); gap: clamp(2.5rem, 8vw, 8rem); align-items: start; }
.contact-intro h2, .section-heading h2, .professor-story h2, .reviews-heading h2, .instagram-feature h2, .final-cta h2 { margin: 0; font-size: clamp(2.6rem, 6.5vw, 6rem); line-height: .92; letter-spacing: -.062em; text-transform: uppercase; }
.section-copy, .section-heading > p:last-child { max-width: 630px; color: #605b55; line-height: 1.75; font-size: 1.03rem; }
.direct-contact { display: grid; gap: .7rem; margin-top: 2rem; }
.direct-contact a { display: grid; grid-template-columns: 1fr auto; gap: .35rem 1rem; padding: 1rem 0; border-bottom: 1px solid #c9c2b8; }
.direct-contact small { color: #766f66; font-size: .68rem; text-transform: uppercase; letter-spacing: .15em; font-weight: 900; }
.direct-contact strong { grid-row: 2; font-size: clamp(1.05rem, 2.5vw, 1.4rem); }
.direct-contact a > span { grid-column: 2; grid-row: 1 / 3; align-self: center; font-size: 1.2rem; }
.inquiry-form-wrap { min-width: 0; }
.inquiry-form, .aqbjj-wpforms { background: #fff; padding: clamp(1.4rem, 4vw, 2.6rem); border-top: 5px solid var(--red); box-shadow: 0 28px 60px rgba(40,30,15,.1); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.inquiry-form label > span, .inquiry-form legend { display: block; margin-bottom: .65rem; color: #4f4a44; font-size: .68rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.inquiry-form label em { color: #9d978f; font-style: normal; font-weight: 700; }
.inquiry-form input:not([type='radio']):not([type='checkbox']), .inquiry-form textarea { width: 100%; border: 1px solid #d4cec5; border-radius: 0; background: #fbfaf7; color: #111; padding: .9rem; }
.inquiry-form textarea { resize: vertical; min-height: 96px; }
.inquiry-form fieldset { border: 0; padding: 0; margin: 1.35rem 0; }
.interest-list { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; }
.interest-option { position: relative; margin: 0; }
.interest-option input { position: absolute; opacity: 0; pointer-events: none; }
.interest-option > span { display: flex !important; align-items: center; min-height: 48px; margin: 0 !important; padding: .7rem .8rem; border: 1px solid #d4cec5; background: #fbfaf7; color: #55504a !important; font-size: .69rem !important; letter-spacing: .04em !important; cursor: pointer; }
.interest-option.selected > span { border-color: var(--red); background: #fff0f0; color: #8b0b10 !important; }
.submit-button { width: 100%; min-height: 54px; margin-top: 1rem; border: 0; background: var(--red); display: flex; justify-content: space-between; align-items: center; padding: 0 1rem; font-size: .76rem; font-weight: 900; text-transform: uppercase; letter-spacing: .09em; cursor: pointer; }
.submit-button:hover { background: #d3151c; }
.form-note { margin: .8rem 0 0; text-align: center; color: #8c867e; font-size: .72rem; }
.website-field { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-alert { margin: 0 0 1rem; padding: 1rem; background: #fff; border-left: 5px solid #666; box-shadow: 0 10px 30px rgba(40,30,15,.08); line-height: 1.5; }
.form-alert.success { border-color: #16834b; }
.form-alert.error { border-color: var(--red); }
.form-alert a { color: var(--red-dark); text-decoration: underline; }
.aqbjj-wpforms .wpforms-container { margin: 0; }
.aqbjj-wpforms .wpforms-field-label { color: #4f4a44 !important; font-size: .72rem !important; letter-spacing: .08em; text-transform: uppercase; }
.aqbjj-wpforms input, .aqbjj-wpforms textarea, .aqbjj-wpforms select { border-radius: 0 !important; background: #fbfaf7 !important; border-color: #d4cec5 !important; }
.aqbjj-wpforms button[type='submit'] { width: 100% !important; min-height: 54px !important; border: 0 !important; border-radius: 0 !important; background: var(--red) !important; color: #fff !important; font-weight: 900 !important; letter-spacing: .08em; text-transform: uppercase; }

.programs-overview { background: var(--ink); padding: clamp(5rem, 10vw, 9rem) clamp(1.25rem, 6vw, 6rem); }
.section-heading { max-width: 900px; margin-bottom: clamp(2.5rem, 6vw, 5rem); }
.section-heading.light > p:last-child { color: #aaa; }
.pillar-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.pillar-card { min-height: 370px; display: flex; flex-direction: column; padding: clamp(1.3rem, 3vw, 2.3rem); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(155deg, rgba(255,255,255,.055), transparent); }
.pillar-card > span { color: var(--red); font-size: .72rem; font-weight: 900; letter-spacing: .15em; }
.pillar-card h3 { margin: auto 0 1rem; max-width: 10em; font-size: clamp(1.65rem, 3vw, 2.7rem); line-height: .95; letter-spacing: -.05em; text-transform: uppercase; }
.pillar-card p { margin: 0; min-height: 5.6em; color: #aaa; line-height: 1.65; font-size: .9rem; }
.pillar-card a { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .68rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.plans-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .75fr); gap: clamp(2.5rem, 7vw, 7rem); margin-top: clamp(3.5rem, 7vw, 6rem); }
.list-label { margin: 0 0 1rem; color: #ff7378; font-size: .68rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.plan-row { display: grid; grid-template-columns: 1fr auto; gap: 1rem 2rem; padding: 1.5rem 0; border-top: 1px solid var(--line); }
.plan-row:last-child { border-bottom: 1px solid var(--line); }
.plan-row h3 { margin: 0 0 .55rem; font-size: clamp(1.25rem, 2.5vw, 2rem); line-height: 1; text-transform: uppercase; }
.plan-row p { margin: 0; max-width: 560px; color: #999; line-height: 1.6; font-size: .86rem; }
.plan-row a { align-self: center; white-space: nowrap; color: #fff; font-size: .66rem; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.plan-row a span { margin-left: .6rem; color: var(--red); font-size: 1rem; }
.addon-list { border-top: 1px solid var(--line); }
.addon-list a { min-height: 54px; display: flex; justify-content: space-between; align-items: center; gap: 1rem; border-bottom: 1px solid var(--line); color: #ccc; font-size: .8rem; font-weight: 800; }
.addon-list a:hover { color: #fff; }
.addon-list b { color: var(--red); font-size: 1.15rem; }

.professor-section { background: var(--paper); color: #111; padding: clamp(5rem, 10vw, 9rem) clamp(1.25rem, 6vw, 6rem); display: grid; grid-template-columns: minmax(300px, .8fr) minmax(0, 1fr); gap: clamp(3rem, 9vw, 9rem); }
.professor-photos { min-height: 720px; position: relative; overflow: hidden; background: #090909; box-shadow: 24px 24px 0 #ddd7ce; }
.professor-photo { position: absolute; margin: 0; overflow: hidden; background: #111; }
.professor-photo img { width: 100%; height: 100%; display: block; object-fit: cover; }
.photo-gi { inset: 0 26% 0 0; }
.photo-gi img { object-position: center top; }
.photo-no-gi { z-index: 2; right: 0; top: 8%; width: 47%; height: 56%; border: 6px solid var(--paper); box-shadow: -18px 22px 40px rgba(0,0,0,.32); }
.photo-no-gi img { object-position: 52% top; }
.professor-photo-label { position: absolute; z-index: 3; right: 0; bottom: 0; width: 52%; min-height: 28%; display: flex; flex-direction: column; justify-content: flex-end; gap: .55rem; padding: clamp(1.2rem, 3vw, 2.2rem); background: var(--red); color: #fff; }
.professor-photo-label span { color: #4a0004; font-size: .64rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.professor-photo-label strong { font-size: clamp(1.45rem, 3.2vw, 2.65rem); line-height: .94; letter-spacing: -.04em; text-transform: uppercase; }
.professor-story h2 { font-size: clamp(2.5rem, 5vw, 5rem); }
.credential-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 2.5rem 0; padding: 1.5rem 0; border-top: 1px solid #c9c2b9; border-bottom: 1px solid #c9c2b9; }
.credential-row div { display: flex; flex-direction: column; gap: .35rem; }
.credential-row strong { font-size: clamp(1.8rem, 4vw, 3.25rem); line-height: 1; letter-spacing: -.055em; }
.credential-row span { color: #736d65; font-size: .65rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.professor-story > p:not(.eyebrow) { color: #56514b; line-height: 1.78; font-size: .96rem; }
.professor-story blockquote { margin: 2rem 0; padding: 1.2rem 0 1.2rem 1.4rem; border-left: 5px solid var(--red); font-size: clamp(1.25rem, 2.5vw, 1.75rem); line-height: 1.4; font-weight: 800; letter-spacing: -.025em; }
.lineage { display: flex; flex-direction: column; gap: .45rem; padding-top: 1.2rem; border-top: 1px solid #c9c2b9; }
.lineage span { color: var(--red-dark); font-size: .65rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.lineage strong { line-height: 1.5; }

.reviews-section { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1fr); gap: clamp(3rem, 9vw, 9rem); align-items: center; background: #fff; color: #111; padding: clamp(5rem, 10vw, 9rem) clamp(1.25rem, 6vw, 6rem); }
.reviews-heading h2 { font-size: clamp(2.8rem, 6vw, 5.7rem); }
.rating-line { display: grid; grid-template-columns: auto 1fr; gap: .2rem 1rem; align-items: center; margin-top: 2.2rem; }
.rating-line strong { grid-row: 1 / 3; font-size: clamp(4rem, 9vw, 7rem); line-height: .8; letter-spacing: -.08em; }
.rating-line span { color: var(--red); letter-spacing: .15em; }
.rating-line small { color: #777; font-size: .68rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.featured-review { margin: 0; padding: clamp(1.5rem, 4vw, 3rem); border-left: 6px solid var(--red); background: var(--paper); }
.featured-review p { margin: 0; font-size: clamp(1.55rem, 3.5vw, 2.75rem); line-height: 1.25; letter-spacing: -.035em; font-weight: 800; }
.featured-review cite { display: block; margin-top: 1.4rem; color: #777; font-size: .7rem; font-style: normal; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.featured-review a { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2rem; padding-top: 1rem; border-top: 1px solid #c9c2b8; color: var(--red-dark); font-size: .68rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }

.instagram-feature { position: relative; overflow: hidden; min-height: 720px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: clamp(5rem, 10vw, 9rem) 1.25rem; background: radial-gradient(circle at 50% 50%, #fa3c43 0, var(--red) 40%, #9b080d 100%); }
.instagram-feature::before { content: 'IG'; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); color: rgba(0,0,0,.08); font-size: min(55vw, 42rem); line-height: .75; font-weight: 900; letter-spacing: -.14em; }
.instagram-feature > * { position: relative; z-index: 1; }
.instagram-feature .eyebrow { color: #4a0004; }
.instagram-feature h2 { font-size: clamp(3.4rem, 10vw, 9rem); line-height: .78; text-transform: none; word-break: break-word; }
.instagram-copy { max-width: 640px; margin: 2rem auto; color: #430004; line-height: 1.65; font-weight: 700; }
.instagram-button { min-height: 58px; display: inline-flex; align-items: center; justify-content: space-between; gap: 2.5rem; padding: 0 1.2rem; background: #090909; color: #fff; font-size: .72rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.social-reel { width: calc(100% + 2.5rem); overflow: hidden; margin-top: clamp(4rem, 8vw, 7rem); border-top: 1px solid rgba(0,0,0,.28); border-bottom: 1px solid rgba(0,0,0,.28); }
.reel-track { width: max-content; display: flex; animation: reel-slide 26s linear infinite; }
.reel-track span { min-height: 58px; display: inline-flex; align-items: center; gap: .8rem; padding: 0 1.4rem; color: #4b0004; font-size: .72rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.reel-track b { color: #111; font-size: .55rem; }
@keyframes reel-slide { to { transform: translateX(-50%); } }

.updates-section { background: var(--paper); color: #111; padding: clamp(5rem, 10vw, 9rem) clamp(1.25rem, 6vw, 6rem); }
.video-carousel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.video-card { overflow: hidden; background: #fff; border: 1px solid #d5cec4; }
.video-card iframe { width: 100%; aspect-ratio: 16 / 9; display: block; border: 0; background: #000; }
.video-info { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.2rem; }
.video-info h3 { margin: 0; font-size: clamp(1.1rem, 2vw, 1.55rem); text-transform: uppercase; }
.video-info a { white-space: nowrap; color: var(--red-dark); font-size: .64rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }

.final-cta { position: relative; overflow: hidden; text-align: center; padding: clamp(6rem, 12vw, 11rem) 1.25rem; background: radial-gradient(circle, #2b0708 0, #090909 50%); }
.final-logo { position: absolute; width: min(80vw, 760px); opacity: .09; left: 50%; top: 50%; transform: translate(-50%,-50%); }
.final-cta > *:not(.final-logo) { position: relative; z-index: 1; }
.final-cta .eyebrow { color: #ff7075; }
.final-cta h2 { font-size: clamp(3rem, 8vw, 7rem); }
.final-cta > p:not(.eyebrow) { max-width: 600px; margin: 1.4rem auto; color: #aaa; line-height: 1.7; }

.site-footer { padding: 2rem clamp(1.25rem, 5vw, 5rem) 3rem; display: grid; grid-template-columns: 1fr auto; gap: 1.5rem 3rem; align-items: center; border-top: 1px solid var(--line); background: #050505; }
.footer-brand { display: flex; align-items: center; gap: .8rem; }
.footer-brand img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.footer-brand div, .footer-contact { display: flex; flex-direction: column; gap: .3rem; }
.footer-brand strong { text-transform: uppercase; }
.footer-brand span, .site-footer > p { color: #777; font-size: .72rem; }
.footer-contact { text-align: right; font-size: .83rem; }
.site-footer > p { grid-column: 1 / -1; margin: 0; padding-top: 1rem; border-top: 1px solid #1e1e1e; }
.site-footer > p > span { float: right; }
.site-footer > p a { color: #aaa; }
.mobile-contact { display: none; }

.standard-page { min-height: 100vh; background: var(--paper); color: #111; padding: clamp(3rem, 8vw, 7rem) 1.25rem; }
.standard-page-inner { width: min(900px, 100%); margin: auto; }
.standard-page-brand { color: var(--red-dark); font-size: .75rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.standard-page h1 { margin-top: 2rem; font-size: clamp(2.7rem, 7vw, 5rem); line-height: .95; letter-spacing: -.05em; text-transform: uppercase; }
.standard-page p, .standard-page li { color: #56514b; line-height: 1.75; }

:focus-visible { outline: 3px solid #ff777b; outline-offset: 4px; }

@media (max-width: 980px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav-links { display: none; }
  .contact-section, .professor-section, .reviews-section { grid-template-columns: 1fr; }
  .contact-section { gap: 3.5rem; }
  .pillar-grid, .video-carousel { grid-template-columns: 1fr; }
  .plans-layout { grid-template-columns: 1fr; }
  .professor-photos { min-height: 620px; }
}

@media (max-width: 680px) {
  body { padding-bottom: 62px; }
  .nav { min-height: 76px; }
  .nav-call { font-size: .72rem; }
  .brand span { display: none; }
  .hero { min-height: 850px; }
  .hero-content { padding-top: 6rem; }
  .hero h1 { font-size: clamp(3.3rem, 17vw, 5.25rem); }
  .hero-mark { width: 96vw; right: -34vw; bottom: 0; }
  .hero-stamp { display: none; }
  .button { flex: 1 1 145px; }
  .field-row, .interest-list { grid-template-columns: 1fr; }
  .pillar-card { min-height: 320px; }
  .pillar-card p { min-height: auto; }
  .plan-row { grid-template-columns: 1fr; }
  .professor-photos { min-height: 570px; box-shadow: 12px 12px 0 #ddd7ce; }
  .photo-gi { right: 18%; }
  .photo-no-gi { top: 7%; width: 50%; height: 48%; border-width: 4px; }
  .professor-photo-label { width: 68%; min-height: 28%; }
  .credential-row { gap: .55rem; }
  .credential-row span { font-size: .55rem; }
  .instagram-feature { min-height: 650px; }
  .video-carousel { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .8rem; }
  .video-card { min-width: 88vw; scroll-snap-align: start; }
  .video-info { align-items: flex-start; flex-direction: column; }
  .site-footer { grid-template-columns: 1fr; padding-bottom: 2rem; }
  .footer-contact { text-align: left; }
  .site-footer > p > span { display: block; float: none; margin-top: .5rem; }
  .mobile-contact { position: fixed; z-index: 9999; display: grid; grid-template-columns: 1fr 1fr; left: 0; right: 0; bottom: 0; min-height: 62px; box-shadow: 0 -8px 28px rgba(0,0,0,.3); }
  .mobile-contact a { display: grid; place-items: center; background: #151515; font-size: .72rem; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
  .mobile-contact a:last-child { background: var(--red); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

