/* ═══════════════════════════════════════
   AMPLIFY - Main Stylesheet
   ═══════════════════════════════════════ */

/* --- CSS Variables --- */
:root {
    --bg: #faf8f5;
    --bg-alt: #f3efe8;
    --bg-dark: #1a1612;
    --card-dark: #242019;
    --accent: #c45e2c;
    --accent-light: #f0ddd0;
    --accent-alpha: rgba(196, 94, 44, 0.15);
    --accent-alpha2: rgba(196, 94, 44, 0.2);
    --text: #1a1612;
    --text-light: #5c554a;
    --text-muted: #a99e90;
    --border: #e2ddd5;
    --border-dark: #333028;
    --card: #ffffff;
    --font-body: 'DM Sans', sans-serif;
    --font-heading: 'Playfair Display', serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: var(--accent-light);
    color: var(--accent);
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

/* --- Typography --- */
h1, .h1 {
    font-family: var(--font-heading);
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 600;
    line-height: 1.15;
    color: var(--text);
}

h2, .h2 {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text);
}

h3, .h3 {
    font-family: var(--font-body);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 12px;
}

.body-text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-light);
}

.body-text-lg {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-light);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-body);
    transition: all 0.3s;
    text-decoration: none;
    line-height: 1;
}

.btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--accent);
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 2px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn-outline-accent {
    background: transparent;
    color: #fff;
    border: 1px solid var(--accent);
}

.btn-sm {
    padding: 10px 24px;
    font-size: 13px;
}

.btn-lg {
    padding: 18px 40px;
    font-size: 16px;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* --- Tag / Badge --- */
.tag {
    display: inline-block;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 4px;
    background: var(--accent-light);
    color: var(--accent);
    font-family: var(--font-body);
}

.tag-dark {
    background: var(--accent-alpha2);
}

/* --- Layout --- */
.section {
    padding: 100px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-dark {
    padding: 100px 24px;
    background: var(--bg-dark);
    color: #fff;
}

.section-alt {
    padding: 100px 24px;
    background: var(--bg-alt);
}

.section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

.max-w-700 {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.max-w-800 {
    max-width: 800px;
}

.max-w-900 {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.mb-16 { margin-bottom: 16px; }
.mb-20 { margin-bottom: 20px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-40 { margin-bottom: 40px; }
.mb-48 { margin-bottom: 48px; }
.mb-64 { margin-bottom: 64px; }

.mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; }
.mt-36 { margin-top: 36px; }
.mt-48 { margin-top: 48px; }

/* --- Grid --- */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.grid-stat {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

/* --- Cards --- */
.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 36px;
    transition: all 0.3s;
}

.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.card-hover {
    cursor: pointer;
}

.card-dark {
    background: var(--card-dark);
    border: 1px solid var(--border-dark);
    border-radius: 12px;
    padding: 48px;
}

.card-center {
    text-align: center;
    padding: 48px;
}

/* --- Icon Box --- */
.icon-box {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: 20px;
}

.icon-box-dark {
    background: var(--accent-alpha);
}

.icon-box-lg {
    width: 56px;
    height: 56px;
    border-radius: 14px;
}

.icon-box-white {
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.icon-box-inline {
    display: inline-flex;
}

/* --- Arrow Icon --- */
.arrow-link {
    color: var(--accent);
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.arrow-link svg {
    transition: transform 0.2s;
}

.arrow-link:hover svg {
    transform: translateX(4px);
}

/* --- Check Item --- */
.check-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 16px 20px;
    background: var(--bg-alt);
    border-radius: 8px;
}

.check-item-plain {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.check-icon {
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 2px;
}

/* --- Step --- */
.step-item {
    position: relative;
    padding: 36px 32px;
    border-left: 3px solid var(--accent);
}

.step-num {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    color: var(--accent-light);
    position: absolute;
    top: 16px;
    right: 24px;
}

.step-row {
    display: flex;
    gap: 32px;
    margin-bottom: 48px;
    align-items: flex-start;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--border);
}

.step-row:last-child {
    border-bottom: none;
}

.step-row-num {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 700;
    color: var(--accent-light);
    line-height: 1;
    flex-shrink: 0;
    width: 80px;
}

/* --- Service Block --- */
.service-block {
    margin-bottom: 80px;
}

.service-block-header {
    display: flex;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 16px;
}

.service-block-num {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 700;
    color: var(--accent-light);
}

.service-block-title {
    font-family: var(--font-heading);
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 600;
    line-height: 1.2;
}

/* --- Stat Card --- */
.stat-card {
    text-align: center;
    padding: 32px;
    background: var(--bg-dark);
    border-radius: 12px;
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    color: var(--accent);
}

.stat-desc {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 8px;
    line-height: 1.5;
}

/* --- Comparison Table --- */
.compare-table {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-collapse: collapse;
    font-family: var(--font-body);
    font-size: 15px;
}

.compare-table th {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 2px solid var(--accent);
    font-weight: 700;
}

.compare-table th.col-amplify {
    color: var(--accent);
}

.compare-table th.col-other {
    color: var(--text-light);
}

.compare-table td {
    padding: 14px 20px;
}

.compare-table tr:nth-child(even) {
    background: var(--bg-alt);
}

.compare-table td.td-label {
    font-weight: 600;
}

.compare-table td.td-amplify {
    color: var(--accent);
}

.compare-table td.td-other {
    color: var(--text-light);
}

/* --- FAQ --- */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 17px;
    font-weight: 600;
    color: var(--text);
    text-align: left;
    font-family: var(--font-body);
    gap: 16px;
}

.faq-question:hover {
    color: var(--accent);
}

.faq-chevron {
    flex-shrink: 0;
    transition: transform 0.3s;
}

.faq-chevron.open {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer.open {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 0 24px;
    color: var(--text-light);
    line-height: 1.7;
    font-size: 15px;
}

/* --- CTA Section --- */
.cta-section {
    padding: 100px 24px;
    background: var(--bg-dark);
    text-align: center;
}

.cta-section h2 {
    color: #fff;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 17px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 32px;
}

/* --- Hero --- */
.hero {
    padding-top: 140px;
    padding-bottom: 100px;
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
}

.hero-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 0 24px;
}

.hero-sub {
    padding-top: 140px;
    padding-bottom: 80px;
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
}

.hero h1 {
    margin-top: 24px;
    margin-bottom: 24px;
}

.hero-sub h1 {
    margin-top: 20px;
    font-size: clamp(32px, 4.5vw, 52px);
}

.hero-text {
    font-size: 19px;
    max-width: 640px;
    margin: 0 auto 40px;
    color: var(--text-light);
    line-height: 1.7;
}

.hero-sub .hero-text {
    font-size: 18px;
    margin-top: 20px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- Header / Nav --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: all 0.3s;
}

.site-header.scrolled {
    background: rgba(250, 248, 245, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
    text-decoration: none;
}

.desktop-nav {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 400;
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent);
    font-weight: 600;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: all 0.3s;
}

.mobile-menu-btn.open .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.open .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.open .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-nav {
    display: none;
    background: var(--bg);
    padding: 16px 24px 24px;
    border-top: 1px solid var(--border);
}

.mobile-nav.open {
    display: block;
}

.mobile-nav-link {
    display: block;
    padding: 12px 0;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    color: var(--text);
    text-decoration: none;
    border-bottom: 1px solid var(--border);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--accent);
    font-weight: 600;
}

/* --- Footer --- */
.site-footer {
    background: var(--bg-dark);
    color: var(--text-muted);
    padding: 64px 24px 32px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 48px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.7;
}

.footer-heading {
    font-weight: 600;
    color: #fff;
    margin-bottom: 16px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.footer-link {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
    padding: 4px 0;
    text-decoration: none;
}

.footer-link:hover {
    color: #fff;
}

.footer-contact {
    font-size: 14px;
    margin: 4px 0;
}

.footer-bottom {
    margin-top: 48px;
    border-top: 1px solid var(--border-dark);
    padding-top: 24px;
    text-align: center;
    font-size: 13px;
}

/* --- Contact Form --- */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    font-family: var(--font-body);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 15px;
    font-family: var(--font-body);
    background: #fff;
    outline: none;
    transition: border-color 0.2s;
}

.form-input:focus,
.form-textarea:focus {
    border-color: var(--accent);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.role-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.role-btn {
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    border: 2px solid var(--border);
    background: #fff;
    color: var(--text-light);
    cursor: pointer;
    font-family: var(--font-body);
    transition: all 0.2s;
}

.role-btn.active {
    border-color: var(--accent);
    background: var(--accent-light);
    color: var(--accent);
}

.form-note {
    font-size: 13px;
    color: var(--text-light);
    margin-top: 12px;
}

.contact-info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 24px;
}

.contact-info-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
}

.contact-info-label {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
}

.contact-info-value {
    color: var(--text-light);
    font-size: 15px;
    white-space: pre-line;
}

.expect-box {
    margin-top: 48px;
    padding: 32px;
    background: var(--bg-alt);
    border-radius: 12px;
}

.expect-step {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.expect-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}

.expect-title {
    font-weight: 600;
    font-size: 15px;
}

.expect-desc {
    font-size: 14px;
    color: var(--text-light);
    margin-top: 4px;
    line-height: 1.5;
}

/* --- Contact Form Messages --- */
.form-message {
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 15px;
    display: none;
}

.form-message.success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
    display: block;
}

.form-message.error {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
    display: block;
}

/* --- Colors for dark sections --- */
.text-white { color: #fff; }
.text-muted { color: var(--text-muted); }
.text-accent { color: var(--accent); }

/* --- Guarantee card --- */
.guarantee-card {
    background: #fff;
    border-radius: 12px;
    padding: 32px;
    border: 1px solid var(--border);
    text-align: center;
}

.guarantee-card .icon-box {
    border-radius: 12px;
    display: inline-flex;
    margin-bottom: 16px;
}

.guarantee-card h3 {
    font-size: 17px;
}

.guarantee-card p {
    font-size: 14px;
    color: var(--text-light);
}

/* --- Table responsive --- */
.table-responsive {
    overflow-x: auto;
}

/* --- Flex helpers --- */
.flex-center {
    display: flex;
    justify-content: center;
}

/* --- Dark section text --- */
.section-dark h2,
.section-dark h3 {
    color: #fff;
}

.section-dark p {
    color: var(--text-muted);
}

.section-dark .card-dark h3 {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.section-dark .card-dark p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
}

/* --- Contact page grid --- */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 48px;
}

/* --- reCAPTCHA --- */
.recaptcha-wrapper {
    margin-bottom: 20px;
}

/* --- Loader for form submit --- */
.btn-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.7;
}

.btn-loading::after {
    content: '';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border: 2px solid transparent;
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: translateY(-50%) rotate(360deg); }
}
