/* Self-hosted Inter font — latin subset only */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Base styles */
main {
    width: min(75ch, 95%);
    font-size: 16px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header styles */
header {
    background-color: #0a346e !important;
    color: white !important;
    padding: 0.25rem 0;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 100;
}

header h1 {
    background-color: #0a346e !important;
    padding: 0.5rem 1rem 0.25rem;
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    text-align: center;
}

header h1 a {
    color: white !important;
    text-decoration: none !important;
    border-bottom: none !important;
}

.header-tagline {
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
    text-align: center;
    margin: 0 auto 0.2rem;
}

.tagline-accent {
    color: orange;
}

/* Navigation styles */
nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.15rem;
    padding: 0.15rem;
}

nav a,
nav a:link,
nav a:visited,
nav a:hover,
nav a:active {
    border: none !important;
    color: white !important;
    font-size: 1.1rem;
    text-decoration: none !important;
    padding: 0.15rem 0.5rem;
    transition: color 0.3s ease;
}

nav a:hover {
    color: orange !important;
}

nav a.current,
nav a.current:link,
nav a.current:visited {
    color: orange !important;
    text-decoration: none !important;
    border-bottom: none !important;
}

/* List styles */
ul {
    list-style-type: square;
    padding-left: 1.5rem;
}

li::marker {
    color: #0a346e;
}

/* Heading styles */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', var(--sans-font);
}

h4 {
    margin-bottom: 0.25rem;
}

h5 {
    margin-bottom: 0;
}

h5 + p {
    margin-top: 5px;
}

.availability {
    font-size: 0.95rem;
    color: #2d5a3d;
    background: #d4ede0;
    text-align: center;
    padding: 0.4rem 1rem;
    margin: 1rem 0 2rem;
    border-radius: 4px;
}

/* Image styles */
.center > img {
    display: block;
    margin: 1.5rem auto;
    width: 30%;
    height: auto;
    border-radius: 50%;
    box-shadow: 0 4px 24px rgba(10, 52, 110, 0.15);
}

/* Link styles */
a {
    color: var(--accent);
    text-decoration: underline;
    text-decoration-style: dotted;
    text-underline-offset: 3px;
}

a:hover {
    text-decoration-style: solid;
}

/* CTA block */
.cta-block {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.75rem 0;
    justify-content: center;
}

.cta-block a,
.cta-block a:link,
.cta-block a:visited,
.cta-block a:hover,
.cta-block a:active {
    background-color: #0a346e;
    color: white !important;
    text-decoration: none !important;
    border-bottom: none !important;
    padding: 0.6rem 1.4rem;
    border-radius: 2rem;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background-color 0.2s ease;
}

.cta-block a:hover {
    background-color: #1a5baa !important;
}

/* Recommendation date */
.rec-date {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: -1rem;
    margin-bottom: 1rem;
}

/* Testimonials */
.testimonials {
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.testimonials blockquote {
    margin: 0;
    padding: 1rem 1.25rem;
    border-left: none;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(10, 52, 110, 0.1);
    font-style: normal;
    color: var(--text);
}

.testimonials blockquote p {
    margin: 0 0 0.4rem;
}

.testimonials blockquote cite {
    font-style: normal;
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Footer styles */
body > footer {
    width: 80%;
    max-width: 75ch;
    display: block;
    margin: 2rem auto;
    border-top: 1px solid lightgray;
    padding-top: 1rem;
}

/* Utility classes */
.justify {
    margin-top: 20px;
    text-align: justify;
}

.light {
    border: 1px solid #EEEEEE;
}

/* Page claim */
.page-claim {
    font-size: 1.2rem;
    font-weight: 700;
    text-align: left;
    margin: 0 0 0.4rem;
    color: #0a346e;
}

/* Hero */
.hero {
    display: flex;
    gap: 2.5rem;
    align-items: flex-start;
    margin: 1.5rem 0 0.5rem;
}

.hero-photo {
    flex-shrink: 0;
}

.hero-photo img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    box-shadow: 0 4px 24px rgba(10, 52, 110, 0.15);
    display: block;
}

.hero-text {
    flex: 1;
}

.hero-text p {
    margin-top: 0;
}

.hero-text p:last-child {
    margin-bottom: 0;
}

.opening-line {
    font-size: 1.15rem;
    font-weight: 600;
    color: #0a346e;
    margin-bottom: 0.5rem;
}

/* Section labels */
.section-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #0a346e;
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
    border-bottom: 1px solid rgba(10, 52, 110, 0.2);
    padding-bottom: 0.3rem;
    display: block;
}

/* Service cards */
.service-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 0.75rem 0 1rem;
}

.service-card {
    background: #f5f7ff;
    border-top: 3px solid #0a346e;
    border-radius: 0 0 4px 4px;
    padding: 1rem;
}

.service-card h5 {
    color: #0a346e;
    margin: 0 0 0.5rem;
    font-size: 0.95rem;
}

.service-card p {
    font-size: 0.875rem;
    margin: 0;
    line-height: 1.5;
}

/* CTA section */
.cta-section {
    background: #f5f7ff;
    border-radius: 8px;
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    text-align: center;
}

.cta-section p {
    margin-top: 0;
}

.highlight {
    font-size: 12px;
}

/* Mobile styles */
@media only screen and (max-width: 720px) {
    main {
        width: 100%;
        padding: 0 1rem;
    }

    header h1 {
        font-size: 1.1rem;
        padding: 0.3rem;
    }

    nav {
        flex-direction: row;
        justify-content: flex-start;
        flex-wrap: nowrap;
        gap: 0.15rem;
        padding: 0.15rem;
        overflow-x: auto;
    }

    nav a,
    nav a:link,
    nav a:visited,
    nav a:hover,
    nav a:active {
        font-size: 0.7rem;
        white-space: nowrap;
        padding: 0.25rem 0.35rem;
    }

    .center > img {
        width: 50%;
    }

    body > footer {
        width: 90%;
    }

    .cta-block {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-tagline {
        font-size: 1rem;
    }

    .header-tagline span {
        display: block;
    }

    .opening-line br {
        display: none;
    }

    .hero {
        flex-direction: column;
        align-items: center;
        gap: 0;
        margin: 0.5rem 0 0.5rem;
    }

    .hero-photo {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-bottom: 0.4rem;
    }

    .hero-photo img {
        width: 110px;
        height: 110px;
    }

    .hero-text {
        width: 100%;
    }

    .hero-text p:first-child {
        margin-top: 0;
    }

    .opening-line {
        font-size: 1rem;
        margin-top: 0;
    }

    .service-cards {
        grid-template-columns: 1fr;
    }

    .cta-section {
        padding: 1.25rem;
    }

    .cta-section .cta-block {
        align-items: center;
    }
}

/* Small screen adjustments */
@media only screen and (max-width: 480px) {
    header h1 {
        font-size: 1rem;
    }

    nav a,
    nav a:link,
    nav a:visited,
    nav a:hover,
    nav a:active {
        font-size: 0.65rem;
        padding: 0.2rem 0.3rem;
    }

    .center > img {
        width: 70%;
    }
}

.nav-icon {
    width: 1em;
    height: 1em;
    fill: currentColor;
    vertical-align: -0.125em;
}
