/* =========================================================
BOYLYN SERVICES PAGE
========================================================= */

/* =========================================================
SHARED
========================================================= */

.services-eyebrow {
margin: 0;
font-family: var(--font-body);
font-size: 0.66rem;
font-weight: 800;
letter-spacing: 0.2em;
text-transform: uppercase;
color: var(--gold);
}

.services-section-label {
display: flex;
align-items: center;
gap: 18px;
margin-bottom: 65px;
}

.services-section-label span {
color: var(--gold);
font-family: var(--font-body);
font-size: 0.64rem;
font-weight: 800;
}

.services-section-label p {
margin: 0;
color: rgba(245, 241, 232, 0.42);
font-family: var(--font-body);
font-size: 0.62rem;
font-weight: 800;
letter-spacing: 0.18em;
}

.services-section-label::after {
content: "";
width: 70px;
height: 1px;
background: rgba(201, 164, 92, 0.3);
}

.services-section-label--dark p {
color: rgba(27, 27, 27, 0.42);
}

.services-section-label--dark::after {
background: rgba(27, 27, 27, 0.14);
}

/* =========================================================
HERO
========================================================= */

.services-hero {
position: relative;
min-height: 620px;
overflow: hidden;
background: var(--black);
color: var(--white);
}

.services-hero__background {
position: absolute;
inset: 0;
background:
radial-gradient(
circle at 72% 45%,
rgba(201, 164, 92, 0.16),
transparent 26%
),
linear-gradient(
115deg,
#070707,
#151515 55%,
#24211c
);
 background-image: url("/images/home/services.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

}

.services-hero__overlay {
position: absolute;
inset: 0;
background:
linear-gradient(
90deg,
rgba(5, 5, 5, 0.98),
rgba(5, 5, 5, 0.58),
rgba(5, 5, 5, 0.18)
),
linear-gradient(
0deg,
rgba(5, 5, 5, 0.9),
transparent 55%
);
}

.services-hero__container {
position: relative;
z-index: 2;
min-height: 620px;
display: flex;
flex-direction: column;
justify-content: center;
padding-top: 80px;
padding-bottom: 45px;
}

.services-hero__content {
max-width: 900px;
}

.services-hero__eyebrow {
display: flex;
align-items: center;
gap: 13px;
margin-bottom: 25px;
}

.services-hero__eyebrow span {
width: 38px;
height: 1px;
background: var(--gold);
}

.services-hero__eyebrow p {
margin: 0;
color: var(--gold-light);
font-family: var(--font-body);
font-size: 0.63rem;
font-weight: 800;
letter-spacing: 0.2em;
}

.services-hero h1 {
margin: 0;
font-family: var(--font-display);
font-size: clamp(6rem, 12vw, 11rem);
font-weight: 400;
line-height: 0.75;
text-transform: uppercase;
}

.services-hero h1 em {
display: block;
margin-left: 0.08em;
font-family: var(--font-editorial);
font-size: 0.34em;
font-style: italic;
line-height: 1.2;
text-transform: none;
color: var(--gold);
}

.services-hero__content > p {
max-width: 500px;
margin: 35px 0 0;
color: rgba(245, 241, 232, 0.6);
font-size: 0.88rem;
line-height: 1.8;
}

.services-hero__bottom {
display: flex;
justify-content: space-between;
align-items: center;
margin-top: auto;
padding-top: 70px;
color: rgba(245, 241, 232, 0.4);
font-family: var(--font-body);
font-size: 0.56rem;
font-weight: 800;
letter-spacing: 0.16em;
}

.services-hero__bottom div {
display: flex;
gap: 10px;
}

.services-hero__bottom strong {
color: var(--gold);
}

/* =========================================================
INTRO
========================================================= */

.services-intro {
padding: 140px 0;
background: var(--ivory);
color: var(--text-dark);
}

.services-intro__grid {
display: grid;
grid-template-columns: 1.2fr 0.8fr;
gap: 100px;
align-items: end;
}

.services-intro h2 {
max-width: 800px;
margin: 18px 0 0;
font-family: var(--font-display);
font-size: clamp(5rem, 8vw, 9rem);
font-weight: 400;
line-height: 0.77;
text-transform: uppercase;
}

.services-intro h2 em {
display: block;
font-family: var(--font-editorial);
font-size: 0.42em;
font-style: italic;
line-height: 1.2;
text-transform: none;
color: var(--gold);
}

.services-intro__copy {
padding-bottom: 5px;
}

.services-intro__copy p {
max-width: 480px;
margin: 0 0 22px;
color: var(--text-muted);
font-size: 0.88rem;
line-height: 1.9;
}

/* =========================================================
SERVICES LIST
========================================================= */

.services-list {
padding: 140px 0 160px;
background: var(--black);
color: var(--white);
}

.service-feature {
position: relative;
display: grid;
grid-template-columns: 70px 0.8fr 1fr;
gap: 60px;
align-items: center;
min-height: 650px;
padding: 80px 0;
border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.service-feature:last-child {
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.service-feature--reverse {
grid-template-columns: 70px 1fr 0.8fr;
}

.service-feature--reverse .service-feature__visual {
order: 2;
}

.service-feature--reverse .service-feature__content {
order: 1;
}

.service-feature__number {
align-self: start;
padding-top: 5px;
color: rgba(201, 164, 92, 0.55);
font-family: var(--font-display);
font-size: 1.6rem;
}

.service-feature__content {
max-width: 540px;
}

.service-feature__content h2 {
margin: 18px 0 30px;
font-family: var(--font-display);
font-size: clamp(5rem, 7vw, 8rem);
font-weight: 400;
line-height: 0.76;
text-transform: uppercase;
}

.service-feature__content h2 em {
display: block;
margin-left: 0.05em;
font-family: var(--font-editorial);
font-size: 0.43em;
font-style: italic;
line-height: 1.25;
text-transform: none;
color: var(--gold);
}

.service-feature__description {
max-width: 500px;
margin: 0 0 40px;
color: rgba(245, 241, 232, 0.55);
font-size: 0.84rem;
line-height: 1.9;
}

.service-feature__meta {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 25px;
margin-bottom: 40px;
padding: 22px 0;
border-top: 1px solid rgba(255, 255, 255, 0.1);
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.service-feature__meta span {
display: block;
margin-bottom: 8px;
color: rgba(245, 241, 232, 0.3);
font-family: var(--font-body);
font-size: 0.49rem;
font-weight: 800;
letter-spacing: 0.14em;
}

.service-feature__meta strong {
color: rgba(245, 241, 232, 0.8);
font-family: var(--font-body);
font-size: 0.66rem;
font-weight: 600;
line-height: 1.5;
}

.service-feature__meta > div:last-child strong {
color: var(--gold-light);
font-size: 0.8rem;
}

.service-feature__visual {
height: 590px;
}

.service-placeholder {
position: relative;
width: 100%;
height: 100%;
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
background:
radial-gradient(
circle at 50% 40%,
rgba(201, 164, 92, 0.18),
transparent 28%
),
linear-gradient(
145deg,
#292929,
#101010
);
}

.service-placeholder::before {
content: "";
position: absolute;
width: 65%;
height: 110%;
left: 17%;
top: 5%;
border-radius: 50%;
background:
radial-gradient(
circle,
rgba(255, 255, 255, 0.06),
transparent 65%
);
transform: rotate(25deg);
}

.service-placeholder span {
position: relative;
z-index: 2;
color: rgba(201, 164, 92, 0.3);
font-family: var(--font-display);
font-size: 10rem;
}

.service-placeholder small {
position: absolute;
z-index: 3;
left: 25px;
bottom: 25px;
color: rgba(255, 255, 255, 0.4);
font-family: var(--font-body);
font-size: 0.5rem;
font-weight: 800;
letter-spacing: 0.18em;
}

.services-button {
display: inline-flex;
align-items: center;
justify-content: space-between;
gap: 35px;
min-width: 220px;
padding: 18px 20px 18px 25px;
border: 1px solid var(--gold);
background: transparent;
color: var(--white);
font-family: var(--font-body);
font-size: 0.61rem;
font-weight: 800;
letter-spacing: 0.14em;
text-decoration: none;
text-transform: uppercase;
transition:
background var(--transition),
color var(--transition),
transform var(--transition);
}

.services-button strong {
color: var(--gold);
font-size: 1rem;
font-weight: 400;
}

.services-button:hover {
background: var(--gold);
color: var(--black);
transform: translateY(-3px);
}

.services-button:hover strong {
color: var(--black);
}

/* =========================================================
NOTE
========================================================= */

.services-note {
padding: 120px 0;
background: var(--charcoal);
color: var(--white);
}

.services-note .container {
display: grid;
grid-template-columns: 100px 1fr;
gap: 80px;
align-items: start;
}

.services-note__number {
color: var(--gold);
font-family: var(--font-display);
font-size: 2rem;
}

.services-note__content {
max-width: 850px;
}

.services-note__content h2 {
margin: 20px 0 25px;
font-family: var(--font-display);
font-size: clamp(4.5rem, 7vw, 8rem);
font-weight: 400;
line-height: 0.78;
text-transform: uppercase;
}

.services-note__content h2 em {
display: block;
font-family: var(--font-editorial);
font-size: 0.4em;
font-style: italic;
line-height: 1.25;
text-transform: none;
color: var(--gold);
}

.services-note__content > p:last-child {
max-width: 570px;
margin: 0;
color: rgba(245, 241, 232, 0.5);
font-size: 0.84rem;
line-height: 1.9;
}

/* =========================================================
CTA
========================================================= */

.services-cta {
padding: 145px 0;
background: var(--gold);
color: var(--black);
text-align: center;
}

.services-cta .container {
display: flex;
flex-direction: column;
align-items: center;
}

.services-cta .services-eyebrow {
color: rgba(10, 10, 10, 0.55);
}

.services-cta h2 {
max-width: 900px;
margin: 25px 0;
font-family: var(--font-display);
font-size: clamp(5rem, 9vw, 10rem);
font-weight: 400;
line-height: 0.77;
text-transform: uppercase;
}

.services-cta h2 em {
display: block;
font-family: var(--font-editorial);
font-size: 0.42em;
font-style: italic;
line-height: 1.2;
text-transform: none;
}

.services-cta > .container > p:not(.services-eyebrow) {
max-width: 520px;
margin: 0 0 35px;
color: rgba(10, 10, 10, 0.58);
font-size: 0.88rem;
line-height: 1.8;
}

.services-button--dark {
border-color: var(--black);
background: var(--black);
color: var(--white);
}

.services-button--dark strong {
color: var(--gold);
}

.services-button--dark:hover {
background: var(--charcoal);
color: var(--white);
}

/* =========================================================
TABLET
========================================================= */

@media (max-width: 1000px) {

.services-intro__grid {
    grid-template-columns: 1fr;
    gap: 55px;
}

.service-feature,
.service-feature--reverse {
    grid-template-columns: 55px 1fr;
    gap: 45px;
}

.service-feature__visual {
    grid-column: 2;
    height: 500px;
}

.service-feature__content {
    grid-column: 2;
}

.service-feature--reverse .service-feature__visual {
    order: initial;
}

.service-feature--reverse .service-feature__content {
    order: initial;
}

}

/* =========================================================
MOBILE
========================================================= */

@media (max-width: 700px) {

.services-hero,
.services-hero__container {
    min-height: 550px;
}

.services-hero__container {
    padding-top: 70px;
    padding-bottom: 30px;
}

.services-hero h1 {
    font-size: clamp(5rem, 21vw, 7rem);
}

.services-hero__content > p {
    max-width: 360px;
    font-size: 0.8rem;
}

.services-hero__bottom {
    padding-top: 50px;
}

.services-intro,
.services-list,
.services-note,
.services-cta {
    padding: 95px 0;
}

.services-intro h2,
.services-note__content h2,
.services-cta h2 {
    font-size: clamp(4.3rem, 18vw, 6.5rem);
}

.service-feature,
.service-feature--reverse {
    grid-template-columns: 35px 1fr;
    gap: 20px;
    min-height: 0;
    padding: 65px 0;
}

.service-feature__number {
    font-size: 1.2rem;
}

.service-feature__content {
    grid-column: 2;
}

.service-feature__content h2 {
    font-size: clamp(4.5rem, 17vw, 6rem);
}

.service-feature__description {
    font-size: 0.8rem;
}

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

.service-feature__visual {
    grid-column: 2;
    height: 360px;
}

.service-placeholder span {
    font-size: 7rem;
}

.services-note .container {
    grid-template-columns: 1fr;
    gap: 30px;
}

.services-note__number {
    font-size: 1.5rem;
}

}

@media (max-width: 420px) {

.service-feature__visual {
    height: 310px;
}

.service-feature__content h2 {
    font-size: 4.2rem;
}

}


/* =========================================================
   BOYLYN ADMIN — SERVICE FORM
   Create / Edit Service
========================================================= */

.admin-services-page {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 42px 42px 70px;
    box-sizing: border-box;
}


/* =========================================================
   FORM HEADER
========================================================= */

.services-form-header {
    margin-bottom: 38px;
}

.services-form-header > div {
    max-width: 900px;
}

.admin-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;

    color: #6b6b64;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.admin-back-link:hover {
    color: #1c1c1a;
    transform: translateX(-3px);
}

.admin-eyebrow {
    margin: 0 0 10px;

    color: #9b7940;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.services-form-header h1 {
    margin: 0;

    color: #181816;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.05;
    font-weight: 600;
    letter-spacing: -0.035em;
}

.services-form-header p:not(.admin-eyebrow) {
    margin: 13px 0 0;

    color: #777770;
    font-size: 15px;
    line-height: 1.7;
}


/* =========================================================
   FORM GRID
========================================================= */

.service-form-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 26px;
    align-items: start;
}

.service-form-main,
.service-form-sidebar {
    display: flex;
    flex-direction: column;
    gap: 26px;
}


/* =========================================================
   FORM CARDS
========================================================= */

.admin-form-card {
    background: #ffffff;
    border: 1px solid #e7e5df;
    border-radius: 2px;
    padding: 30px;

    box-shadow:
        0 10px 35px rgba(24, 24, 22, 0.035);
}

.admin-form-card-header {
    padding-bottom: 22px;
    margin-bottom: 25px;
    border-bottom: 1px solid #eceae4;
}

.admin-form-card-header p {
    margin: 0 0 8px;

    color: #9b7940;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.admin-form-card-header h2 {
    margin: 0;

    color: #20201d;
    font-size: 22px;
    line-height: 1.25;
    font-weight: 600;
    letter-spacing: -0.02em;
}


/* =========================================================
   FORM FIELDS
========================================================= */

.admin-form-field {
    margin-bottom: 24px;
}

.admin-form-field:last-child {
    margin-bottom: 0;
}

.admin-form-field label {
    display: block;
    margin-bottom: 9px;

    color: #464640;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.admin-form-field input,
.admin-form-field textarea,
.admin-form-field select {
    width: 100%;
    box-sizing: border-box;

    border: 1px solid #dcdad3;
    border-radius: 1px;

    background: #fafaf8;

    color: #242420;
    font-family: inherit;
    font-size: 14px;

    outline: none;

    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.admin-form-field input {
    min-height: 50px;
    padding: 0 15px;
}

.admin-form-field textarea {
    display: block;
    min-height: 190px;
    padding: 15px;
    resize: vertical;
    line-height: 1.65;
}

.admin-form-field input::placeholder,
.admin-form-field textarea::placeholder {
    color: #aaa9a2;
}

.admin-form-field input:focus,
.admin-form-field textarea:focus,
.admin-form-field select:focus {
    border-color: #9b7940;
    background: #ffffff;

    box-shadow:
        0 0 0 3px rgba(155, 121, 64, 0.08);
}


/* =========================================================
   PRICE FIELD
========================================================= */

.price-input {
    display: flex;
    align-items: stretch;

    border: 1px solid #dcdad3;
    background: #fafaf8;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.price-input:focus-within {
    border-color: #9b7940;
    background: #ffffff;

    box-shadow:
        0 0 0 3px rgba(155, 121, 64, 0.08);
}

.price-input > span {
    display: flex;
    align-items: center;

    padding: 0 16px;

    border-right: 1px solid #dedcd6;

    color: #777770;
    font-size: 13px;
    font-weight: 600;

    background: #f2f1ec;
}

.price-input input {
    flex: 1;

    min-height: 50px;
    padding: 0 15px;

    border: 0;
    background: transparent;

    outline: none;
}


/* =========================================================
   ERROR MESSAGES
========================================================= */

.form-error {
    display: block;
    margin-top: 8px;

    color: #a7463f;
    font-size: 12px;
    line-height: 1.5;
}


/* =========================================================
   VISIBILITY SWITCHES
========================================================= */

.admin-switch-row {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    min-height: 68px;
    padding: 14px 0;

    border-bottom: 1px solid #eceae4;

    cursor: pointer;
}

.admin-switch-row:first-of-type {
    padding-top: 0;
}

.admin-switch-row > div {
    min-width: 0;
}

.admin-switch-row strong {
    display: block;

    margin-bottom: 4px;

    color: #292925;
    font-size: 14px;
    font-weight: 600;
}

.admin-switch-row small {
    display: block;

    color: #85847d;
    font-size: 11px;
    line-height: 1.5;
}

.admin-switch-row input[type="checkbox"] {
    position: absolute;

    width: 1px;
    height: 1px;

    opacity: 0;
    pointer-events: none;
}

.admin-switch {
    position: relative;

    flex: 0 0 auto;

    width: 46px;
    height: 25px;

    border-radius: 999px;

    background: #d6d4ce;

    transition:
        background 0.2s ease;
}

.admin-switch::after {
    content: "";

    position: absolute;
    top: 3px;
    left: 3px;

    width: 19px;
    height: 19px;

    border-radius: 50%;

    background: #ffffff;

    box-shadow:
        0 1px 4px rgba(0, 0, 0, 0.18);

    transition:
        transform 0.2s ease;
}

.admin-switch-row input[type="checkbox"]:checked + .admin-switch {
    background: #9b7940;
}

.admin-switch-row input[type="checkbox"]:checked + .admin-switch::after {
    transform: translateX(21px);
}


/* =========================================================
   DISPLAY ORDER
========================================================= */

.service-form-sidebar .admin-form-card .admin-form-field {
    margin-top: 25px;
}


/* =========================================================
   CURRENT SERVICE IMAGE
========================================================= */

.current-service-image {
    width: 100%;
    margin-bottom: 18px;

    overflow: hidden;

    background: #efeee9;
    border: 1px solid #e2e0d9;
}

.current-service-image img {
    display: block;

    width: 100%;
    height: 220px;

    object-fit: cover;
}


/* =========================================================
   IMAGE UPLOAD
========================================================= */

.service-image-upload input[type="file"] {
    position: absolute;

    width: 1px;
    height: 1px;

    opacity: 0;
    pointer-events: none;
}

.service-image-upload label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    min-height: 155px;
    padding: 25px;

    border: 1px dashed #c9c6bd;
    background: #fafaf8;

    text-align: center;
    cursor: pointer;

    transition:
        border-color 0.2s ease,
        background 0.2s ease;
}

.service-image-upload label:hover {
    border-color: #9b7940;
    background: #f8f6f0;
}

.service-image-upload label > span {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;
    margin-bottom: 12px;

    border: 1px solid #d3d0c7;
    border-radius: 50%;

    color: #9b7940;
    font-size: 22px;
    line-height: 1;
}

.service-image-upload label strong {
    display: block;

    margin-bottom: 5px;

    color: #363631;
    font-size: 13px;
    font-weight: 600;
}

.service-image-upload label small {
    color: #88877f;
    font-size: 10px;
}


/* =========================================================
   FORM ACTIONS
========================================================= */

.service-form-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;

    margin-top: 28px;
    padding-top: 25px;

    border-top: 1px solid #e5e3dc;
}

.admin-secondary-button,
.admin-primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;
    padding: 0 23px;

    border: 0;
    border-radius: 1px;

    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;

    text-decoration: none;
    cursor: pointer;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

.admin-secondary-button {
    border: 1px solid #d8d5cd;

    background: #ffffff;
    color: #484842;
}

.admin-secondary-button:hover {
    border-color: #b9b5aa;
    background: #f6f5f1;

    transform: translateY(-1px);
}

.admin-primary-button {
    background: #1d1d1a;
    color: #ffffff;
}

.admin-primary-button:hover {
    background: #9b7940;

    transform: translateY(-1px);
}


/* =========================================================
   RESPONSIVE — TABLET
========================================================= */

@media (max-width: 1050px) {

    .admin-services-page {
        padding: 35px 28px 60px;
    }

    .service-form-grid {
        grid-template-columns: minmax(0, 1fr) 310px;
        gap: 20px;
    }

    .admin-form-card {
        padding: 25px;
    }

}


/* =========================================================
   RESPONSIVE — MOBILE
========================================================= */

@media (max-width: 800px) {

    .admin-services-page {
        padding: 28px 18px 50px;
    }

    .services-form-header {
        margin-bottom: 28px;
    }

    .services-form-header h1 {
        font-size: 36px;
    }

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

    .service-form-main,
    .service-form-sidebar {
        gap: 20px;
    }

    .admin-form-card {
        padding: 21px;
    }

    .admin-form-card-header {
        padding-bottom: 18px;
        margin-bottom: 21px;
    }

    .admin-form-card-header h2 {
        font-size: 19px;
    }

    .admin-form-field textarea {
        min-height: 160px;
    }

    .current-service-image img {
        height: 200px;
    }

}


/* =========================================================
   RESPONSIVE — SMALL MOBILE
========================================================= */

@media (max-width: 500px) {

    .admin-services-page {
        padding: 22px 14px 40px;
    }

    .services-form-header h1 {
        font-size: 31px;
    }

    .services-form-header p:not(.admin-eyebrow) {
        font-size: 14px;
    }

    .admin-form-card {
        padding: 18px;
    }

    .service-form-actions {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .admin-secondary-button,
    .admin-primary-button {
        width: 100%;
    }

    .admin-switch-row {
        gap: 12px;
    }

    .current-service-image img {
        height: 180px;
    }

}