/* ====================================================
   TITIK HIKMAH — LANDING PAGE STYLES
   Palette  : Deep forest green + antique gold + cream paper
   Display  : Fraunces (warm serif, used with restraint)
   Body/UI  : Plus Jakarta Sans
   Signature: the "titik" (point) motif — dotted connectors
              that literally draw the line between a need
              and a narasumber. Used as section markers,
              the hero constellation, and card corner marks.
   ==================================================== */

/* ====================================
   ROOT VARIABLES & RESET
   ==================================== */
:root {
    --primary: #14432c;
    --primary-dark: #0b2a1c;
    --primary-light: #2f6b48;
    --primary-tint: #eaf1ec;
    --gold: #b8963e;
    --gold-light: #e9dcb6;
    --gold-deep: #8c6f28;
    --cream: #f7f3e8;
    --paper: #fffdf8;
    --white: #ffffff;
    --ink: #1c1b18;
    --ink-soft: #5c594f;
    --ink-faint: #96917f;
    --line: #e6e0cf;

    --shadow-sm: 0 4px 18px rgba(11, 42, 28, 0.07);
    --shadow: 0 16px 44px rgba(11, 42, 28, 0.10);
    --shadow-lg: 0 28px 80px rgba(11, 42, 28, 0.18);

    --radius-sm: 12px;
    --radius: 22px;
    --radius-lg: 32px;

    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    --font-display: "Fraunces", "Playfair Display", serif;
    --font-body: "Plus Jakarta Sans", "Inter", sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
}

:focus-visible {
    outline: 2px solid var(--gold-deep);
    outline-offset: 3px;
    border-radius: 4px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    position: relative;
}

/* ---- Signature dot-connector mark ---- */
.dot-mark {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 14px;
}

.dot-mark span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
}

.dot-mark::before,
.dot-mark::after {
    content: "";
    width: 26px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold));
}

.dot-mark::after {
    background: linear-gradient(90deg, var(--gold), transparent);
}

.section-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gold-deep);
    font-weight: 700;
    margin-bottom: 14px;
}

.section-label::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 4px rgba(184, 150, 62, 0.18);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 3.2vw, 2.6rem);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 18px;
    color: var(--primary-dark);
    letter-spacing: -0.01em;
}

.section-title span {
    color: var(--gold-deep);
    font-style: italic;
}

.section-subtitle {
    font-size: 1.08rem;
    color: var(--ink-soft);
    max-width: 640px;
    margin: 0 auto 48px;
    text-align: center;
}

.section-head {
    max-width: 720px;
    margin: 0 auto 56px;
    text-align: center;
}

.section-head.left {
    margin: 0 0 48px;
    text-align: left;
}

/* Reveal-on-scroll base state (JS toggles .is-visible) */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ====================================
   BUTTONS
   ==================================== */
.btn-primary,
.btn-secondary,
.btn-cta-primary,
.btn-cta-secondary,
.btn-submit,
.btn-service {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 700;
    font-size: 0.96rem;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
    border: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    padding: 16px 30px;
    box-shadow: 0 10px 28px rgba(20, 67, 44, 0.28);
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(20, 67, 44, 0.34);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-dark);
    padding: 16px 28px;
    border: 1.5px solid var(--line);
}

.btn-secondary:hover {
    border-color: var(--gold);
    background: var(--gold-light);
    color: var(--gold-deep);
}

/* ====================================
   HEADER / NAVIGASI
   ==================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(247, 243, 232, 0.86);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(20, 67, 44, 0.08);
    padding: 16px 0;
    transition: var(--ease) all 0.3s;
}

.header.scrolled {
    padding: 10px 0;
    background: rgba(255, 253, 248, 0.94);
    box-shadow: 0 6px 24px rgba(11, 42, 28, 0.07);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-mark {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: var(--primary);
    color: var(--gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-dark);
    letter-spacing: -0.01em;
}

.logo-text em {
    font-style: italic;
    color: var(--gold-deep);
}

.nav-menu ul {
    display: flex;
    gap: 34px;
    align-items: center;
}

.nav-menu ul li a {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--ink-soft);
    transition: color 0.25s var(--ease);
    position: relative;
    padding: 4px 0;
}

.nav-menu ul li a::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.25s var(--ease);
}

.nav-menu ul li a:hover {
    color: var(--primary);
}

.nav-menu ul li a:hover::after {
    width: 100%;
}

.nav-cta .btn-wa {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: var(--white);
    padding: 11px 22px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    transition: all 0.25s var(--ease);
}

.nav-cta .btn-wa i {
    color: #6fe08a;
}

.nav-cta .btn-wa:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(20, 67, 44, 0.25);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.hamburger span {
    width: 26px;
    height: 2.5px;
    background: var(--primary-dark);
    border-radius: 4px;
    transition: var(--ease) all 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ====================================
   HERO SECTION
   ==================================== */
.hero {
    padding: 150px 0 90px;
    background:
        radial-gradient(ellipse 900px 500px at 85% -10%, rgba(184, 150, 62, 0.14), transparent 60%),
        linear-gradient(160deg, var(--cream) 0%, #f1ecdd 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 64px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    color: var(--gold-deep);
    padding: 8px 18px 8px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 22px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gold-light);
}

.hero-content h1 {
    font-family: var(--font-display);
    font-size: clamp(2.3rem, 4.4vw, 3.4rem);
    font-weight: 600;
    line-height: 1.16;
    margin-bottom: 22px;
    color: var(--primary-dark);
    letter-spacing: -0.015em;
}

.hero-content h1 span {
    color: var(--gold-deep);
    font-style: italic;
    display: inline-block;
    position: relative;
}

.hero-content p {
    font-size: 1.14rem;
    color: var(--ink-soft);
    margin-bottom: 34px;
    max-width: 500px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(20, 67, 44, 0.12);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary);
}

.stat-label {
    font-size: 0.82rem;
    color: var(--ink-faint);
    letter-spacing: 0.02em;
}

/* ---- Hero visual: works with or without a real photo ---- */
.hero-image {
    position: relative;
    aspect-ratio: 4 / 4.6;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background:
        radial-gradient(circle at 30% 20%, rgba(255,255,255,0.10), transparent 45%),
        linear-gradient(155deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.hero-image img.img-fallback-hidden {
    display: none;
}

/* Islamic-geometric "constellation of points" motif — shows through
   always, and becomes the whole visual if the photo fails to load */
.hero-pattern {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.9;
}

.hero-image-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 22px 24px;
    background: linear-gradient(0deg, rgba(11, 42, 28, 0.75) 0%, transparent 100%);
    color: var(--white);
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    font-weight: 600;
}

.hero-floating-card {
    position: absolute;
    left: -28px;
    bottom: 36px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--white);
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    max-width: 250px;
}

.hero-floating-card i {
    color: var(--gold-deep);
    font-size: 1.4rem;
    flex-shrink: 0;
}

.hero-floating-card strong {
    display: block;
    font-size: 0.92rem;
    color: var(--primary-dark);
}

.hero-floating-card span {
    font-size: 0.8rem;
    color: var(--ink-faint);
}

/* ====================================
   TENTANG KAMI
   ==================================== */
.about {
    padding: 110px 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: start;
}

.about-text p {
    color: var(--ink-soft);
    margin-bottom: 20px;
    font-size: 1.04rem;
}

.about-text p strong {
    color: var(--primary-dark);
}

.about-icons {
    display: grid;
    gap: 22px;
}

.about-icon-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    transition: all 0.3s var(--ease);
}

.about-icon-item:hover {
    border-color: var(--gold-light);
    background: var(--cream);
    transform: translateX(6px);
}

.about-icon-item .icon-badge {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--primary-tint);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.about-icon-item h4 {
    font-size: 1rem;
    color: var(--primary-dark);
    margin-bottom: 2px;
}

.about-icon-item p {
    font-size: 0.88rem;
    color: var(--ink-faint);
}

/* ====================================
   LAYANAN UTAMA
   ==================================== */
.services {
    padding: 110px 0;
    background: var(--cream);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.service-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius);
    padding: 44px 38px;
    border: 1px solid var(--line);
    transition: all 0.35s var(--ease);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: transparent;
}

.service-card.featured {
    background: var(--primary-dark);
    color: var(--white);
    border-color: transparent;
    box-shadow: var(--shadow);
}

.service-badge {
    position: absolute;
    top: 28px;
    right: 38px;
    background: var(--gold);
    color: var(--primary-dark);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 50px;
}

.service-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: var(--primary-tint);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 22px;
}

.service-card.featured .service-icon {
    background: rgba(255, 255, 255, 0.1);
    color: var(--gold-light);
}

.service-tag {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--gold-deep);
    margin-bottom: 10px;
}

.service-card.featured .service-tag {
    color: var(--gold-light);
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.7rem;
    font-weight: 600;
    margin-bottom: 22px;
    color: var(--primary-dark);
}

.service-card.featured h3 {
    color: var(--white);
}

.service-list {
    display: grid;
    gap: 13px;
    margin-bottom: 30px;
}

.service-list li {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    font-size: 0.96rem;
    color: var(--ink-soft);
}

.service-card.featured .service-list li {
    color: rgba(255, 255, 255, 0.86);
}

.service-list li i {
    color: var(--gold-deep);
    margin-top: 4px;
    font-size: 0.82rem;
    flex-shrink: 0;
}

.service-card.featured .service-list li i {
    color: var(--gold-light);
}

.btn-service {
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 0.94rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-bottom: 2px solid var(--gold);
    padding-bottom: 4px;
    transition: gap 0.25s var(--ease);
}

.btn-service:hover {
    gap: 13px;
}

.btn-service.primary {
    background: var(--gold);
    color: var(--primary-dark);
    border: none;
    padding: 14px 24px;
    border-radius: 50px;
}

.btn-service.primary:hover {
    background: var(--gold-light);
    gap: 10px;
}

/* ====================================
   KEUNGGULAN NARASUMBER
   ==================================== */
.advantages {
    padding: 110px 0;
    background: var(--white);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}

.advantage-item {
    background: var(--white);
    padding: 38px 34px;
    transition: background 0.3s var(--ease);
}

.advantage-item:hover {
    background: var(--cream);
}

.advantage-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1.5px solid var(--gold-light);
    color: var(--gold-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    margin-bottom: 18px;
}

.advantage-item h4 {
    font-family: var(--font-display);
    font-size: 1.12rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.advantage-item p {
    font-size: 0.92rem;
    color: var(--ink-soft);
}

/* ====================================
   PROGRAM UNGGULAN
   ==================================== */
.programs {
    padding: 110px 0;
    background: var(--cream);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.program-card {
    background: var(--white);
    border-radius: var(--radius-sm);
    padding: 30px 26px;
    border: 1px solid var(--line);
    transition: all 0.3s var(--ease);
}

.program-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-4px);
    border-color: transparent;
}

.program-icon {
    width: 48px;
    height: 48px;
    border-radius: 13px;
    background: var(--primary);
    color: var(--gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    margin-bottom: 20px;
}

.program-card h4 {
    font-family: var(--font-display);
    font-size: 1.14rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.program-card > p {
    font-size: 0.9rem;
    color: var(--ink-soft);
    margin-bottom: 18px;
}

.program-focus {
    padding-top: 16px;
    border-top: 1px dashed var(--line);
}

.program-focus strong {
    display: block;
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--gold-deep);
    margin-bottom: 10px;
}

.program-focus ul {
    display: grid;
    gap: 7px;
}

.program-focus li {
    font-size: 0.84rem;
    color: var(--ink-soft);
    padding-left: 14px;
    position: relative;
}

.program-focus li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--gold);
}

/* ====================================
   METODE PEMBELAJARAN
   ==================================== */
.methods {
    padding: 100px 0 60px;
    background: var(--white);
}

.methods-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.method-item {
    text-align: center;
    padding: 20px;
}

.method-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--primary-tint);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 20px;
}

.method-item h4 {
    font-family: var(--font-display);
    font-size: 1.12rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.method-item p {
    font-size: 0.92rem;
    color: var(--ink-soft);
    max-width: 280px;
    margin: 0 auto;
}

/* ====================================
   KEUNGGULAN PEMBELAJARAN (strip)
   ==================================== */
.learning-advantages {
    padding: 40px 0 110px;
    background: var(--white);
}

.learning-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.learning-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 22px 24px;
    background: var(--cream);
    border-radius: var(--radius-sm);
}

.learning-item .number {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--gold-deep);
    flex-shrink: 0;
}

.learning-item h4 {
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--primary-dark);
    line-height: 1.5;
}

/* ====================================
   CTA BANNER
   ==================================== */
.cta-banner {
    padding: 100px 0;
    background:
        radial-gradient(ellipse 700px 400px at 15% 20%, rgba(184, 150, 62, 0.18), transparent 60%),
        linear-gradient(155deg, var(--primary-dark) 0%, var(--primary) 100%);
    text-align: center;
}

.cta-content {
    max-width: 680px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 3.6vw, 2.7rem);
    font-weight: 600;
    color: var(--white);
    margin-bottom: 18px;
    line-height: 1.25;
}

.cta-content h2 span {
    color: var(--gold-light);
    font-style: italic;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.08rem;
    margin-bottom: 38px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

.btn-cta-primary {
    background: var(--gold);
    color: var(--primary-dark);
    padding: 17px 30px;
}

.btn-cta-primary:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2);
}

.btn-cta-secondary {
    background: transparent;
    color: var(--white);
    padding: 17px 28px;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.btn-cta-secondary:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

/* ====================================
   KONTAK
   ==================================== */
.contact {
    padding: 110px 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 60px;
}

.contact-info {
    display: grid;
    gap: 22px;
    align-content: start;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 22px;
    background: var(--cream);
    border-radius: var(--radius-sm);
}

.contact-item i {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--primary);
    color: var(--gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    font-size: 0.92rem;
    color: var(--primary-dark);
    margin-bottom: 3px;
}

.contact-item p a {
    color: var(--ink-soft);
    font-size: 0.94rem;
    transition: color 0.2s var(--ease);
}

.contact-item p a:hover {
    color: var(--gold-deep);
}

.contact-form {
    background: var(--cream);
    padding: 40px;
    border-radius: var(--radius);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid var(--line);
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.94rem;
    background: var(--white);
    color: var(--ink);
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(184, 150, 62, 0.14);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-submit {
    background: var(--primary);
    color: var(--white);
    padding: 16px 30px;
    width: 100%;
    box-shadow: 0 10px 28px rgba(20, 67, 44, 0.22);
}

.btn-submit:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Honeypot field: invisible to people, present for bots */
.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.form-status {
    display: none;
    margin-top: 16px;
    padding: 13px 16px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
}

.form-status.success {
    display: block;
    background: rgba(20, 67, 44, 0.1);
    color: var(--primary-dark);
}

.form-status.error {
    display: block;
    background: rgba(178, 58, 46, 0.1);
    color: #b23a2e;
}

/* ====================================
   FOOTER
   ==================================== */
.footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
    gap: 48px;
    padding-bottom: 56px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo-text {
    color: var(--white);
}

.footer-brand .logo-mark {
    background: var(--gold);
    color: var(--primary-dark);
}

.footer-brand p {
    margin: 18px 0 22px;
    font-size: 0.92rem;
    line-height: 1.7;
    max-width: 300px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s var(--ease);
}

.footer-social a:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--primary-dark);
}

.footer-links h4 {
    color: var(--white);
    font-size: 0.98rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links ul {
    display: grid;
    gap: 12px;
}

.footer-links a {
    font-size: 0.92rem;
    transition: color 0.2s var(--ease);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--gold-light);
}

.footer-bottom {
    padding: 26px 0;
    text-align: center;
    font-size: 0.84rem;
}

/* ====================================
   FLOATING WHATSAPP BUTTON
   ==================================== */
.float-wa {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 900;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #25d366;
    color: var(--white);
    padding: 15px 20px;
    border-radius: 50px;
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.4);
    font-weight: 700;
    font-size: 0.9rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s var(--ease);
}

.float-wa i {
    font-size: 1.3rem;
}

.float-wa:hover {
    background: #1fb959;
    transform: translateY(-2px) !important;
}

/* ====================================
   RESPONSIVE
   ==================================== */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-image {
        max-width: 460px;
        margin: 0 auto;
        order: -1;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        row-gap: 40px;
    }
}

@media (max-width: 860px) {
    .nav-menu,
    .nav-cta {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: min(78vw, 320px);
        background: var(--paper);
        flex-direction: column;
        padding: 100px 32px 32px;
        transition: right 0.35s var(--ease);
        box-shadow: -12px 0 40px rgba(0, 0, 0, 0.12);
    }

    .nav-menu.active,
    .nav-cta.active {
        right: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 22px;
    }

    .nav-cta {
        top: auto;
        bottom: 0;
        right: -100%;
        height: auto;
        padding: 24px 32px 40px;
        box-shadow: none;
    }

    .nav-cta.active {
        right: 0;
    }

    .hamburger {
        display: flex;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .methods-grid,
    .learning-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 20px;
    }

    .hero {
        padding: 130px 0 60px;
    }

    .hero-stats {
        gap: 24px;
    }

    .about,
    .services,
    .advantages,
    .programs,
    .contact,
    .cta-banner {
        padding: 72px 0;
    }

    .advantages-grid,
    .programs-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 28px 22px;
    }

    .hero-floating-card {
        left: 16px;
        bottom: 16px;
        max-width: calc(100% - 32px);
    }

    .float-wa span {
        display: none;
    }

    .float-wa {
        padding: 15px;
        border-radius: 50%;
    }
}