/* ═══════════════════════════════════════════════════════════════════════════
   The Port Dental Clinic — Page-Specific Styles
   ═══════════════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════════════
   HOMEPAGE
   ═══════════════════════════════════════════════════════════════════════════ */

/* Hero Section */
.home-hero {
    padding: var(--space-12) 0 calc(var(--space-16) + 10px);
    min-height: 520px;
    display: flex;
    align-items: center;
}

.home-hero .hero-content {
    max-width: 640px;
}

.home-hero .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: rgba(0, 188, 201, 0.2);
    border: 1px solid rgba(0, 188, 201, 0.3);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    color: var(--color-primary-light);
    margin-bottom: var(--space-6);
    animation: fadeInDown 0.6s ease;
}

.home-hero .hero-badge svg {
    width: 16px;
    height: 16px;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.home-hero h1 {
    color: var(--color-white);
    font-size: var(--text-5xl);
    margin-bottom: var(--space-6);
    animation: fadeIn 0.8s ease 0.1s both;
}

.home-hero h1 .highlight {
    color: var(--color-primary);
    position: relative;
}

.home-hero .hero-text {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--space-8);
    max-width: 520px;
    animation: fadeIn 0.8s ease 0.2s both;
}

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

.home-hero .hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
    animation: fadeIn 0.8s ease 0.3s both;
}

/* Compact Social Proof */
.home-hero .hero-social-proof {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    animation: fadeIn 0.8s ease 0.4s both;
}

.home-hero .hero-stars {
    display: flex;
    gap: 2px;
}

.home-hero .hero-rating-text {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.6);
    font-weight: var(--weight-medium);
}

/* Hero Image Side */
.home-hero .hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
}

.home-hero .hero-image-wrapper {
    position: relative;
    animation: fadeIn 1s ease 0.3s both;
}

.home-hero .hero-image {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    object-position: top center;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
    position: relative;
    z-index: 1;
}

.home-hero .hero-image-accent {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--color-primary);
    border-radius: var(--radius-2xl);
    top: var(--space-4);
    left: var(--space-4);
    opacity: 0.3;
    z-index: 0;
}

.home-hero .hero-stat-card {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: var(--space-4) var(--space-6);
    box-shadow: var(--shadow-xl);
    z-index: 2;
    animation: slideInUp 0.8s ease 0.6s both;
}

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

.home-hero .hero-stat-card .stat-value {
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    font-weight: var(--weight-bold);
    color: var(--color-primary);
    line-height: 1;
}

.home-hero .hero-stat-card .stat-label {
    font-size: var(--text-xs);
    color: var(--color-text-secondary);
    font-weight: var(--weight-medium);
}

/* Trust Strip below hero */
.trust-strip {
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border-light);
    padding: var(--space-5) 0 var(--space-8);
    box-shadow: var(--shadow-xs);
}

.trust-strip .container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-8);
}

.trust-strip-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    color: var(--color-text);
    white-space: nowrap;
}

.trust-strip-item svg {
    width: 20px;
    height: 20px;
    color: var(--color-primary);
    flex-shrink: 0;
}

.trust-strip-item .divider {
    width: 1px;
    height: 24px;
    background: var(--color-border);
}

/* Services Section */
.home-services .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-6);
}

.home-services .category-label {
    font-family: var(--font-heading);
    font-size: var(--text-xs);
    font-weight: var(--weight-medium);
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: var(--space-3);
}

/* Why Choose Us */
.why-choose .features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-8);
}

/* About Snippet */
.home-about {
    position: relative;
}

.home-about .about-image {
    border-radius: var(--radius-2xl);
    width: 100%;
    height: 450px;
    object-fit: cover;
    box-shadow: var(--shadow-lg);
}

.home-about .about-content {
    padding-left: var(--space-4);
}

.home-about .about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    margin-top: var(--space-8);
    padding-top: var(--space-8);
    border-top: 1px solid var(--color-border);
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.google-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-3) var(--space-5);
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--space-8);
}

.google-badge img {
    height: 24px;
    width: auto;
    border-radius: 0;
}

/* Insurance Banner */
.insurance-banner {
    background: linear-gradient(135deg, var(--color-primary-subtle), #D4F5F7);
    border: 1px solid rgba(0, 188, 201, 0.2);
    border-radius: var(--radius-2xl);
    padding: var(--space-10);
    display: flex;
    align-items: center;
    gap: var(--space-10);
}

.insurance-banner .banner-icon {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-xl);
    background: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.insurance-banner .banner-icon svg {
    width: 40px;
    height: 40px;
    color: var(--color-primary);
}

.insurance-banner h3 {
    margin-bottom: var(--space-2);
}

.insurance-banner p {
    margin-bottom: var(--space-4);
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: var(--space-16) 0;
}

.cta-section h2 {
    color: var(--color-white);
    margin-bottom: var(--space-4);
}

.cta-section p {
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto var(--space-8);
    font-size: var(--text-lg);
}

.cta-section .cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-4);
}

/* Map Section */
.map-section .map-container {
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 350px;
}

.map-section .map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.map-section .map-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    margin-top: var(--space-8);
}

.map-info-card {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-6);
    background: var(--color-white);
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border-light);
}

.map-info-card svg {
    width: 24px;
    height: 24px;
    color: var(--color-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.map-info-card h4 {
    font-size: var(--text-sm);
    font-weight: var(--weight-semibold);
    margin-bottom: var(--space-1);
}

.map-info-card p {
    font-size: var(--text-sm);
    margin-bottom: 0;
}


/* ═══════════════════════════════════════════════════════════════════════════
   SERVICE PAGES
   ═══════════════════════════════════════════════════════════════════════════ */
.service-hero {
    padding: var(--space-12) 0 var(--space-16);
}

.service-hero h1 {
    color: var(--color-white);
    margin-bottom: var(--space-4);
}

.service-hero .hero-description {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.85);
    max-width: 640px;
    margin-bottom: var(--space-6);
}

/* Process Steps */
.process-steps {
    counter-reset: step;
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.process-step {
    display: flex;
    gap: var(--space-6);
    align-items: flex-start;
}

.process-step .step-number {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background: var(--color-primary-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: var(--weight-bold);
    color: var(--color-primary);
    flex-shrink: 0;
}

.process-step .step-content h3 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-2);
}

.process-step .step-content p {
    font-size: var(--text-base);
}

/* Benefits List */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    padding: var(--space-4);
    background: var(--color-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-light);
}

.benefit-item svg {
    width: 20px;
    height: 20px;
    color: var(--color-success);
    flex-shrink: 0;
    margin-top: 2px;
}

.benefit-item p {
    font-size: var(--text-sm);
    margin-bottom: 0;
    color: var(--color-text);
}

/* Related Services */
.related-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--space-6);
}

/* ═══════════════════════════════════════════════════════════════════════════
   BLOG
   ═══════════════════════════════════════════════════════════════════════════ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: var(--space-8);
}

.blog-card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border-light);
    transition: all var(--transition-base);
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.blog-card .blog-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 0;
}

.blog-card .blog-content {
    padding: var(--space-6);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card .blog-meta {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-3);
    font-size: var(--text-xs);
    color: var(--color-text-muted);
}

.blog-card .blog-category {
    background: var(--color-primary-subtle);
    color: var(--color-primary);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    font-weight: var(--weight-medium);
}

.blog-card .blog-title {
    font-size: var(--text-xl);
    font-weight: var(--weight-semibold);
    color: var(--color-secondary);
    margin-bottom: var(--space-3);
}

.blog-card .blog-excerpt {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    line-height: var(--leading-relaxed);
    flex: 1;
}

.blog-card .blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    font-weight: var(--weight-semibold);
    color: var(--color-primary);
    margin-top: var(--space-4);
}

/* Blog Single */
.blog-single-content {
    max-width: 760px;
    margin: 0 auto;
}

.blog-single-content h2 {
    margin-top: var(--space-10);
    margin-bottom: var(--space-4);
}

.blog-single-content h3 {
    margin-top: var(--space-8);
    margin-bottom: var(--space-3);
}

.blog-single-content p {
    margin-bottom: var(--space-5);
}

.blog-single-content ul,
.blog-single-content ol {
    padding-left: var(--space-6);
    margin-bottom: var(--space-5);
}

.blog-single-content li {
    margin-bottom: var(--space-2);
    color: var(--color-text-secondary);
    line-height: var(--leading-relaxed);
    list-style: disc;
}

.blog-single-content ol li {
    list-style: decimal;
}

.blog-single-content img {
    border-radius: var(--radius-xl);
    margin: var(--space-8) 0;
    box-shadow: var(--shadow-md);
}

/* ═══════════════════════════════════════════════════════════════════════════
   LEGAL / PRIVACY POLICY PAGE
   ═══════════════════════════════════════════════════════════════════════════ */

.legal-content {
    line-height: var(--leading-relaxed);
    color: var(--color-text-secondary);
}

.legal-content .legal-updated {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    margin-bottom: var(--space-10);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--color-border);
}

.legal-content h2 {
    font-size: var(--text-xl);
    color: var(--color-text);
    margin-top: var(--space-10);
    margin-bottom: var(--space-4);
    font-weight: var(--weight-semibold);
}

.legal-content h3 {
    font-size: var(--text-lg);
    color: var(--color-text);
    margin-top: var(--space-6);
    margin-bottom: var(--space-3);
    font-weight: var(--weight-medium);
}

.legal-content p {
    margin-bottom: var(--space-4);
}

.legal-content ul {
    list-style: disc;
    padding-left: var(--space-6);
    margin-bottom: var(--space-4);
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.legal-content ul li {
    list-style: disc;
}

.legal-content a {
    color: var(--color-primary-dark);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-content a:hover {
    color: var(--color-primary);
}

.legal-contact {
    background: var(--color-bg-alt);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    margin-top: var(--space-4);
}

.legal-contact p {
    margin-bottom: var(--space-1);
}

