﻿*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #707070;
    background-color: #f8fafc;
}

body {
    line-height: 1.6;
}

main {
    background-image: linear-gradient(180deg,#9ea0a21f 0%, transparent 15%, transparent 100%);
}

/* Layout helpers */

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Top bar */

.top-bar {
    background-color: rgb(25, 64, 106);
    color: rgb(249, 250, 245);
    font-size: 0.9rem;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 1.5rem;
}

.top-bar-phone {
    font-weight: 600;
}

/* Header and navigation */

.site-header {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 10;
}

    .site-header .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.75rem 1.5rem;
    }

.logo-title h1 {
    margin: 0;
    font-size: 1.25rem;    
}

.logo-title .tagline {
    margin: 0.15rem 0 0;
    font-size: 0.9rem;
    color: #6b7280;
}

.banner {    
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.banner-header {
    background-image: url('../assets/header-background.jpg');
    min-height:300px;
}

.banner-image1 {
    background-image: url('../assets/surgeon01-scaled.jpg');
}

/* Hero */
.hero {
    /*padding: 3rem 0 2.5rem;
    background: linear-gradient(135deg, #eff6ff, #e0f2fe);
    border-bottom: 1px solid #dbeafe;*/
    margin-top: -2em;
}

.hero-inner {
    display: flex;
    align-items: center;    
}

.hero-text {
    background-color: rgb(25, 64, 106);
    color: rgb(249, 250, 245);
    text-align: center;
    vertical-align: central;
    min-width: 40%;
    padding: 1rem;
}

.hero-text h2 {
    margin-top: 0;
    font-size: 2rem;
}

.hero-subtitle {
    margin-top: 0.4rem;
    font-size: 1rem;
}

.definition {
    margin: 1.5rem 0;
    padding: 1rem 1.25rem;
    background-color: transparent;
   /* border-radius: 8px;
    border: 1px solid #e5e7eb;*/
}

    .definition .term {
        margin: 0 0 0.35rem;
        font-style: italic;
    }

.definition-text {
    margin: 0;
}

.btn-primary {
    display: inline-block;
    padding: 0.7rem 1.4rem;
    border-radius: 999px;
    background-color: #2563eb;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
}

    .btn-primary:hover {
        background-color: #1d4ed8;
    }

/* Sections */

.section {
    padding: 2.5rem 0;
    /*background-color: #f8fafc;*/
    /*background: /*transparent;*/
}

.section-muted {
    background-color: #f1f5f9;
}

.section-accent {
    background-color: #e0f2fe;
}

.section h2 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.6rem;
}

.doctors-line {
    padding-top: 6rem;
    padding-bottom: 6rem;
    font-size: 1.5rem;
    font-weight: 500;
    vertical-align: middle;
    text-align: center;
    display:inline-block;
    width:100%;
    color: #111827;
    filter: drop-shadow(1px 1px 1px #fff)
}

/* About grid */
.about-grid {
    display: grid;
    gap: 1rem;
}

.about-image{
    max-width: 100%;
}

/* results grid */
.results-grid {
    display: grid;
    gap: 1rem;
}

/* Pricing cards */
.pricing-grid {
    display: grid;
    gap: 1.5rem;
}

    .pricing-grid svg {
        fill: #1d4ed8;
        height: 12px;
        width: 12px;
    }

    .pricing-grid .btn-secondary{
        margin:2px;
        min-width:30%;
        text-align:center;
    }

    .pricing-grid .btn-secondary .new-window{
        filter: brightness(0) saturate(100%) invert(26%) sepia(86%) saturate(2979%) hue-rotate(217deg) brightness(97%) contrast(90%);
        height: 1rem;
        margin-bottom: -3px;
    }

@media (min-width: 720px) {
    .about-grid, .pricing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .results-grid{
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .logo-title img{
        filter: brightness(0) saturate(100%) invert(19%) sepia(16%) saturate(3779%) hue-rotate(180deg) brightness(98%) contrast(91%);
    }    

    .wide-only{
        display: inline;
    }
}

.card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 1.75rem 1.5rem;
    border: 1px solid #e5e7eb;
    position: relative;
}

    .card h3 {
        margin-top: 0;
        margin-bottom: 0.5rem;
    }

    .card ul{
        height:6rem;
    }

.price {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0.3rem 0 1rem;
    color: #111827;
}

.feature-list {
    list-style: none;
    padding-left: 1rem;
    margin: 0 0 1rem;
}

    .feature-list li::marker {
        content: "• ";
    }

.btn-secondary {
    display: inline-block;
    padding: 0.5rem 1.1rem;
    border-radius: 999px;
    border: 1px solid #2563eb;
    background-color: #ffffff;
    color: #2563eb;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

    .btn-secondary:hover {
        background-color: #eff6ff;
    }

.coverage {
    font-size: 0.9rem;
    color: #4b5563;
}

.card-popular {
    border-color: #2563eb;
}

.badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background-color: #2563eb;
    color: #ffffff;
    font-size: 0.75rem;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.availability-note {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    color: #b91c1c;
    font-weight: 500;
}

/* Locations */

.location-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 720px) {
    .location-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.location-card {
    /*background-color: #ffffff; */
/*    border-radius: 10px;
*/    padding: 1.25rem 1.25rem;
/*    border: 1px solid #e5e7eb;
*/}

    .location-card h3 {
        margin-top: 0;
        margin-bottom: 0.25rem;
    }

    .location-card .new-window{
        filter: brightness(0) saturate(100%) invert(100%) sepia(100%) saturate(0%) hue-rotate(94deg) brightness(101%) contrast(104%);
        height: 1rem;
        margin-bottom: -3px;
    }

.location-subtitle {
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
/*    color: #6b7280;
*/}

.location-card ul {
    padding-left: 0rem;
    margin: 0;
    font-size: 0.9rem;
    list-style: none;
}

.location-card a, .location-card a:hover, .location-card a:visited {
    color: rgb(249, 250, 245);
    text-decoration: none;
}

.location-card svg{
    fill: white;
    height: 12px;
    width: 12px;
}

/* Contact */
.contact-grid {
    display: grid;
    gap: 1rem;
}

@media (min-width: 720px) {
    .contact-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.contact-card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 1rem 1.1rem;
    border: 1px solid #bae6fd;
}

    .contact-card h3 {
        margin-top: 0;
        margin-bottom: 0.4rem;
        font-size: 1rem;
    }

    .contact-card a {
        color: #2563eb;
        text-decoration: none;
    }

        .contact-card a:hover {
            text-decoration: underline;
        }

/* Footer */

.site-footer {
    background-color: rgb(66, 142, 209);
    color: rgb(249, 250, 245);
    font-size: 0.85rem;
}

.footer-inner {
    text-align: center;
    padding: 1.5em 0;
}

.footer-locations {
    background-color: rgb(25, 64, 106);
    color: rgb(249, 250, 245);
    width: 100%;
    padding: 1.5em 0;
}

.back-to-top {
    color: #bfdbfe;
    text-decoration: none;
}

    .back-to-top:hover {
        text-decoration: underline;
    }

/* Utilities */

p {
    margin-top: 0;
    margin-bottom: 1rem;
}


/* Contact Us Page */
.contactlink a, .contactlink a:hover, .contactlink a:visited {
    color: #707070;
    text-decoration: none;
}

.contactlink svg {
    fill: #707070;
    height: 12px;
    width: 12px;
}

.clinic {
    display: grid; 
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 2em;
}

.clinic iframe{
    width: 100%;
    height:300px;
    border:none;
}

.clinic div:nth-child(even){
    padding-left:1em;
}

.clinic .btn-secondary .new-window{
        filter: brightness(0) saturate(100%) invert(26%) sepia(86%) saturate(2979%) hue-rotate(217deg) brightness(97%) contrast(90%);
        height: 1rem;
        margin-bottom: -3px;
    }


@media(max-width: 720px){
    .hero-text h2{        
        font-size: 1.5rem;
    }

    .hero-subtitle{
        font-size: 0.6rem;
    }

    .hero-inner .definition{
        font-size: 0.8rem;
    }

    .wide-only{
        display: none;
    }
}