/* ==========================================================================
   Guia Medico 3L — App Base Styles
   Premium Healthcare Marketplace Design System
   Mobile-first · Inter typeface · Dark Blue + Turquesa palette
   ========================================================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ==========================================================================
   1. DESIGN TOKENS
   ========================================================================== */
:root {
    /* ---- Brand colours ---- */
    --primary:        #0f2b46;
    --primary-light:  #163d5e;
    --secondary:      #1a3a5c;
    --accent:         #00d4aa;
    --accent-hover:   #00b894;
    --accent-dark:    #00a88a;
    --accent-light:   rgba(0, 212, 170, 0.10);
    --accent-glow:    rgba(0, 212, 170, 0.25);

    /* ---- Neutral palette ---- */
    --muted:          #8899aa;
    --bg:             #ffffff;
    --bg-alt:         #f7f9fc;
    --bg-dark:        #0b1f33;
    --text:           #1a1a2e;
    --text-secondary: #4a5568;
    --text-light:     #718096;

    /* ---- Borders ---- */
    --border:         #e2e8f0;
    --border-light:   #edf2f7;
    --border-focus:   var(--accent);

    /* ---- Semantic colours ---- */
    --star:           #ffaa33;
    --error:          #e53e3e;
    --error-light:    #fff5f5;
    --error-bg:       rgba(229, 62, 62, 0.06);
    --success:        #38a169;
    --success-light:  #f0fff4;
    --warning:        #d69e2e;
    --warning-light:  #fffff0;
    --info:           #3182ce;
    --info-light:     #ebf8ff;

    /* ---- Radii ---- */
    --radius-xs:      6px;
    --radius:         8px;
    --radius-lg:      12px;
    --radius-xl:      16px;
    --radius-2xl:     20px;
    --radius-full:    9999px;

    /* ---- Shadows (layered for depth) ---- */
    --shadow-xs:      0 1px 2px rgba(15, 43, 70, 0.04);
    --shadow-sm:      0 1px 3px rgba(15, 43, 70, 0.06),
                      0 1px 2px rgba(15, 43, 70, 0.04);
    --shadow:         0 2px 8px rgba(15, 43, 70, 0.08),
                      0 1px 3px rgba(15, 43, 70, 0.06);
    --shadow-md:      0 4px 12px rgba(15, 43, 70, 0.10),
                      0 2px 4px rgba(15, 43, 70, 0.06);
    --shadow-lg:      0 12px 24px rgba(15, 43, 70, 0.12),
                      0 4px 8px rgba(15, 43, 70, 0.06);
    --shadow-xl:      0 20px 40px rgba(15, 43, 70, 0.14),
                      0 8px 16px rgba(15, 43, 70, 0.06);
    --shadow-2xl:     0 32px 64px rgba(15, 43, 70, 0.18),
                      0 12px 24px rgba(15, 43, 70, 0.08);
    --shadow-accent:  0 4px 14px rgba(0, 212, 170, 0.35);
    --shadow-inner:   inset 0 2px 4px rgba(15, 43, 70, 0.04);

    /* ---- Transitions ---- */
    --transition-fast: 0.15s ease;
    --transition:      0.25s ease;
    --transition-slow: 0.4s ease;

    /* ---- Layout ---- */
    --header-h:       72px;
    --sidebar-w:      272px;
    --container-max:  1200px;
}

/* ==========================================================================
   2. CSS RESET + BASE
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    line-height: 1.5;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    font-size: 16px;
    color: var(--text);
    background-color: var(--bg-alt);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    text-rendering: optimizeLegibility;
    font-feature-settings: 'cv11', 'ss01';
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

input,
button,
textarea,
select {
    font: inherit;
    color: inherit;
}

button {
    cursor: pointer;
}

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

ul,
ol {
    list-style: none;
}

/* ==========================================================================
   3. TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.01em;
}

h1 {
    font-size: clamp(1.875rem, 4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.025em;
}

h2 {
    font-size: clamp(1.5rem, 3vw, 1.875rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

h3 {
    font-size: 1.25rem;
    font-weight: 700;
}

h4 {
    font-size: 1.125rem;
    font-weight: 600;
}

h5 {
    font-size: 1rem;
    font-weight: 600;
}

h6 {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

p {
    line-height: 1.7;
    color: var(--text-secondary);
}

strong, b {
    font-weight: 600;
}

small {
    font-size: 0.875rem;
}

/* ==========================================================================
   4. CONTAINER
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

@media (min-width: 768px) {
    .container {
        padding-left: 32px;
        padding-right: 32px;
    }
}

.container-sm {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.container-lg {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

@media (min-width: 768px) {
    .container-lg {
        padding-left: 32px;
        padding-right: 32px;
    }
}

/* ==========================================================================
   5. SECTION SPACING
   ========================================================================== */
.section {
    padding: 48px 0;
}

.section-lg {
    padding: 72px 0;
}

.section-sm {
    padding: 32px 0;
}

@media (min-width: 768px) {
    .section {
        padding: 64px 0;
    }

    .section-lg {
        padding: 96px 0;
    }
}

/* ==========================================================================
   6. UTILITY CLASSES
   ========================================================================== */

/* ---- Text ---- */
.text-center   { text-align: center; }
.text-left     { text-align: left; }
.text-right    { text-align: right; }
.text-muted    { color: var(--muted); }
.text-secondary{ color: var(--text-secondary); }
.text-primary  { color: var(--primary); }
.text-accent   { color: var(--accent); }
.text-error    { color: var(--error); }
.text-success  { color: var(--success); }
.text-warning  { color: var(--warning); }
.text-info     { color: var(--info); }
.text-white    { color: #ffffff; }
.text-xs       { font-size: 0.75rem; }
.text-sm       { font-size: 0.875rem; }
.text-base     { font-size: 1rem; }
.text-lg       { font-size: 1.125rem; }
.text-xl       { font-size: 1.25rem; }
.text-2xl      { font-size: 1.5rem; }
.font-normal   { font-weight: 400; }
.font-medium   { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold     { font-weight: 700; }
.leading-tight   { line-height: 1.25; }
.leading-normal  { line-height: 1.5; }
.leading-relaxed { line-height: 1.75; }
.truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ---- Spacing ---- */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }
.mt-6 { margin-top: 64px; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 48px; }

.ml-auto { margin-left: auto; }
.mr-auto { margin-right: auto; }
.ml-1 { margin-left: 8px; }
.ml-2 { margin-left: 16px; }
.mr-1 { margin-right: 8px; }
.mr-2 { margin-right: 16px; }

.pt-0 { padding-top: 0; }
.pt-1 { padding-top: 8px; }
.pt-2 { padding-top: 16px; }
.pt-3 { padding-top: 24px; }
.pt-4 { padding-top: 32px; }

.pb-0 { padding-bottom: 0; }
.pb-1 { padding-bottom: 8px; }
.pb-2 { padding-bottom: 16px; }
.pb-3 { padding-bottom: 24px; }
.pb-4 { padding-bottom: 32px; }

.p-0 { padding: 0; }
.p-1 { padding: 8px; }
.p-2 { padding: 16px; }
.p-3 { padding: 24px; }
.p-4 { padding: 32px; }
.p-5 { padding: 48px; }

.px-1 { padding-left: 8px; padding-right: 8px; }
.px-2 { padding-left: 16px; padding-right: 16px; }
.px-3 { padding-left: 24px; padding-right: 24px; }
.py-1 { padding-top: 8px; padding-bottom: 8px; }
.py-2 { padding-top: 16px; padding-bottom: 16px; }
.py-3 { padding-top: 24px; padding-bottom: 24px; }

/* ---- Flexbox ---- */
.flex          { display: flex; }
.inline-flex   { display: inline-flex; }
.flex-col      { flex-direction: column; }
.flex-row      { flex-direction: row; }
.flex-wrap     { flex-wrap: wrap; }
.flex-nowrap   { flex-wrap: nowrap; }
.flex-between  { display: flex; justify-content: space-between; align-items: center; }
.flex-center   { display: flex; justify-content: center; align-items: center; }
.flex-start    { display: flex; align-items: flex-start; }
.items-center  { align-items: center; }
.items-start   { align-items: flex-start; }
.items-end     { align-items: flex-end; }
.items-stretch { align-items: stretch; }
.justify-center{ justify-content: center; }
.justify-end   { justify-content: flex-end; }
.justify-between { justify-content: space-between; }
.flex-1        { flex: 1; }
.flex-shrink-0 { flex-shrink: 0; }
.flex-grow     { flex-grow: 1; }

.gap-0 { gap: 0; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.gap-4 { gap: 32px; }
.gap-5 { gap: 48px; }

/* ---- Grid ---- */
.grid          { display: grid; }
.grid-cols-1   { grid-template-columns: repeat(1, 1fr); }
.grid-cols-2   { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3   { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4   { grid-template-columns: repeat(4, 1fr); }

/* ---- Display ---- */
.hidden        { display: none !important; }
.block         { display: block; }
.inline-block  { display: inline-block; }
.inline        { display: inline; }
.relative      { position: relative; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ---- Width ---- */
.w-full  { width: 100%; }
.w-auto  { width: auto; }
.max-w-sm  { max-width: 480px; }
.max-w-md  { max-width: 640px; }
.max-w-lg  { max-width: 768px; }
.max-w-xl  { max-width: 1024px; }

/* ---- Overflow ---- */
.overflow-hidden  { overflow: hidden; }
.overflow-x-auto  { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.overflow-y-auto  { overflow-y: auto; -webkit-overflow-scrolling: touch; }

/* ---- Rounded ---- */
.rounded       { border-radius: var(--radius); }
.rounded-lg    { border-radius: var(--radius-lg); }
.rounded-xl    { border-radius: var(--radius-xl); }
.rounded-full  { border-radius: var(--radius-full); }
.rounded-none  { border-radius: 0; }

/* ---- Borders ---- */
.border        { border: 1px solid var(--border); }
.border-b      { border-bottom: 1px solid var(--border); }
.border-t      { border-top: 1px solid var(--border); }
.border-none   { border: none; }

/* ---- Backgrounds ---- */
.bg-white      { background-color: var(--bg); }
.bg-alt        { background-color: var(--bg-alt); }
.bg-primary    { background-color: var(--primary); }
.bg-accent     { background-color: var(--accent); }
.bg-transparent{ background-color: transparent; }

/* ---- Shadows ---- */
.shadow-sm     { box-shadow: var(--shadow-sm); }
.shadow        { box-shadow: var(--shadow); }
.shadow-md     { box-shadow: var(--shadow-md); }
.shadow-lg     { box-shadow: var(--shadow-lg); }
.shadow-none   { box-shadow: none; }

/* ---- Cursor ---- */
.cursor-pointer { cursor: pointer; }

/* ==========================================================================
   7. DIVIDER
   ========================================================================== */
.divider {
    height: 1px;
    background: var(--border);
    border: none;
    margin: 24px 0;
}

.divider-light {
    background: var(--border-light);
}

/* ==========================================================================
   8. LINK STYLES
   ========================================================================== */
.link {
    color: var(--accent);
    font-weight: 500;
    transition: color var(--transition);
    text-decoration: none;
}

.link:hover {
    color: var(--accent-dark);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ==========================================================================
   9. MAIN CONTENT AREA (sticky footer)
   ========================================================================== */
main {
    flex: 1;
    padding-top: var(--header-h);
}

/* ==========================================================================
   10. SELECTION & SCROLLBAR
   ========================================================================== */
::selection {
    background-color: var(--accent);
    color: var(--primary);
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--muted);
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
}

/* ==========================================================================
   11. HERO SECTION
   ========================================================================== */
.hero {
    background: linear-gradient(145deg, var(--primary) 0%, var(--secondary) 40%, #1a4d6e 100%);
    padding: 56px 0 48px;
    position: relative;
    overflow: hidden;
}

/* Decorative orbs */
.hero::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -15%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(0, 212, 170, 0.10) 0%, rgba(0, 212, 170, 0.03) 40%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: heroOrbFloat 20s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -35%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 212, 170, 0.08) 0%, rgba(0, 212, 170, 0.02) 40%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: heroOrbFloat 25s ease-in-out infinite reverse;
}

@keyframes heroOrbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%      { transform: translate(20px, -15px) scale(1.05); }
}

/* Noise texture overlay */
.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(1.75rem, 5vw, 2rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.025em;
}

.hero-subtitle {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 36px;
    line-height: 1.6;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}

/* ---- Hero search bar ---- */
.hero-search {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 620px;
    margin: 0 auto 28px;
}

.hero-search-input-wrapper {
    position: relative;
    flex: 1;
}

.hero-search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    pointer-events: none;
    font-size: 1.125rem;
    z-index: 1;
}

.hero-search-input {
    width: 100%;
    padding: 16px 20px 16px 52px;
    font-size: 1rem;
    font-weight: 400;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.97);
    color: var(--text);
    transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
    outline: none;
    height: 56px;
}

.hero-search-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-glow), var(--shadow-lg);
    background: #ffffff;
}

.hero-search-input::placeholder {
    color: var(--muted);
    font-weight: 400;
}

.hero-search-btn {
    white-space: nowrap;
    height: 56px;
    border-radius: var(--radius-xl) !important;
    font-size: 1rem;
    padding-left: 28px;
    padding-right: 28px;
}

/* ---- Quick links ---- */
.hero-quick-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-quick-label {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 500;
}

.hero-quick-link {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    transition: all var(--transition);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.hero-quick-link:hover {
    background: rgba(0, 212, 170, 0.2);
    border-color: rgba(0, 212, 170, 0.3);
    color: #fff;
    transform: translateY(-1px);
}

/* ==========================================================================
   12. SECTION HEADER
   ========================================================================== */
.section-header {
    margin-bottom: 36px;
}

.section-header h2 {
    margin-bottom: 8px;
}

.section-header p {
    max-width: 560px;
}

.section-header.text-center p {
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   13. SPECIALTY PILLS (homepage)
   ========================================================================== */
.specialty-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 28px;
}

.specialty-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px 10px 12px;
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text);
    transition: all var(--transition);
    text-decoration: none;
    cursor: pointer;
}

.specialty-pill:hover {
    border-color: var(--accent);
    background: var(--accent-light);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md), 0 0 0 1px rgba(0, 212, 170, 0.1);
}

.specialty-pill:active {
    transform: translateY(0);
}

.specialty-pill-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--accent-light);
    color: var(--accent);
    flex-shrink: 0;
    font-size: 1.125rem;
    transition: all var(--transition);
}

.specialty-pill:hover .specialty-pill-icon {
    background: var(--accent);
    color: var(--primary);
}

.specialty-pill-name {
    white-space: nowrap;
}

.specialty-pill-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    height: 24px;
    padding: 0 8px;
    font-size: 0.75rem;
    font-weight: 700;
    background: var(--bg-alt);
    color: var(--muted);
    border-radius: var(--radius-full);
    transition: all var(--transition);
}

.specialty-pill:hover .specialty-pill-count {
    background: rgba(0, 212, 170, 0.15);
    color: var(--accent-dark);
}

/* ==========================================================================
   14. CTA SECTION
   ========================================================================== */
.cta-section {
    background: linear-gradient(145deg, var(--primary) 0%, var(--secondary) 60%, #1a4d6e 100%);
    padding: 72px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 212, 170, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-title {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.cta-text {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.65);
    max-width: 520px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-section .btn-outline {
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.25);
}

.cta-section .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

/* ==========================================================================
   15. SPECIALTIES PAGE
   ========================================================================== */

/* --- Hero --- */
.specs-hero {
    background: linear-gradient(135deg, var(--primary) 0%, #1a3f5c 50%, #0d2137 100%);
    padding: 48px 0 64px;
    position: relative;
    overflow: hidden;
}
.specs-hero::before {
    content: '';
    position: absolute;
    top: -40%;
    left: -15%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,212,170,0.1) 0%, transparent 70%);
    pointer-events: none;
}
.specs-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,212,170,0.08) 0%, transparent 70%);
    pointer-events: none;
}
.specs-hero .breadcrumb,
.specs-hero .breadcrumb a,
.specs-hero .breadcrumb-current {
    color: rgba(255,255,255,0.6);
}
.specs-hero .breadcrumb a:hover { color: #fff; }

.specs-hero-content {
    text-align: center;
    max-width: 640px;
    margin: 32px auto 0;
    position: relative;
}
.specs-hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--accent);
    background: rgba(0,212,170,0.12);
    border-radius: var(--radius-full);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.specs-hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}
.specs-hero-title span {
    background: linear-gradient(135deg, var(--accent), #00e6b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.specs-hero-subtitle {
    font-size: 1.0625rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.6;
    margin-bottom: 28px;
}

/* --- Search Bar --- */
.specs-search {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 440px;
    margin: 0 auto 28px;
    padding: 14px 20px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 14px;
    backdrop-filter: blur(8px);
    transition: all 0.25s ease;
}
.specs-search:focus-within {
    background: rgba(255,255,255,0.15);
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0,212,170,0.15);
}
.specs-search svg {
    color: rgba(255,255,255,0.5);
    flex-shrink: 0;
}
.specs-search input {
    flex: 1;
    border: none;
    background: none;
    outline: none;
    color: #fff;
    font-size: 0.9375rem;
    font-family: inherit;
}
.specs-search input::placeholder {
    color: rgba(255,255,255,0.4);
}

/* --- Stats --- */
.specs-hero-stats {
    display: inline-flex;
    align-items: center;
    gap: 24px;
    padding: 12px 28px;
    background: rgba(255,255,255,0.08);
    border-radius: var(--radius-full);
    border: 1px solid rgba(255,255,255,0.1);
}
.specs-hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}
.specs-hero-stat strong {
    font-size: 1.375rem;
    font-weight: 800;
    color: var(--accent);
}
.specs-hero-stat span {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}
.specs-hero-stat-divider {
    width: 1px;
    height: 32px;
    background: rgba(255,255,255,0.15);
}

/* --- Grid Section --- */
.specs-grid-section {
    background: var(--bg-alt);
    padding: 0 0 64px;
}
.specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding-top: 32px;
}

/* --- Specialty Card --- */
.specialty-card {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: var(--bg);
    border-radius: 16px;
    border: 1px solid var(--border-light);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    transition: all 0.25s ease;
}
.specialty-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.08);
    border-color: var(--accent);
}
.specialty-card-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(0,212,170,0.1), rgba(0,212,170,0.05));
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}
.specialty-card:hover .specialty-card-icon {
    background: var(--accent);
    color: var(--primary);
    transform: scale(1.05);
}
.specialty-card-info {
    flex: 1;
    min-width: 0;
}
.specialty-card-name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 2px;
    line-height: 1.3;
}
.specialty-card-count {
    font-size: 0.8125rem;
    color: var(--muted);
    margin: 0;
}
.specialty-card-arrow {
    color: var(--border);
    transition: all 0.25s ease;
    flex-shrink: 0;
}
.specialty-card:hover .specialty-card-arrow {
    color: var(--accent);
    transform: translateX(3px);
}

/* --- No Results --- */
.specs-no-results {
    text-align: center;
    padding: 64px 20px;
    color: var(--muted);
}
.specs-no-results svg {
    margin-bottom: 16px;
    opacity: 0.4;
}
.specs-no-results h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}
.specs-no-results p {
    font-size: 0.9375rem;
    color: var(--muted);
}

/* --- CTA --- */
.specs-cta-section {
    background: var(--bg-alt);
    padding: 0 0 64px;
}
.specs-cta-card {
    background: linear-gradient(135deg, var(--primary) 0%, #1a3f5c 100%);
    border-radius: 20px;
    padding: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}
.specs-cta-content h3 {
    font-size: 1.375rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}
.specs-cta-content p {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.6;
    max-width: 480px;
}

/* --- Specialties Mobile --- */
@media (max-width: 1024px) {
    .specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 767px) {
    .specs-hero {
        padding: 32px 0 48px;
    }
    .specs-hero-content { margin-top: 24px; }
    .specs-hero-title { font-size: 1.625rem; }
    .specs-hero-subtitle { font-size: 0.9375rem; }
    .specs-search {
        max-width: 100%;
    }
    .specs-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        padding-top: 24px;
    }
    .specialty-card {
        padding: 16px 20px;
    }
    .specs-cta-card {
        flex-direction: column;
        text-align: center;
        padding: 32px 24px;
    }
    .specs-cta-content p { max-width: 100%; }
}

/* ==========================================================================
   16. PLANS PAGE
   ========================================================================== */

/* --- Hero --- */
.plans-hero {
    background: linear-gradient(135deg, var(--primary) 0%, #1a3f5c 50%, #0d2137 100%);
    padding: 48px 0 110px;
    position: relative;
    overflow: hidden;
}
.plans-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,212,170,0.12) 0%, transparent 70%);
    pointer-events: none;
}
.plans-hero .breadcrumb,
.plans-hero .breadcrumb a,
.plans-hero .breadcrumb-current {
    color: rgba(255,255,255,0.6);
}
.plans-hero .breadcrumb a:hover {
    color: #fff;
}
.plans-hero-content {
    text-align: center;
    max-width: 640px;
    margin: 32px auto 0;
    position: relative;
}
.plans-hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--accent);
    background: rgba(0,212,170,0.12);
    border-radius: var(--radius-full);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.plans-hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}
.plans-hero-title span {
    background: linear-gradient(135deg, var(--accent), #00e6b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.plans-hero-subtitle {
    font-size: 1.0625rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.6;
}

/* --- Pricing Section --- */
.plans-pricing {
    background: var(--bg-alt);
    padding: 0 0 80px;
}

/* --- Cards Grid --- */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: -40px;
    align-items: start;
}

/* --- Plan Card Base --- */
.plan-card {
    position: relative;
    background: var(--bg);
    border-radius: 20px;
    border: 1px solid var(--border-light);
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow: visible;
}
.plan-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

/* --- Featured Card --- */
.plan-card--featured {
    border: 2px solid var(--accent);
    box-shadow: 0 8px 32px rgba(0,212,170,0.15), 0 4px 24px rgba(0,0,0,0.06);
    z-index: 2;
    transform: scale(1.04);
}
.plan-card--featured:hover {
    transform: scale(1.04) translateY(-6px);
    box-shadow: 0 16px 48px rgba(0,212,170,0.2), 0 12px 40px rgba(0,0,0,0.1);
}

/* --- Premium Card --- */
.plan-card--premium {
    border: 1px solid rgba(15,43,70,0.15);
}

/* --- Popular Badge --- */
.plan-popular-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 24px;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--primary);
    background: linear-gradient(135deg, var(--accent), #00e6b8);
    border-radius: var(--radius-full);
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    box-shadow: 0 4px 16px rgba(0,212,170,0.35);
    z-index: 3;
}

/* --- Card Header --- */
.plan-card-header {
    padding: 36px 32px 0;
    text-align: center;
}
.plan-card--featured .plan-card-header {
    padding-top: 44px;
}
.plan-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.plan-icon--free {
    background: var(--bg-alt);
    color: var(--text-secondary);
}
.plan-icon--pro {
    background: linear-gradient(135deg, rgba(0,212,170,0.12), rgba(0,212,170,0.06));
    color: var(--accent);
}
.plan-icon--premium {
    background: linear-gradient(135deg, rgba(15,43,70,0.1), rgba(15,43,70,0.04));
    color: var(--primary);
}
.plan-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}
.plan-desc {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.5;
}

/* --- Card Price --- */
.plan-card-price {
    padding: 24px 32px 20px;
    text-align: center;
    border-bottom: 1px solid var(--border-light);
}
.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
}
.plan-currency {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-secondary);
    align-self: flex-start;
    margin-top: 10px;
}
.plan-amount {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    letter-spacing: -0.03em;
}
.plan-card--featured .plan-amount {
    color: var(--accent-dark, #009977);
}
.plan-period {
    display: block;
    font-size: 0.875rem;
    color: var(--muted);
    font-weight: 500;
    margin-top: 4px;
}

/* --- Card Features --- */
.plan-card-features {
    padding: 24px 32px;
    flex: 1;
}
.plan-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    font-size: 0.9375rem;
    color: var(--text);
}
.plan-feature-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.plan-feature-icon--check {
    background: rgba(0,212,170,0.12);
    color: var(--accent);
}
.plan-feature-icon--x {
    background: var(--bg-alt);
    color: var(--muted);
}
.plan-feature--disabled {
    opacity: 0.45;
}
.plan-feature--disabled span {
    text-decoration: line-through;
    color: var(--muted);
}
.plan-feature--highlight {
    font-weight: 600;
    color: var(--primary);
}

/* --- Card Action --- */
.plan-card-action {
    padding: 0 32px 32px;
}
.plan-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 24px;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
}
.plan-btn--outline {
    background: transparent;
    border: 2px solid var(--border-light);
    color: var(--primary);
}
.plan-btn--outline:hover {
    border-color: var(--accent);
    color: var(--accent-dark, #009977);
    background: rgba(0,212,170,0.04);
}
.plan-btn--primary {
    background: linear-gradient(135deg, var(--accent), #00e6b8);
    color: var(--primary);
    box-shadow: 0 4px 16px rgba(0,212,170,0.3);
}
.plan-btn--primary:hover {
    box-shadow: 0 6px 24px rgba(0,212,170,0.4);
    transform: translateY(-1px);
}
.plan-btn--primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}
.plan-btn--dark {
    background: var(--primary);
    color: #fff;
}
.plan-btn--dark:hover {
    background: #1a3f5c;
    box-shadow: 0 4px 16px rgba(15,43,70,0.3);
}
.plan-btn--white {
    background: #fff;
    color: var(--primary);
    font-weight: 700;
}
.plan-btn--white:hover {
    background: var(--bg-alt);
    transform: translateY(-1px);
}

/* --- Comparison Table --- */
.plans-comparison {
    margin-top: 72px;
}
.plans-comparison-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
    margin-bottom: 32px;
}
.plans-table-wrapper {
    overflow-x: auto;
    border-radius: 16px;
    background: var(--bg);
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    border: 1px solid var(--border-light);
}
.plans-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9375rem;
}
.plans-table thead {
    background: var(--primary);
    color: #fff;
}
.plans-table th {
    padding: 16px 20px;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
}
.plans-table th.plans-table-feature {
    text-align: left;
    width: 240px;
}
.plans-table td {
    padding: 14px 20px;
    text-align: center;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-secondary);
}
.plans-table td.plans-table-feature {
    text-align: left;
    font-weight: 500;
    color: var(--text);
}
.plans-table tbody tr:last-child td {
    border-bottom: none;
}
.plans-table tbody tr:hover {
    background: rgba(0,212,170,0.03);
}
.plans-table-highlight {
    background: rgba(0,212,170,0.04);
}
.plans-table thead th.plans-table-highlight {
    background: var(--accent);
    color: var(--primary);
}
.plans-table-check {
    color: var(--accent);
    font-weight: 700;
    font-size: 1.125rem;
}
.plans-table-x {
    color: var(--muted);
    opacity: 0.4;
    font-size: 1.125rem;
}

/* --- CTA Bottom --- */
.plans-cta {
    margin-top: 56px;
}
.plans-cta-card {
    background: linear-gradient(135deg, var(--primary) 0%, #1a3f5c 100%);
    border-radius: 20px;
    padding: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}
.plans-cta-content h3 {
    font-size: 1.375rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}
.plans-cta-content p {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.6;
    max-width: 480px;
}

/* --- Plans Mobile --- */
@media (max-width: 1024px) {
    .plans-grid {
        grid-template-columns: 1fr;
        max-width: 440px;
        margin-left: auto;
        margin-right: auto;
    }
    .plan-card--featured {
        transform: none;
        order: -1;
    }
    .plan-card--featured:hover {
        transform: translateY(-6px);
    }
    .plans-hero-title {
        font-size: 2rem;
    }
}
@media (max-width: 767px) {
    .plans-hero {
        padding: 32px 0 48px;
    }
    .plans-hero-content {
        margin-top: 24px;
    }
    .plans-hero-title {
        font-size: 1.625rem;
    }
    .plans-hero-subtitle {
        font-size: 0.9375rem;
    }
    .plans-grid {
        gap: 20px;
        margin-top: -32px;
    }
    .plan-card-header {
        padding: 28px 24px 0;
    }
    .plan-card-price {
        padding: 20px 24px 16px;
    }
    .plan-card-features {
        padding: 20px 24px;
    }
    .plan-card-action {
        padding: 0 24px 24px;
    }
    .plans-cta-card {
        flex-direction: column;
        text-align: center;
        padding: 32px 24px;
    }
    .plans-cta-content p {
        max-width: 100%;
    }
    .plans-table th,
    .plans-table td {
        padding: 12px 14px;
        font-size: 0.8125rem;
    }
    .plans-table th.plans-table-feature,
    .plans-table td.plans-table-feature {
        width: 140px;
        min-width: 140px;
    }
}

/* ==========================================================================
   17. ABOUT PAGE
   ========================================================================== */

/* --- Hero --- */
.about-hero {
    background: linear-gradient(135deg, var(--primary) 0%, #1a3f5c 50%, #0d2137 100%);
    padding: 48px 0 64px;
    position: relative;
    overflow: hidden;
}
.about-hero::before {
    content: '';
    position: absolute;
    bottom: -40%;
    right: -15%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,212,170,0.1) 0%, transparent 70%);
    pointer-events: none;
}
.about-hero .breadcrumb,
.about-hero .breadcrumb a,
.about-hero .breadcrumb-current {
    color: rgba(255,255,255,0.6);
}
.about-hero .breadcrumb a:hover { color: #fff; }

.about-hero-content {
    text-align: center;
    max-width: 660px;
    margin: 32px auto 0;
    position: relative;
}
.about-hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--accent);
    background: rgba(0,212,170,0.12);
    border-radius: var(--radius-full);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.about-hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}
.about-hero-title span {
    background: linear-gradient(135deg, var(--accent), #00e6b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.about-hero-subtitle {
    font-size: 1.0625rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.6;
}

/* --- Content Section (cards) --- */
.about-content-section {
    background: var(--bg-alt);
    padding: 56px 0;
}
.about-cards-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.about-info-card {
    background: var(--bg);
    border-radius: 20px;
    padding: 36px 32px;
    border: 1px solid var(--border-light);
    box-shadow: 0 4px 24px rgba(0,0,0,0.04);
}
.about-info-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background: linear-gradient(135deg, rgba(15,43,70,0.08), rgba(15,43,70,0.03));
    color: var(--primary);
}
.about-info-card-icon--accent {
    background: linear-gradient(135deg, rgba(0,212,170,0.12), rgba(0,212,170,0.05));
    color: var(--accent);
}
.about-info-card h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}
.about-info-card p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* --- Steps Section --- */
.about-steps-section {
    background: var(--bg);
    padding: 64px 0;
}
.about-section-header {
    text-align: center;
    margin-bottom: 48px;
}
.about-section-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}
.about-section-header p {
    font-size: 1rem;
    color: var(--muted);
}
.about-steps-grid {
    display: flex;
    align-items: stretch;
    gap: 0;
    justify-content: center;
}
.about-step-card {
    flex: 1;
    max-width: 320px;
    background: var(--bg-alt);
    border-radius: 20px;
    padding: 32px 28px;
    text-align: center;
    border: 1px solid var(--border-light);
    transition: all 0.25s ease;
}
.about-step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.08);
    border-color: var(--accent);
}
.about-step-number {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), #00e6b8);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0 auto 20px;
    box-shadow: 0 4px 16px rgba(0,212,170,0.3);
}
.about-step-content h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}
.about-step-content p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin: 0;
}
.about-step-connector {
    display: flex;
    align-items: center;
    padding: 0 12px;
    color: var(--border);
}

/* --- Metrics Section --- */
.about-metrics-section {
    background: var(--primary);
    padding: 56px 0;
}
.about-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}
.about-metric {
    text-align: center;
}
.about-metric-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    background: rgba(255,255,255,0.08);
    color: var(--accent);
}
.about-metric-value {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
}
.about-metric-label {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.55);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 500;
}

/* --- CTA Section --- */
.about-cta-section {
    background: var(--bg-alt);
    padding: 64px 0;
}
.about-cta-card {
    background: linear-gradient(135deg, var(--primary) 0%, #1a3f5c 100%);
    border-radius: 20px;
    padding: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}
.about-cta-content h3 {
    font-size: 1.375rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}
.about-cta-content p {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.6;
    max-width: 440px;
}
.about-cta-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}
.plan-btn--outline-white {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.3);
    color: #fff;
}
.plan-btn--outline-white:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.08);
}

/* --- About Mobile --- */
@media (max-width: 1024px) {
    .about-metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}
@media (max-width: 767px) {
    .about-hero { padding: 32px 0 48px; }
    .about-hero-content { margin-top: 24px; }
    .about-hero-title { font-size: 1.625rem; }
    .about-hero-subtitle { font-size: 0.9375rem; }
    .about-cards-row {
        grid-template-columns: 1fr;
    }
    .about-content-section { padding: 40px 0; }
    .about-steps-section { padding: 48px 0; }
    .about-steps-grid {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    .about-step-card { max-width: 100%; }
    .about-step-connector {
        transform: rotate(90deg);
        padding: 4px 0;
    }
    .about-metrics-section { padding: 40px 0; }
    .about-metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .about-metric-value { font-size: 1.5rem; }
    .about-cta-card {
        flex-direction: column;
        text-align: center;
        padding: 32px 24px;
    }
    .about-cta-content p { max-width: 100%; }
    .about-cta-actions {
        flex-direction: column;
        width: 100%;
    }
}

/* ==========================================================================
   18. CONTACT PAGE
   ========================================================================== */

/* --- Hero --- */
.contact-hero {
    background: linear-gradient(135deg, var(--primary) 0%, #1a3f5c 50%, #0d2137 100%);
    padding: 48px 0 64px;
    position: relative;
    overflow: hidden;
}
.contact-hero::before {
    content: '';
    position: absolute;
    bottom: -40%;
    right: -15%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,212,170,0.1) 0%, transparent 70%);
    pointer-events: none;
}
.contact-hero .breadcrumb,
.contact-hero .breadcrumb a,
.contact-hero .breadcrumb-current {
    color: rgba(255,255,255,0.6);
}
.contact-hero .breadcrumb a:hover { color: #fff; }

.contact-hero-content {
    text-align: center;
    max-width: 660px;
    margin: 32px auto 0;
    position: relative;
}
.contact-hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--accent);
    background: rgba(0,212,170,0.12);
    border-radius: var(--radius-full);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.contact-hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}
.contact-hero-title span {
    background: linear-gradient(135deg, var(--accent), #00e6b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.contact-hero-subtitle {
    font-size: 1.0625rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.6;
}

/* --- Info Cards Grid --- */
.contact-info-section {
    padding: 56px 0 0;
    background: var(--bg-alt);
}
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.contact-info-card {
    background: var(--bg);
    border-radius: 16px;
    padding: 28px 24px;
    text-align: center;
    border: 1px solid var(--border-light);
    box-shadow: 0 4px 24px rgba(0,0,0,0.04);
    transition: all 0.25s ease;
    text-decoration: none;
    display: block;
}
a.contact-info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    border-color: var(--accent);
}
.contact-info-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(0,212,170,0.1), rgba(0,212,170,0.05));
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}
.contact-info-card-title {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 6px;
}
.contact-info-card-value {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
    line-height: 1.4;
}
.contact-info-card-action {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--accent);
}
.contact-info-card-detail {
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

/* ==========================================================================
   19. GALLERY (Profile)
   ========================================================================== */
.profile-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}
.profile-gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    display: block;
    aspect-ratio: 4/3;
    background: var(--bg-alt);
}
.profile-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
.profile-gallery-item:hover img {
    transform: scale(1.05);
}
.profile-gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 6px 12px;
    background: linear-gradient(transparent, rgba(0,0,0,0.6));
    color: #fff;
    font-size: 0.75rem;
    font-weight: 500;
}
@media (max-width: 767px) {
    .profile-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .profile-gallery-item { border-radius: 8px; }
}

/* --- Form Section --- */
.contact-form-section {
    padding: 56px 0 72px;
    background: var(--bg-alt);
}
.contact-form-wrapper {
    max-width: 740px;
    margin: 0 auto;
    background: var(--bg);
    border-radius: 20px;
    border: 1px solid var(--border-light);
    box-shadow: 0 4px 24px rgba(0,0,0,0.04);
    padding: 40px 48px;
}
.contact-form-header {
    text-align: center;
    margin-bottom: 32px;
}
.contact-form-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}
.contact-form-subtitle {
    font-size: 0.9375rem;
    color: var(--text-secondary);
}
.contact-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.contact-form-actions {
    margin-top: 8px;
    text-align: center;
}
.contact-form-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 220px;
    justify-content: center;
}

/* --- Mobile --- */
@media (max-width: 767px) {
    .contact-hero { padding: 32px 0 48px; }
    .contact-hero-content { margin-top: 24px; }
    .contact-hero-title { font-size: 1.625rem; }
    .contact-hero-subtitle { font-size: 0.9375rem; }
    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .contact-info-card { padding: 20px 16px; }
    .contact-info-card-icon { width: 48px; height: 48px; border-radius: 12px; }
    .contact-info-card-value { font-size: 0.8125rem; }
    .contact-info-section { padding: 32px 0 0; }
    .contact-form-section { padding: 32px 0 48px; }
    .contact-form-wrapper { padding: 28px 20px; border-radius: 16px; }
    .contact-form-grid { grid-template-columns: 1fr; gap: 0; }
    .contact-form-btn { width: 100%; }
}
@media (max-width: 374px) {
    .contact-info-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   19. RESPONSIVE — Hero & Homepage
   ========================================================================== */
@media (min-width: 768px) {
    .hero {
        padding: 88px 0 76px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .hero-search {
        flex-direction: row;
    }

    .hero-search-input {
        border-radius: var(--radius-xl) 0 0 var(--radius-xl);
    }

    .hero-search-btn {
        border-radius: 0 var(--radius-xl) var(--radius-xl) 0 !important;
        padding-left: 36px;
        padding-right: 36px;
    }

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

@media (min-width: 1024px) {
    .hero {
        padding: 108px 0 96px;
    }

    .hero-title {
        font-size: 3rem;
        letter-spacing: -0.03em;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .cta-title {
        font-size: 2.5rem;
    }

    .cta-text {
        font-size: 1.125rem;
    }
}

/* ==========================================================================
   20. RESPONSIVE VISIBILITY
   ========================================================================== */
@media (max-width: 767px) {
    .hidden-mobile { display: none !important; }
}

@media (min-width: 768px) {
    .hidden-desktop { display: none !important; }
}

@media (min-width: 768px) {
    .grid-cols-md-2 { grid-template-columns: repeat(2, 1fr); }
    .grid-cols-md-3 { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
    .grid-cols-lg-3 { grid-template-columns: repeat(3, 1fr); }
    .grid-cols-lg-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ==========================================================================
   21. ANIMATIONS
   ========================================================================== */
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(16px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.6; }
}

.animate-fade-in    { animation: fadeIn 0.4s ease-out; }
.animate-fade-in-up { animation: fadeInUp 0.4s ease-out; }
.animate-pulse      { animation: pulse 2s ease-in-out infinite; }

/* ==========================================================================
   22. PRINT
   ========================================================================== */
@media print {
    .hero,
    .site-header,
    .site-footer,
    .cta-section,
    .panel-sidebar,
    .panel-topbar,
    .hamburger,
    .btn { display: none !important; }

    body {
        background: #fff;
        color: #000;
        font-size: 12pt;
    }
}
