/*
Theme Name: Prolipsis Dental
Theme URI: https://prolipsisdental.gr
Author: Prolipsis Dental
Author URI: https://prolipsisdental.gr
Description: Επαγγελματικό θέμα WordPress για το οδοντιατρείο Prolipsis Dental — Φίλιππος Κλίνης, Άγιος Στέφανος Αττικής.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: prolipsis-dental
Tags: dentist, dental, one-page, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ============================================================
   0. CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   ============================================================ */
:root {
    /* Brand Colors (Updated from sign) */
    --color-primary: #58595B;
    --color-primary-dark: #3E3F41;
    /* Darker variant */
    --color-primary-light: #7A7A7C;
    /* Lighter variant */
    --color-primary-bg: rgba(88, 89, 91, 0.08);

    /* Neutrals */
    --color-dark: #2C3E50;
    --color-text: #3A4A5A;
    --color-text-light: #6B7B8D;
    --color-silver: #A8B8C8;
    --color-border: #D8E0E8;
    --color-bg-light: #F4F6F8;
    --color-bg-warm: #F8F9FA;
    --color-white: #FFFFFF;

    /* Footer / Dark */
    --color-footer-bg: #2C3E50;
    --color-footer-text: #C8D6E0;

    /* Typography */
    --font-heading: 'Playfair Display', 'Georgia', serif;
    --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.7;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-xxl: 6rem;

    /* Layout  */
    --container-max: 1200px;
    --container-narrow: 900px;
    --border-radius: 8px;
    --border-radius-lg: 16px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.10);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}


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

html {
    font-size: var(--font-size-base);
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    line-height: var(--line-height-base);
    background-color: var(--color-white);
    overflow-x: hidden;
}

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

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-primary-dark);
}

ul,
ol {
    list-style: none;
}


/* ============================================================
   2. TYPOGRAPHY
   ============================================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-dark);
    line-height: 1.3;
    font-weight: 700;
}

h1 {
    font-size: clamp(2rem, 4vw, 3.2rem);
}

h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
}

h3 {
    font-size: clamp(1.2rem, 2vw, 1.6rem);
}

h4 {
    font-size: 1.2rem;
}

p {
    margin-bottom: var(--space-sm);
}

.lead {
    font-size: 1.15rem;
    color: var(--color-text-light);
    line-height: 1.8;
}


/* ============================================================
   3. LAYOUT UTILITIES
   ============================================================ */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.container--narrow {
    max-width: var(--container-narrow);
}

.section {
    padding: var(--space-xxl) 0;
}

.section--grey {
    background-color: var(--color-bg-light);
}

.section--teal {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-white);
}

.section--teal h2,
.section--teal h3,
.section--teal p {
    color: var(--color-white);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.section-header h2 {
    margin-bottom: var(--space-xs);
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--color-primary);
    margin: var(--space-sm) auto 0;
    border-radius: 2px;
}

.section-header p {
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
}

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

.grid {
    display: grid;
    gap: var(--space-lg);
}

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

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

.grid--4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 992px) {
    .grid--4 {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 600px) {

    .grid--2,
    .grid--3,
    .grid--4 {
        grid-template-columns: 1fr;
    }

    .grid {
        gap: var(--space-md);
    }

    .section {
        padding: var(--space-lg) 0;
    }

    /* Ensure minimum touch targets on mobile */
    .btn {
        padding: 1rem 2rem;
        min-height: 48px;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 0.85rem 1rem;
        font-size: 1rem;
        min-height: 48px;
    }
}


/* ============================================================
   4. BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all var(--transition-base);
    letter-spacing: 0.5px;
}

.btn--primary {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

.btn--primary:hover {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn--outline {
    background: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}

.btn--outline:hover {
    background: var(--color-white);
    color: var(--color-primary-dark);
    transform: translateY(-2px);
}

.btn--outline-dark {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn--outline-dark:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
}

.btn--lg {
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
}


/* ============================================================
   5. TOP BAR
   ============================================================ */
.top-bar {
    background: var(--color-dark);
    color: var(--color-silver);
    font-size: 0.82rem;
    padding: 0.5rem 0;
    letter-spacing: 0.3px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.top-bar__info {
    display: flex;
    gap: var(--space-md);
    align-items: center;
}

.top-bar__info span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.top-bar__info a {
    color: var(--color-silver);
}

.top-bar__info a:hover {
    color: var(--color-white);
}

.top-bar__sep {
    opacity: 0.4;
    margin: 0 0.15rem;
}

.top-bar__social {
    display: flex;
    gap: var(--space-sm);
}

.top-bar__social a {
    color: var(--color-silver);
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.top-bar__social a:hover {
    color: var(--color-primary-light);
}

@media (max-width: 768px) {
    .top-bar__info {
        flex-wrap: wrap;
        gap: 0.4rem var(--space-md);
    }

    .top-bar__info span:last-child {
        display: none;
    }
}

@media (max-width: 480px) {
    .top-bar {
        padding: 0.4rem 0;
    }

    .top-bar__info {
        flex-direction: column;
        gap: 0.3rem;
        align-items: flex-start;
    }

    .top-bar__sep {
        display: none;
    }

    .top-bar__info > span:first-child {
        flex-wrap: wrap;
        gap: 0.2rem;
    }
}


/* ============================================================
   6. HEADER / NAVIGATION
   ============================================================ */
.site-header {
    background: var(--color-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow var(--transition-base);
}

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

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
}

/* Logo */
.site-logo {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    text-decoration: none;
}

.site-logo img,
.custom-logo {
    height: 55px;
    width: auto;
    max-height: 55px;
}

.site-logo svg {
    height: 36px;
    width: auto;
    flex-shrink: 0;
}

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

.site-logo__text {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
    font-size: 1.4rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.site-logo__text .brand-name {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-dark);
}

.site-logo__text .brand-sep {
    color: var(--color-silver);
    font-weight: 300;
    margin: 0 0.15rem;
}

.site-logo__text .brand-suffix {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--color-text-light);
}

/* Nav */
.main-nav ul {
    display: flex;
    gap: var(--space-lg);
    align-items: center;
}

.main-nav a {
    color: var(--color-text);
    font-size: 0.92rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    position: relative;
    padding: 0.3rem 0;
}

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

.main-nav a:hover::after,
.main-nav .current-menu-item a::after {
    width: 100%;
}

.main-nav a:hover {
    color: var(--color-primary);
}

.main-nav .current-menu-item a {
    color: var(--color-primary);
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--color-dark);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(280px, 80vw);
        height: 100vh;
        background: var(--color-white);
        box-shadow: var(--shadow-lg);
        padding: 4rem var(--space-md) var(--space-lg);
        transition: right var(--transition-base);
        z-index: 1001;
    }

    .main-nav.open {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        gap: var(--space-md);
        align-items: flex-start;
    }

    .main-nav a {
        font-size: 1.05rem;
    }

    .site-logo img,
    .custom-logo {
        height: 36px;
        max-height: 36px;
    }

    .site-logo svg {
        height: 28px;
    }

    .site-logo__text {
        font-size: 1rem;
        letter-spacing: 1px;
    }
}

@media (max-width: 480px) {
    .site-logo__text {
        font-size: 0.85rem;
        letter-spacing: 0.5px;
        gap: 0.2rem;
    }

    .site-logo img,
    .custom-logo {
        height: 30px;
        max-height: 30px;
    }

    .site-logo svg {
        height: 24px;
    }
}


/* ============================================================
   7. HERO SECTION
   ============================================================ */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #2C3E50 0%, #3E3F41 50%, #58595B 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(88, 89, 91, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(168, 184, 200, 0.15) 0%, transparent 50%);
    z-index: 1;
}

/* Geometric decorations (matching the crystal tooth logo style) */
.hero::after {
    content: '';
    position: absolute;
    right: -5%;
    top: 50%;
    transform: translateY(-50%);
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.08) 100%);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero__content {
    max-width: 650px;
}

.hero__badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    color: var(--color-white);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.82rem;
    letter-spacing: 1px;
    margin-bottom: var(--space-md);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero h1 {
    color: var(--color-white);
    margin-bottom: var(--space-md);
    font-weight: 700;
    line-height: 1.2;
}

.hero p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: var(--space-lg);
    max-width: 520px;
}

.hero__buttons {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

/* Animated particles */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-particles span {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    animation: float 15s infinite;
}

.hero-particles span:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 12s;
}

.hero-particles span:nth-child(2) {
    top: 60%;
    left: 30%;
    animation-delay: 2s;
    animation-duration: 18s;
}

.hero-particles span:nth-child(3) {
    top: 40%;
    left: 60%;
    animation-delay: 4s;
    animation-duration: 14s;
}

.hero-particles span:nth-child(4) {
    top: 80%;
    left: 80%;
    animation-delay: 1s;
    animation-duration: 16s;
}

.hero-particles span:nth-child(5) {
    top: 10%;
    left: 90%;
    animation-delay: 3s;
    animation-duration: 20s;
}

.hero-particles span:nth-child(6) {
    top: 70%;
    left: 50%;
    animation-delay: 5s;
    animation-duration: 13s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) scale(1);
        opacity: 0.3;
    }

    50% {
        transform: translateY(-80px) scale(1.5);
        opacity: 0.6;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: var(--space-xxl) 0 var(--space-xl);
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero::after {
        display: none;
    }

    .hero-particles {
        display: none;
    }

    .hero__buttons {
        flex-direction: column;
    }

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

@media (max-width: 480px) {
    .hero {
        padding: var(--space-xl) 0 var(--space-lg);
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .hero__badge {
        font-size: 0.72rem;
        padding: 0.3rem 0.8rem;
    }
}


/* ============================================================
   8. SERVICES SECTION
   ============================================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.service-card {
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    padding: var(--space-lg);
    text-align: center;
    transition: all var(--transition-base);
    border: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

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

.service-card__icon {
    width: 72px;
    height: 72px;
    margin: 0 auto var(--space-md);
    background: var(--color-primary-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.service-card:hover .service-card__icon {
    background: var(--color-primary);
    transform: scale(1.08);
}

.service-card__icon svg {
    width: 32px;
    height: 32px;
    fill: var(--color-primary);
    transition: fill var(--transition-fast);
}

.service-card__icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    transition: filter var(--transition-fast);
}

.service-card:hover .service-card__icon svg {
    fill: var(--color-white);
}

.service-card:hover .service-card__icon img {
    filter: brightness(0) invert(1);
}

.service-card h3 {
    font-size: 1.1rem;
    margin-bottom: var(--space-xs);
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--color-dark);
}

.service-card p {
    font-size: 0.88rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}


/* ============================================================
   9. ABOUT SECTION
   ============================================================ */
.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.about-layout--no-image {
    grid-template-columns: 1fr;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.about-image {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
}

.about-image::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 120px;
    height: 120px;
    border: 3px solid var(--color-primary);
    border-radius: var(--border-radius-lg);
    z-index: -1;
}

.about-content h2 {
    margin-bottom: var(--space-sm);
}

.about-content .lead {
    margin-bottom: var(--space-md);
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin: var(--space-md) 0;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--color-text);
}

.about-features li::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--color-primary-bg);
    color: var(--color-primary);
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .about-layout {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .about-image::after {
        display: none;
    }

    .about-image img {
        height: auto;
        max-height: 300px;
    }
}


/* ============================================================
   10. CTA SECTION
   ============================================================ */
.cta-section {
    text-align: center;
    padding: var(--space-xxl) 0;
}

.cta-section h2 {
    margin-bottom: var(--space-sm);
}

.cta-section p {
    margin-bottom: var(--space-lg);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA Phone Links */
.cta-phones {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.cta-phone-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-white);
    font-size: 1.05rem;
    font-weight: 500;
    padding: 0.6rem 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--border-radius);
    transition: all var(--transition-base);
    text-decoration: none;
    letter-spacing: 0.5px;
}

.cta-phone-link:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--color-white);
    transform: translateY(-2px);
}

.cta-phone-link svg {
    flex-shrink: 0;
    opacity: 0.7;
}

.cta-phone-link small {
    font-size: 0.72rem;
    opacity: 0.6;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-weight: 400;
    margin-left: 0.2rem;
}

.cta-section .btn {
    margin: 0 0.5rem;
}

@media (max-width: 600px) {
    .cta-phones {
        flex-direction: column;
        align-items: stretch;
        gap: var(--space-xs);
    }

    .cta-phone-link {
        justify-content: center;
        font-size: 0.95rem;
        padding: 0.75rem 1rem;
    }

    .cta-section .btn {
        display: flex;
        width: 100%;
        justify-content: center;
        margin: 0;
    }
}


/* ============================================================
   11. MAP SECTION
   ============================================================ */
.map-section {
    position: relative;
}

.map-section iframe {
    width: 100%;
    height: 400px;
    border: none;
    filter: grayscale(30%) contrast(1.05);
}

@media (max-width: 768px) {
    .map-section iframe {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .map-section iframe {
        height: 250px;
    }
}


/* ============================================================
   12. FOOTER
   ============================================================ */
.site-footer {
    background: var(--color-footer-bg);
    color: var(--color-footer-text);
    padding: var(--space-xxl) 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: var(--space-xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-col h4 {
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: var(--space-md);
    position: relative;
    padding-bottom: var(--space-sm);
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--color-primary);
}

.footer-col p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--color-footer-text);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-links a {
    color: var(--color-footer-text);
    font-size: 0.9rem;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.footer-links a:hover {
    color: var(--color-white);
    padding-left: 4px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9rem;
}

.footer-contact li .icon {
    color: var(--color-primary-light);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-phones {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.footer-phones a {
    display: block;
}

.footer-bottom {
    padding: var(--space-md) 0;
    text-align: center;
    font-size: 0.82rem;
    color: rgba(200, 214, 224, 0.5);
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-lg);
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
}


/* ============================================================
   13. PAGE BANNER (Internal Pages)
   ============================================================ */
.page-banner {
    background: linear-gradient(135deg, #2C3E50 0%, #3D6B6B 100%);
    padding: var(--space-xl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 50%, rgba(91, 138, 138, 0.2) 0%, transparent 60%);
}

.page-banner h1 {
    color: var(--color-white);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    position: relative;
    z-index: 1;
}

.page-banner p {
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    z-index: 1;
    margin-top: var(--space-xs);
}

.breadcrumbs {
    position: relative;
    z-index: 1;
    margin-top: var(--space-sm);
    font-size: 0.85rem;
}

.breadcrumbs a {
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumbs a:hover {
    color: var(--color-white);
}

.breadcrumbs span {
    color: rgba(255, 255, 255, 0.4);
    margin: 0 0.5rem;
}


/* ============================================================
   14. SERVICES PAGE (Detailed)
   ============================================================ */
.service-detail {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--color-border);
    transition: all var(--transition-base);
}

.service-detail:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary-light);
}

.service-detail__icon {
    width: 72px;
    height: 72px;
    background: var(--color-primary-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-detail__icon svg {
    width: 32px;
    height: 32px;
    fill: var(--color-primary);
}

.service-detail__icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.service-detail h3 {
    font-size: 1.2rem;
    margin-bottom: var(--space-xs);
    color: var(--color-dark);
}

.service-detail p {
    font-size: 0.92rem;
    color: var(--color-text-light);
}

.services-detailed-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

@media (max-width: 768px) {
    .services-detailed-grid {
        grid-template-columns: 1fr;
    }

    .service-detail {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .service-detail__icon {
        margin: 0 auto;
    }
}


/* ============================================================
   15. CONTACT PAGE
   ============================================================ */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.contact-info-card {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--color-bg-light);
    border-radius: var(--border-radius);
    transition: all var(--transition-base);
}

.contact-info-card:hover {
    background: var(--color-white);
    box-shadow: var(--shadow-md);
}

.contact-info-card .icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary-bg);
    border-radius: 50%;
    color: var(--color-primary);
    font-size: 1.2rem;
}

.contact-info-card h4 {
    font-family: var(--font-body);
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.contact-info-card p {
    font-size: 0.88rem;
    color: var(--color-text-light);
    margin-bottom: 0;
}

/* Contact Form Placeholder */
.contact-form-area {
    background: var(--color-white);
    padding: var(--space-lg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
}

.contact-form-area h3 {
    margin-bottom: var(--space-md);
    text-align: center;
}

.form-group {
    margin-bottom: var(--space-sm);
}

.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 500;
    margin-bottom: 0.35rem;
    color: var(--color-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--font-body);
    font-size: 0.92rem;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    background: var(--color-bg-warm);
    color: var(--color-text);
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-bg);
    background: var(--color-white);
}

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

@media (max-width: 768px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }
}


/* ============================================================
   16. ABOUT PAGE
   ============================================================ */
.about-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-xl);
    align-items: start;
}

.about-photo {
    position: relative;
}

.about-photo img {
    border-radius: var(--border-radius-lg);
    object-fit: cover;
    width: 100%;
}

.about-photo .experience-badge {
    position: absolute;
    bottom: var(--space-md);
    right: var(--space-md);
    background: var(--color-primary);
    color: var(--color-white);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.experience-badge .number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    font-family: var(--font-heading);
    line-height: 1;
}

.experience-badge .label {
    font-size: 0.75rem;
    letter-spacing: 1px;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.value-card {
    padding: var(--space-md);
    background: var(--color-bg-light);
    border-radius: var(--border-radius);
    border-left: 3px solid var(--color-primary);
}

.value-card h4 {
    font-family: var(--font-body);
    font-size: 0.95rem;
    margin-bottom: 0.35rem;
}

.value-card p {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .about-detail-layout {
        grid-template-columns: 1fr;
    }

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


/* ============================================================
   17. OFFICE HOURS TABLE
   ============================================================ */
.hours-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.hours-table tr {
    border-bottom: 1px solid var(--color-border);
}

.hours-table td {
    padding: 0.75rem 0;
}

.hours-table td:first-child {
    font-weight: 500;
    color: var(--color-dark);
    padding-right: 2rem;
    white-space: nowrap;
}

.hours-table td:last-child {
    text-align: right;
    color: var(--color-text-light);
}

.hours-table tr.today {
    background: var(--color-primary-bg);
    border-radius: var(--border-radius);
}

.hours-table tr.today td {
    padding: 0.75rem 0.5rem;
    color: var(--color-primary-dark);
    font-weight: 600;
}


/* ============================================================
   18. ANIMATIONS & SCROLL REVEAL
   ============================================================ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}


/* ============================================================
   19. WORDPRESS DEFAULTS
   ============================================================ */
.alignleft {
    float: left;
    margin: 0 var(--space-md) var(--space-md) 0;
}

.alignright {
    float: right;
    margin: 0 0 var(--space-md) var(--space-md);
}

.aligncenter {
    display: block;
    margin: 0 auto var(--space-md);
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 0.82rem;
    color: var(--color-text-light);
    font-style: italic;
    padding: var(--space-xs) 0;
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* WordPress Navigation */
.page-content,
.entry-content,
.entry-summary {
    max-width: var(--container-narrow);
    margin: 0 auto;
    padding: var(--space-xl) var(--space-md);
}

.entry-content h2,
.entry-content h3 {
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
}

.entry-content p {
    margin-bottom: var(--space-md);
}

.entry-content ul,
.entry-content ol {
    padding-left: var(--space-md);
    margin-bottom: var(--space-md);
    list-style: disc;
}

.entry-content ul li,
.entry-content ol li {
    margin-bottom: var(--space-xs);
}


/* ============================================================
   20. MOBILE OVERLAY
   ============================================================ */
.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 62, 80, 0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.nav-overlay.active {
    display: block;
    opacity: 1;
}