:root {
    --primary-color: #2A4D69;
    --primary-dark: #1b3249;
    --secondary-color: #F0F4F8;
    --surface-color: #ffffff;
    --background-color: #f6f8fb;
    --text-color: #253046;
    --muted-color: #6A7387;
    --accent-color: #4B86B4;
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 10px;
    --shadow-md: 0 20px 45px rgba(29, 55, 110, 0.12);
    --shadow-sm: 0 10px 24px rgba(37, 48, 70, 0.1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-color);
    background: var(--background-color);
    line-height: 1.6;
}

html {
    scroll-behavior: smooth;
}

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

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

.hp-has-background {
    position: relative;
    overflow: hidden;
}

.hp-has-background::before,
.hp-has-background::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hp-has-background::before {
    background-image: var(--section-bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    opacity: 1;
}

.hp-has-background::after {
    background: linear-gradient(180deg, rgba(17, 32, 56, 0.28), rgba(17, 32, 56, 0.35));
    z-index: 1;
    opacity: 0.24;
}

.hp-has-background>* {
    position: relative;
    z-index: 2;
}

.hp-hero.hp-has-background::after {
    opacity: 0.34;
}

.hp-section-cta.hp-has-background::after {
    opacity: 0.42;
}

.hp-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.hp-navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
}

.hp-brand {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hp-brand .hp-logo {
    height: 36px;
    width: auto;
}

.hp-nav-links {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
}

.hp-nav-links li {
    margin: 0;
    white-space: nowrap;
}

.hp-nav-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.95rem;
    padding: 0.25rem 0;
}

.hp-nav-links a.is-active {
    color: var(--primary-color);
}

.hp-nav-links a.is-active .hp-nav-label {
    position: relative;
}

.hp-nav-links a.is-active .hp-nav-label::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.55rem;
    height: 2px;
    border-radius: 999px;
    background: var(--primary-color);
    opacity: 0.9;
}

.hp-nav-label {
    display: inline-flex;
    align-items: center;
}

.hp-bottom-nav {
    display: none;
}

.hp-bottom-nav__link {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    min-width: 0;
}

.hp-bottom-nav__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.65rem;
    height: 1.65rem;
    color: inherit;
    transition: transform 0.2s ease, color 0.2s ease;
}

.hp-bottom-nav__svg {
    width: 1.45rem;
    height: 1.45rem;
    display: block;
}

.hp-bottom-nav__label {
    line-height: 1.2;
    font-size: 0.6rem;
}

.hp-hero {
    padding: 8rem 1.5rem 4.5rem;
    background: linear-gradient(135deg, var(--secondary-color), var(--background-color));
    background: linear-gradient(135deg, color-mix(in srgb, var(--primary-color) 12%, transparent), color-mix(in srgb, var(--accent-color) 18%, transparent));
    position: relative;
}

.hp-hero-inner {
    max-width: 100%;
    margin: 0 auto;
    display: grid;
    gap: 2.5rem;
    width: 100%;
    justify-items: center;
}

.hp-hero-content {
    max-width: 620px;
}

.hp-hero h1 {
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.12;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.hp-hero p {
    font-size: 1.1rem;
    color: var(--muted-color);
    margin-bottom: 2rem;
}

.hp-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hp-hero-carousel {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.75);
    padding: 0;
    box-shadow: none;
    backdrop-filter: blur(6px);
    width: 100%;
    margin: 0 auto;
    justify-self: center;
    max-width: 1200px;
}

.hp-hero-track {
    display: flex;
    transition: transform 0.6s ease;
    width: 100%;
    gap: 0;
}

.hp-hero-slide {
    min-width: 100%;
    display: grid;
    gap: 1.75rem;
    justify-items: center;
    text-align: center;
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    padding: clamp(2.5rem, 5vw, 3.5rem);
}

.hp-hero-slide h1 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.2rem);
    color: var(--primary-dark);
}

.hp-carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(37, 48, 70, 0.15);
    background: #fff;
    color: var(--primary-dark);
    display: grid;
    place-items: center;
    font-size: 1.4rem;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(15, 26, 46, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    z-index: 2;
}

.hp-carousel-arrow:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 14px 26px rgba(15, 26, 46, 0.2);
}

.hp-carousel-prev {
    left: 1.25rem;
}

.hp-carousel-next {
    right: 1.25rem;
}

.hp-carousel-dots {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding-bottom: 1.75rem;
}

.hp-carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: none;
    background: rgba(37, 48, 70, 0.25);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    z-index: 2;
}

.hp-carousel-dot.is-active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.hp-hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hp-hero-cards {
    display: grid;
    gap: 1.5rem;
    width: 100%;
}

.hp-hero-card {
    background: var(--surface-color);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    min-width: min(320px, 100%);
    display: grid;
    gap: 1.25rem;
    height: 100%;
    align-content: start;
}

.hp-hero-card--mentors {
    display: grid;
    gap: 1.25rem;
}

.hp-hero-card--mentors ul {
    margin-bottom: 1.5rem;
}

.hp-hero-card--stat {
    display: grid;
    gap: 0.65rem;
    text-align: center;
    align-content: center;
}

.hp-hero-card--stat .hp-price-tag {
    margin-top: 1rem;
}

.hp-hero-card--stat .hp-price-tag {
    justify-content: center;
}

.hp-hero-card h2 {
    margin-top: 0;
    font-size: 1.15rem;
    color: var(--primary-dark);
}

.hp-hero-card ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    display: grid;
    gap: 1rem;
}

.hp-mentor-name {
    font-weight: 600;
    display: block;
    color: var(--text-color);
}

.hp-mentor-meta {
    font-size: 0.9rem;
    color: var(--muted-color);
}

.hp-link {
    color: var(--primary-color);
    font-weight: 600;
}

.hp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 999px;
    font-weight: 600;
    border: 2px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.hp-btn:focus-visible {
    outline: 3px solid rgba(75, 134, 180, 0.4);
    outline-offset: 2px;
}

.hp-btn-primary {
    background: var(--primary-color);
    color: #fff;
    box-shadow: var(--shadow-sm);
}

.hp-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(42, 77, 105, 0.22);
}

.hp-btn-outline {
    background: transparent;
    border-color: rgba(42, 77, 105, 0.35);
    color: var(--primary-dark);
}

.hp-btn-outline:hover {
    background: rgba(42, 77, 105, 0.08);
}

.hp-btn-light {
    background: #ffffff;
    color: var(--primary-color);
    border-color: rgba(42, 77, 105, 0.18);
    box-shadow: var(--shadow-sm);
}

.hp-btn-light:hover {
    background: var(--secondary-color);
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(17, 32, 56, 0.28);
}

.hp-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
    position: relative;
}

.hp-section--compact {
    padding: 3rem 1.5rem;
}

.hp-section--compact-top {
    padding-top: 2.5rem;
}

.hp-section--compact-bottom {
    padding-bottom: 2.5rem;
}

.hp-home {
    --home-section-space: clamp(3rem, 4vw, 4rem);
    --home-section-width: 1100px;
    --home-section-gap: clamp(1.5rem, 2.5vw, 2rem);
}

.hp-home .hp-hero {
    padding-bottom: var(--home-section-space);
}

.hp-home .hp-hero-carousel {
    max-width: var(--home-section-width);
}

.hp-home .hp-section {
    padding: var(--home-section-space) 1.5rem;
    max-width: calc(var(--home-section-width) + 3rem);
    display: grid;
    gap: var(--home-section-gap);
}

.hp-home .hp-section>* {
    width: 100%;
    max-width: var(--home-section-width);
    margin-left: auto;
    margin-right: auto;
}

.hp-home .hp-section-heading {
    max-width: 100%;
    margin: 0 auto;
}

.hp-home .hp-section-heading h2 {
    margin: 0 0 0.75rem;
}

.hp-home .hp-section-heading p {
    margin: 0;
}

.hp-home .hp-services-grid {
    margin-top: 0;
}

.hp-home .hp-section> :first-child {
    margin-top: 0;
}

.hp-home .hp-section> :last-child {
    margin-bottom: 0;
}

.hp-home .hp-home-card,
.hp-home .hp-faq {
    max-width: var(--home-section-width);
}

.hp-home .hp-gallery-strip {
    padding-bottom: 0;
    justify-content: center;
}

#consultation.hp-section {
    margin-top: 3rem;
}

.hp-section-alt {
    background: var(--surface-color);
    border-radius: var(--radius-lg);
    margin-top: 2rem;
    box-shadow: var(--shadow-sm);
}

.hp-section-heading {
    max-width: 760px;
    margin: 0 auto 2.5rem;
    text-align: center;
}

.hp-section-heading h2 {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.hp-section-heading p {
    color: var(--muted-color);
    font-size: 1.05rem;
}

.hp-section-split {
    display: grid;
    gap: 2rem;
    background: var(--surface-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.hp-section-content {
    padding: 2.5rem;
}

.hp-section-actions {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.hp-section-actions--dual .hp-btn {
    font-size: 0.95rem;
}

.hp-section-visual {
    background: var(--secondary-color);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem;
}

.hp-stat-card {
    background: var(--surface-color);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.hp-stat-label {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted-color);
    font-size: 0.8rem;
    display: block;
}

.hp-stat-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.hp-stat-note {
    color: var(--muted-color);
}

.hp-price-tag {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    color: var(--primary-dark);
}

.hp-price-tag strong {
    font-size: 1.6rem;
    font-weight: 700;
}

.hp-price-tag span {
    font-size: 0.95rem;
    color: var(--muted-color);
}

.hp-home-card {
    background: var(--surface-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: clamp(2rem, 5vw, 2.75rem);
    display: grid;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.hp-home-card h2 {
    margin: 0;
    color: var(--primary-dark);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.hp-home-card p {
    margin: 0;
    color: var(--muted-color);
    font-size: 1.05rem;
    line-height: 1.65;
}

.hp-services-grid {
    display: grid;
    gap: 1.5rem;
    margin-top: 2.5rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

#updates .hp-services-grid {
    justify-content: center;
}

.hp-services-grid--center {
    justify-content: center;
}

.hp-services-grid--center .hp-service-card {
    text-align: center;
    justify-items: center;
}

.hp-services-grid--center .hp-section-actions {
    justify-content: center;
}

.hp-services-grid--center .hp-bullets {
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.hp-service-card {
    background: var(--surface-color);
    padding: 1.85rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    display: grid;
    gap: 0.75rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    align-content: start;
}

.hp-service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.hp-service-card h3 {
    margin: 0;
    color: var(--primary-dark);
    font-size: 1.22rem;
}

.hp-service-card p {
    margin: 0;
    color: var(--muted-color);
    line-height: 1.6;
}

.hp-home #services .hp-service-card {
    --card-accent: var(--primary-color);
    --card-glow: var(--accent-color);
    position: relative;
    overflow: hidden;
    text-align: left;
    justify-items: stretch;
    border-radius: 24px;
    padding: 2.25rem 2.1rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), color-mix(in srgb, var(--secondary-color) 38%, #ffffff));
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: 0 22px 44px rgba(15, 23, 42, 0.12);
    isolation: isolate;
}

.hp-home #services .hp-service-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    background:
        radial-gradient(140% 140% at 0% 0%, color-mix(in srgb, var(--card-accent) 18%, transparent), transparent 60%),
        radial-gradient(140% 140% at 100% 0%, color-mix(in srgb, var(--card-glow) 20%, transparent), transparent 58%);
    opacity: 0.9;
    z-index: 0;
}

.hp-home #services .hp-service-card::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--card-accent), color-mix(in srgb, var(--card-glow) 70%, transparent));
    opacity: 0.85;
    z-index: 0;
}

.hp-home #services .hp-service-card:nth-child(2) {
    --card-accent: var(--accent-color);
    --card-glow: #3ddc97;
}

.hp-home #services .hp-service-card > * {
    position: relative;
    z-index: 1;
}

.hp-home #services .hp-service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 64px rgba(15, 23, 42, 0.16);
}

.hp-home #services .hp-service-card h3 {
    font-size: 1.35rem;
    letter-spacing: -0.01em;
    text-align: center;
}

.hp-home #services .hp-service-card p {
    font-size: 1.02rem;
}

.hp-home #services .hp-bullets {
    list-style: none;
    padding-left: 0;
    margin-top: 1rem;
    margin-left: 0;
    margin-right: 0;
    gap: 0.55rem;
    text-align: left;
}

.hp-home #services .hp-bullets li {
    position: relative;
    padding-left: 1.6rem;
    color: var(--text-color);
}

.hp-home #services .hp-bullets li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--card-accent), var(--card-glow));
    box-shadow: 0 8px 18px color-mix(in srgb, var(--card-accent) 35%, transparent);
}

.hp-services-grid .hp-placeholder {
    margin: 0;
    text-align: center;
    color: var(--muted-color);
}

.hp-bullets {
    margin: 0.75rem 0 0;
    padding-left: 1.25rem;
    color: var(--text-color);
    display: grid;
    gap: 0.4rem;
}

.hp-gallery-strip {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scroll-snap-type: x mandatory;
}

.hp-gallery-item {
    flex: 0 0 360px;
    scroll-snap-align: center;
}

.hp-gallery-item img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.hp-service-collection {
    display: grid;
    gap: 1.75rem;
    padding: 2rem 0;
}

.hp-service-collection__header {
    display: grid;
    gap: 0.5rem;
    align-items: start;
}

.hp-service-collection__header h2 {
    margin: 0;
    color: var(--primary-dark);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.hp-service-collection__header p {
    margin: 0;
    color: var(--muted-color);
}

.hp-expert-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: minmax(0, 1fr);
    max-width: 1100px;
    margin: 1.5rem auto 0;
    justify-items: center;
}

.hp-expert-card {
    width: 100%;
    background: var(--surface-color);
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hp-expert-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.hp-expert-card a {
    display: grid;
    gap: 0.9rem;
    padding: 1.25rem;
    text-align: center;
}

.hp-expert-photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 14px;
    overflow: hidden;
    background: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 700;
}

.hp-expert-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hp-expert-info h3 {
    margin: 0;
    color: var(--primary-dark);
    font-size: 1rem;
}

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

.hp-expert-university {
    color: var(--muted-color);
    font-size: 0.85rem;
    font-weight: 500;
}

.hp-story-grid {
    display: grid;
    gap: 2rem;
    align-items: center;
    background: var(--surface-color);
    border-radius: var(--radius-lg);
    padding: clamp(2rem, 4vw, 2.75rem);
    box-shadow: var(--shadow-sm);
}

.hp-story-photo {
    width: min(100%, 260px);
    margin: 0 auto;
    aspect-ratio: 1 / 1;
    border-radius: 24px;
    overflow: hidden;
    background: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hp-story-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hp-story-content {
    display: grid;
    gap: 1rem;
    text-align: center;
}

.hp-story-content h3 {
    margin: 0;
    color: var(--primary-dark);
    font-size: clamp(1.4rem, 3vw, 2rem);
}

.hp-story-content p {
    margin: 0;
    color: var(--muted-color);
    line-height: 1.7;
}

.hp-story-meta {
    display: grid;
    gap: 0.25rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.hp-story-meta span {
    color: var(--muted-color);
    font-weight: 500;
}

.hp-link-list {
    margin: 0.5rem 0 0;
    padding-left: 1.25rem;
    color: var(--text-color);
    display: grid;
    gap: 0.35rem;
}

.hp-link-list .hp-link {
    color: var(--primary-color);
    font-weight: 600;
}

.hp-muted {
    margin: 1.25rem 0 0;
    color: var(--muted-color);
    font-size: 0.95rem;
}

.hp-page-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 1.5rem 4.5rem;
}

.hp-post-grid {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.hp-post-card {
    background: var(--surface-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hp-post-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.hp-post-cover {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: var(--secondary-color);
    overflow: hidden;
}

.hp-post-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hp-post-body {
    padding: 1.6rem 1.5rem;
    display: grid;
    gap: 0.65rem;
}

.hp-post-body h2 {
    margin: 0;
    color: var(--primary-dark);
    font-size: 1.3rem;
    line-height: 1.25;
}

.hp-post-body p {
    margin: 0;
    color: var(--muted-color);
}

.hp-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    align-items: center;
    justify-content: space-between;
    color: var(--muted-color);
    font-size: 0.92rem;
    margin-top: 0.35rem;
}

.hp-post-detail {
    background: var(--surface-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.12);
}

.hp-post-detail-cover {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: var(--secondary-color);
}

.hp-post-detail-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hp-post-detail-header {
    padding: 2rem 2rem 1.25rem;
    display: grid;
    gap: 0.65rem;
}

.hp-post-detail-header h1 {
    margin: 0;
    color: var(--primary-dark);
    font-size: clamp(1.8rem, 3.6vw, 2.5rem);
    line-height: 1.15;
}

.hp-post-detail-body {
    padding: 0 2rem 2rem;
    color: var(--text-color);
    line-height: 1.8;
}

.hp-post-detail-body p {
    margin: 0 0 1rem;
}

.hp-post-detail-body h2,
.hp-post-detail-body h3 {
    margin: 1.5rem 0 0.75rem;
    color: var(--primary-dark);
}

.hp-post-detail-body ul,
.hp-post-detail-body ol {
    margin: 0.75rem 0 1rem;
    padding-left: 1.4rem;
}

.hp-post-detail-body img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.hp-post-detail-actions {
    padding: 0 2rem 2rem;
}

.hp-post-author {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.hp-author-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hp-author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hp-author-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary-dark);
}

.hp-author-meta {
    display: grid;
    gap: 0.2rem;
    color: var(--muted-color);
}

.hp-author-meta strong {
    color: var(--primary-dark);
    font-size: 1rem;
}

.hp-author-social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hp-author-social .hp-social-link {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(42, 77, 105, 0.08);
    color: var(--primary-dark);
}

.hp-author-social .hp-social-link:hover {
    background: rgba(42, 77, 105, 0.16);
}

.hp-faq {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    gap: 0.85rem;
}

.hp-faq-item {
    background: var(--surface-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(148, 163, 184, 0.12);
    overflow: hidden;
}

.hp-faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 1.25rem 1.35rem;
    font-weight: 700;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.hp-faq-item summary::-webkit-details-marker {
    display: none;
}

.hp-faq-item summary::after {
    content: "+";
    font-weight: 900;
    color: var(--primary-color);
}

.hp-faq-item[open] summary::after {
    content: "–";
}

.hp-faq-answer {
    padding: 0 1.35rem 1.25rem;
    color: var(--muted-color);
    line-height: 1.75;
}

.hp-pillars {
    display: grid;
    gap: 1.5rem;
}

.hp-pillar-card {
    background: var(--surface-color);
    padding: 1.75rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hp-pillar-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.hp-pillar-card h3 {
    margin-top: 0;
    color: var(--primary-dark);
    font-size: 1.25rem;
}

.hp-testimonials-grid {
    display: grid;
    gap: 1.5rem;
}

.hp-testimonial-card {
    background: var(--surface-color);
    padding: 2rem 1.75rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    display: grid;
    gap: 1.25rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hp-testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.hp-testimonial-card--compact {
    gap: 1rem;
}

.hp-testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hp-testimonial-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--secondary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 1.5rem;
    border: 1px solid color-mix(in srgb, var(--primary-color) 20%, transparent);
}

.hp-testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hp-testimonial-card blockquote {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-color);
    position: relative;
    padding-left: 1.75rem;
}

.hp-testimonial-card blockquote::before {
    content: '“';
    font-size: 3rem;
    line-height: 1;
    color: color-mix(in srgb, var(--accent-color) 60%, transparent);
    position: absolute;
    top: -1.25rem;
    left: 0;
}

.hp-testimonial-meta {
    display: grid;
    gap: 0.15rem;
}

.hp-testimonial-meta strong {
    display: block;
    font-size: 1.05rem;
    color: var(--primary-dark);
}

.hp-testimonial-meta span {
    font-size: 0.95rem;
    color: var(--muted-color);
}

.hp-testimonial-meta span+span {
    margin-top: 0.1rem;
}

.hp-testimonial-role {
    font-weight: 600;
    color: var(--accent-color);
}

.hp-testimonial-specialization {
    color: color-mix(in srgb, var(--primary-color) 55%, var(--muted-color));
}

.hp-testimonial-organization {
    color: var(--muted-color);
}

.hp-timeline {
    display: grid;
    gap: 1rem;
}

.hp-timeline-step {
    background: var(--surface-color);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.hp-step-number {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.05rem;
    box-shadow: 0 12px 26px rgba(42, 77, 105, 0.25);
}

.hp-section-cta {
    position: relative;
    overflow: hidden;
    text-align: left;
    background: linear-gradient(135deg, color-mix(in srgb, var(--primary-color) 85%, transparent), color-mix(in srgb, var(--accent-color) 62%, transparent));
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 4rem 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.hp-home .hp-section-cta {
    padding: 1.5rem;
    margin: var(--home-section-space) auto;
    width: calc(100% - 3rem);
    max-width: calc(var(--home-section-width) + 3rem);
}

.hp-section-cta::before,
.hp-section-cta::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    opacity: 0.32;
    pointer-events: none;
}

.hp-section-cta::before {
    width: 320px;
    height: 320px;
    top: -140px;
    right: -120px;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.35), transparent 68%);
}

.hp-section-cta::after {
    width: 260px;
    height: 260px;
    bottom: -160px;
    left: -100px;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.24), transparent 70%);
}

.hp-mentor-inner {
    position: relative;
    display: grid;
    gap: 2.5rem;
    z-index: 1;
}

.hp-mentor-copy {
    display: grid;
    gap: 1rem;
    max-width: 640px;
}

.hp-mentor-copy h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(2rem, 3.2vw, 2.8rem);
}

.hp-mentor-copy p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.05rem;
}

.hp-section-cta .hp-section-actions {
    justify-content: flex-start;
}

.hp-mentor-points {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.hp-mentor-points li {
    position: relative;
    padding: 1.15rem 1.5rem 1.15rem 3.75rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    line-height: 1.55;
    backdrop-filter: blur(12px);
    box-shadow: 0 18px 35px rgba(18, 32, 56, 0.18);
}

.hp-mentor-points li::before {
    content: "✓";
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #7de2a7, #3ddc97);
    color: #0b301a;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 10px 24px rgba(61, 220, 151, 0.35);
}

.hp-mentor-inner .hp-section-actions {
    margin-top: 0.5rem;
}

.hp-footer {
    margin-top: clamp(3.5rem, 6vw, 5rem);
    background: #101c30;
    color: rgba(255, 255, 255, 0.88);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    /* Desktop footer columns: brand, navigation, contact, address. */
    --hp-footer-brand-col: minmax(0, 1.15fr);
    --hp-footer-nav-col: minmax(0, 0.8fr);
    --hp-footer-contact-col: minmax(0, 1.1fr);
    --hp-footer-address-col: minmax(0, 1fr);
}

.hp-footer-shell {
    max-width: 1180px;
    margin: 0 auto;
    padding: clamp(3.25rem, 7vw, 4.75rem) clamp(1.5rem, 5vw, 2.75rem);
    display: grid;
    gap: clamp(2.25rem, 5vw, 3.5rem);
}

.hp-footer-main {
    display: flex;
    flex-direction: column;
    gap: clamp(2rem, 4vw, 3rem);
}

.hp-footer-brand {
    display: grid;
    gap: 1rem;
    max-width: 360px;
    min-width: 0;
}

.hp-footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.45rem;
    color: #fff;
}

.hp-footer-logo img {
    height: 46px;
    width: auto;
    display: block;
}

.hp-footer-description {
    margin: 0;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.72);
}

.hp-footer-social {
    margin-top: 0.65rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.hp-social-link {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, background 0.2s ease;
}

.hp-social-link svg {
    width: 20px;
    height: 20px;
}

.hp-social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.hp-footer-grid {
    display: grid;
    gap: clamp(1.75rem, 3.5vw, 2.6rem);
    min-width: 0;
}

.hp-footer-group {
    display: grid;
    gap: 0.75rem;
    min-width: 0;
}

.hp-footer-heading {
    margin: 0;
    font-size: 0.86rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
}

.hp-footer-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.5rem;
}

.hp-footer-list a {
    color: rgba(255, 255, 255, 0.76);
    font-weight: 500;
    line-height: 1.45;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.hp-footer-list a:hover {
    color: #fff;
}

.hp-footer-text {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.65;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.hp-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
    text-align: center;
}

.hp-footer-bottom-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hp-footer-bottom-links a {
    color: rgba(255, 255, 255, 0.68);
    font-weight: 500;
}

.hp-footer-bottom-links a:hover {
    color: #fff;
}

.hp-footer-note {
    margin: 0;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.62);
}

.hp-whatsapp-fab {
    position: fixed;
    right: clamp(1rem, 3vw, 2.5rem);
    bottom: clamp(1.25rem, 4vw, 2.5rem);
    width: 52px;
    height: 52px;
    border-radius: 18px;
    background: #25d366;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 26px rgba(37, 211, 102, 0.24);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    z-index: 120;
}

.hp-whatsapp-fab:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px rgba(37, 211, 102, 0.32);
}

.hp-whatsapp-fab svg {
    width: 22px;
    height: 22px;
}

@media (max-width: 767px) {
    body.hp-with-bottom-nav {
        padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
    }

    .hp-navbar {
        padding: 0.85rem 1.25rem 0.75rem;
    }

    .hp-bottom-nav {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        display: flex;
        align-items: stretch;
        justify-content: center;
        gap: 0;
        padding: 0.35rem calc(env(safe-area-inset-right, 0px) + 0.15rem) calc(0.45rem + env(safe-area-inset-bottom, 0px)) calc(env(safe-area-inset-left, 0px) + 0.15rem);
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(16px);
        border-top: 1px solid rgba(148, 163, 184, 0.22);
        box-shadow: 0 -12px 24px rgba(29, 55, 110, 0.08);
        z-index: 1100;
    }

    .hp-bottom-nav__link {
        flex: 1 1 0;
        text-align: center;
        font-size: 0.6rem;
        font-weight: 600;
        color: var(--muted-color);
        padding: 0.35rem 0.2rem;
        border-radius: 0;
        transition: color 0.2s ease, background 0.2s ease;
    }

    .hp-bottom-nav__link:hover,
    .hp-bottom-nav__link:focus-visible,
    .hp-bottom-nav__link.is-active {
        color: var(--primary-color);
        background: rgba(42, 77, 105, 0.12);
    }

    .hp-bottom-nav__link:hover .hp-bottom-nav__icon,
    .hp-bottom-nav__link:focus-visible .hp-bottom-nav__icon,
    .hp-bottom-nav__link.is-active .hp-bottom-nav__icon {
        transform: scale(1.08);
    }
}

@media (max-width: 640px) {
    .hp-whatsapp-fab {
        width: 48px;
        height: 48px;
        right: 1rem;
        bottom: 1rem;
    }

    .hp-section-cta {
        margin-left: 1rem;
        margin-right: 1rem;
        padding: 3rem 1.5rem;
    }

    .hp-section-actions--dual .hp-btn {
        font-size: 0.85rem;
        padding: 0.7rem 1rem;
    }

    .hp-professor-card a {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.25rem;
    }

    .hp-professor-info {
        align-items: center;
    }

    .hp-professor-photo {
        width: 112px;
        height: 112px;
        flex: 0 0 112px;
    }
}

.hp-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;
}

.hp-placeholder {
    text-align: center;
    color: var(--muted-color);
}

/* Professors listing */
.hp-professors-page .hp-sub-header,
.hp-professor-detail-page .hp-sub-header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.hp-professors-page nav,
.hp-professor-detail-page nav {
    display: flex;
    gap: 1.25rem;
}

.hp-professors-container,
.hp-professor-detail-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 1.5rem 4rem;
}

.hp-page-heading h1 {
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
    font-size: clamp(2rem, 3.4vw, 2.8rem);
}

.hp-page-heading p {
    margin-top: 0;
    color: var(--muted-color);
}

.hp-faculty-filter {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 0.25rem 0 0.85rem;
    margin: 1.75rem 0 2rem;
    scroll-snap-type: x mandatory;
}

.hp-faculty-pill {
    flex: 0 0 auto;
    display: grid;
    gap: 0.5rem;
    justify-items: center;
    min-width: 96px;
    padding: 0.85rem 1rem;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    background: var(--surface-color);
    color: var(--text-color);
    font: inherit;
    cursor: pointer;
    scroll-snap-align: start;
    transition: transform 0.2s ease, border-color 0.2s ease;
    box-shadow: none;
}

.hp-faculty-pill:hover {
    transform: translateY(-2px);
}

.hp-faculty-pill:focus-visible {
    outline: 2px solid color-mix(in srgb, var(--accent-color) 70%, transparent);
    outline-offset: 3px;
}

.hp-faculty-pill.is-active {
    border-color: var(--primary-color);
    box-shadow: none;
}

.hp-faculty-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: var(--secondary-color);
    display: grid;
    place-items: center;
    font-weight: 700;
    color: var(--primary-color);
    overflow: hidden;
}

.hp-faculty-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hp-faculty-label {
    font-size: 0.85rem;
    text-align: center;
    line-height: 1.3;
}

.hp-professor-grid {
    display: grid;
    gap: 1.25rem;
    margin-top: 2.5rem;
    grid-template-columns: minmax(0, 1fr);
}

.hp-professor-card.is-hidden {
    display: none;
}

.hp-faculty-empty {
    display: none;
    margin-top: 1.25rem;
}

.hp-faculty-empty.is-visible {
    display: block;
}

.hp-professor-card {
    background: var(--surface-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hp-professor-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.hp-professor-card a {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    padding: 1.75rem;
}

.hp-professor-photo {
    width: 128px;
    aspect-ratio: 1 / 1;
    border-radius: 28px;
    overflow: hidden;
    background: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.6rem;
    color: var(--primary-color);
    font-weight: 700;
    flex: 0 0 128px;
}

.hp-professor-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hp-professors-page .hp-professor-card a {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.95rem;
    padding: 1.25rem;
    align-items: start;
    text-align: left;
}

.hp-professors-page .hp-professor-photo {
    width: 100%;
    flex: none;
    height: auto;
    aspect-ratio: 4 / 3;
    border-radius: 18px;
    font-size: 2.2rem;
    box-shadow: 0 16px 36px rgba(23, 43, 72, 0.1);
}

.hp-professors-page .hp-professor-info h2 {
    font-size: 1.05rem;
}

.hp-professor-department {
    margin: 0;
    color: var(--muted-color);
    font-size: 0.92rem;
    line-height: 1.4;
}

.hp-professor-price {
    margin-top: 0.4rem;
    display: inline-flex;
    align-items: baseline;
    gap: 0.35rem;
    font-weight: 800;
    color: var(--primary-dark);
}

.hp-professor-price span {
    font-weight: 600;
    color: var(--muted-color);
    font-size: 0.9rem;
}

.hp-professor-rating {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 0.45rem;
}

.hp-rating-stars {
    display: inline-flex;
    align-items: center;
    gap: 0.12rem;
    color: var(--accent-color);
    line-height: 1;
    font-size: 0.95rem;
}

.hp-star.is-empty {
    color: rgba(148, 163, 184, 0.8);
}

.hp-star.is-half {
    color: color-mix(in srgb, var(--accent-color) 55%, rgba(148, 163, 184, 0.8));
}

.hp-rating-text {
    color: var(--muted-color);
    font-size: 0.9rem;
    font-weight: 600;
}

.hp-professor-review {
    margin: 0.65rem 0 0;
    color: var(--muted-color);
    font-size: 0.93rem;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hp-review-list {
    display: grid;
    gap: 1rem;
}

.hp-review {
    background: color-mix(in srgb, var(--secondary-color) 35%, transparent);
    border-radius: var(--radius-md);
    padding: 1rem 1.1rem;
    border: 1px solid rgba(148, 163, 184, 0.14);
}

.hp-review-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.hp-review-header strong {
    color: var(--primary-dark);
}

.hp-review-body {
    margin: 0.65rem 0 0;
    color: var(--muted-color);
    line-height: 1.7;
}

.hp-professor-info {
    flex: 1 1 auto;
    display: grid;
    gap: 0.4rem;
    align-content: start;
}

.hp-professors-page .hp-professor-info {
    justify-items: start;
}

.hp-professor-info h2 {
    margin: 0;
    color: var(--primary-dark);
    font-size: 1.28rem;
}

.hp-photo-placeholder {
    background: var(--secondary-color);
    color: var(--accent-color);
}

.hp-card-link {
    margin-top: 0.5rem;
    display: inline-block;
    font-weight: 600;
    color: var(--primary-color);
}

.hp-empty-state {
    text-align: center;
    background: var(--surface-color);
    padding: 3rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    display: grid;
    gap: 1rem;
    justify-items: center;
}

.hp-professor-detail-container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 3rem 1.5rem 4.5rem;
    display: grid;
    gap: 2.5rem;
}

.hp-professor-hero {
    background: var(--surface-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: clamp(2rem, 5vw, 2.75rem);
    display: grid;
    gap: 1rem;
    justify-items: center;
    text-align: center;
}

.hp-professor-media {
    display: grid;
    gap: 0.9rem;
    justify-items: center;
}

.hp-professor-cta {
    justify-self: center;
}

.hp-professor-avatar {
    width: 160px;
    aspect-ratio: 1 / 1;
    border-radius: 44px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary-color);
    box-shadow: 0 18px 38px rgba(23, 43, 72, 0.14);
}

.hp-professor-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hp-professor-avatar .hp-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.1rem;
}

.hp-professor-summary {
    display: grid;
    gap: 0.6rem;
    justify-items: center;
}

.hp-professor-summary h1 {
    margin: 0;
    color: var(--primary-dark);
    font-size: clamp(1.8rem, 4vw, 2.4rem);
}

.hp-professor-university {
    margin: 0;
    color: var(--muted-color);
    font-weight: 600;
}

.hp-professor-specialization {
    margin: 0;
    color: var(--primary-color);
    font-weight: 600;
}

.hp-professor-email {
    margin: 0.25rem 0 0;
    color: var(--muted-color);
    font-size: 0.98rem;
}

.hp-professor-email a {
    color: var(--primary-color);
    font-weight: 600;
}

.hp-price-options {
    display: grid;
    gap: 0.75rem;
    margin-top: 0.75rem;
    width: 100%;
}

.hp-price-card {
    border-radius: 14px;
    padding: 0.75rem 1rem;
    background: rgba(240, 244, 248, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.3);
    display: grid;
    gap: 0.2rem;
    text-align: center;
}

.hp-price-card strong {
    font-size: 1.1rem;
    color: var(--primary-dark);
}

.hp-price-card small {
    color: var(--muted-color);
}

.hp-price-card--highlight {
    background: rgba(75, 134, 180, 0.12);
    border-color: rgba(75, 134, 180, 0.4);
}

.hp-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 1rem;
}

.hp-professor-content {
    display: grid;
    gap: 1.75rem;
}

.hp-detail-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0;
    margin: 0;
}

.hp-page-container .hp-detail-breadcrumb {
    margin-bottom: 1.5rem;
}

.hp-detail-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-color);
}

.hp-detail-back:hover,
.hp-detail-back:focus-visible {
    color: var(--primary-dark);
}

.hp-professor-section {
    background: var(--surface-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: clamp(1.75rem, 4vw, 2.25rem);
    display: grid;
    gap: 1.1rem;
    border: 1px solid rgba(148, 163, 184, 0.12);
    align-content: start;
    align-items: start;
}

.hp-professor-section h2 {
    margin: 0;
    color: var(--primary-dark);
    font-size: clamp(1.35rem, 2.6vw, 1.6rem);
}

.hp-detail-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.85rem;
}

.hp-detail-list li {
    position: relative;
    padding-left: 1.4rem;
    color: var(--text-color);
    line-height: 1.65;
}

.hp-detail-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(75, 134, 180, 0.12);
}

.hp-professor-section .hp-placeholder {
    text-align: left;
    color: var(--muted-color);
}

.hp-photo-large {
    width: 140px;
    height: 140px;
    font-size: 3rem;
    border-radius: 32px;
}

/* Smooth animations */
[data-animate] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive adjustments */
@media (min-width: 640px) {
    .hp-pillars {
        grid-template-columns: repeat(2, 1fr);
    }

    .hp-testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hp-timeline {
        grid-template-columns: repeat(2, 1fr);
    }

    .hp-professor-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 768px) {
    .hp-nav-links {
        display: flex;
        position: static;
        flex-direction: row;
        align-items: center;
        gap: 2rem;
        flex-wrap: nowrap;
        background: transparent;
        padding: 0;
    }

    .hp-nav-links li {
        list-style: none;
    }

    .hp-bottom-nav {
        display: none !important;
    }

    .hp-hero-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hp-section-split {
        grid-template-columns: repeat(2, 1fr);
        align-items: center;
    }

    .hp-section-visual {
        border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    }

    .hp-pillars {
        grid-template-columns: repeat(3, 1fr);
    }

    .hp-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hp-service-collection__header {
        display: grid;
        gap: 0.6rem;
        align-items: start;
    }

    .hp-gallery-item {
        flex-basis: 440px;
    }

    .hp-gallery-item img {
        height: 280px;
    }

    .hp-expert-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hp-post-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hp-professor-card a {
        padding: 2rem;
        gap: 1.75rem;
    }

    .hp-professor-photo {
        width: 140px;
        height: 140px;
        flex: 0 0 140px;
    }

    .hp-professor-avatar {
        width: 220px;
        max-width: 100%;
        justify-self: center;
    }

    .hp-professor-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hp-price-options {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hp-timeline {
        grid-template-columns: repeat(3, 1fr);
    }

    .hp-professor-content {
        gap: 2.25rem;
    }

    .hp-footer-main {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }

    .hp-footer-grid {
        flex: 1 1 auto;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hp-footer-bottom {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .hp-footer-note {
        text-align: center;
    }
}

@media (min-width: 1024px) {
    .hp-hero {
        padding: 9rem 2rem 5.5rem;
    }

    .hp-hero-inner {
        grid-template-columns: 1fr;
        align-items: center;
    }

    .hp-professor-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 1.35rem;
    }

    .hp-expert-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .hp-services-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hp-services-grid--center {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #updates .hp-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hp-post-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hp-testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hp-mentor-inner {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
        align-items: start;
        gap: 3rem;
    }

    .hp-mentor-inner .hp-section-actions {
        grid-column: 1 / -1;
    }

    .hp-mentor-points {
        grid-template-columns: 1fr;
    }

    .hp-footer-main {
        display: grid;
        grid-template-columns: var(--hp-footer-brand-col) var(--hp-footer-nav-col) var(--hp-footer-contact-col) var(--hp-footer-address-col);
        align-items: start;
        gap: 2.5rem;
    }

    .hp-footer-grid {
        display: contents;
    }

    .hp-footer-brand {
        max-width: none;
    }

    .hp-footer-bottom-links {
        gap: 1.5rem;
    }

    .hp-professors-container {
        padding-bottom: 6rem;
    }

    .hp-professor-content {
        grid-template-columns: 1fr;
        gap: 2.25rem;
    }

    .hp-professor-section {
        height: 100%;
    }

    .hp-detail-breadcrumb {
        grid-column: 1 / -1;
    }

    .hp-professor-hero {
        grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
        gap: 3rem;
        justify-items: start;
        text-align: left;
    }

    .hp-professor-media {
        justify-items: center;
        align-self: start;
    }

    .hp-professor-summary {
        justify-items: start;
        text-align: left;
    }

    .hp-detail-actions {
        justify-content: flex-start;
    }

    .hp-professor-avatar {
        margin: 0;
    }

    .hp-story-grid {
        grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
        text-align: left;
    }

    .hp-story-photo {
        margin: 0;
    }

    .hp-story-content {
        text-align: left;
    }
}
