@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap');

:root {
    --primary: #1a1d24;
    --primary-light: #252932;
    --accent: #ff6600;
    --accent-hover: #e55a00;
    --accent-light: rgba(255, 102, 0, 0.12);
    --secondary: #6b7280;
    --background: #ffffff;
    --bg-light: #f5f5f5;
    --bg-gray: #f0f0f0;
    --text: #1a1d24;
    --text-muted: #6b7280;
    --white: #ffffff;
    --border: #e5e7eb;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.12);
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --header-height: 80px;
    --topbar-height: auto;
    --header-btn-width: 172px;

    /* Design system: homepage consistency */
    --section-y: 96px;
    --section-y-compact: 80px;
    --section-title-gap: 48px;
    --grid-gap: 24px;
    --heading-section: clamp(1.85rem, 3vw, 2.35rem);
    --heading-card: 1.1rem;
    --text-body: 0.92rem;
    --text-small: 0.82rem;
    --text-desc: 1rem;
    --surface: #ffffff;
    --surface-alt: #f7f8fa;
    --surface-overlay: rgba(247, 248, 250, 0.97);
    --surface-dark-overlay: rgba(26, 29, 36, 0.92);
    --text-on-dark: rgba(255, 255, 255, 0.85);
    --text-on-dark-muted: rgba(255, 255, 255, 0.72);
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-pill: 50px;
    --card-border: 1px solid var(--border);
    --icon-size: 52px;
    --icon-radius: 12px;
    --legal-sticky-top: calc(var(--header-height) + 20px);
    --hover-lift: -4px;
    --success: #22c55e;

    /* Scroll reveal (AOS-style) */
    --reveal-distance: 18px;
    --reveal-duration: 0.5s;
    --reveal-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --reveal-delay: 0ms;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--background);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    padding-left: env(safe-area-inset-left, 0);
    padding-right: env(safe-area-inset-right, 0);
}

body.nav-open {
    overflow: hidden;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 20px); }
.container-fluid { width: 100%; padding: 0 clamp(16px, 4vw, 48px); }

@keyframes fadeInUp {
    from { opacity: 0; transform: translate3d(0, var(--reveal-distance), 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

.animate-up {
    opacity: 0;
    animation: fadeInUp 0.62s var(--reveal-ease) both;
}
.animate-up--delay-1 { animation-delay: 0.1s; }
.animate-up--delay-2 { animation-delay: 0.2s; }
.animate-up--delay-3 { animation-delay: 0.3s; }

.reveal {
    opacity: 0;
    transform: translate3d(0, var(--reveal-distance), 0);
    transition:
        opacity var(--reveal-duration) var(--reveal-ease) var(--reveal-delay),
        transform var(--reveal-duration) var(--reveal-ease) var(--reveal-delay);
}

.reveal.active {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
    .animate-up {
        opacity: 1;
        animation: none;
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

.section-title--flush { margin-bottom: 24px; }
.section-title--flush p { max-width: none; }

.about-content .section-title h2,
.team-intro .section-title h2,
.why-content .section-title h2 {
    font-size: var(--heading-section);
}

.why-note { font-size: var(--text-body); color: var(--text-muted); }
.why-cta { margin-top: 24px; }

/* TOP BAR */
.top-bar {
    background: var(--primary);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.82rem;
    font-weight: 500;
    padding: 8px 0;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1001;
    overflow: visible;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.top-bar-left, .top-bar-right { display: flex; align-items: center; gap: 28px; }
.top-bar-item { display: flex; align-items: center; gap: 8px; }
.top-bar-item i { color: var(--accent); font-size: 0.85rem; }
.top-bar-contact-link,
.contact-link {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}
.top-bar-contact-link:hover { color: var(--accent); }
.contact-link:hover { color: var(--accent); }
.footer-contact-item .contact-link {
    color: rgba(255, 255, 255, 0.8);
}
.footer-contact-item .contact-link:hover {
    color: var(--accent);
}
.contact-item .contact-link {
    color: var(--text-muted);
    font-weight: 600;
}
.contact-item-label {
    margin-bottom: 4px;
    font-size: 0.95rem;
}
.contact-item-value {
    color: var(--text-muted);
    font-weight: 600;
}

.top-bar-social { display: flex; gap: 12px; margin-left: 16px; }
.top-bar-social a { color: rgba(255, 255, 255, 0.7); font-size: 0.85rem; }
.top-bar-social a:hover { color: var(--accent); }

.btn-whatsapp {
    background: #25d366;
    color: var(--white);
}

.btn-whatsapp i { font-size: 1.1rem; }

.btn-whatsapp:hover {
    background: #1ebe57;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp--top-bar {
    align-self: center;
}

/* Compact WhatsApp in top bar: same width, shorter height */
.btn.header-action-btn.btn-whatsapp--top-bar {
    padding: 8px 14px;
    font-size: 0.78rem;
    gap: 7px;
    line-height: 1;
}

.btn.header-action-btn.btn-whatsapp--top-bar i {
    font-size: 0.95rem;
}

/* NAVBAR */
.main-header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.main-header.scrolled { box-shadow: var(--shadow-md); }

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo picture {
    display: flex;
    align-items: center;
}

.logo-img {
    height: clamp(56px, 7.5vw, 72px);
    width: auto;
    max-width: 320px;
    object-fit: contain;
    object-position: left center;
    transition: var(--transition);
}

.logo:hover .logo-img {
    opacity: 0.85;
}

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

.nav-links a {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text);
    position: relative;
    padding: 4px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }

.mobile-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    cursor: pointer;
    color: var(--primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: inherit;
}

/* Shared header CTA buttons: exact equal width (WhatsApp + Order Now) */
.btn.header-action-btn {
    width: var(--header-btn-width);
    min-width: var(--header-btn-width);
    max-width: var(--header-btn-width);
    padding: 14px 16px;
    justify-content: center;
    white-space: nowrap;
    box-sizing: border-box;
    flex-shrink: 0;
    line-height: 1.2;
}

.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover {
    background: var(--accent-hover);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 102, 0, 0.35);
}

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

.btn-dark { background: var(--primary); color: var(--white); }
.btn-dark:hover { background: var(--primary-light); color: var(--white); }

.btn-white { background: var(--white); color: var(--primary); }
.btn-white:hover { background: var(--bg-light); color: var(--primary); }

/* SECTION TITLES */
.section-tag {
    display: inline-block;
    color: var(--accent);
    font-size: var(--text-small);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-title { margin-bottom: var(--section-title-gap); }
.section-title.center { text-align: center; }
.section-title h2 {
    font-size: var(--heading-section);
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-title p {
    color: var(--text-muted);
    font-size: var(--text-desc);
    line-height: 1.75;
    max-width: 600px;
    margin-bottom: 0;
}

.section-title.center p { margin: 0 auto; }

.cta-content .section-tag { color: var(--accent); }
.cta-content .section-title--flush { margin-bottom: 20px; }
.cta-content .section-title h2 { color: var(--white); }
.cta-content .section-title p {
    color: var(--text-on-dark-muted);
    max-width: 520px;
    margin-bottom: 28px;
}

.section-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: var(--section-title-gap);
    flex-wrap: wrap;
    gap: 20px;
}

/* Shared homepage section shell */
.about-section,
.services-section,
.projects-section,
.team-section,
.why-section,
.testimonials-section,
.subjects-section,
.news-section {
    padding: var(--section-y) 0;
    position: relative;
    overflow: hidden;
}

.stats-section { padding: var(--section-y-compact) 0; }
.clients-section { padding: var(--section-y) 0; position: relative; overflow: hidden; }
.cta-banner { padding: var(--section-y) 0; position: relative; overflow: hidden; }

/* Shared card surface */
.service-card,
.news-card,
.subject-card,
.why-card,
.testimonial-card,
.team-member-thumb {
    border: var(--card-border);
    border-radius: var(--radius-md);
    background: var(--surface);
}

.service-card,
.news-card {
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    overflow: hidden;
}

.service-card:hover,
.news-card:hover,
.subject-card:hover,
.why-card:hover,
.testimonial-card:hover {
    transform: translateY(var(--hover-lift));
    box-shadow: var(--shadow-md);
}

/* HERO */
.hero {
    position: relative;
    min-height: clamp(540px, 72vh, 660px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    overflow: hidden;
    background: var(--primary);
    padding-bottom: 64px;
}

.hero-carousel {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease, visibility 1s ease;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1);
    transition: transform 6s ease;
}

.hero-slide.active img {
    transform: scale(1.06);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(ellipse 80% 70% at 50% 45%, rgba(15, 18, 24, 0.35) 0%, rgba(15, 18, 24, 0.62) 100%),
        linear-gradient(180deg, rgba(15, 18, 24, 0.72) 0%, rgba(15, 18, 24, 0.52) 50%, rgba(15, 18, 24, 0.68) 100%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 45px clamp(72px, 8vw, 96px) 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-content {
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
}

.hero-title {
    font-size: var(--heading-section);
    font-weight: 800;
    line-height: 1.18;
    margin: 0 auto 20px;
    max-width: 720px;
    letter-spacing: -0.02em;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.hero-title-light {
    color: var(--white);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.32);
}

.hero-title-accent {
    color: var(--accent);
    position: relative;
    display: inline-block;
    padding-bottom: 6px;
    text-shadow: 0 2px 16px rgba(255, 102, 0, 0.25);
}

.hero-title-accent::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 72px;
    height: 3px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    border-radius: 2px;
}

.hero-lead {
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(1rem, 1.8vw, 1.125rem);
    max-width: 680px;
    margin: 0 auto 34px;
    line-height: 1.75;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.28);
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 0 auto 38px;
    max-width: 760px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 22px 11px 12px;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50px;
    color: var(--white);
    font-size: 0.92rem;
    font-weight: 600;
    transition: var(--transition);
}

.hero-badge:hover {
    background: rgba(0, 0, 0, 0.58);
    border-color: rgba(255, 102, 0, 0.45);
    color: var(--white);
    transform: translateY(-2px);
}

.hero-badge-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.35);
}

.hero-badge-icon i {
    font-size: 0.62rem;
    color: var(--white);
}

.btn-hero-cta {
    padding: 16px 38px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 6px;
    min-width: 190px;
    background: linear-gradient(180deg, #ff7722 0%, #e55a00 100%);
    box-shadow: 0 10px 28px rgba(255, 102, 0, 0.38);
}

.btn-hero-cta:hover {
    background: linear-gradient(180deg, #ff8833 0%, var(--accent) 100%);
    box-shadow: 0 14px 32px rgba(255, 102, 0, 0.45);
}

.hero-actions {
    display: flex;
    justify-content: center;
}

.hero-nav {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 4px;
    background: rgba(26, 29, 36, 0.58);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--white);
    cursor: pointer;
    transform: translateY(-50%);
    transition: var(--transition);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.hero-nav i {
    font-size: 0.95rem;
}

.hero-nav-prev { left: clamp(16px, 3vw, 32px); }
.hero-nav-next { right: clamp(16px, 3vw, 32px); }

.hero-nav:hover,
.hero-nav:focus-visible {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
    transform: translateY(-50%) scale(1.04);
    box-shadow: 0 10px 28px rgba(255, 102, 0, 0.35);
}

.hero-nav:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.85);
    outline-offset: 2px;
}

.hero-nav:active {
    transform: translateY(-50%) scale(0.98);
}

.hero-controls {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.hero-dots {
    display: flex;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(26, 29, 36, 0.45);
    backdrop-filter: blur(8px);
    border-radius: 50px;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    padding: 0;
}

.hero-dot.active {
    background: var(--accent);
    width: 28px;
    border-radius: 5px;
}

.hero-dot:hover { background: rgba(255, 255, 255, 0.85); }
.hero-dot.active:hover { background: var(--accent-hover); }

/* PAGE BANNER (inner pages) */
.page-banner {
    background: var(--primary);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: var(--accent);
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
    opacity: 0.12;
}

.page-banner--has-image {
    background-color: var(--primary);
    background-image: linear-gradient(135deg, rgba(26, 29, 36, 0.88) 0%, rgba(26, 29, 36, 0.78) 100%), var(--page-banner-image);
    background-size: cover;
    background-position: center;
}

.page-banner--has-image::before {
    opacity: 0.08;
}

.page-banner .container { position: relative; z-index: 2; }
.page-banner .hero-label { color: var(--accent); }
.page-banner h1 { font-size: 2.8rem; font-weight: 900; color: var(--white); margin-bottom: 12px; }
.page-banner p { color: rgba(255, 255, 255, 0.75); max-width: 560px; }
.page-banner .legal-updated {
    margin-top: 10px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.62);
    letter-spacing: 0.2px;
}

.breadcrumb {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 0.85rem;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--accent); }

/* ABOUT */
.about-section {
    background: linear-gradient(180deg, var(--white) 0%, var(--surface-alt) 50%, var(--white) 100%);
    overflow: visible;
}

.about-section-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 50% 40% at 12% 50%, rgba(255, 102, 0, 0.07) 0%, transparent 70%),
        radial-gradient(ellipse 40% 35% at 88% 30%, rgba(26, 29, 36, 0.04) 0%, transparent 70%);
}

.about-section::before {
    display: none;
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: clamp(40px, 5vw, 72px);
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-visual {
    position: relative;
}

.about-images-frame {
    position: relative;
    padding: clamp(16px, 2.5vw, 24px);
    border-radius: calc(var(--radius-md) + 4px);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.75) 100%);
    border: 1px solid rgba(255, 102, 0, 0.14);
    box-shadow: var(--shadow-md);
}

.about-images-frame::before {
    content: '';
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(255, 102, 0, 0.1);
    border-radius: var(--radius-md);
    pointer-events: none;
}

.about-images {
    position: relative;
    min-height: clamp(380px, 42vw, 460px);
}

.about-img-main {
    position: absolute;
    top: 0;
    left: 0;
    width: 78%;
    height: clamp(260px, 32vw, 340px);
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

.about-img-secondary {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 58%;
    height: clamp(200px, 24vw, 260px);
    object-fit: cover;
    border-radius: var(--radius-md);
    border: 5px solid var(--white);
    box-shadow: var(--shadow-lg);
    z-index: 3;
}

.about-img-accent {
    position: absolute;
    top: 18%;
    right: 8%;
    width: 42%;
    height: clamp(140px, 18vw, 180px);
    object-fit: cover;
    border-radius: var(--radius-md);
    opacity: 0.35;
    filter: blur(1px);
    z-index: 1;
    box-shadow: none;
    border: none;
    transform: none;
}

.about-experience-badge {
    position: absolute;
    top: clamp(16px, 3vw, 28px);
    right: clamp(-12px, -1vw, 8px);
    z-index: 4;
    min-width: 118px;
    padding: 18px 20px;
    text-align: center;
    background: linear-gradient(145deg, var(--accent) 0%, #ff8833 100%);
    color: var(--white);
    border-radius: var(--radius-md);
    box-shadow: 0 14px 32px rgba(255, 102, 0, 0.35);
}

.about-experience-value {
    display: block;
    font-size: clamp(1.75rem, 3vw, 2.1rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 6px;
}

.about-experience-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    line-height: 1.35;
    opacity: 0.95;
}

.about-content .section-title p {
    max-width: 540px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 32px;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    font-weight: 600;
    font-size: var(--text-body);
    transition: var(--transition);
}

.about-features li:hover {
    border-color: rgba(255, 102, 0, 0.28);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.about-features li:last-child:nth-child(odd) {
    grid-column: 1 / -1;
}

.about-feature-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(145deg, rgba(255, 102, 0, 0.16) 0%, rgba(255, 102, 0, 0.08) 100%);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    border: 1px solid rgba(255, 102, 0, 0.16);
}

.about-feature-text {
    line-height: 1.35;
}

.about-cta {
    padding: 14px 32px;
    font-weight: 700;
}

/* SERVICES */
#services.services-section {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(247, 248, 250, 0.98) 100%),
        url('../images/essay-writing.jpg') center / cover no-repeat;
    overflow: visible;
}

.services-section-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 55% 45% at 10% 20%, rgba(255, 102, 0, 0.08) 0%, transparent 70%),
        radial-gradient(ellipse 45% 40% at 90% 80%, rgba(26, 29, 36, 0.05) 0%, transparent 70%);
}

#services .services-section-inner {
    position: relative;
    z-index: 1;
}

#services .section-header-row {
    align-items: center;
    margin-bottom: clamp(36px, 4vw, var(--section-title-gap));
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(20px, 2.5vw, var(--grid-gap));
}

.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    isolation: isolate;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), #ff8833);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: 2;
}

.service-card:hover {
    border-color: rgba(255, 102, 0, 0.25);
    box-shadow: var(--shadow-lg);
    transform: translateY(var(--hover-lift));
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card-image {
    position: relative;
    height: clamp(180px, 22vw, 210px);
    overflow: hidden;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 29, 36, 0.45) 0%, transparent 55%);
    opacity: 0.85;
    transition: opacity 0.35s ease;
}

.service-card:hover .service-card-image img {
    transform: scale(1.07);
}

.service-card:hover .service-card-image-overlay {
    opacity: 1;
}

.service-category-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 1;
    padding: 6px 12px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--white);
    background: rgba(26, 29, 36, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.service-card-body {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0 clamp(22px, 2.5vw, 28px) clamp(24px, 3vw, 28px);
    margin-top: -28px;
}

.service-icon {
    width: var(--icon-size);
    height: var(--icon-size);
    border-radius: var(--icon-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 16px;
    color: var(--white);
    border: 4px solid var(--white);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.service-icon.orange {
    background: linear-gradient(145deg, var(--accent) 0%, #ff8833 100%);
}

.service-icon.dark {
    background: linear-gradient(145deg, var(--primary) 0%, var(--primary-light) 100%);
}

.service-card:hover .service-icon {
    transform: translateY(-3px) scale(1.05);
}

.service-card h3 {
    font-size: var(--heading-card);
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary);
    line-height: 1.35;
}

.service-card p {
    font-size: var(--text-body);
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 18px;
    flex: 1;
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    font-size: var(--text-small);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--accent);
    transition: var(--transition);
}

.service-card-link i {
    font-size: 0.75rem;
    transition: transform 0.35s ease;
}

.service-card:hover .service-card-link {
    color: var(--accent-hover);
}

.service-card:hover .service-card-link i {
    transform: translateX(4px);
}

.service-filters {
    display: inline-flex;
    gap: 6px;
    flex-wrap: wrap;
    padding: 6px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
}

.service-filter-btn {
    padding: 10px 22px;
    font-size: 0.82rem;
    font-weight: 700;
    border: none;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    border-radius: 50px;
}

.service-filter-btn.active,
.service-filter-btn:hover {
    background: linear-gradient(145deg, var(--accent) 0%, #ff8833 100%);
    color: var(--white);
    box-shadow: 0 6px 18px rgba(255, 102, 0, 0.28);
}

.service-filter-btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* CTA BANNER */
.cta-banner {
    background:
        linear-gradient(135deg, var(--surface-dark-overlay) 0%, rgba(26, 29, 36, 0.88) 100%),
        url('../images/hero-academic.jpg') center / cover no-repeat;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 35%;
    height: 100%;
    background: var(--accent);
    clip-path: polygon(0 0, 100% 0, 60% 100%, 0 100%);
    opacity: 0.15;
}

.cta-banner::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 25%;
    height: 100%;
    background: var(--accent);
    clip-path: polygon(40% 0, 100% 0, 100% 100%, 0 100%);
    opacity: 0.1;
}

.cta-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--grid-gap);
    align-items: center;
    position: relative;
    z-index: 2;
}

.cta-image img {
    width: 100%;
    max-height: 340px;
    object-fit: cover;
    border-radius: var(--radius-md);
    border: 4px solid rgba(255, 255, 255, 0.12);
}

/* PROJECTS */
.projects-section {
    background:
        linear-gradient(var(--surface-overlay), var(--surface-overlay)),
        url('../images/dissertation-research.jpg') center / cover no-repeat;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--grid-gap);
}

.project-card {
    position: relative;
    overflow: hidden;
    height: clamp(260px, 28vw, 340px);
    cursor: pointer;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    isolation: isolate;
}

.project-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    pointer-events: none;
    z-index: 2;
}

.project-card:hover,
.project-card:focus-within {
    transform: translateY(var(--hover-lift));
    box-shadow: var(--shadow-lg);
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover img,
.project-card:focus-within img {
    transform: scale(1.06);
}

.project-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to top,
        rgba(26, 29, 36, 0.94) 0%,
        rgba(26, 29, 36, 0.55) 42%,
        rgba(26, 29, 36, 0.08) 72%,
        transparent 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: clamp(20px, 3vw, 28px);
    padding-right: clamp(64px, 8vw, 76px);
    opacity: 1;
    transition: background 0.35s ease;
}

.project-card:hover .project-overlay,
.project-card:focus-within .project-overlay {
    background: linear-gradient(
        to top,
        rgba(26, 29, 36, 0.98) 0%,
        rgba(26, 29, 36, 0.62) 48%,
        rgba(26, 29, 36, 0.12) 78%,
        transparent 100%
    );
}

.project-tag {
    font-size: 0.75rem;
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.project-overlay h4 {
    color: var(--white);
    font-size: clamp(0.95rem, 1.6vw, 1.1rem);
    font-weight: 700;
    line-height: 1.35;
    max-width: 18ch;
}

.project-plus {
    position: absolute;
    bottom: clamp(20px, 3vw, 28px);
    right: clamp(20px, 3vw, 28px);
    z-index: 3;
    width: clamp(40px, 5vw, 44px);
    height: clamp(40px, 5vw, 44px);
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    border-radius: var(--radius-sm);
    opacity: 1;
    transform: translateY(0);
    box-shadow: 0 4px 14px rgba(255, 102, 0, 0.35);
    transition: var(--transition);
}

.project-plus i {
    font-size: 0.9rem;
    transition: transform 0.35s ease;
}

.project-card:hover .project-plus,
.project-card:focus-within .project-plus {
    background: var(--accent-hover);
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.45);
}

.project-card:hover .project-plus i,
.project-card:focus-within .project-plus i {
    transform: rotate(90deg);
}

/* TEAM */
.team-section {
    background:
        linear-gradient(var(--surface-overlay), var(--surface-overlay)),
        url('../images/student-success.jpg') center / cover no-repeat;
}

.team-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr 0.8fr;
    gap: var(--grid-gap);
    align-items: center;
}

.team-featured { position: relative; }
.team-featured img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-md);
}

.team-featured-info {
    position: absolute;
    bottom: -20px;
    left: 20px;
    background: var(--accent);
    color: var(--white);
    padding: 16px 24px;
    border-radius: var(--radius-sm);
}

.team-featured-info h4 { font-size: 1rem; font-weight: 700; }
.team-featured-info span { font-size: 0.8rem; opacity: 0.9; }

.team-members { display: flex; flex-direction: column; gap: 16px; }

.team-member-thumb {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    transition: var(--transition);
    cursor: pointer;
    width: 100%;
    text-align: left;
    font-family: inherit;
}

.team-member-thumb:hover, .team-member-thumb.active {
    border-color: rgba(255, 102, 0, 0.35);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    border-left: 3px solid var(--accent);
}

.team-member-thumb img { width: 60px; height: 60px; object-fit: cover; border-radius: 50%; }
.team-member-thumb h5 { font-size: 0.9rem; font-weight: 700; }
.team-member-thumb span { font-size: 0.78rem; color: var(--text-muted); }

.team-nav { display: flex; gap: 8px; margin-top: 16px; }

.team-nav button {
    width: 40px;
    height: 40px;
    border: var(--card-border);
    background: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-family: inherit;
    border-radius: var(--radius-sm);
}

.team-nav button:hover { background: var(--accent); border-color: var(--accent); color: var(--white); }

/* STATS */
.stats-section {
    border-top: var(--card-border);
    border-bottom: var(--card-border);
    background:
        linear-gradient(var(--surface-overlay), var(--surface-overlay)),
        url('../images/hero-bg.png') center / cover no-repeat;
}

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--grid-gap); text-align: center; }

.stat-item { position: relative; }

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 60px;
    width: 1px;
    background: var(--border);
}

.stat-item h2 { font-size: 2.8rem; font-weight: 900; color: var(--primary); line-height: 1; margin-bottom: 8px; }
.stat-item h2 span { color: var(--accent); }
.stat-item .stat-value { font-size: 2.8rem; font-weight: 900; color: var(--primary); line-height: 1; margin-bottom: 8px; }
.stat-item .stat-value .counter { color: var(--accent); }
.stat-item dd {
    font-size: var(--text-small);
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

/* CLIENTS */
.clients-section {
    background:
        linear-gradient(var(--surface-dark-overlay), rgba(26, 29, 36, 0.94)),
        url('../images/colleagues.jpg') center / cover no-repeat;
}

.clients-section .section-title h2 { color: var(--white); }
.clients-section .section-title p { color: var(--text-on-dark-muted); }
.clients-section .section-tag { color: var(--accent); }

.clients-carousel {
    position: relative;
    margin-top: var(--section-title-gap);
    display: flex;
    align-items: center;
    gap: 16px;
}

.clients-carousel-viewport {
    flex: 1;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.clients-carousel-track {
    display: flex;
    align-items: center;
    gap: 22px;
    width: max-content;
    animation: clientsMarquee 38s linear infinite;
    will-change: transform;
}

.clients-carousel.is-paused .clients-carousel-track,
.clients-carousel:hover .clients-carousel-track {
    animation-play-state: paused;
}

.clients-carousel.is-manual .clients-carousel-track {
    animation: none;
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes clientsMarquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.clients-carousel-item {
    flex: 0 0 220px;
    height: 92px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 24px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: var(--transition);
    overflow: hidden;
}

.clients-carousel-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 102, 0, 0.45);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.clients-carousel-item img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 48px;
    object-fit: contain;
    object-position: center;
    opacity: 0.88;
    transition: var(--transition);
}

.clients-carousel-item:hover img {
    opacity: 1;
    transform: scale(1.04);
}

.clients-carousel-btn {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(6px);
}

.clients-carousel-btn:hover,
.clients-carousel-btn:focus-visible {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
}

.clients-carousel-btn:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.85);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .clients-carousel-track {
        animation: none;
    }
}

/* WHY CHOOSE US */
.why-section {
    background:
        linear-gradient(var(--surface-overlay), var(--surface-overlay)),
        url('../images/hero-academic.jpg') center / cover no-repeat;
}

.why-section::before {
    content: '';
    position: absolute;
    right: -50px;
    top: 50%;
    width: 250px;
    height: 250px;
    border: 25px solid var(--bg-gray);
    transform: rotate(45deg) translateY(-50%);
    opacity: 0.4;
    z-index: 0;
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--grid-gap);
    align-items: center;
    position: relative;
    z-index: 1;
}

.why-year { display: flex; align-items: baseline; gap: 12px; margin-bottom: 24px; }

.why-year-label {
    font-size: var(--text-small);
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.why-year-number { font-size: 3.5rem; font-weight: 900; color: var(--accent); line-height: 1; }

.why-cards { display: flex; flex-direction: column; gap: 16px; }

.why-card {
    display: flex;
    gap: 20px;
    padding: 24px;
    transition: var(--transition);
}

.why-card.highlight { background: var(--primary); border-color: var(--primary); }

.why-card-icon {
    width: var(--icon-size);
    height: var(--icon-size);
    border-radius: var(--icon-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.why-card .why-card-icon { background: var(--accent-light); color: var(--accent); }
.why-card.highlight .why-card-icon { background: var(--accent); color: var(--white); }

.why-card h4 { font-size: var(--heading-card); font-weight: 700; margin-bottom: 6px; color: var(--primary); }
.why-card.highlight h4, .why-card.highlight p { color: var(--white); }
.why-card.highlight p { opacity: 0.75; }
.why-card p { font-size: var(--text-body); color: var(--text-muted); line-height: 1.65; }

/* TESTIMONIALS */
.testimonials-section {
    background: linear-gradient(180deg, var(--surface-alt) 0%, var(--surface) 50%, var(--surface-alt) 100%);
}

.testimonials-section-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 50% 55% at 85% 20%, rgba(255, 102, 0, 0.06) 0%, transparent 65%),
        radial-gradient(ellipse 40% 45% at 10% 90%, rgba(26, 29, 36, 0.04) 0%, transparent 70%);
}

.testimonials-section .container {
    position: relative;
    z-index: 1;
}

.testimonials-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
    gap: var(--grid-gap);
    align-items: center;
}

.testimonials-title {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: var(--heading-section);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.testimonials-title-light {
    color: var(--primary);
}

.testimonials-title-accent {
    color: var(--accent);
    position: relative;
    display: inline-block;
    width: fit-content;
    padding-bottom: 8px;
}

.testimonials-title-accent::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), transparent);
    border-radius: 2px;
}

.testimonials-intro p {
    color: var(--text-muted);
    font-size: var(--text-desc);
    margin-bottom: 24px;
    line-height: 1.75;
    max-width: 380px;
}

.testimonials-stats {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.testimonials-stat {
    flex: 1;
    min-width: 120px;
    padding: 16px 18px;
    background: var(--surface);
    border: var(--card-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.testimonials-stat strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1.1;
    margin-bottom: 4px;
}

.testimonials-stat span {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.testimonials-cta-btn {
    padding: 13px 28px;
    font-size: 0.88rem;
    font-weight: 700;
}

.testimonial-cards {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.testimonial-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--accent);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.35s ease;
}

.testimonial-card:hover {
    transform: translateY(var(--hover-lift));
    box-shadow: var(--shadow-md);
    border-color: rgba(255, 102, 0, 0.22);
}

.testimonial-card:hover::before {
    transform: scaleY(1);
}

.testimonial-card--2 {
    margin-left: 24px;
}

.testimonial-card-body {
    padding: 28px 28px 24px;
    position: relative;
}

.testimonial-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.testimonial-stars {
    display: flex;
    gap: 3px;
    color: #f59e0b;
    font-size: 0.82rem;
}

.testimonial-service {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--accent);
    background: var(--accent-light);
    padding: 5px 10px;
    border-radius: 50px;
}

.testimonial-quote-mark {
    position: absolute;
    top: 22px;
    right: 24px;
    font-size: 2rem;
    color: var(--accent);
    opacity: 0.12;
    line-height: 1;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.85;
    margin: 0;
    padding-right: 28px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 28px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    margin-top: auto;
}

.author-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.35);
}

.testimonial-author-info {
    flex: 1;
    min-width: 0;
}

.testimonial-name {
    font-size: 0.92rem;
    font-weight: 700;
    font-style: normal;
    display: block;
    color: var(--white);
    margin-bottom: 2px;
}

.testimonial-author-info span {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.65);
}

.testimonial-verified {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    white-space: nowrap;
    flex-shrink: 0;
}

.testimonial-verified i {
    color: #34d399;
    font-size: 0.85rem;
}

/* NEWS */
.news-section {
    background:
        linear-gradient(var(--surface-overlay), var(--surface-overlay)),
        url('../images/Generated_image12.png') center / cover no-repeat;
}

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--grid-gap); }

.news-image { position: relative; height: 220px; overflow: hidden; }
.news-image img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.news-card:hover .news-image img { transform: scale(1.05); }

.news-badge {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: var(--accent);
    color: var(--white);
    padding: 8px 14px;
    font-size: var(--text-small);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    border-radius: var(--radius-sm);
    line-height: 1.2;
    max-width: calc(100% - 32px);
}

.news-body { padding: 24px; }
.news-body h4 { font-size: var(--heading-card); font-weight: 700; margin-bottom: 10px; color: var(--primary); line-height: 1.4; }

.news-read:hover { color: var(--accent-hover); }

.news-excerpt { font-size: var(--text-body); color: var(--text-muted); line-height: 1.65; }

.news-meta {
    display: flex;
    gap: 16px;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.news-meta i { color: var(--accent); margin-right: 4px; }

.news-read {
    display: inline-block;
    margin-top: 12px;
    color: var(--accent);
    font-weight: 700;
    font-size: var(--text-small);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* SUBJECTS */
.subjects-section {
    background: linear-gradient(180deg, var(--surface-alt) 0%, var(--surface) 45%, var(--surface-alt) 100%);
    padding-bottom: 0;
}

.subjects-section-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 55% 45% at 8% 18%, rgba(255, 102, 0, 0.07) 0%, transparent 70%),
        radial-gradient(ellipse 45% 40% at 92% 82%, rgba(26, 29, 36, 0.05) 0%, transparent 70%);
}

.subjects-section .container {
    position: relative;
    z-index: 1;
}

.subjects-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px 24px;
    margin: 32px auto 44px;
    max-width: 720px;
}

.subjects-meta-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text);
    box-shadow: var(--shadow-sm);
}

.subjects-meta-badge i {
    color: var(--accent);
    font-size: 0.95rem;
}

.subjects-meta-badge strong {
    color: var(--accent);
    font-weight: 800;
}

.subjects-meta-divider {
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.subjects-meta-note {
    font-size: 0.88rem;
    color: var(--text-muted);
    font-weight: 500;
}

.subjects-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: clamp(14px, 2vw, 20px);
    list-style: none;
    padding: 0;
    margin: 0;
}

.subject-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(10px, 1.5vw, 14px);
    height: 100%;
    min-height: clamp(148px, 18vw, 168px);
    padding: clamp(22px, 3vw, 28px) clamp(14px, 2vw, 18px) clamp(18px, 2.5vw, 24px);
    text-decoration: none;
    color: var(--text);
    text-align: center;
    position: relative;
    overflow: hidden;
    border-color: rgba(255, 102, 0, 0.28);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.subject-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), #ff8833);
    transform: scaleX(1);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.subject-card:hover,
.subject-card:focus-visible {
    transform: translateY(var(--hover-lift));
    border-color: rgba(255, 102, 0, 0.45);
    box-shadow: var(--shadow-lg);
    color: var(--text);
    outline: none;
}

.subject-card-icon {
    width: clamp(48px, 5vw, var(--icon-size));
    height: clamp(48px, 5vw, var(--icon-size));
    border-radius: var(--icon-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(1.15rem, 2vw, 1.3rem);
    transition: var(--transition);
    flex-shrink: 0;
}

.subjects-grid li:nth-child(odd) .subject-card-icon {
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 8px 20px rgba(255, 102, 0, 0.28);
}

.subjects-grid li:nth-child(even) .subject-card-icon {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 8px 20px rgba(26, 29, 36, 0.2);
}

.subject-card:hover .subject-card-icon,
.subject-card:focus-visible .subject-card-icon {
    transform: scale(1.08);
}

.subject-card-label {
    font-size: clamp(0.85rem, 1.4vw, var(--text-body));
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.01em;
}

.subject-card-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(28px, 3.5vw, 30px);
    height: clamp(28px, 3.5vw, 30px);
    border-radius: 50%;
    font-size: 0.7rem;
    opacity: 1;
    transform: translateY(0);
    transition: var(--transition);
    margin-top: auto;
}

.subjects-grid li:nth-child(odd) .subject-card-arrow {
    background: var(--accent-light);
    color: var(--accent);
}

.subjects-grid li:nth-child(even) .subject-card-arrow {
    background: rgba(26, 29, 36, 0.08);
    color: var(--primary);
}

.subject-card:hover .subject-card-arrow,
.subject-card:focus-visible .subject-card-arrow {
    transform: translateX(3px);
}

.subjects-grid li:nth-child(odd) .subject-card:hover .subject-card-arrow,
.subjects-grid li:nth-child(odd) .subject-card:focus-visible .subject-card-arrow {
    background: var(--accent);
    color: var(--white);
}

.subjects-grid li:nth-child(even) .subject-card:hover .subject-card-arrow,
.subjects-grid li:nth-child(even) .subject-card:focus-visible .subject-card-arrow {
    background: var(--primary);
    color: var(--white);
}

.subjects-footnote {
    position: relative;
    width: 100%;
    margin-top: var(--section-title-gap);
    padding: 52px 0;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    overflow: hidden;
}

.subjects-footnote-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 12% 50%, rgba(255, 255, 255, 0.14) 0%, transparent 45%),
        radial-gradient(circle at 88% 40%, rgba(255, 255, 255, 0.1) 0%, transparent 40%);
}

.subjects-footnote-bg::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 32%;
    height: 100%;
    background: rgba(255, 255, 255, 0.06);
    clip-path: polygon(28% 0, 100% 0, 100% 100%, 0 100%);
}

.subjects-footnote-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.subjects-footnote p {
    color: var(--text-on-dark);
    font-size: clamp(1rem, 2vw, 1.125rem);
    font-weight: 500;
    line-height: 1.75;
    margin-bottom: 22px;
    max-width: 680px;
}

.subjects-footnote-btn {
    padding: 14px 32px;
    font-size: var(--text-small);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: var(--white);
    color: var(--accent);
    border: 2px solid var(--white);
    box-shadow: 0 8px 24px rgba(26, 29, 36, 0.15);
}

.subjects-footnote-btn:hover {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(26, 29, 36, 0.2);
}

/* FOOTER */
.footer-contact-strip {
    background: var(--primary-light);
    padding: 36px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    color: rgba(255, 255, 255, 0.85);
}

.footer-contact-item i {
    width: 48px;
    height: 48px;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
    flex-shrink: 0;
    border-radius: 3px;
}

.footer-contact-item h5 { font-size: 0.85rem; font-weight: 700; margin-bottom: 4px; }
.footer-contact-item p { font-size: 0.88rem; opacity: 0.8; }

footer { background: var(--primary); color: rgba(255, 255, 255, 0.7); }

.footer-main { padding: 0; }

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-top: 40px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo a {
    display: inline-block;
}

.footer-logo picture {
    display: flex;
    align-items: center;
}

.footer-logo-img {
    height: clamp(52px, 7vw, 68px);
    width: auto;
    max-width: 300px;
    object-fit: contain;
    object-position: left center;
    transition: var(--transition);
}

.footer-logo a:hover .footer-logo-img {
    opacity: 0.8;
}
.footer-desc { font-size: 0.9rem; line-height: 1.8; margin-bottom: 24px; }

.footer-social { display: flex; gap: 10px; }

.footer-social a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    border-radius: 3px;
}

.footer-social a:hover { background: var(--accent); border-color: var(--accent); color: var(--white); }

.footer-col h4 {
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { font-size: 0.88rem; transition: var(--transition); }
.footer-col ul li a:hover { color: var(--accent); padding-left: 6px; }

.footer-payments p { font-size: 0.88rem; margin-bottom: 16px; }

.payment-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
}

.payment-method {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 14px 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    transition: var(--transition);
    cursor: default;
}

.payment-method i {
    font-size: 1.75rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1;
}

.payment-method span {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.45);
}

.payment-method:hover {
    background: rgba(255, 102, 0, 0.1);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.payment-method:hover i { color: var(--accent); }
.payment-method:hover span { color: rgba(255, 255, 255, 0.75); }

.payment-secure {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem !important;
    color: rgba(255, 255, 255, 0.5) !important;
    margin-bottom: 0 !important;
}

.payment-secure i {
    color: var(--accent);
    font-size: 0.85rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 40px;
    padding: 28px 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.85rem;
}

/* INNER PAGE CONTENT */
.content-section { padding: 80px 0; }
.inner-content { padding: 80px 0; }

.showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.showcase-img img { width: 100%; object-fit: cover; box-shadow: var(--shadow-md); }

.content-text h2 { font-size: 2.2rem; font-weight: 800; margin-bottom: 20px; color: var(--primary); }
.content-text p { color: var(--text-muted); margin-bottom: 20px; }

.feature-card {
    position: relative;
    overflow: hidden;
    background: var(--white);
    padding: clamp(28px, 3vw, 40px) clamp(22px, 2.5vw, 32px);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    isolation: isolate;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), #ff8833);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(255, 102, 0, 0.06) 0%, transparent 55%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.feature-card:hover {
    border-color: rgba(255, 102, 0, 0.28);
    box-shadow: var(--shadow-lg);
    transform: translateY(var(--hover-lift));
}

.feature-card:hover::before { transform: scaleX(1); }
.feature-card:hover::after { opacity: 1; }

.feature-icon {
    width: var(--icon-size);
    height: var(--icon-size);
    background: linear-gradient(145deg, var(--accent) 0%, #ff8833 100%);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.15rem;
    margin-bottom: 22px;
    flex-shrink: 0;
    border-radius: var(--icon-radius);
    box-shadow: 0 10px 24px rgba(255, 102, 0, 0.28);
    transition: var(--transition);
}

.features-grid .feature-card:nth-child(even) .feature-icon {
    background: linear-gradient(145deg, var(--primary) 0%, var(--primary-light) 100%);
    box-shadow: 0 10px 24px rgba(26, 29, 36, 0.22);
}

.feature-card:hover .feature-icon {
    transform: translateY(-4px) scale(1.06);
}

.features-grid .feature-card:nth-child(even):hover .feature-icon {
    box-shadow: 0 14px 30px rgba(26, 29, 36, 0.28);
}

.feature-card > i {
    width: var(--icon-size);
    height: var(--icon-size);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-size: 1.35rem;
    margin-bottom: 22px;
    color: var(--accent);
    background: linear-gradient(145deg, rgba(255, 102, 0, 0.14) 0%, rgba(255, 102, 0, 0.06) 100%);
    border: 1px solid rgba(255, 102, 0, 0.18);
    border-radius: var(--icon-radius);
    box-shadow: 0 8px 22px rgba(255, 102, 0, 0.14);
    transition: var(--transition);
}

.features-grid .feature-card:nth-child(even) > i {
    color: var(--primary);
    background: linear-gradient(145deg, rgba(26, 29, 36, 0.08) 0%, rgba(26, 29, 36, 0.04) 100%);
    border-color: rgba(26, 29, 36, 0.1);
    box-shadow: 0 8px 22px rgba(26, 29, 36, 0.1);
}

.feature-card:hover > i {
    transform: translateY(-4px) scale(1.06);
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
    box-shadow: 0 12px 28px rgba(255, 102, 0, 0.32);
}

.features-grid .feature-card:nth-child(even):hover > i {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 12px 28px rgba(26, 29, 36, 0.25);
}

.feature-card h3 {
    font-size: var(--heading-card);
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--primary);
    width: 100%;
    line-height: 1.35;
    letter-spacing: 0.01em;
}

.feature-card p {
    font-size: var(--text-body);
    color: var(--text-muted);
    line-height: 1.75;
    width: 100%;
    margin: 0;
}

.features { padding: var(--section-y) 0; }

.features:not(.section-dark):not(.services-section) {
    background: linear-gradient(180deg, var(--surface-alt) 0%, var(--white) 55%, var(--surface-alt) 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(16px, 2vw, var(--grid-gap));
}

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 50px; align-items: start; }

.contact-info-card, .contact-form-card {
    background: var(--white);
    padding: 40px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

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

.contact-item-icon {
    width: 50px;
    height: 50px;
    background: var(--accent-light);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 0.88rem; }

.form-control {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 3px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
    background: var(--white);
}

.form-control:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-light); }

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.content-lead { margin-bottom: 24px; }

.content-checklist {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
    margin-bottom: 30px;
    list-style: none;
}

.content-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.45;
}

.content-checklist li i {
    color: var(--accent);
    margin-top: 3px;
    flex-shrink: 0;
}

.info-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.info-card {
    padding: 15px;
    border-left: 3px solid var(--accent);
    background: #f8fafc;
    border-radius: 0 12px 12px 0;
}

.info-card h4 {
    margin-bottom: 5px;
    font-size: 1rem;
    color: var(--primary);
}

.info-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

.dissertation-stages {
    display: grid;
    gap: 15px;
    margin-bottom: 32px;
}

.stage-card {
    padding: 15px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.stage-card h4 {
    color: var(--accent);
    margin-bottom: 5px;
    font-size: 1rem;
}

.stage-card p {
    font-size: 0.85rem;
    margin: 0;
    color: var(--text-muted);
}

.contact-card-title {
    font-size: clamp(1.35rem, 4vw, 1.8rem);
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--primary);
}

.contact-card-lead {
    color: var(--text-muted);
    margin-bottom: 32px;
}

.contact-form-title {
    font-size: clamp(1.15rem, 3.5vw, 1.4rem);
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--primary);
}

.page-success-section {
    padding: clamp(64px, 12vw, 100px) 0;
    min-height: 55vh;
    display: flex;
    align-items: center;
}

.page-success-card {
    background: var(--surface);
    padding: clamp(32px, 6vw, 60px);
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.page-success-icon {
    width: clamp(64px, 16vw, 80px);
    height: clamp(64px, 16vw, 80px);
    background: var(--success);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(1.75rem, 6vw, 2.5rem);
    margin: 0 auto 30px;
}

.page-success-card h2 {
    margin-bottom: 20px;
    font-size: clamp(1.35rem, 4vw, 1.75rem);
}

.page-success-card p {
    color: var(--text-muted);
    margin-bottom: 40px;
}

.nav-menu-cta { display: none; }

.inner-content h2 { font-size: 1.8rem; font-weight: 800; color: var(--primary); margin: 32px 0 16px; }
.inner-content p { color: var(--text-muted); margin-bottom: 16px; line-height: 1.8; }

/* LEGAL / TERMS PAGE */
.legal-section {
    position: relative;
    background: linear-gradient(180deg, var(--surface-alt) 0%, var(--surface) 45%, var(--surface-alt) 100%);
}

.legal-section-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 55% 45% at 8% 18%, rgba(255, 102, 0, 0.07) 0%, transparent 70%),
        radial-gradient(ellipse 45% 40% at 92% 82%, rgba(26, 29, 36, 0.05) 0%, transparent 70%);
}

.legal-section-inner {
    position: relative;
    z-index: 1;
}

.legal-layout {
    display: grid;
    grid-template-columns: minmax(240px, 280px) 1fr;
    gap: clamp(24px, 3vw, 40px);
    align-items: start;
}

.legal-sidebar {
    position: sticky;
    top: var(--legal-sticky-top);
    align-self: start;
    z-index: 20;
    max-height: calc(100vh - var(--legal-sticky-top) - 24px);
}

.legal-sidebar-card {
    max-height: inherit;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--white);
    border: var(--card-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: 24px 20px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 102, 0, 0.35) transparent;
}

.legal-sidebar-card::-webkit-scrollbar {
    width: 5px;
}

.legal-sidebar-card::-webkit-scrollbar-thumb {
    background: rgba(255, 102, 0, 0.35);
    border-radius: 4px;
}

.legal-sidebar-title {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--primary);
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}

.legal-nav ul {
    display: grid;
    gap: 6px;
}

.legal-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-muted);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.legal-nav a:hover,
.legal-nav a:focus-visible,
.legal-nav a.is-active {
    background: var(--accent-light);
    color: var(--accent);
    outline: none;
}

.legal-nav a.is-active {
    box-shadow: inset 3px 0 0 var(--accent);
}

.legal-nav-num {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--accent);
    background: var(--accent-light);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.legal-nav a:hover .legal-nav-num,
.legal-nav a:focus-visible .legal-nav-num,
.legal-nav a.is-active .legal-nav-num {
    background: var(--accent);
    color: var(--white);
}

.legal-document {
    display: grid;
    gap: var(--grid-gap);
}

.legal-block {
    background: var(--white);
    border: var(--card-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: clamp(24px, 3vw, 32px) clamp(22px, 2.5vw, 32px);
    transition: var(--transition);
    scroll-margin-top: var(--legal-sticky-top);
}

.legal-block:hover {
    border-color: rgba(255, 102, 0, 0.28);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

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

.legal-block-num {
    flex-shrink: 0;
    width: var(--icon-size);
    height: var(--icon-size);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--white);
    background: linear-gradient(145deg, var(--accent) 0%, #ff8833 100%);
    border-radius: var(--icon-radius);
    box-shadow: 0 8px 20px rgba(255, 102, 0, 0.25);
}

.legal-block:nth-child(even) .legal-block-num {
    background: linear-gradient(145deg, var(--primary) 0%, var(--primary-light) 100%);
    box-shadow: 0 8px 20px rgba(26, 29, 36, 0.2);
}

.legal-block h2 {
    font-size: var(--heading-card);
    font-weight: 700;
    color: var(--primary);
    line-height: 1.35;
    margin: 0;
}

.legal-block p {
    font-size: var(--text-body);
    color: var(--text-muted);
    line-height: 1.8;
    margin: 0 0 14px;
}

.legal-block p:last-child {
    margin-bottom: 0;
}

.section-dark { background: var(--primary); padding: var(--section-y) 0; }
.section-dark .section-title h2 { color: var(--white); }
.section-dark .section-title p { color: rgba(255, 255, 255, 0.7); }

.feature-card-dark {
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 100%) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.feature-card-dark::before {
    transform: scaleX(1);
    opacity: 0.85;
}

.feature-card-dark::after {
    background: radial-gradient(circle at 50% 0%, rgba(255, 102, 0, 0.12) 0%, transparent 60%);
    opacity: 1;
}

.feature-card-dark:hover {
    border-color: rgba(255, 102, 0, 0.4) !important;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
}

.feature-card-dark h3 { color: var(--white) !important; }
.feature-card-dark h3::before {
    content: '';
    display: block;
    width: 36px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), #ff8833);
    margin: 0 auto 14px;
    border-radius: 2px;
}
.feature-card-dark p { color: var(--text-on-dark-muted) !important; }

/* RESPONSIVE */
@media (max-width: 1100px) {
    .hero-title { font-size: 2.35rem; }
    .services-grid, .projects-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .projects-grid .project-card:nth-child(3):last-child {
        grid-column: 1 / -1;
        max-width: calc((100% - var(--grid-gap)) / 2);
        margin-inline: auto;
    }
    .subjects-grid { grid-template-columns: repeat(4, 1fr); }
    .team-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .clients-carousel-item { flex-basis: 200px; height: 84px; padding: 16px 20px; }
    .page-banner h1 { font-size: 2.45rem; }
    .content-text h2 { font-size: 2rem; }
}

@media (max-width: 992px) {
    :root {
        --header-height: 72px;
        --section-y: 72px;
        --section-y-compact: 64px;
        --section-title-gap: 40px;
    }

    .about-section,
    .services-section,
    .projects-section,
    .team-section,
    .why-section,
    .testimonials-section,
    .subjects-section,
    .news-section,
    .clients-section,
    .cta-banner,
    .features,
    .content-section {
        padding: 72px 0;
    }

    .subjects-section { padding-bottom: 0; }

    .stats-section { padding: 64px 0; }

    .hero { min-height: clamp(520px, 68vh, 580px); padding-bottom: 56px; }
    .hero-inner { padding: 14px clamp(64px, 10vw, 80px) 16px; }
    .hero-overlay {
        background: rgba(15, 18, 24, 0.68);
    }
    .hero-title { font-size: 2.2rem; }
    .hero-badges { gap: 10px; margin-bottom: 32px; }
    .hero-badge { padding: 10px 18px 10px 10px; font-size: 0.88rem; }
    .hero-nav { width: 46px; height: 46px; }

    .page-banner { padding: 80px 0 64px; }
    .page-banner h1 { font-size: 2.2rem; }
    .page-banner p { max-width: none; }
    .page-banner .btn { margin-top: 8px; }

    .about-grid, .why-grid, .cta-grid, .testimonials-layout, .showcase-grid, .contact-grid, .legal-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .showcase-grid { gap: 36px; }
    .cta-image { order: -1; }
    .cta-image img { max-height: 280px; }

    .about-images { min-height: 340px; }
    .about-img-main { width: 82%; height: 240px; }
    .about-img-secondary { width: 62%; height: 180px; }
    .about-experience-badge { right: 8px; top: 12px; padding: 14px 16px; min-width: 104px; }
    .about-features { grid-template-columns: 1fr; }
    .about-features li:last-child:nth-child(odd) { grid-column: auto; }

    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item:nth-child(2)::after { display: none; }

    .team-featured img { height: clamp(280px, 50vw, 380px); }
    .team-featured-info { left: 16px; bottom: -16px; padding: 14px 20px; }

    .why-year-number { font-size: 2.75rem; }
    .why-card { padding: 20px; gap: 16px; }

    .content-text h2 { font-size: 1.85rem; }

    .nav-links { display: none; }
    .nav-actions .btn-primary { display: none; }
    .mobile-toggle { display: flex; }
    .nav-menu-cta { display: block; width: 100%; }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 20px 24px 24px;
        box-shadow: var(--shadow-md);
        gap: 4px;
        max-height: calc(100dvh - var(--header-height) - 48px);
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        animation: slideDown 0.3s ease;
        border-top: 1px solid var(--border);
    }

    .nav-links.active a {
        display: block;
        padding: 12px 0;
        font-size: 0.95rem;
    }

    .nav-links.active .nav-menu-cta {
        margin-top: 12px;
        padding-top: 16px;
        border-top: 1px solid var(--border);
    }

    .nav-links.active .nav-menu-cta .btn {
        width: 100%;
        max-width: 280px;
        min-width: 0;
        margin: 0 auto;
        padding: 14px 20px;
        border-radius: var(--radius-sm);
    }

    .nav-links.active .nav-menu-cta .btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(255, 102, 0, 0.35);
    }

    .main-header .container-fluid { position: relative; }

    .btn.header-action-btn {
        width: auto;
        min-width: 0;
        max-width: none;
    }

    .top-bar { font-size: 0.78rem; padding: 6px 0; }
    .top-bar-left, .top-bar-right { gap: 16px; }

    .nav-links.active a { min-height: 44px; display: flex; align-items: center; }

    .footer-contact-grid { grid-template-columns: 1fr; }
    .subjects-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .testimonial-card--2 { margin-left: 0; }
    .testimonials-layout { gap: 40px; }

    #services .section-header-row {
        flex-direction: column;
        align-items: flex-start;
    }

    #services .service-filters {
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        overscroll-behavior-x: contain;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        border-radius: var(--radius-md);
        max-width: 100%;
    }

    #services .service-filters::-webkit-scrollbar { display: none; }

    #services .service-filter-btn {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .legal-sidebar {
        top: var(--header-height);
        max-height: none;
        z-index: 100;
        margin-bottom: 8px;
    }

    .legal-sidebar-card {
        max-height: none;
        overflow: visible;
        padding: 16px 20px;
        box-shadow: var(--shadow-sm);
    }

    .legal-nav ul {
        display: flex;
        flex-wrap: nowrap;
        gap: 8px;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x proximity;
        padding-bottom: 4px;
        scrollbar-width: none;
    }

    .legal-nav ul::-webkit-scrollbar {
        display: none;
    }

    .legal-nav li {
        flex: 0 0 auto;
        scroll-snap-align: start;
    }

    .legal-nav a {
        padding: 8px 14px;
        white-space: nowrap;
        border: 1px solid var(--border);
        background: var(--surface-alt);
    }

    .legal-nav a.is-active {
        border-color: rgba(255, 102, 0, 0.35);
        box-shadow: none;
    }

    .legal-nav-num {
        width: 24px;
        height: 24px;
        font-size: 0.65rem;
    }

    .contact-info-card,
    .contact-form-card {
        padding: clamp(28px, 5vw, 36px);
    }

    .contact-grid { gap: 32px; }
}

@media (max-width: 768px) {
    :root {
        --header-height: 68px;
        --section-y: 64px;
        --section-y-compact: 56px;
        --section-title-gap: 32px;
        --grid-gap: 20px;
    }

    .top-bar-inner {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 4px 14px;
        padding-block: 2px;
    }

    .top-bar-left,
    .top-bar-right {
        justify-content: center;
        flex-wrap: wrap;
        gap: 6px 12px;
    }

    .top-bar-social { margin-left: 0; }
    .top-bar { font-size: 0.75rem; padding: 6px 0; }

    .logo-img { height: clamp(48px, 6vw, 58px); max-width: 280px; }

    .services-grid, .projects-grid, .news-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .projects-grid .project-card:nth-child(3):last-child {
        grid-column: auto;
        max-width: none;
        margin-inline: 0;
    }
    .project-card { height: clamp(240px, 52vw, 300px); }
    .project-overlay { padding-right: clamp(20px, 3vw, 28px); }
    .project-overlay h4 { max-width: none; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item:nth-child(2)::after { display: none; }

    .section-title h2,
    .testimonials-title,
    .hero-title,
    .page-banner h1 { font-size: 2rem; }

    .content-text h2 { font-size: 1.65rem; }

    .page-banner { padding: 72px 0 56px; }

    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-main { padding-bottom: env(safe-area-inset-bottom, 0); }
    .footer-social { justify-content: flex-start; }
    .footer-logo-img { height: clamp(44px, 5.5vw, 54px); max-width: 260px; }

    .clients-carousel { gap: 10px; margin-top: 36px; }
    .clients-carousel-btn { display: none; }
    .clients-carousel-viewport {
        mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
        -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
    }
    .clients-carousel-item { flex-basis: 180px; height: 78px; padding: 14px 18px; }

    .subjects-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .subject-card { min-height: 140px; padding: 20px 12px 18px; }
    .subject-card-icon { width: 46px; height: 46px; font-size: 1.1rem; }
    .subject-card-label { font-size: 0.82rem; }
    .subject-card-arrow { width: 26px; height: 26px; }
    .subjects-meta-divider { display: none; }
    .subjects-meta { flex-direction: column; gap: 12px; }
    .subjects-footnote { padding: 40px 0; }
    .subjects-footnote p { margin-bottom: 18px; }

    .testimonials-intro p { max-width: none; }
    .testimonials-stats { gap: 12px; }
    .testimonials-stat { min-width: calc(50% - 6px); flex: 1 1 calc(50% - 6px); }
    .testimonial-verified { display: none; }

    .form-row,
    .content-checklist,
    .info-cards-grid {
        grid-template-columns: 1fr;
    }

    .showcase-grid { gap: 28px; }

    .contact-item {
        align-items: flex-start;
    }

    .contact-item-value {
        word-break: break-word;
    }

    .payment-methods {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .payment-method {
        padding: 12px 6px;
    }

    .payment-method i {
        font-size: 1.45rem;
    }

    .feature-card {
        padding: 28px 22px;
    }

    .form-control {
        font-size: 16px;
    }

    .cta-content .btn {
        width: 100%;
        max-width: 320px;
    }

    .legal-block {
        padding: 24px 20px;
    }

    .section-header-row {
        margin-bottom: 28px;
    }
}

@media (max-width: 576px) {
    .hero { min-height: clamp(480px, 62vh, 540px); padding-bottom: 50px; }
    .hero-inner { padding: 10px clamp(48px, 12vw, 60px) 12px; }
    .hero-title { font-size: 1.75rem; }
    .hero-lead { font-size: 0.88rem; margin-bottom: 26px; line-height: 1.7; }

    .page-banner { padding: 60px 0 44px; }
    .page-banner h1 { font-size: 1.65rem; }
    .page-banner p { font-size: 0.88rem; }
    .page-banner .btn {
        width: 100%;
        max-width: 320px;
    }

    .breadcrumb {
        flex-wrap: wrap;
        font-size: 0.78rem;
        margin-bottom: 14px;
    }

    .btn {
        padding: 12px 22px;
        font-size: 0.8rem;
    }

    .btn-whatsapp--top-bar span { display: none; }

    .btn.header-action-btn.btn-whatsapp--top-bar {
        width: auto;
        min-width: 44px;
        padding: 8px 12px;
    }

    .top-bar { padding: 5px 0; }
    .top-bar-inner { gap: 3px 10px; }
    .top-bar-left, .top-bar-right { gap: 4px 10px; }

    .top-bar-item .contact-link-label { display: none; }

    .top-bar-item i {
        font-size: 0.95rem;
        width: 28px;
        height: 28px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.08);
        border-radius: 50%;
    }

    .top-bar-contact-link {
        position: absolute;
        inset: 0;
    }

    .top-bar-item {
        position: relative;
    }

    .logo-img { height: clamp(42px, 5.5vw, 52px); max-width: 260px; }

    .about-images { min-height: 280px; }
    .about-img-main { width: 86%; height: 200px; }
    .about-img-secondary { width: 66%; height: 150px; }
    .about-experience-badge {
        right: 4px;
        top: 8px;
        padding: 10px 12px;
        min-width: 86px;
    }
    .about-experience-value { font-size: 1.5rem; }
    .about-experience-label { font-size: 0.65rem; }

    .team-featured img { height: clamp(220px, 56vw, 300px); }
    .team-featured-info { padding: 12px 16px; left: 12px; bottom: -14px; }
    .team-featured-info h4 { font-size: 0.9rem; }
    .team-featured-info span { font-size: 0.75rem; }

    .team-member-thumb { padding: 10px 12px; gap: 12px; }
    .team-member-thumb img { width: 50px; height: 50px; }

    .why-year {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .why-year-number { font-size: 2.2rem; }
    .why-card { padding: 18px; gap: 14px; }
    .why-card-icon { width: 44px; height: 44px; font-size: 1rem; }

    .testimonials-stat {
        min-width: 100%;
        flex-basis: 100%;
    }

    .testimonial-card-body { padding: 22px 20px 18px; }
    .testimonial-text { font-size: 0.88rem; padding-right: 16px; }
    .testimonial-author { padding: 14px 20px; gap: 12px; }
    .author-avatar { width: 40px; height: 40px; font-size: 0.78rem; }

    .subjects-grid { grid-template-columns: repeat(2, 1fr); }
    .subjects-footnote { padding: 36px 0; }

    .contact-info-card,
    .contact-form-card {
        padding: 22px 18px;
    }

    .contact-card-title { font-size: 1.25rem; }
    .contact-form-title { font-size: 1.1rem; }
    .contact-item-icon { width: 44px; height: 44px; font-size: 1rem; }

    .footer-contact-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .footer-contact-item i { width: 42px; height: 42px; font-size: 1rem; }

    .footer-contact-item p {
        word-break: break-word;
    }

    .footer-col h4 { margin-bottom: 16px; font-size: 0.9rem; }
    .footer-desc { font-size: 0.85rem; }

    .footer-bottom { padding: 20px 0 16px; font-size: 0.8rem; }

    .disclaimer {
        font-size: 0.75rem;
        line-height: 1.5;
    }

    .content-section { padding: 56px 0; }
    .content-text h2 { font-size: 1.5rem; }
    .content-lead { font-size: 0.9rem; }

    .section-tag { font-size: 0.75rem; letter-spacing: 1.5px; }

    .news-image { height: 180px; }
    .news-body h4 { font-size: 1rem; }

    .service-card-image { height: 170px; }

    .feature-card { padding: 24px 18px; }
    .feature-icon { width: 46px; height: 46px; font-size: 1rem; margin-bottom: 18px; }
}

@media (max-width: 480px) {
    .container { padding: 0 14px; }
    .container-fluid { padding: 0 12px; }

    :root {
        --header-height: 60px;
    }

    .hero { min-height: clamp(440px, 58vh, 500px); padding-bottom: 46px; }
    .hero-inner { padding: 8px 42px 10px; }
    .hero-title { font-size: 1.5rem; }
    .hero-title-accent::after { width: 48px; }
    .hero-lead { margin-bottom: 22px; font-size: 0.85rem; }
    .hero-badges { flex-direction: column; align-items: center; gap: 8px; }
    .hero-badge { width: 100%; max-width: 280px; justify-content: center; font-size: 0.82rem; padding: 9px 16px 9px 9px; }
    .hero-badge-icon { width: 22px; height: 22px; }
    .hero-badge-icon i { font-size: 0.55rem; }
    .btn-hero-cta { width: 100%; max-width: 280px; padding: 14px 28px; font-size: 0.88rem; }
    .hero-nav { width: 36px; height: 36px; }
    .hero-nav i { font-size: 0.8rem; }
    .hero-nav-prev { left: 8px; }
    .hero-nav-next { right: 8px; }
    .hero-controls { bottom: 18px; }
    .hero-dots { padding: 8px 12px; gap: 6px; }
    .hero-dot { width: 8px; height: 8px; }
    .hero-dot.active { width: 22px; }

    .top-bar { padding: 4px 0; }
    .top-bar-inner {
        gap: 0 8px;
        justify-content: center;
    }
    .top-bar-left, .top-bar-right { gap: 4px 8px; }

    .top-bar-social a { font-size: 0.78rem; }

    .top-bar-item i {
        width: 26px;
        height: 26px;
        font-size: 0.85rem;
    }

    .logo-img { height: clamp(38px, 5vw, 46px); max-width: 240px; }

    .mobile-toggle { width: 40px; height: 40px; font-size: 1.2rem; }

    .nav-links.active {
        padding: 16px 18px 20px;
    }

    .nav-links.active a {
        padding: 14px 0;
        font-size: 0.92rem;
    }

    .page-banner { padding: 52px 0 40px; }
    .page-banner h1 { font-size: 1.45rem; }
    .page-banner p { font-size: 0.85rem; }

    .content-text h2 { font-size: 1.35rem; }
    .content-text p { font-size: 0.88rem; }

    .section-title h2,
    .testimonials-title { font-size: 1.45rem; }

    .stats-grid { grid-template-columns: 1fr; }
    .stat-item::after { display: none !important; }
    .stat-item .stat-value { font-size: 2.2rem; }

    .subject-card { padding: 20px 12px 18px; min-height: 130px; }
    .subject-card-icon { width: 42px; height: 42px; font-size: 1rem; }

    .service-filter-btn {
        padding: 8px 14px;
        font-size: 0.75rem;
    }

    .news-body,
    .service-card-body {
        padding: 18px 16px 20px;
    }

    .news-body h4,
    .service-card h3 { font-size: 1rem; }

    .cta-image img { max-height: 220px; }

    .about-images { min-height: 260px; }
    .about-img-main { height: 180px; }
    .about-img-secondary { height: 130px; }

    .legal-block { padding: 20px 16px; }
    .legal-block-num { width: 42px; height: 42px; font-size: 0.8rem; }
    .legal-block h2 { font-size: 1rem; }
    .legal-block-header { gap: 12px; }

    .footer-grid { gap: 28px; padding-top: 32px; }
    .footer-bottom { margin-top: 28px; padding: 18px 0 14px; }
    .footer-social a { width: 36px; height: 36px; }

    .payment-method { padding: 10px 6px; }
    .payment-method i { font-size: 1.3rem; }
    .payment-method span { font-size: 0.6rem; }
}

@media (max-width: 360px) {
    .container { padding: 0 12px; }
    .container-fluid { padding: 0 10px; }

    .hero-inner { padding-inline: 36px; }
    .hero-title { font-size: 1.35rem; }
    .hero-lead { font-size: 0.82rem; }
    .hero-badge { max-width: none; }
    .btn-hero-cta { max-width: none; font-size: 0.82rem; }

    .logo-img { height: clamp(34px, 4.5vw, 42px); max-width: 220px; }

    .page-banner h1 { font-size: 1.3rem; }
    .page-banner p { font-size: 0.82rem; }

    .section-title h2,
    .testimonials-title { font-size: 1.3rem; }

    .content-text h2 { font-size: 1.25rem; }

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

    .payment-methods { grid-template-columns: 1fr; }
    .payment-method {
        flex-direction: row;
        justify-content: flex-start;
        padding: 10px 14px;
        gap: 12px;
    }

    .footer-logo-img { height: 40px; max-width: 220px; }
    .footer-desc { font-size: 0.82rem; }
    .footer-col ul li a { font-size: 0.82rem; }

    .btn { padding: 11px 20px; font-size: 0.78rem; }

    .why-card { padding: 16px; }
    .why-card-icon { width: 40px; height: 40px; font-size: 0.9rem; }
    .why-year-number { font-size: 2rem; }

    .testimonial-card-body { padding: 18px 16px 14px; }
    .testimonial-author { padding: 12px 16px; }
    .author-avatar { width: 36px; height: 36px; font-size: 0.72rem; }
    .testimonial-text { font-size: 0.85rem; line-height: 1.75; }

    .contact-info-card,
    .contact-form-card { padding: 20px 16px; }

    .feature-card { padding: 22px 16px; }
    .feature-icon { width: 42px; height: 42px; font-size: 0.92rem; margin-bottom: 16px; }
    .feature-card h3 { font-size: 1rem; }
    .feature-card p { font-size: 0.85rem; }
}

@media (max-width: 320px) {
    .logo-img { height: 32px; max-width: 200px; }
    .hero-title { font-size: 1.2rem; }
    .hero-inner { padding-inline: 30px; }
    .section-title h2 { font-size: 1.2rem; }
    .page-banner h1 { font-size: 1.15rem; }
    .footer-logo-img { height: 34px; max-width: 200px; }
}

/* Landscape phones: reduce hero height and section padding */
@media (max-height: 500px) and (orientation: landscape) {
    .hero { min-height: 360px; padding-bottom: 32px; }
    .hero-inner { padding-top: 8px; padding-bottom: 8px; }
    .hero-title { font-size: 1.5rem; }
    .hero-lead { margin-bottom: 16px; }
    .hero-badges { margin-bottom: 20px; }
    .hero-nav { width: 36px; height: 36px; }
    .hero-controls { bottom: 12px; }

    .top-bar { display: none; }

    .page-banner { padding: 48px 0 36px; }
    .page-banner h1 { font-size: 1.5rem; }

    .nav-links.active {
        max-height: calc(100dvh - var(--header-height) - 8px);
        padding: 12px 18px 16px;
    }

    .nav-links.active a { padding: 10px 0; }
}

/* Short landscape with narrow height */
@media (max-height: 420px) and (orientation: landscape) {
    .hero { min-height: 300px; }
    .hero-badges { display: none; }
    .hero-lead { display: none; }
}
