/* Baylie N - Final Website Completion. Shared styles for all eight pages. */
:root {
    --ink: #344b43;
    --green: #438163;
    --mint: #d8f0e1;
    --lavender: #e3dbf0;
    --purple: #68518b;
    --pink: #f2d4d1;
    --sage: #e5e9db;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 20px;
}

body {
    margin: 0;
    color: var(--ink);
    background: #fffefd;
    font-family: "Trebuchet MS", Arial, sans-serif;
    font-size: 17px;
    line-height: 1.7;
}

img {
    max-width: 100%;
}

a {
    color: var(--purple);
    text-underline-offset: 4px;
}

a:hover {
    color: #2c684e;
}

a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 3px solid #68518b;
    outline-offset: 4px;
}

h1, h2, h3, p {
    margin-top: 0;
}

h1, h2, h3 {
    line-height: 1.25;
}

h1, h2, .brand, .welcome {
    font-family: "Segoe Print", "Comic Sans MS", cursive;
}

h1 {
    color: var(--green);
    font-size: clamp(36px, 4.3vw, 62px);
    margin-bottom: 18px;
}

h1 span {
    color: #8770b4;
}

h2 {
    font-size: clamp(25px, 2.5vw, 34px);
    color: var(--purple);
}

h3 {
    font-size: 21px;
}

button, input, select, textarea {
    font: inherit;
}

button, summary {
    cursor: pointer;
}

[hidden] {
    display: none !important;
}

.container {
    width: 88%;
    max-width: 1260px;
    margin-right: auto;
    margin-left: auto;
}

.narrow {
    max-width: 900px;
}

.site-header {
    padding: 20px 6%;
    background: linear-gradient(#b2a1d7, #edcfe9 58%, #dbacc7);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    gap: 25px;
    align-items: center;
    color: #655387;
    text-decoration: none;
    font-size: clamp(28px, 3.5vw, 48px);
    line-height: 1.1;
}

.brand:hover {
    color: #4b376c;
}

.brand small {
    display: block;
    font-size: .65em;
    margin-top: 10px;
}

.brand .logo {
    width: 125px;
    flex-shrink: 0;
}

.site-navigation {
    display: flex;
    gap: 10px;
    padding: 10px 3%;
    background: #eee6eb;
}

/* Normal, rollover, and current-page states are separate and visible. */
.site-navigation a {
    flex: 1;
    display: block;
    padding: 9px 8px;
    color: #315f4b;
    background: var(--mint);
    border: 2px solid #78bca0;
    border-radius: 28px;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    white-space: nowrap;
    transition: background-color .15s, color .15s, box-shadow .15s;
}

.site-navigation a:hover, .site-navigation a:focus-visible {
    background: var(--lavender);
    color: #4b356b;
    border-color: #8b73b3;
    box-shadow: 0 3px 0 #b6a6cf;
}

.site-navigation a[aria-current="page"] {
    background: #4c876b;
    color: white;
    border-color: #315f4b;
    box-shadow: inset 0 -3px 0 #315f4b;
}

.site-navigation a[aria-current="page"]:hover {
    background: #386e54;
    color: white;
}

.menu-toggle {
    display: none;
    border: 2px solid #68518b;
    border-radius: 12px;
    background: var(--lavender);
    color: #4b356b;
    padding: 8px 12px;
}

.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 35px;
    padding-top: 34px;
}

.hero-pets {
    align-self: end;
}

.hero-copy {
    text-align: center;
    padding: 20px 0 30px;
}

.welcome {
    font-size: clamp(22px, 2.2vw, 30px);
}

.eyebrow {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .16em;
    font-weight: bold;
    color: #5b7062;
    margin-bottom: 12px;
}

.button {
    display: inline-block;
    border: 2px solid #ac99cf;
    border-radius: 30px;
    background: var(--lavender);
    color: #51406e;
    padding: 12px 28px;
    font-weight: bold;
    text-decoration: none;
}

.button:hover {
    background: #c9b8e4;
    color: #35234f;
}

.button-small {
    padding: 9px 20px;
    font-size: 15px;
}

.text-link {
    font-weight: bold;
}

.mint {
    background: var(--mint);
}

.lavender {
    background: var(--lavender);
}

.pink {
    background: var(--pink);
}

.sage {
    background: var(--sage);
}

.services {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    background: var(--sage);
    padding: 18px;
    margin-top: 24px;
}

.service {
    padding: 13px 13px 20px;
    border-radius: 10px;
    text-align: center;
}

.service .art {
    border-radius: 18px;
}

.service h2 {
    font-size: clamp(21px, 1.9vw, 27px);
    margin: 18px 0 12px;
}

.service h2 a {
    text-decoration: none;
}

.service h2 a:hover {
    text-decoration: underline;
}

.service p {
    min-height: 3.4em;
    font-size: 16px;
}

.service .text-link {
    font-size: 14px;
}

.split-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 30px;
    border: 1px solid #c5cec3;
    border-radius: 14px;
    overflow: hidden;
    background: white;
}

.image-panel {
    display: flex;
    align-items: center;
    padding: 30px;
}

.image-panel .art {
    width: 100%;
    border-radius: 30px;
}

.panel-copy {
    padding: 35px;
}

.panel-copy p:last-child {
    margin-bottom: 0;
}

.hearts {
    list-style: none;
    padding: 0;
}

.hearts li {
    position: relative;
    padding-left: 28px;
    margin: 17px 0;
}

.hearts li::before {
    content: "♥";
    position: absolute;
    left: 0;
    color: #6b967b;
}

.intro {
    padding: 35px;
    background: #f3f7f1;
    margin-top: 25px;
    border-radius: 12px;
}

.testimonials {
    margin-top: 30px;
    margin-bottom: 35px;
    padding: 28px;
    background: var(--sage);
    border-radius: 12px;
}

.testimonials > h2 {
    text-align: center;
}

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

figure {
    margin: 0;
    padding: 20px;
    border-radius: 12px;
}

.pet-avatar {
    float: left;
    width: 75px;
    border-radius: 50%;
    border: 3px solid white;
    margin: 0 14px 8px 0;
}

blockquote {
    margin: 0;
    font-size: 16px;
}

figcaption {
    text-align: right;
    margin-top: 15px;
}

.page-heading {
    padding: 46px 0 14px;
    text-align: center;
}

.page-heading > p:last-child {
    font-size: 21px;
}

.boarding-banner {
    margin-top: 30px;
    background: #e3dbf0;
    border-radius: 14px;
    overflow: hidden;
    text-align: center;
}

.boarding-banner img {
    display: block;
    width: 100%;
    height: auto;
}

.section {
    margin-top: 35px;
    margin-bottom: 35px;
}

.three-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.info-card {
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #c5cec3;
}

.info-card p:last-child {
    margin-bottom: 0;
}

table {
    border-collapse: collapse;
    width: 100%;
    text-align: left;
    background: #fff;
}

caption {
    text-align: left;
    font-weight: bold;
    padding-bottom: 12px;
}

th, td {
    border: 1px solid #b3c7b8;
    padding: 14px;
}

thead {
    background: var(--mint);
}

.muted {
    font-size: 14px;
    color: #526458;
    margin-top: 18px;
}

.steps li {
    margin-bottom: 14px;
    padding-left: 8px;
}

.grooming-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.grooming-list li {
    padding: 22px;
    background: var(--pink);
    border-radius: 12px;
}

.grooming-list strong, .grooming-list span {
    display: block;
}

.grooming-list strong {
    margin-bottom: 8px;
    color: #694854;
}

.mission {
    padding: 30px;
    background: var(--lavender);
    border-radius: 14px;
}

.notice {
    padding: 18px;
    border-left: 4px solid #9178b5;
    background: #f3eff8;
    font-size: 15px;
}

.portal-demo {
    padding: 28px;
    background: #f5f7f1;
    border: 1px solid #c5cec3;
    border-radius: 14px;
}

.portal-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.portal-top h2 {
    margin-bottom: 0;
}

#demo-dashboard {
    margin-top: 25px;
}

.portal-secondary {
    margin-top: 20px;
}

.contact-layout {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 35px;
    margin-top: 30px;
    margin-bottom: 40px;
}

.contact-info {
    padding: 10px;
}

address {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-style: normal;
    margin: 20px 0;
    overflow-wrap: anywhere;
}

.booking-panel {
    padding: 30px;
    background: var(--mint);
    border-radius: 14px;
}

label {
    display: block;
    margin: 14px 0 6px;
    font-weight: bold;
    font-size: 15px;
}

input, select, textarea {
    display: block;
    width: 100%;
    border: 1px solid #89a293;
    padding: 11px;
    color: var(--ink);
    background: white;
    border-radius: 6px;
}

textarea {
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

form > .button {
    margin-top: 22px;
}

.reset-button {
    margin: 15px 0 0 12px;
    border: 0;
    color: #51406e;
    background: transparent;
    text-decoration: underline;
}

.inquiry-preview {
    margin-top: 25px;
    padding: 20px;
    background: white;
    border: 1px solid #89a293;
    border-radius: 10px;
}

#inquiry-text {
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.site-footer {
    background: #78bca0;
    margin-top: 45px;
    padding: 35px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px;
    align-items: start;
}

.footer-grid > * {
    min-width: 0;
}

.site-footer h2 {
    font-size: 24px;
    color: #2e5140;
}

.site-footer a {
    color: #303f35;
}

.site-footer a:hover {
    color: #4d2b6d;
}

.site-footer address {
    margin: 0;
    overflow-wrap: break-word;
}

.site-footer address a[href^="tel:"] {
    white-space: nowrap;
}

.site-footer .button {
    white-space: nowrap;
}

.footer-links {
    margin: 0;
    padding-left: 20px;
}

.project-note {
    border-top: 1px solid #4e8169;
    padding-top: 18px;
    margin-top: 28px;
    margin-bottom: 0;
    font-size: 12px;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 12px;
    z-index: 10;
    background: white;
    padding: 12px;
}

.skip-link:focus {
    top: 12px;
}

code {
    overflow-wrap: anywhere;
}

.art {
    position: relative;
    overflow: hidden;
}

.art img {
    position: absolute;
    display: block;
    max-width: none;
    height: auto;
}

.logo {
    aspect-ratio: 180 / 102;
}

.logo img {
    width: 568.889%;
    left: -30%;
    top: -15.686%;
}

.hero-pets {
    aspect-ratio: 515 / 330;
}

.hero-pets img {
    width: 198.835%;
    left: -4.854%;
    top: -59.091%;
}

.daycare-photo {
    aspect-ratio: 216 / 143;
}

.daycare-photo img {
    width: 474.074%;
    left: -18.519%;
    top: -390.21%;
}

.boarding-photo {
    aspect-ratio: 203 / 143;
}

.boarding-photo img {
    width: 504.433%;
    left: -143.842%;
    top: -390.21%;
}

.grooming-photo {
    aspect-ratio: 209 / 143;
}

.grooming-photo img {
    width: 489.952%;
    left: -255.502%;
    top: -390.21%;
}

.booking-photo {
    aspect-ratio: 204 / 143;
}

.booking-photo img {
    width: 501.961%;
    left: -382.843%;
    top: -390.21%;
}

.facility-photo {
    aspect-ratio: 438 / 232;
}

.facility-photo img {
    width: 233.79%;
    left: -9.132%;
    top: -388.793%;
}

.avatar-dog, .avatar-cat, .avatar-small-dog {
    aspect-ratio: 1;
}

.avatar-dog img {
    width: 1204.706%;
    left: -56.471%;
    top: -1477.647%;
}

.avatar-cat img {
    width: 1204.706%;
    left: -441.176%;
    top: -1477.647%;
}

.avatar-small-dog img {
    width: 1204.706%;
    left: -831.765%;
    top: -1477.647%;
}


@media (max-width: 1100px) {
    .site-navigation {
        gap: 5px;
        padding: 8px 2%;
        font-size: 14px;
    }

    .site-navigation a {
        padding: 8px 5px;
    }

    .container {
        width: 94%;
    }

    .panel-copy {
        padding: 25px;
    }

    .image-panel {
        padding: 20px;
    }

}
@media (max-width: 800px) {
    .site-header {
        padding: 18px 4%;
    }

    .brand {
        font-size: 29px;
        gap: 15px;
    }

    .brand .logo {
        width: 85px;
    }

    .menu-toggle {
        display: block;
    }

    .site-navigation {
        flex-wrap: wrap;
    }

    .site-navigation a {
        flex: 1 1 40%;
    }

    .site-navigation.can-collapse {
        display: none;
    }

    .site-navigation.can-collapse.is-open {
        display: flex;
    }

    .hero {
        gap: 20px;
    }

    .hero h1 {
        font-size: 35px;
    }

    .hero .eyebrow {
        font-size: 11px;
    }

    .welcome {
        font-size: 21px;
    }

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

    .service h2 {
        font-size: 25px;
    }

    .split-panel {
        grid-template-columns: 1fr;
    }

    .image-panel .art {
        max-width: 600px;
        margin: auto;
    }

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

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

    .contact-layout {
        grid-template-columns: 1fr;
    }

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

    .footer-grid > :last-child {
        grid-column: 1 / -1;
    }

    .portal-top {
        align-items: flex-start;
        flex-direction: column;
    }

}
@media (max-width: 520px) {
    body {
        font-size: 16px;
    }

    .brand {
        font-size: 24px;
        gap: 9px;
    }

    .brand .logo {
        width: 62px;
    }

    .menu-toggle {
        font-size: 22px;
        padding: 5px 9px;
    }

    .menu-toggle span {
        display: none;
    }

    .hero {
        grid-template-columns: 1fr;
        padding-top: 16px;
        gap: 0;
    }

    .hero-copy {
        grid-row: 1;
        padding-bottom: 22px;
    }

    .hero-pets {
        max-width: 500px;
        width: 100%;
        margin: auto;
    }

    .hero h1 {
        font-size: 39px;
    }

    .services {
        padding: 10px;
        gap: 10px;
    }

    .service {
        padding: 9px 9px 18px;
    }

    .service h2 {
        font-size: 20px;
    }

    .service p {
        font-size: 14px;
    }

    .service .text-link {
        font-size: 13px;
    }

    .intro, .panel-copy, .testimonials, .portal-demo, .booking-panel {
        padding: 22px;
    }

    .grooming-list {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .page-heading {
        padding-top: 30px;
    }

    .page-heading h1 {
        font-size: 36px;
    }

    .page-heading > p:last-child {
        font-size: 18px;
    }

    th, td {
        padding: 9px;
        font-size: 13px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-grid > :last-child {
        grid-column: auto;
    }

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

    .brand {
        font-size: 21px;
    }

}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .site-navigation a {
        transition: none;
    }

}
