/* San Francisco Display */

@font-face {
    font-family: 'SFPro';
    font-weight: 200;
    src: url(/static/fonts/SFProDisplayUltralight.woff) format('woff');
}

@font-face {
    font-family: 'SFPro';
    font-weight: 200;
    font-style: italic;
    src: url(/static/fonts/SFProDisplayUltralightItalic.woff) format('woff');
}

@font-face {
    font-family: 'SFPro';
    font-weight: 300;
    src: url(/static/fonts/SFProDisplayThin.woff) format('woff');
}

@font-face {
    font-family: 'SFPro';
    font-weight: 300;
    font-style: italic;
    src: url(/static/fonts/SFProDisplayThinItalic.woff) format('woff');
}

@font-face {
    font-family: 'SFPro';
    font-weight: 400;
    src: url(/static/fonts/SFProDisplayLight.woff) format('woff');
}

@font-face {
    font-family: 'SFPro';
    font-weight: 400;
    font-style: italic;
    src: url(/static/fonts/SFProDisplayLightItalic.woff) format('woff');
}

@font-face {
    font-family: 'SFPro';
    font-weight: 500;
    src: url(/static/fonts/SFProDisplayRegular.woff) format('woff');
}

@font-face {
    font-family: 'SFPro';
    font-weight: 500;
    font-style: italic;
    src: url(/static/fonts/SFProDisplayRegularItalic.woff) format('woff');
}

@font-face {
    font-family: 'SFPro';
    font-weight: 600;
    src: url(/static/fonts/SFProDisplayMedium.woff) format('woff');
}

@font-face {
    font-family: 'SFPro';
    font-weight: 600;
    font-style: italic;
    src: url(/static/fonts/SFProDisplayMediumItalic.woff) format('woff');
}

@font-face {
    font-family: 'SFPro';
    font-weight: 700;
    src: url(/static/fonts/SFProDisplaySemibold.woff) format('woff');
}

@font-face {
    font-family: 'SFPro';
    font-weight: 700;
    font-style: italic;
    src: url(/static/fonts/SFProDisplaySemiboldItalic.woff) format('woff');
}

@font-face {
    font-family: 'SFPro';
    font-weight: 800;
    src: url(/static/fonts/SFProDisplayBold.woff) format('woff');
}

@font-face {
    font-family: 'SFPro';
    font-weight: 800;
    font-style: italic;
    src: url(/static/fonts/SFProDisplayBoldItalic.woff) format('woff');
}

@font-face {
    font-family: 'SFPro';
    font-weight: 900;
    src: url(/static/fonts/SFProDisplayHeavy.woff) format('woff');
}

@font-face {
    font-family: 'SFPro';
    font-weight: 900;
    font-style: italic;
    src: url(/static/fonts/SFProDisplayHeavyItalic.woff) format('woff');
}

@font-face {
    font-family: 'SFPro';
    font-weight: 1000;
    src: url(/static/fonts/SFProDisplayBlack.woff) format('woff');
}

/* San Francisco Rounded */

@font-face {
    font-family: 'SFProRounded';
    font-weight: 200;
    src: url(static/fonts/SFProRoundedUltralight.otf) format('opentype');
}

@font-face {
    font-family: 'SFProRounded';
    font-weight: 300;
    src: url(static/fonts/SFProRoundedThin.otf) format('opentype');
}

@font-face {
    font-family: 'SFProRounded';
    font-weight: 400;
    src: url(static/fonts/SFProRoundedLight.otf) format('opentype');
}

@font-face {
    font-family: 'SFProRounded';
    font-weight: 500;
    src: url(static/fonts/SFProRoundedRegular.otf) format('opentype');
}

@font-face {
    font-family: 'SFProRounded'; 
    font-weight: 600;
    src: url(static/fonts/SFProRoundedMedium.otf) format('opentype');
}

@font-face {
    font-family: 'SFProRounded';
    font-weight: 700;
    src: url(static/fonts/SFProRoundedSemibold.otf) format('opentype');
}

@font-face {
    font-family: 'SFProRounded';
    font-weight: 800;
    src: url(static/fonts/SFProRoundedBold.otf) format('opentype');
}

@font-face {
    font-family: 'SFProRounded';
    font-weight: 900;
    src: url(static/fonts/SFProRoundedHeavy.otf) format('opentype');
}

@font-face {
    font-family: 'SFProRounded';
    font-weight: 1000;
    src: url(static/fonts/SFProRoundedBlack.otf) format('opentype');
}

/* Springs Note Handwriting */

@font-face {
    font-family: 'SpringsNote';
    font-weight: 500;
    src: url(static/fonts/SpringsNoteRegular.otf) format('opentype');
}

@font-face {
    font-family: 'SpringsNote';
    font-weight: 600;
    src: url(static/fonts/SpringsNoteBold.otf) format('opentype');
}

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

* {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
}


.slideshow,
.slide {
    user-select: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    pointer-events: auto;
}


body {
    font-family: SFPro;
    background: #f4f4ed;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 50px;
}

header {
    font-family: SFPro, sans-serif;
    font-weight: 90000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 14px 30px;
    border-radius: 40px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    animation: fadeIn 0.8s ease-out;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

header .wordmark {
    height: 50px;
    user-select: none;
}

.nav-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    flex: 1;
}

.nav-buttons p {
    font-family: SFPro;
    font-weight: 600;
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0px 18px 0px 0px;
    margin: 0px 5px 0px 5px;
    border-radius: 9999px;
    background: #f4f4ed;
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: #1a1a1a;
    font-weight: 500;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.15s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), inset 0 0 1px rgba(255, 255, 255, 0.8);
}

.nav-btn:hover .icon-circle {
    background: #ffffff;
    box-shadow: none;
}

.icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2px 1px 2px 2px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #FBFBF8;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    transition: background 0.15s ease;
}

.icon-circle svg {
    width: 22px;
    height: 22px;
    stroke: rgba(0, 0, 0, 0.7);
    transition: stroke 0.25s ease;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08),
        inset 0 0 1px rgba(255, 255, 255, 0.8);
}

.nav-btn:hover .icon-circle svg {
    stroke: rgba(0, 0, 0, 0.9);
}

.right-nav .action-btn {
    padding: 10px 20px;
    background: linear-gradient(135deg, #ff4b4b, #ff0000cc);
    color: #ffffff;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.right-nav .action-btn:hover {
    box-shadow: 0 8px 5px rgba(255, 0, 0, 0.164);
}

.landing-page {
    display: flex;
    align-items: center;
    margin-top: 1em;
    text-align: center;
}

.bento-left {
    border-radius: 40px;
    background-color: #FBFBF8;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    width: 1200px;
    height: 900px;
    text-align: left;
    padding: 5em;
    margin-right: 1em;
}

.bento-left .action-buttons {
    margin-top: 2em;
    display: flex;
    gap: 1em;
}

.action-btn-primary {
    position: relative;
    display: flex;
    align-items: center;
    padding: 10px 25px;
    font-size: 1.2em;
    background: linear-gradient(135deg, #ff4b4b, #ff0000cc);
    border: 2px solid rgba(238, 238, 238, 0.3);
    color: #ffffff;
    border-radius: 30px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    padding-bottom: 30px; /* make space for caption at bottom */
}

.action-btn-primary::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.6) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    animation: shine 3.5s infinite;
}

.action-btn-primary .contact-person-caption {
  position: absolute;
  left: 50%;
  bottom: 6px;
  transform: translateX(-50%);
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  pointer-events: none;
  white-space: nowrap;
}


@keyframes shine {
    0% {
        left: -75%;
    }

    60% {
        left: 125%;
    }

    100% {
        left: 125%;
    }
}

.action-btn-primary:hover {
    box-shadow: 0 8px 20px rgba(255, 0, 0, 0.25);
}

.action-btn-primary:hover::before {
    animation: shine 1.5s;
}

.action-btn-primary svg {
    width: 20px;
    height: 20px;
    fill: #ffffff;
    margin-right: 10px;
}


.bento-text h1 {
    font-family: SFPro;
    font-weight: 800;
    font-size: 4.3rem;
    margin-bottom: 0.6em;
    max-width: 900px;
}

.bento-text h1 span {

    color: #ff0000;
}

.bento-text h2 {
    font-family: SFPro;
    color: #202020c4;
    font-weight: 500;
    font-size: 1.6rem;
    margin-bottom: 1.9em;
    max-width: 700px;
}

.bento-right {
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    width: 1000px;
    height: 900px;
    overflow: hidden;
    position: relative;
}

.bento-right .interface-tag {
    position: absolute;
    right: 25px;
    bottom: 25px;
    z-index: 10;
    padding: 8px 15px;
    background-color: rgba(0, 0, 0, 0.65);
    color: #ffffff;
    font-family: SFPro;
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 20px;
    pointer-events: none;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.bento-right .interface-tag span {
    position: relative;
    right: 1px;
}

.bento-right .slideshow {
    width: 100%;
    height: 100%;
    position: relative;
}

.bento-right .slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1);
    transition: opacity 1s ease, transform 1s ease;
    border-radius: 40px;
}

.bento-right .slide.active {
    opacity: 1;
    transform: scale(1.02);
    z-index: 2;
}

.bento-right .dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
}

.bento-right .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
}

.bento-right .dot.active {
    background: white;
    transform: scale(1.3);
}

/* --- Services / Contact / Footer styles --- */
.section-title {
    font-family: SFPro;
    font-weight: 700;
    font-size: 2em;
    margin: 24px 0;
    text-align: left;
}

.services {
    width: 100%;
    max-width: 2200px;
    margin: 40px auto;
    padding: 30px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.service-card {
    background: #FBFBF8;
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: transform .18s ease, box-shadow .18s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.09);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, #fff, #f7f7f7);
    margin-bottom: 12px;
}

.service-icon svg {
    width: 28px;
    height: 28px;
    stroke: #ff0000;
}

.service-card h4 {
    font-size: 1.4em;
    margin-bottom: 15px;
    font-weight: 700;
}

.service-card p {
    font-family: SFPro;
    font-weight: 500;
    color: #333;
    line-height: 1.45;
    font-size: 1.3em;
}

.contact-section {
    width: 100%;
    max-width: 2200px;
    padding: 30px;
    margin: 0 auto 40px;
}

.contact-wrap {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    justify-content: space-between;
    background: transparent;
}

.contact-form {
    flex: 1;
    min-width: 320px;
    max-width: 900px;
    background: #fff;
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.contact-form .form-row {
    margin-bottom: 12px;
    display: flex;
    gap: 12px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #fbfbfb;
    font-family: SFPro;
    font-size: 1rem;
}

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

.contact-form .contact-status {
    margin-left: 14px;
    align-self: center;
    font-size: 0.95rem;
}

.contact-info {
    width: 260px;
    padding: 18px;
    border-radius: 12px;
    background: #FBFBF8;
    text-align: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.contact-wordmark {
    max-width: 200px;
    margin-bottom: 45px;
    user-select: none;
}

.footer-logo {
    max-width: 160px;
    margin-bottom: 12px;
    user-select: none;
}

.site-footer {
    margin-top: 30px;
    padding: 28px;
    width: 100%;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(250, 250, 250, 0.95));
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}

.footer-inner {
    max-width: 2200px;
    margin: 0 auto;
    padding: 8px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 160px;
}

/* Footer left grouping */
.footer-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Mobile: stack and center content */
@media (max-width: 720px) {
    .site-footer {
        padding: 20px 0;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
        justify-content: center;
        /* center on mobile */
        gap: 12px;
    }

    .footer-left {
        justify-content: center;
    }
}

/* Footer links */
.footer-links a {
    color: #333;
    margin-left: 18px;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 10px;
    transition: background .18s ease, color .18s ease, transform .12s ease;
}

.footer-links a:hover {
    background: rgba(255, 0, 0, 0.06);
    color: #ff0000;
    transform: translateY(-2px);
}

/* Footer logo + footer improvements */
.footer-wordmark {
    max-width: 130px;
    width: min(40vw, 130px);
    height: auto;
    display: block;
    object-fit: contain;
    user-select: none;
}

/* Contact panel (right side) as hero with overlay and blur */
.contact-info {
    position: relative;
    width: 1000px;
    min-height: 350px;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    color: #fff;
    background-image: url('/static/assets/images/P8010385.JPG');
    background-size: cover;
    background-position: center;
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.18);
    flex-shrink: 0;
}

/* dark overlay for legibility */
.contact-info::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.432), rgba(0, 0, 0, 0.842));
    backdrop-filter: blur(4px) saturate(120%);
    -webkit-backdrop-filter: blur(4px) saturate(120%);
    z-index: 0;
}

/* content sits above overlay */
.contact-hero-content {
    position: relative;
    z-index: 2;
    padding: 22px;
    text-align: left;
    width: 100%;
}

/* Prefer to call block */
.call-block {
    margin-top: 6px;
}

.call-label {
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    opacity: 0.95;
    margin-bottom: 6px;
}

.call-number {
    display: inline-block;
    color: #fff;
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: 0.4px;
    margin-bottom: 10px;
}

/* Email row with icon */
.email-block {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
}

.email-icon {
    width: 22px;
    height: 22px;
    stroke: #fff;
    opacity: 0.95;
}

.email-link {
    color: #fff;
    font-weight: 600;
}

/* small note */
.small-note {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.87rem;
    margin-top: 12px;
}

/* Make contact form use SFPro */
.contact-form,
.contact-form input,
.contact-form textarea,
.contact-form button {
    font-family: SFPro, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

/* larger submit on narrow screens */
.form-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* Responsive adjustments */
@media (max-width: 1100px) {

    .bento-left,
    .bento-right {
        width: calc(50vw - 40px);
        height: auto;
    }

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

    .contact-info {
        width: 100%;
        min-height: 220px;
        order: -1;
    }

    .contact-wrap {
        flex-direction: column-reverse;
        gap: 18px;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
}

@media (max-width: 720px) {
    .container {
        padding: 20px;
    }

    .bento-left,
    .bento-right {
        width: 100%;
        height: auto;
        padding: 28px;
    }

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

    .nav-buttons {
        display: none;
    }

    /* keep header compact on mobile */
    .right-nav .action-btn {
        padding: 8px 14px;
        font-size: 0.95rem;
    }

    .contact-info {
        min-height: 200px;
        padding-bottom: 12px;
    }

    .contact-form {
        width: 100%;
    }

    .footer-wordmark {
        width: 60vw;
        max-width: 220px;
    }

    .call-number {
        font-size: 1.25rem;
    }
}

.action-buttons .contact-person {
  margin-top: 8px;
  font-size: 0.95rem;
  color: #202020;
}