/* ============================================================
   Permanent Guru — Iryna Malaniak
   Shared stylesheet (GitHub Pages)
   ============================================================ */

:root {
    --magenta: #971756;
    --magenta-deep: #6E0F3E;
    --magenta-soft: #C66B92;
    --magenta-wash: rgba(151, 23, 86, 0.08);

    --cream: #FAF4EE;
    --cream-deep: #F2E7DB;
    --cream-card: #FFF8F1;

    --ink: #2A171F;
    --ink-soft: #54414A;
    --ink-mute: #8C7884;
    --line: #E5D2C4;

    --font-display: "Montagu Slab", "Roboto Slab", Georgia, serif;
    --font-body: "Lora", Georgia, serif;

    --shadow-card: 0 24px 60px -32px rgba(94, 24, 56, 0.25);
    --container: 1280px;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    background: var(--cream);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.65;
    font-weight: 400;
    position: relative;
    overflow-x: hidden;
    min-height: 100vh;
}

/* -------- Background flower motif -------- */
.bg-flower {
    position: fixed;
    pointer-events: none;
    z-index: 0;
    width: 900px;
    height: 900px;
    background-image: url('flower.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.07;
    filter: blur(0.5px);
}

.bg-flower.tr {
    top: -260px;
    right: -260px;
    transform: rotate(20deg);
}

.bg-flower.bl {
    bottom: -260px;
    left: -300px;
    transform: rotate(-30deg);
    width: 1100px;
    height: 1100px;
    opacity: 0.05;
}

.bg-flower.mr {
    top: 50%;
    right: -380px;
    transform: translateY(-50%) rotate(8deg);
    width: 760px;
    height: 760px;
    opacity: 0.045;
}

/* keep content above flowers */
header,
main,
footer {
    position: relative;
    z-index: 1;
}

/* -------- Type -------- */
h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    color: var(--ink);
    font-weight: 500;
    margin: 0;
    letter-spacing: -0.005em;
    text-wrap: balance;
}

h1 {
    font-size: clamp(32px, 3.8vw, 56px);
    line-height: 1.08;
}

h2 {
    font-size: clamp(36px, 3.6vw, 56px);
    line-height: 1.1;
}

h3 {
    font-size: 28px;
    line-height: 1.2;
}

h4 {
    font-size: 20px;
    line-height: 1.3;
}

p {
    margin: 0 0 1em;
    text-wrap: pretty;
    color: var(--ink-soft);
}

p:last-child {
    margin-bottom: 0;
}

a {
    color: var(--magenta);
    text-decoration: none;
}

a:hover {
    color: var(--magenta-deep);
}

.eyebrow {
    font-family: var(--font-body);
    font-size: 14px;
    font-style: italic;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--magenta);
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.eyebrow::before {
    content: "";
    width: 36px;
    height: 1px;
    background: currentColor;
    display: inline-block;
}

.lead {
    font-size: 22px;
    line-height: 1.55;
    color: var(--ink-soft);
    max-width: 600px;
    font-weight: 400;
}

.serif-em {
    font-family: var(--font-display);
    font-style: italic;
}

/* -------- Layout -------- */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 32px;
}

.section {
    padding: 120px 0;
}

.section.tight {
    padding: 80px 0;
}

/* -------- Navigation -------- */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(250, 244, 238, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}

.site-nav .inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 22px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 500;
    font-size: 30px;
    color: var(--magenta);
    letter-spacing: -0.01em;
    line-height: 1;
}

.brand small {
    display: block;
    font-family: var(--font-body);
    font-style: normal;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.4em;
    color: var(--ink-mute);
    text-transform: uppercase;
    margin-top: 6px;
}

.nav-links {
    display: flex;
    gap: 36px;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-links a {
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--ink);
    font-weight: 500;
    letter-spacing: 0.04em;
    position: relative;
    padding-bottom: 4px;
}

.nav-links a:hover {
    color: var(--magenta);
}

.nav-links a.active {
    color: var(--magenta);
}

.nav-links a.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2px;
    background: var(--magenta);
}

/* -------- Buttons -------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 28px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 2px;
    text-decoration: none;
    white-space: nowrap;
    border: 1.5px solid var(--magenta);
    transition: background 0.18s ease, color 0.18s ease;
    cursor: pointer;
}

.btn-primary {
    background: var(--magenta);
    color: var(--cream);
}

.btn-primary:hover {
    background: var(--magenta-deep);
    border-color: var(--magenta-deep);
    color: var(--cream);
}

.btn-ghost {
    background: transparent;
    color: var(--magenta);
}

.btn-ghost:hover {
    background: var(--magenta);
    color: var(--cream);
}

.btn-sm {
    padding: 12px 20px;
    font-size: 13px;
}

/* -------- Hero -------- */
.hero {
    padding: 80px 0 120px;
    position: relative;
}

.hero .grid {
    display: grid;
    grid-template-columns: 6fr 5fr;
    gap: 80px;
    align-items: center;
}

.hero h1 {
    margin: 24px 0 28px;
}

.hero h1 em {
    font-style: italic;
    color: var(--magenta);
    font-weight: 500;
}

.hero .lead {
    margin-bottom: 40px;
    max-width: 560px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    aspect-ratio: 4 / 5;
    width: 100%;
}

.hero-image .placeholder {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-image .placeholder img,
.about-image .placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.hero-image::after {
    content: "";
    position: absolute;
    inset: 18px -18px -18px 18px;
    border: 1.5px solid var(--magenta);
    z-index: -1;
}

.hero-video-wrap {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-video-wrap iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border: 0;
}

/* -------- Placeholder imagery -------- */
.placeholder {
    background:
        repeating-linear-gradient(135deg,
            var(--cream-deep) 0 14px,
            var(--cream-card) 14px 28px);
    border: 1px solid var(--line);
    position: relative;
    overflow: hidden;
}

.placeholder span {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "JetBrains Mono", "Courier New", monospace;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--magenta-deep);
    background: rgba(250, 244, 238, 0.7);
    padding: 6px 14px;
    width: max-content;
    height: max-content;
    margin: auto;
    border: 1px solid var(--magenta);
    border-radius: 1px;
}

/* -------- Gallery Instagram CTA -------- */
.gallery-cta {
    text-align: center;
    margin-top: 48px;
}

/* -------- Section heading -------- */
.section-head {
    text-align: center;
    margin-bottom: 72px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
}

.section-head h2 em {
    font-style: italic;
    color: var(--magenta);
    font-weight: 500;
}

.section-head p {
    max-width: 680px;
    font-size: 19px;
    text-align: center;
}

/* -------- Image grids -------- */
.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.gallery .tile {
    aspect-ratio: 1 / 1;
    border-radius: 2px;
    overflow: hidden;
}

.gallery .tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* -------- About block -------- */
.about {
    display: grid;
    grid-template-columns: 5fr 6fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    aspect-ratio: 4 / 5;
    position: relative;
}

.about-image::before {
    content: "";
    position: absolute;
    inset: -20px 20px 20px -20px;
    background: var(--magenta-wash);
    z-index: -1;
}

.about h2 {
    margin-bottom: 28px;
}

.about-signature {
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
    font-family: var(--font-display);
    font-style: italic;
    font-size: 26px;
    color: var(--magenta);
}

/* -------- Testimonials -------- */
.testimonials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial {
    background: var(--cream-card);
    border: 1px solid var(--line);
    padding: 40px 36px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-height: 320px;
}

.testimonial .stars {
    color: var(--magenta);
    font-size: 16px;
    letter-spacing: 6px;
}

.testimonial blockquote {
    margin: 0;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 22px;
    line-height: 1.4;
    color: var(--ink);
}

.testimonial cite {
    font-style: normal;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.testimonial cite .name {
    display: block;
    font-family: var(--font-display);
    font-style: italic;
    color: var(--magenta);
    font-size: 18px;
}

.testimonial cite .meta {
    display: block;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-mute);
    margin-top: 3px;
}

/* -------- CTA strip -------- */
.cta-strip {
    background: var(--magenta);
    color: var(--cream);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-strip::before {
    content: "";
    position: absolute;
    inset: -120px -120px auto auto;
    width: 540px;
    height: 540px;
    background: url('flower.svg') no-repeat center / contain;
    opacity: 0.12;
    filter: brightness(2) saturate(0.2);
    transform: rotate(-12deg);
    pointer-events: none;
}

.cta-strip .inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: center;
}

.cta-strip h2 {
    color: var(--cream);
    margin: 12px 0 0;
}

.cta-strip .eyebrow {
    color: var(--cream);
    opacity: 0.85;
}

.cta-strip .eyebrow::before {
    background: var(--cream);
}

.cta-strip .btn {
    background: var(--cream);
    color: var(--magenta);
    border-color: var(--cream);
}

.cta-strip .btn:hover {
    background: var(--ink);
    color: var(--cream);
    border-color: var(--ink);
}

/* -------- Footer -------- */
footer {
    background: var(--ink);
    color: var(--cream);
    padding: 80px 0 32px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: "";
    position: absolute;
    inset: auto -180px -180px auto;
    width: 600px;
    height: 600px;
    background: url('flower.svg') no-repeat center / contain;
    opacity: 0.06;
    filter: brightness(3.5) saturate(0.6);
    transform: rotate(-18deg);
    pointer-events: none;
}

footer .grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 48px;
    margin-bottom: 56px;
}

footer h4 {
    font-family: var(--font-body);
    font-style: italic;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--magenta-soft);
    margin: 0 0 18px;
}

footer .brand-block .brand {
    color: var(--cream);
    font-size: 32px;
}

footer .brand-block .brand small {
    color: rgba(250, 244, 238, 0.5);
}

footer .brand-block p {
    color: rgba(250, 244, 238, 0.7);
    margin-top: 16px;
    max-width: 320px;
    font-size: 15px;
}

footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer li {
    color: rgba(250, 244, 238, 0.78);
    margin-bottom: 8px;
    font-size: 15px;
}

footer a {
    color: var(--cream);
}

footer a:hover {
    color: var(--magenta-soft);
}

footer .ig {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border: 1px solid var(--magenta-soft);
    color: var(--magenta-soft);
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 8px;
}

footer .ig:hover {
    background: var(--magenta-soft);
    color: var(--ink);
}

footer .meta {
    border-top: 1px solid rgba(250, 244, 238, 0.12);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: rgba(250, 244, 238, 0.45);
}

/* -------- Service price cards (Zabiegi page) -------- */
.svc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
}

.svc-grid.wide {
    grid-template-columns: repeat(4, 1fr);
}

.svc-card {
    background: var(--cream-card);
    border: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.svc-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.svc-card .img {
    aspect-ratio: 4 / 3;
    position: relative;
    overflow: hidden;
}

.svc-card .img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.svc-card .body {
    padding: 28px 28px 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.svc-card h3 {
    font-size: 22px;
    line-height: 1.25;
    margin: 0;
}

.svc-card .price {
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    font-family: var(--font-display);
    font-style: italic;
    color: var(--magenta);
    font-size: 22px;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.svc-card .price small {
    font-family: var(--font-body);
    font-style: normal;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-mute);
}

.svc-card .ribbon {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--magenta);
    color: var(--cream);
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 5px 10px;
    z-index: 1;
}

/* -------- FAQ -------- */
.faq {
    max-width: 880px;
    margin: 0 auto;
}

.faq details {
    border-top: 1px solid var(--line);
    padding: 24px 0;
}

.faq details:last-of-type {
    border-bottom: 1px solid var(--line);
}

.faq summary {
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 500;
    color: var(--ink);
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::after {
    content: "+";
    font-family: var(--font-body);
    font-size: 32px;
    color: var(--magenta);
    transition: transform 0.2s;
    line-height: 1;
    font-weight: 300;
}

.faq details[open] summary::after {
    content: "–";
}

.faq details p {
    margin-top: 16px;
    font-size: 17px;
    max-width: 780px;
}

/* -------- Contact page -------- */
.page-hero {
    padding: 80px 0 40px;
    text-align: center;
}

.page-hero h1 {
    margin: 16px 0 24px;
}

.page-hero h1 em {
    font-style: italic;
    color: var(--magenta);
    font-weight: 500;
}

.page-hero p {
    max-width: 640px;
    margin: 0 auto;
    font-size: 19px;
}

.video-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    max-width: 1080px;
    margin: 0 auto;
    cursor: pointer;
}

.video-frame .play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.video-frame .play-btn {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: var(--magenta);
    color: var(--cream);
    display: grid;
    place-items: center;
    border: 6px solid rgba(250, 244, 238, 0.9);
    transition: transform 0.25s ease;
}

.video-frame:hover .play-btn {
    transform: scale(1.06);
}

.video-frame .play-btn svg {
    width: 36px;
    height: 36px;
    fill: currentColor;
    margin-left: 6px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 80px;
    align-items: stretch;
}

.contact-grid-video {
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: 64px;
    align-items: start;
}

.contact-grid-video iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 9 / 16;
    border-radius: 12px;
    display: block;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-info .row {
    display: flex;
    gap: 20px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--line);
}

.contact-info .row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.contact-info .icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    background: var(--magenta);
    color: var(--cream);
    border-radius: 50%;
    flex-shrink: 0;
}

.contact-info .icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
}

.contact-info .label {
    font-size: 12px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--magenta);
    margin-bottom: 6px;
}

.contact-info .val {
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--ink);
    line-height: 1.3;
}

.contact-map {
    aspect-ratio: 1 / 1;
    border: 1px solid var(--line);
    position: relative;
}

.hours {
    background: var(--cream-card);
    border: 1px solid var(--line);
    padding: 32px;
    margin-top: 8px;
}

.hours dl {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 6px 28px;
    margin: 0;
    font-size: 16px;
}

.hours dt {
    color: var(--ink);
    font-weight: 500;
}

.hours dd {
    margin: 0;
    color: var(--ink-soft);
    font-variant-numeric: tabular-nums;
}

.hours dd.closed {
    color: var(--magenta);
    font-style: italic;
}

/* -------- Contact form -------- */
.contact-form-section {
    background: var(--cream-deep);
}

.contact-form-wrap {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 80px;
    align-items: start;
}

.contact-form {
    background: var(--cream-card);
    border: 1px solid var(--line);
    padding: 48px 44px;
}

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

.contact-form .field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.contact-form .field:last-of-type {
    margin-bottom: 0;
}

.contact-form label {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--magenta);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--ink);
    background: var(--cream);
    border: 1px solid var(--line);
    padding: 14px 16px;
    border-radius: 2px;
    outline: none;
    transition: border-color 0.18s ease;
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--magenta);
}

.contact-form textarea {
    resize: vertical;
    min-height: 130px;
    line-height: 1.6;
}

.contact-form select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23971756' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
    cursor: pointer;
}

.contact-form .submit-row {
    margin-top: 28px;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.contact-form .note {
    font-size: 13px;
    color: var(--ink-mute);
    font-style: italic;
}

.form-success {
    display: none;
    padding: 20px 24px;
    background: rgba(151, 23, 86, 0.07);
    border: 1px solid var(--magenta-soft);
    border-radius: 2px;
    margin-top: 20px;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 18px;
    color: var(--magenta-deep);
}

/* -------- Permanent makeup feature row -------- */
.feature-row {
    display: grid;
    grid-template-columns: 6fr 5fr;
    gap: 80px;
    align-items: center;
}

.feature-row.reverse {
    grid-template-columns: 5fr 6fr;
}

.feature-row.reverse .text {
    order: 2;
}

.feature-row .image {
    aspect-ratio: 5 / 4;
    position: relative;
}

.feature-row h2 em {
    font-style: italic;
    color: var(--magenta);
    font-weight: 500;
}

.feature-row .features-list {
    list-style: none;
    padding: 0;
    margin: 32px 0 0;
    display: grid;
    gap: 14px;
}

.feature-row .features-list li {
    position: relative;
    padding-left: 32px;
    font-size: 17px;
    color: var(--ink-soft);
    line-height: 1.5;
}

.feature-row .features-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    width: 18px;
    height: 1px;
    background: var(--magenta);
}

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

    .hero .grid,
    .about,
    .feature-row,
    .feature-row.reverse,
    .contact-grid,
    .contact-grid-video,
    .contact-form-wrap,
    .cta-strip .inner,
    footer .grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .feature-row.reverse .text {
        order: 0;
    }

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

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

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

    .nav-links {
        display: none;
    }

    h1 {
        font-size: 44px;
    }

    .section {
        padding: 80px 0;
    }
}

@media (max-width: 600px) {
    .gallery {
        gap: 12px;
    }

    .svc-grid,
    .svc-grid.wide {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 0 20px;
    }

    .site-nav .inner {
        padding: 16px 20px;
    }

    .nav-cta {
        display: none;
    }

    .hero {
        padding: 40px 0 80px;
    }

    .section-head {
        margin-bottom: 48px;
    }

    .contact-form {
        padding: 32px 24px;
    }

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

/* ============================================================
   Burger / Mobile navigation
   ============================================================ */

.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-shrink: 0;
    margin-left: 8px;
}

.burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 0.28s ease, opacity 0.28s ease;
    transform-origin: center;
}

.burger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.burger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.burger[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 49;
    background: var(--cream);
    padding: 74px 32px 48px;
    flex-direction: column;
    overflow-y: auto;
}

.mobile-nav.open {
    display: flex;
}

.mobile-nav ul {
    list-style: none;
    margin: 0 0 40px;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.mobile-nav ul li a {
    display: block;
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 500;
    color: var(--ink);
    text-decoration: none;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    transition: color 0.2s;
    line-height: 1.2;
}

.mobile-nav ul li a:hover,
.mobile-nav ul li a.active {
    color: var(--magenta);
}

@media (max-width: 980px) {
    .burger {
        display: flex;
    }
}