* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #223B2E;
    --secondary-color: #4C6B57;
    --accent-color: #D8BE95;
    --light-bg: #F7F2E8;
    --text-color: #3a2c1f;
    --text-light: #6b5a49;
    --white: #ffffff;
    --wood-dark: #2A1D14;
    --wood: #6B4226;
    --wood-light: #8A5A34;
    --gold: #CFA15A;
    --font-heading: 'Fredoka', 'Poppins', sans-serif;
    --font-script: 'Poppins', sans-serif;
    --font-body: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 4px 20px rgba(0, 0, 0, 0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
}

/* Paw-shaped cursor over anything clickable */
a,
button,
.nav-link,
.hamburger,
.service-card,
.masonry-item,
.lightbox-close,
input[type="submit"],
.contact-form button {
    cursor: url('../images/paw-cursor.png') 16 16, pointer;
}

/* Menu-driven section switching: only the active section is shown, no page-level scroll */
.page-content {
    flex: 1 1 auto;
    min-height: 0;
    position: relative;
}

.page-section {
    display: none;
    height: 100%;
    overflow-y: auto;
}

.page-section.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

#home.page-section {
    scroll-behavior: smooth;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 700;
}

/* Navigation */
.navbar {
    position: sticky;
    top: 0;
    background-color: var(--wood-dark);
    box-shadow: var(--shadow);
    z-index: 100;
}

.nav-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 110px;
    padding: 0.5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    position: absolute;
    left: calc(4vw - max(0px, (100vw - 1200px) / 2));
    top: 50%;
    transform: translateY(-50%);
}

.logo-img {
    height: 100px;
    width: auto;
    filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.25));
}

.nav-menu {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    list-style: none;
}

.nav-link {
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    font-family: 'Poppins', 'Segoe UI', system-ui, sans-serif;
    font-weight: 400;
    font-size: 0.92rem;
    line-height: 1.4;
    letter-spacing: normal;
    text-transform: none;
    padding: 0.5rem 0.85rem;
    border-radius: 8px;
    transition: color 0.25s ease, background-color 0.25s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold);
    background-color: rgba(207, 161, 90, 0.14);
}

.nav-link::after {
    content: none;
}



.nav-cta {
    position: absolute;
    right: calc(4vw - max(0px, (100vw - 1200px) / 2));
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gold);
    color: var(--wood-dark);
    padding: 0.6rem 1.3rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.92rem;
    text-decoration: none;
    text-transform: none;
    letter-spacing: normal;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: var(--shadow);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--gold);
    margin: 5px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero-full {
    position: relative;
    min-height: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    background-color: #F5EFE4;
}

.hero-bg {
    position: absolute;
    top: 6%;
    left: 4%;
    width: 46%;
    height: 88%;
    object-fit: cover;
    object-position: center 42%;
    border-radius: 28px;
    box-shadow: var(--shadow-lg);
}

.hero-social {
    position: absolute;
    z-index: 3;
    left: calc(50% + 1.25rem);
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.hero-social a {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--wood);
    background: rgba(107, 66, 38, 0.08);
    border: 1px solid rgba(107, 66, 38, 0.35);
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.hero-social a:hover {
    background: var(--gold);
    color: var(--wood-dark);
    transform: translateY(-3px);
}

.hero-bg-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(20, 14, 8, 0.15) 0%, rgba(20, 14, 8, 0) 30%);
}

.hero-full-content {
    position: relative;
    z-index: 2;
    max-width: 560px;
    margin-left: 56%;
    padding: 2rem 3rem 2rem 1.5rem;
    color: var(--wood-dark);
}

.hero-script-lg {
    font-style: italic;
    font-size: 1.7rem;
    line-height: 1.3;
    margin-bottom: 1.25rem;
    color: var(--wood);
}

.hero-wordmark {
    font-family: var(--font-heading);
    font-size: 3.6rem;
    letter-spacing: 0.02em;
    line-height: 1;
    color: var(--wood-dark);
}

.hero-wordmark-sub {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.35em;
    margin: 1rem 0 1.5rem;
    color: var(--wood);
}

.hero-wordmark-sub .line {
    flex: 1;
    height: 2px;
    background: rgba(107, 66, 38, 0.4);
}

.hero-subtitle {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 480px;
    color: var(--wood);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-buttons .btn-outline {
    background: var(--gold);
    color: var(--wood-dark);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    border: 2px solid var(--wood);
    color: var(--wood-dark);
    text-decoration: none;
    padding: 0.75rem 1.4rem;
    border-radius: 50px;
    font-weight: 700;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-ghost:hover {
    background: rgba(107, 66, 38, 0.1);
    transform: translateY(-2px);
}

.hero-badges {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
    margin-left: 56%;
    padding: 2rem 3rem 2rem 1.5rem;
}

.hero-badge {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--wood-dark);
}

.hero-badge i {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(107, 66, 38, 0.08);
    border: 1px solid rgba(107, 66, 38, 0.35);
    color: var(--wood);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
}

.hero-badge span {
    font-size: 0.8rem;
    line-height: 1.25;
    font-weight: 600;
}

.wood-sign {
    display: inline-block;
    background: linear-gradient(160deg, var(--wood-light), var(--wood));
    color: var(--accent-color);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2rem;
    line-height: 1.25;
    padding: 1.5rem 2rem;
    border-radius: 6px;
    border: 3px solid rgba(0, 0, 0, 0.25);
    box-shadow: var(--shadow-lg), inset 0 0 0 6px rgba(0, 0, 0, 0.08);
    position: relative;
    transform: rotate(-2deg);
}

.wood-sign .sign-paw,
.sign-paw {
    display: block;
    margin-top: 0.5rem;
    opacity: 0.8;
}



/* Story / About teaser block */
.story-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3rem;
    padding: 4rem 20px;
}

.eyebrow {
    display: inline-block;
    color: var(--wood);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.story-text h2,
.whyus-text h2 {
    font-size: 2.2rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.story-text p,
.whyus-text p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--gold);
    color: var(--wood-dark);
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: var(--shadow);
}

.btn-outline:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.story-media {
    position: relative;
    min-height: 420px;
}

.paper-note {
    position: absolute;
    top: 0;
    left: 0;
    width: 55%;
    background: #fbf6ec;
    padding: 1.25rem 1.25rem;
    box-shadow: var(--shadow);
    transform: rotate(-3deg);
    font-style: italic;
    color: var(--wood);
    font-size: 0.95rem;
}

.paper-note .paper-clip {
    position: absolute;
    top: -0.75rem;
    left: 1.5rem;
    font-size: 1.5rem;
    color: #999;
    transform: rotate(-20deg);
}

.paper-note .note-stamp {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.polaroid {
    position: absolute;
    background: var(--white);
    padding: 0.6rem 0.6rem 2rem;
    box-shadow: var(--shadow-lg);
    width: 46%;
}

.polaroid img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.polaroid span {
    position: absolute;
    bottom: 0.5rem;
    left: 0.6rem;
    right: 0.6rem;
    font-size: 0.75rem;
    color: var(--text-light);
    font-style: italic;
    text-align: center;
}

.polaroid-1 {
    right: 8%;
    top: 0;
    transform: rotate(4deg);
    z-index: 2;
}

/* Fan of photos: all cards stay visible, spread like a hand of cards, and the front one rotates every couple of seconds */
.polaroid-fan {
    position: absolute;
    right: 4%;
    top: 31%;
    width: 46%;
    aspect-ratio: 4 / 5;
}

/* Two-card fan: each card keeps cycling through its own set of photos */
.fan-card {
    position: absolute;
    inset: 0;
    background: var(--white);
    padding: 0.5rem 0.5rem 1.5rem;
    box-sizing: border-box;
    border-radius: 4px;
    box-shadow: var(--shadow-lg);
    transform-origin: bottom center;
}

.fan-card-1 {
    transform: rotate(-10deg) translateX(-12%);
    z-index: 1;
}

.fan-card-2 {
    transform: rotate(10deg) translateX(12%);
    z-index: 2;
}

.fan-photo-window {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.fan-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.06);
    transition: opacity 1.2s ease, transform 1.2s ease;
}

.fan-slide.active {
    opacity: 1;
    transform: scale(1);
}


/* Value row */
.value-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 2rem 20px 3.5rem;
    background: var(--light-bg);
    text-align: center;
}

.value-col {
    flex: 1 1 160px;
}

.value-col i {
    font-size: 1.6rem;
    color: var(--wood);
    margin-bottom: 0.6rem;
    display: inline-block;
}

.value-col h3 {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 0.4rem;
}

.value-col p {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Why us block */
.whyus-block {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    align-items: center;
    gap: 2.5rem;
    padding: 4rem 20px;
}

.wood-crate {
    background:
        linear-gradient(160deg, rgba(42, 29, 20, 0.55), rgba(20, 14, 8, 0.8)),
        url('../images/kapi.jpg') center/cover no-repeat;
    color: var(--accent-color);
    border-radius: 8px;
    padding: 3rem 2rem;
    text-align: center;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    box-shadow: var(--shadow-lg);
    transform: rotate(-2deg);
}

.crate-lantern {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.whyus-polaroid {
    position: relative;
    background: var(--white);
    padding: 0.6rem 0.6rem 2rem;
    box-shadow: var(--shadow-lg);
    transform: rotate(3deg);
}

.whyus-polaroid img {
    display: block;
    width: 180px;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.whyus-polaroid span {
    position: absolute;
    bottom: 0.5rem;
    left: 0.6rem;
    right: 0.6rem;
    font-size: 0.75rem;
    color: var(--text-light);
    font-style: italic;
    text-align: center;
}

/* Stats bar */
.stats-bar {
    background: var(--primary-color);
    color: var(--white);
    padding: 2.5rem 0;
}

.stats-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2.5rem;
}

.stat {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.stat i {
    font-size: 1.4rem;
    color: var(--gold);
}

.stat strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.4rem;
}

.stat span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.75);
}

.stats-script {
    margin-left: auto;
    font-style: italic;
    color: rgba(255, 255, 255, 0.7);
}

/* Bottom CTA band */
.cta-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--accent-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.cta-button:hover {
    background-color: var(--white);
    transform: translateY(-3px) rotate(-2deg);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}


/* Section Titles */
.section-title {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

/* About Section */
.about {
    padding: 1.5rem 0;
    background-color: var(--light-bg);
}

.about .section-title {
    margin-bottom: 1.25rem;
    font-size: 2rem;
}

.about-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2rem;
    align-items: stretch;
    margin-bottom: 1.5rem;
}

.about-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: transform 0.4s ease;
}

.about-image:hover {
    transform: scale(1.02);
}

.about-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: var(--light-bg);
}

.about-image-tag {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background: rgba(255, 255, 255, 0.92);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 0.95rem;
    box-shadow: var(--shadow);
}

.about-image-tag i {
    color: var(--accent-color);
    margin-right: 0.4rem;
}

.about-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.5;
}

.about-text p {
    margin-bottom: 0.75rem;
    color: var(--text-light);
    text-align: justify;
    font-size: 0.92rem;
}

/* Soft PetHub-style intro block */
.about-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.about-intro .eyebrow {
    display: block;
}

.about-hero-title {
    font-size: 1.9rem;
    margin-bottom: 1rem;
}

.soft-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.soft-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--white);
    border-radius: 50px;
    padding: 0.5rem 1.1rem;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-color);
    box-shadow: var(--shadow);
}

.soft-badge i {
    color: var(--primary-color);
    font-size: 0.95rem;
}

.pull-quote {
    max-width: 680px;
    margin: 2rem auto;
    padding: 0 1.5rem;
    text-align: center;
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.3rem;
    line-height: 1.5;
    color: var(--wood);
}

.pull-quote::before {
    content: '\201C';
    display: block;
    font-family: var(--font-heading);
    font-style: normal;
    font-size: 3rem;
    line-height: 0.6;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.value-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.value-card {
    background: var(--white);
    border-radius: 14px;
    padding: 1.5rem 1rem;
    text-align: center;
    box-shadow: var(--shadow);
}

.value-card i {
    width: 50px;
    height: 50px;
    margin: 0 auto 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    font-size: 1.2rem;
}

.value-card h3 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
    color: var(--text-color);
}

.value-card p {
    font-size: 0.85rem;
    color: var(--text-light);
}

.about-mission {
    max-width: 760px;
    margin: 0 auto 2rem;
    text-align: center;
    background: var(--light-bg);
    border-radius: 16px;
    padding: 2rem;
}

.about-mission h3 {
    font-family: var(--font-heading);
    color: var(--wood);
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.about-mission p {
    color: var(--text-light);
    line-height: 1.7;
}

.team-title {
    margin-top: 2.5rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.about-footer-bar {
    margin-top: 2rem;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.85rem 1.5rem;
    border-radius: 12px;
}

.team-card {
    background: var(--white);
    border-radius: 14px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow);
}

.team-photo {
    width: 130px;
    height: 130px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: hidden;
    background: var(--light-bg);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

.team-card h3 {
    font-size: 1.05rem;
    color: var(--text-color);
    margin-bottom: 0.25rem;
}

.team-role {
    display: block;
    color: var(--wood);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.75rem;
}

.team-card p {
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--text-light);
    text-align: left;
}

/* Services Section */
.services {
    padding: 5rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    position: relative;
    background-color: var(--white);
    background-size: cover;
    background-position: center;
    border: 2px solid var(--light-bg);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.55) 45%, rgba(255, 255, 255, 0.88) 78%, rgba(255, 255, 255, 0.95) 100%);
    z-index: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    opacity: 0.9;
}

.service-card > * {
    position: relative;
    z-index: 1;
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.service-card h3 {
    color: var(--primary-color);
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
}

.service-card p {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 0.95rem;
    font-weight: 500;
}

.learn-more {
    color: var(--primary-color);
    font-weight: 700;
    transition: color 0.3s ease;
}

.learn-more i {
    display: inline-block;
    margin-left: 0.3rem;
    transition: transform 0.3s ease;
}

.service-card:hover .learn-more i {
    transform: translateX(4px) rotate(-8deg);
}

.service-card:hover .learn-more {
    color: var(--primary-color);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 2rem;
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
    box-shadow: var(--shadow-lg);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close {
    color: var(--text-color);
    float: right;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover,
.close:focus {
    color: var(--primary-color);
}

.modal-detail h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.modal-detail p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* Gallery Section */
.gallery {
    padding: 3rem 0;
    background-color: var(--light-bg);
}

.masonry-gallery {
    columns: 4;
    column-gap: 1rem;
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 1rem;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow);
    cursor: pointer;
    position: relative;
}

.masonry-item::after {
    content: '\f00e';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--white);
    background: rgba(20, 14, 8, 0);
    opacity: 0;
    transition: opacity 0.3s ease, background 0.3s ease;
}

.masonry-item:hover::after {
    opacity: 1;
    background: rgba(20, 14, 8, 0.35);
}

.masonry-item img {
    display: block;
    width: 100%;
    transition: transform 0.4s ease;
}

.masonry-item:hover img {
    transform: scale(1.06);
}

/* Lightbox for full-size gallery viewing */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(15, 10, 6, 0.92);
    align-items: center;
    justify-content: center;
    padding: 2rem;
    animation: fadeIn 0.25s ease;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90vw;
    max-height: 88vh;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 2.5rem;
    color: var(--white);
    cursor: pointer;
    line-height: 1;
}

/* Contact Section */
.contact {
    padding: 1.5rem 0;
    background-color: var(--light-bg);
}

.contact .section-title {
    margin-bottom: 1.25rem;
    font-size: 2rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: stretch;
    margin-bottom: 1.5rem;
}

.contact-map-col {
    position: relative;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

/* Auto-scrolling strip of pack photos; pauses on hover so visitors can look closer */
.contact-gallery-strip {
    margin-top: 1.5rem;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.gallery-track {
    display: flex;
    gap: 1rem;
    width: max-content;
    animation: gallery-scroll 22s linear infinite;
}

.contact-gallery-strip:hover .gallery-track {
    animation-play-state: paused;
}

.gallery-track img {
    flex-shrink: 0;
    width: 160px;
    height: 110px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: var(--shadow);
    border: 2px solid var(--white);
}

@keyframes gallery-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.info-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.info-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    font-size: 0.95rem;
    box-shadow: var(--shadow);
}

.info-item h3 {
    color: var(--wood);
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.info-item p {
    color: var(--text-light);
    line-height: 1.45;
    font-size: 0.85rem;
}

.info-item a {
    color: var(--wood);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.info-item a:hover {
    color: var(--gold);
}

.contact-map {
    height: 100%;
    min-height: 220px;
    border-radius: 14px;
    overflow: hidden;
    border: 4px solid var(--wood);
    box-shadow: var(--shadow-lg);
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 220px;
    border: 0;
}

.contact-map-badge {
    position: absolute;
    bottom: -1rem;
    right: -1rem;
    width: 88px;
    height: 88px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    border-radius: 50%;
    background: linear-gradient(160deg, var(--wood-light), var(--wood));
    color: var(--accent-color);
    border: 4px solid var(--white);
    box-shadow: var(--shadow-lg);
    transform: rotate(8deg);
    text-align: center;
}

.contact-map-badge i {
    font-size: 1.1rem;
    color: var(--gold);
}

.contact-map-badge span {
    font-size: 0.6rem;
    font-weight: 700;
    line-height: 1.15;
}

.contact-form {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 14px;
    border-top: 4px solid var(--gold);
    box-shadow: var(--shadow-lg);
}

.contact-form h3 {
    color: var(--wood);
    margin-bottom: 1rem;
}

.contact-form form {
    display: grid;
    gap: 0.65rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.6rem 0.7rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--gold);
}

.submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem;
    background: var(--gold);
    color: var(--wood-dark);
    border: none;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Footer: a slim bar shown only at the bottom of the home page */
.footer {
    display: none;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.85rem 0;
    flex-shrink: 0;
}

body.home-active .footer {
    display: block;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem 1.75rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.85);
}

.footer-brand {
    font-weight: 700;
}

.footer-brand span {
    font-weight: 400;
    opacity: 0.75;
    margin-left: 0.4rem;
}

.footer-hours i {
    color: var(--gold);
    margin-right: 0.35rem;
}

.footer-copy {
    opacity: 0.7;
}

.social-links {
    display: flex;
    gap: 0.6rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    font-size: 0.8rem;
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border-radius: 50%;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-3px) rotate(-8deg);
}

/* ===== Services page (redesign) ===== */
.services {
    padding: 3rem 0 2rem;
    background-color: var(--light-bg);
}

.svc-intro {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 2.5rem;
}

.svc-intro .section-title {
    margin-bottom: 1.25rem;
}

.svc-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--wood);
    margin-bottom: 0.6rem;
}

.svc-eyebrow i {
    color: var(--gold);
}

.svc-lead {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text-light);
}

/* Stats strip */
.svc-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow);
    margin-bottom: 2.5rem;
    overflow: hidden;
}

.svc-stat {
    padding: 1.4rem 1rem;
    text-align: center;
    border-right: 1px solid rgba(107, 66, 38, 0.12);
}

.svc-stat:last-child {
    border-right: none;
}

.svc-stat strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    line-height: 1.1;
    color: var(--primary-color);
}

.svc-stat span {
    font-size: 0.82rem;
    color: var(--text-light);
}

/* Bento grid of service cards */
.svc-bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 260px;
    gap: 1.25rem;
}

.svc-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    cursor: url('../images/paw-cursor.png') 16 16, pointer;
    box-shadow: var(--shadow);
    isolation: isolate;
    outline: none;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.svc-card--featured {
    grid-column: span 2;
    grid-row: span 2;
}

.svc-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    transition: transform 0.7s ease;
}

.svc-card::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(42, 29, 20, 0) 25%, rgba(42, 29, 20, 0.55) 55%, rgba(42, 29, 20, 0.92) 100%);
    transition: background 0.35s ease;
}

.svc-card:hover,
.svc-card:focus-visible {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(42, 29, 20, 0.25);
}

.svc-card:focus-visible {
    box-shadow: 0 0 0 3px var(--gold), 0 18px 40px rgba(42, 29, 20, 0.25);
}

.svc-card:hover img,
.svc-card:focus-visible img {
    transform: scale(1.07);
}

.svc-num {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(42, 29, 20, 0.35);
    backdrop-filter: blur(6px);
    padding: 0.2rem 0.7rem;
    border-radius: 50px;
}

.svc-card-body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1.4rem 1.5rem;
    color: var(--white);
}

.svc-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: var(--gold);
    color: var(--wood-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    margin-bottom: 0.7rem;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

.svc-badge {
    display: inline-block;
    margin-left: 0.6rem;
    vertical-align: top;
    margin-top: 0.6rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--wood-dark);
    background: var(--accent-color);
    padding: 0.25rem 0.7rem;
    border-radius: 50px;
}

.svc-card h3 {
    font-size: 1.3rem;
    line-height: 1.2;
    margin-bottom: 0.35rem;
    color: var(--white);
}

.svc-card--featured h3 {
    font-size: 2.1rem;
}

.svc-card p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0.6rem;
}

.svc-card--featured p {
    font-size: 1.02rem;
    max-width: 520px;
}

.svc-tags {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0.4rem 0 1rem;
}

.svc-tags li {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(6px);
}

.svc-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--accent-color);
}

.svc-link i {
    transition: transform 0.3s ease;
}

.svc-card:hover .svc-link i {
    transform: translateX(5px);
}

/* Process steps */
.svc-process {
    margin-top: 3.5rem;
    text-align: center;
}

.svc-process-head h3 {
    font-size: 1.9rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.svc-steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    position: relative;
}

.svc-steps::before {
    content: '';
    position: absolute;
    top: 32px;
    left: 12.5%;
    right: 12.5%;
    border-top: 2px dashed rgba(107, 66, 38, 0.3);
    z-index: 0;
}

.svc-step {
    position: relative;
    z-index: 1;
    padding: 0 0.5rem;
}

.svc-step-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--gold);
    color: var(--wood);
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
}

.svc-step-no {
    position: absolute;
    top: -4px;
    left: calc(50% + 18px);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.svc-step h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--wood-dark);
    margin-bottom: 0.35rem;
}

.svc-step p {
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--text-light);
}

/* Call to action */
.svc-cta {
    margin-top: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 2.25rem 2.5rem;
    border-radius: 24px;
    background:
        radial-gradient(circle at 90% 10%, rgba(207, 161, 90, 0.25), transparent 45%),
        linear-gradient(135deg, var(--wood-dark), var(--wood));
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.svc-cta h3 {
    font-size: 1.6rem;
    line-height: 1.25;
    margin-bottom: 0.4rem;
}

.svc-cta p {
    color: rgba(255, 255, 255, 0.8);
}

.svc-cta-actions {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.svc-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.svc-btn:hover {
    transform: translateY(-2px);
}

.svc-btn--gold {
    background: var(--gold);
    color: var(--wood-dark);
}

.svc-btn--ghost {
    border: 2px solid rgba(255, 255, 255, 0.6);
    color: var(--white);
}

.svc-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.12);
}

/* Entrance animation each time the section is opened */
.page-section.active .svc-stats,
.page-section.active .svc-card {
    animation: svcRise 0.6s ease both;
}

.page-section.active .svc-card:nth-child(2) { animation-delay: 0.08s; }
.page-section.active .svc-card:nth-child(3) { animation-delay: 0.16s; }
.page-section.active .svc-card:nth-child(4) { animation-delay: 0.24s; }
.page-section.active .svc-card:nth-child(5) { animation-delay: 0.32s; }
.page-section.active .svc-card:nth-child(6) { animation-delay: 0.4s; }

@keyframes svcRise {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .page-section.active .svc-stats,
    .page-section.active .svc-card {
        animation: none;
    }
}

/* Service detail modal polish */
.modal {
    overflow-y: auto;
}

.modal-content {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    padding: 0 2rem 2rem;
    margin: 4vh auto;
}

.close {
    position: absolute;
    top: 0.9rem;
    right: 1rem;
    z-index: 2;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    line-height: 1;
    box-shadow: var(--shadow);
}

.modal-hero {
    height: 220px;
    margin: 0 -2rem 1.5rem;
    background-size: cover;
    background-position: center;
}

.modal-detail ul {
    list-style: none;
    padding-left: 0 !important;
}

.modal-detail ul li {
    position: relative;
    padding-left: 1.6rem;
    margin-bottom: 0.4rem;
}

.modal-detail ul li::before {
    content: '\f1b0';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0.1rem;
    font-size: 0.8rem;
    color: var(--gold);
}

.modal-cta {
    margin-top: 0.5rem;
}

@media (max-width: 1024px) {
    .svc-bento {
        grid-template-columns: repeat(2, 1fr);
    }

    .svc-steps {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 2rem;
    }

    .svc-steps::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .svc-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .svc-stat:nth-child(2) {
        border-right: none;
    }

    .svc-stat:nth-child(-n+2) {
        border-bottom: 1px solid rgba(107, 66, 38, 0.12);
    }

    .svc-bento {
        grid-template-columns: 1fr;
        grid-auto-rows: 240px;
    }

    .svc-card--featured {
        grid-column: auto;
        grid-row: span 2;
    }

    .svc-card--featured h3 {
        font-size: 1.6rem;
    }

    .svc-cta {
        padding: 1.75rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .svc-steps {
        grid-template-columns: 1fr;
    }
}

[hidden] {
    display: none !important;
}

/* ===== Gallery: 3D rotating ring ===== */
.gallery {
    padding: 2.5rem 0 2rem;
    background-color: var(--light-bg);
    overflow-x: hidden;
}

.gal-intro {
    text-align: center;
}

.gal-intro .section-title {
    margin-bottom: 1rem;
}

.gal-hint {
    font-size: 0.88rem;
    color: var(--text-light);
}

.gal-hint i {
    color: var(--gold);
    margin-right: 0.3rem;
}

.ring-stage {
    --card-w: 210px;
    --card-h: 275px;
    position: relative;
    height: calc(var(--card-h) + 170px);
    perspective: 1300px;
    perspective-origin: 50% 40%;
    cursor: grab;
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
    outline: none;
}

.ring-stage.is-dragging {
    cursor: grabbing;
}

.ring-stage:focus-visible {
    box-shadow: 0 0 0 3px var(--gold);
    border-radius: 24px;
}

.ring {
    position: absolute;
    left: 50%;
    top: 46%;
    width: 0;
    height: 0;
    transform-style: preserve-3d;
}

.ring-card {
    position: absolute;
    width: var(--card-w);
    height: var(--card-h);
    left: calc(var(--card-w) / -2);
    top: calc(var(--card-h) / -2);
    border-radius: 18px;
    overflow: hidden;
    border: 5px solid var(--white);
    background: var(--white);
    box-shadow: 0 14px 30px rgba(42, 29, 20, 0.28);
    cursor: inherit;
}

.ring-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    -webkit-user-drag: none;
}

.ring-floor {
    position: absolute;
    left: 50%;
    bottom: 22px;
    width: min(760px, 90%);
    height: 60px;
    transform: translateX(-50%);
    background: radial-gradient(ellipse at center, rgba(107, 66, 38, 0.22), transparent 70%);
    pointer-events: none;
}

.ring-empty {
    position: absolute;
    transform: translate(-50%, -50%);
    white-space: nowrap;
    color: var(--text-light);
}

.ring-controls {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 0.25rem;
}

.ring-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(107, 66, 38, 0.35);
    background: var(--white);
    color: var(--wood);
    font-size: 1rem;
    cursor: url('../images/paw-cursor.png') 16 16, pointer;
    box-shadow: var(--shadow);
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.ring-btn:hover {
    background: var(--gold);
    color: var(--wood-dark);
    transform: translateY(-2px);
}

/* Hidden admin entry: the © text in each footer */
.footer-copy.admin-trigger {
    cursor: default;
    user-select: none;
}

/* ===== Admin login modal ===== */
.admin-modal-content {
    max-width: 400px;
    padding: 2.5rem 2rem 2rem;
}

.admin-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
}

.admin-form-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto;
    border-radius: 50%;
    background: var(--light-bg);
    color: var(--wood);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.admin-form h2 {
    color: var(--primary-color);
    font-size: 1.6rem;
}

.admin-form label {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    text-align: left;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-color);
}

.admin-form input {
    font: inherit;
    font-weight: 400;
    font-size: 1rem;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(107, 66, 38, 0.3);
    border-radius: 12px;
    outline: none;
}

.admin-form input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(207, 161, 90, 0.25);
}

.admin-form .svc-btn {
    justify-content: center;
    border: none;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.admin-form .svc-btn:disabled {
    opacity: 0.6;
    cursor: wait;
}

.admin-error {
    color: #b3261e;
    font-size: 0.88rem;
}

/* ===== Admin panel (gallery page, logged in) ===== */
.gal-admin {
    margin-top: 2.5rem;
    padding: 1.75rem;
    background: var(--white);
    border-radius: 24px;
    box-shadow: var(--shadow);
    border: 2px dashed rgba(207, 161, 90, 0.6);
}

.gal-admin-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.gal-admin-head h3 {
    color: var(--primary-color);
    font-size: 1.35rem;
}

.gal-admin-head h3 i {
    color: var(--gold);
    margin-right: 0.3rem;
}

.gal-admin-head p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.gal-logout {
    border: 1px solid rgba(107, 66, 38, 0.35);
    background: transparent;
    color: var(--wood-dark);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.gal-drop {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    padding: 1.75rem 1rem;
    border-radius: 18px;
    background: var(--light-bg);
    border: 2px dashed rgba(107, 66, 38, 0.3);
    text-align: center;
    cursor: pointer;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.gal-drop i {
    font-size: 2rem;
    color: var(--gold);
}

.gal-drop strong {
    color: var(--wood-dark);
}

.gal-drop span {
    font-size: 0.8rem;
    color: var(--text-light);
}

.gal-drop:hover,
.gal-drop.is-over {
    border-color: var(--gold);
    background: #fbf5ea;
}

.gal-progress {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

.gal-progress-track {
    flex: 1;
    height: 8px;
    border-radius: 8px;
    background: var(--light-bg);
    overflow: hidden;
}

.gal-progress-bar {
    width: 0;
    height: 100%;
    background: var(--gold);
    transition: width 0.2s ease;
}

.gal-status {
    margin-top: 1rem;
    font-size: 0.88rem;
    color: var(--primary-color);
}

.gal-status.is-error {
    color: #b3261e;
}

.gal-admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 0.8rem;
    margin-top: 1.25rem;
}

.gal-admin-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.gal-admin-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gal-del {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: #b3261e;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.gal-del:hover {
    transform: scale(1.08);
    background: #b3261e;
    color: var(--white);
}

.gal-del:disabled {
    opacity: 0.5;
    cursor: wait;
}

@media (max-width: 768px) {
    .ring-stage {
        --card-w: 150px;
        --card-h: 200px;
        perspective: 900px;
    }

    .gal-admin {
        padding: 1.25rem;
    }
}

/* ===== Services: 3D ring of service cards ===== */
.services {
    overflow-x: hidden;
}

.svc-ring-hint {
    text-align: center;
    margin-top: -0.5rem;
}

.ring-stage.svc-ring-stage {
    --card-w: 360px;
    --card-h: 480px;
    height: calc(var(--card-h) + 190px);
    perspective: 1500px;
}

.svc-ring-card {
    border: none;
    border-radius: 24px;
    background: var(--wood-dark);
}

.svc-ring-card img {
    position: absolute;
    inset: 0;
}

.svc-ring-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(42, 29, 20, 0) 30%, rgba(42, 29, 20, 0.6) 58%, rgba(42, 29, 20, 0.94) 100%);
    pointer-events: none;
}

.svc-ring-card .svc-num,
.svc-ring-card .svc-card-body {
    z-index: 1;
}

.svc-ring-card .svc-card-body {
    padding: 1.75rem 1.9rem;
}

.svc-ring-card h3 {
    font-size: 1.85rem;
    line-height: 1.2;
    margin-bottom: 0.4rem;
    color: var(--white);
}

.svc-ring-card p {
    font-size: 1.02rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.86);
    margin-bottom: 0.75rem;
}

.svc-ring-card .svc-badge {
    margin-top: 0.65rem;
}

/* ===== Gallery: polaroid table ===== */
.pola-toolbar {
    display: flex;
    justify-content: center;
    margin-top: 1.25rem;
}

.pola-shuffle {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.65rem 1.4rem;
    border-radius: 50px;
    border: 1px solid rgba(107, 66, 38, 0.35);
    background: var(--white);
    color: var(--wood-dark);
    font: inherit;
    font-weight: 700;
    cursor: url('../images/paw-cursor.png') 16 16, pointer;
    box-shadow: var(--shadow);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.pola-shuffle:hover {
    background: var(--gold);
    transform: translateY(-2px);
}

.pola-shuffle i {
    color: var(--wood);
}

.pola-table {
    --pola-w: 220px;
    position: relative;
    min-height: 320px;
    margin-top: 1.25rem;
    border-radius: 28px;
    overflow: hidden;
    background:
        radial-gradient(rgba(107, 66, 38, 0.1) 1px, transparent 1.3px) 0 0 / 20px 20px,
        #fbf7ef;
    box-shadow: inset 0 0 0 1px rgba(107, 66, 38, 0.1), inset 0 10px 30px rgba(107, 66, 38, 0.06);
}

.pola-empty {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

.pola {
    position: absolute;
    width: var(--pola-w);
    margin: 0;
    transform: rotate(var(--rot, 0deg));
    cursor: grab;
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
}

.pola.is-shuffling {
    transition: left 0.9s cubic-bezier(0.2, 0.8, 0.2, 1), top 0.9s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.pola.is-dragging {
    cursor: grabbing;
}

.pola-inner {
    position: relative;
    background: var(--white);
    padding: 10px 10px 0;
    border-radius: 4px;
    box-shadow: 0 10px 22px rgba(42, 29, 20, 0.18), 0 2px 4px rgba(42, 29, 20, 0.08);
    animation: polaFloat 6s ease-in-out infinite;
    transition: scale 0.25s ease, box-shadow 0.25s ease;
}

/* a strip of tape holding the photo */
.pola-inner::before {
    content: '';
    position: absolute;
    top: -11px;
    left: 50%;
    width: 38%;
    height: 22px;
    translate: -50% 0;
    rotate: -4deg;
    background: rgba(216, 190, 149, 0.6);
    box-shadow: 0 1px 2px rgba(42, 29, 20, 0.12);
}

.pola:hover .pola-inner {
    scale: 1.04;
    box-shadow: 0 16px 30px rgba(42, 29, 20, 0.22), 0 3px 6px rgba(42, 29, 20, 0.1);
}

.pola.is-dragging .pola-inner {
    scale: 1.08;
    animation-play-state: paused;
    box-shadow: 0 26px 44px rgba(42, 29, 20, 0.3), 0 4px 8px rgba(42, 29, 20, 0.12);
}

.pola img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    pointer-events: none;
    -webkit-user-drag: none;
}

.pola figcaption {
    font-family: 'Caveat', cursive;
    font-weight: 600;
    font-size: 1.35rem;
    line-height: 1;
    color: var(--wood);
    text-align: center;
    padding: 0.45rem 0 0.55rem;
}

/* phones: the endless float on every polaroid costs more than it adds */
@media (hover: none) {
    .pola-inner { animation: none; }
}

@keyframes polaFloat {
    0%, 100% { translate: 0 0; rotate: 0deg; }
    50% { translate: 0 -7px; rotate: 1.2deg; }
}

@media (prefers-reduced-motion: reduce) {
    .pola-inner {
        animation: none;
    }
}

@media (max-width: 768px) {
    .ring-stage.svc-ring-stage {
        --card-w: 260px;
        --card-h: 360px;
        perspective: 1000px;
    }

    .svc-ring-card h3 {
        font-size: 1.25rem;
    }

    .svc-ring-card p {
        font-size: 0.85rem;
    }

    .pola figcaption {
        font-size: 1.05rem;
    }

    .pola-inner {
        padding: 7px 7px 0;
    }
}

/* ===== Service detail page (full screen) ===== */
.lightbox {
    z-index: 2000;
}

.sd {
    position: fixed;
    inset: 0;
    z-index: 900;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--light-bg);
    color: var(--text-color);
}

.sd.is-entering {
    animation: sdIn 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes sdIn {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: none; }
}

.sd-bar {
    position: sticky;
    top: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: calc(0.8rem + env(safe-area-inset-top, 0px)) clamp(1rem, 4vw, 3rem) 0.8rem;
    background: rgba(42, 29, 20, 0.94);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--white);
}

.sd-back {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 1.1rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    color: var(--white);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.sd-back:hover {
    background: rgba(255, 255, 255, 0.12);
}

.sd-bar-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--accent-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sd-call {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.1rem;
    border-radius: 50px;
    background: var(--gold);
    color: var(--wood-dark);
    font-weight: 700;
    text-decoration: none;
}

/* hero */
.sd-hero {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.25rem, 4vw, 2.5rem) clamp(3.5rem, 7vw, 5rem);
}

.sd-count {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--wood);
    padding: 0.35rem 0.9rem;
    border-radius: 50px;
    background: rgba(207, 161, 90, 0.18);
}

.sd-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    line-height: 1.05;
    color: var(--primary-color);
    margin: 1rem 0 0.35rem;
}

.sd-tagline {
    font-family: 'Caveat', cursive;
    font-weight: 600;
    font-size: clamp(1.6rem, 2.6vw, 2.1rem);
    color: var(--gold);
    margin-bottom: 1rem;
}

.sd-lead {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text-light);
    max-width: 34rem;
}

.sd-facts {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1.75rem;
}

.sd-facts li {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 1rem;
    border-radius: 50px;
    background: var(--white);
    box-shadow: var(--shadow);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--wood-dark);
}

.sd-facts i {
    color: var(--gold);
}

.sd-hero-media {
    position: relative;
    padding: 0 0 2.5rem 2.5rem;
}

.sd-hero-main {
    width: 100%;
    aspect-ratio: 4 / 3.3;
    object-fit: cover;
    border-radius: 30px;
    box-shadow: 0 30px 60px -25px rgba(42, 29, 20, 0.45);
    background: var(--white);
}

.sd-hero-small {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40%;
    aspect-ratio: 1;
    object-fit: cover;
    border: 8px solid var(--white);
    border-radius: 20px;
    transform: rotate(-5deg);
    box-shadow: 0 18px 36px -12px rgba(42, 29, 20, 0.45);
    background: var(--white);
}

.sd-hero-badge {
    position: absolute;
    top: -22px;
    right: -14px;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--wood-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 14px 30px -8px rgba(42, 29, 20, 0.45);
    border: 5px solid var(--light-bg);
    animation: sdBob 5s ease-in-out infinite;
}

@keyframes sdBob {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -8px; }
}

/* blocks */
.sd-block {
    padding: clamp(3rem, 6vw, 4.5rem) clamp(1.25rem, 4vw, 2.5rem);
}

.sd-block:nth-child(odd) {
    background: var(--white);
}

.sd-block--callout {
    padding-top: 0;
    padding-bottom: clamp(3rem, 6vw, 4.5rem);
    background: transparent !important;
}

.sd-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.sd-head {
    margin-bottom: 2rem;
    max-width: 44rem;
}

.sd-head h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    line-height: 1.15;
    color: var(--primary-color);
}

.sd-head p {
    margin-top: 0.75rem;
    color: var(--text-light);
}

/* text */
.sd-text {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: clamp(1.5rem, 4vw, 4rem);
}

.sd-text .sd-head {
    margin-bottom: 0;
}

.sd-text-body p {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--text-color);
}

.sd-text-body p + p {
    margin-top: 1.1rem;
}

/* split cards */
.sd-split {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.sd-split-card {
    border-radius: 26px;
    overflow: hidden;
    background: var(--light-bg);
    box-shadow: var(--shadow);
}

.sd-block:nth-child(even) .sd-split-card {
    background: var(--white);
}

.sd-split-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.sd-split-body {
    padding: 1.5rem 1.75rem 1.9rem;
}

.sd-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    background: var(--accent-color);
    color: var(--wood-dark);
}

.sd-split-body h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 0.7rem 0 0.5rem;
}

.sd-split-body p {
    color: var(--text-light);
    line-height: 1.7;
}

/* feature (image + text) */
.sd-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.sd-feature.is-reverse figure {
    order: 2;
}

.sd-feature figure img {
    width: 100%;
    border-radius: 26px;
    box-shadow: 0 24px 50px -24px rgba(42, 29, 20, 0.4);
    background: var(--white);
}

.sd-feature .sd-head {
    margin-bottom: 1rem;
}

.sd-feature-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-light);
}

/* numbered steps */
.sd-steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
}

.sd-steps li {
    position: relative;
    padding: 1.6rem 1.5rem 1.5rem;
    border-radius: 22px;
    background: var(--light-bg);
    border: 1px solid rgba(107, 66, 38, 0.1);
}

.sd-block:nth-child(even) .sd-steps li {
    background: var(--white);
}

.sd-step-no {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.4rem;
    line-height: 1;
    color: var(--gold);
    margin-bottom: 0.7rem;
}

.sd-steps p {
    line-height: 1.65;
}

/* timeline */
.sd-timeline {
    list-style: none;
    position: relative;
    max-width: 820px;
}

.sd-timeline::before {
    content: '';
    position: absolute;
    top: 12px;
    bottom: 12px;
    left: calc(90px + 1.25rem + 23px);
    border-left: 2px dashed rgba(207, 161, 90, 0.6);
}

.sd-timeline li {
    position: relative;
    display: grid;
    grid-template-columns: 90px 48px 1fr;
    gap: 1.25rem;
    align-items: start;
    padding-bottom: 1.6rem;
}

.sd-time {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--wood-dark);
    text-align: right;
    padding-top: 0.55rem;
}

.sd-tl-icon {
    position: relative;
    z-index: 1;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 6px var(--light-bg);
}

.sd-block:nth-child(odd) .sd-tl-icon {
    box-shadow: 0 0 0 6px var(--white);
}

.sd-tl-body {
    padding: 0.9rem 1.25rem 1rem;
    border-radius: 18px;
    background: var(--light-bg);
}

.sd-block:nth-child(even) .sd-tl-body {
    background: var(--white);
}

.sd-tl-body h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--primary-color);
}

.sd-tl-body p {
    font-size: 0.93rem;
    color: var(--text-light);
}

/* checklist + warning */
.sd-check-wrap {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 2rem;
    align-items: start;
}

.sd-checklist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sd-checklist li {
    display: flex;
    gap: 0.9rem;
    line-height: 1.65;
}

.sd-checklist i {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    margin-top: 0.1rem;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sd-callout {
    display: flex;
    gap: 1.1rem;
    padding: 1.6rem 1.75rem;
    border-radius: 22px;
    background: var(--white);
    border: 1px solid rgba(207, 161, 90, 0.5);
    box-shadow: var(--shadow);
}

.sd-block--callout .sd-callout {
    max-width: 880px;
}

.sd-callout > i {
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--gold);
    color: var(--wood-dark);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sd-callout h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--wood-dark);
    margin-bottom: 0.35rem;
}

.sd-callout p {
    color: var(--text-light);
    line-height: 1.7;
}

.sd-callout--warn {
    background: #fff6e6;
    border-color: #e8b04b;
    position: sticky;
    top: 90px;
}

.sd-callout--warn > i {
    background: #e8a33a;
    color: var(--white);
}

/* speech bubbles */
.sd-questions {
    display: flex;
    flex-wrap: wrap;
    gap: 1.1rem 1rem;
}

.sd-bubble {
    position: relative;
    max-width: 360px;
    padding: 1rem 1.25rem;
    border-radius: 20px 20px 20px 6px;
    background: var(--light-bg);
    font-weight: 500;
    line-height: 1.5;
    box-shadow: var(--shadow);
}

.sd-block:nth-child(even) .sd-bubble {
    background: var(--white);
}

.sd-bubble:nth-child(3n + 2) {
    background: var(--primary-color) !important;
    color: var(--white);
    border-radius: 20px 20px 6px 20px;
}

.sd-bubble:nth-child(odd) {
    transform: rotate(-0.8deg);
}

.sd-bubble:nth-child(even) {
    transform: rotate(0.8deg);
}

/* chips */
.sd-chips {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.sd-chips li {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.55rem 1.3rem 0.55rem 0.55rem;
    border-radius: 50px;
    background: var(--light-bg);
    font-weight: 600;
    color: var(--wood-dark);
    box-shadow: var(--shadow);
}

.sd-block:nth-child(even) .sd-chips li {
    background: var(--white);
}

.sd-chips li span {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* problem quotes */
.sd-problems {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.sd-problems blockquote {
    padding: 1.3rem 1.25rem;
    border-radius: 20px;
    background: var(--light-bg);
    border-top: 4px solid var(--gold);
}

.sd-block:nth-child(even) .sd-problems blockquote {
    background: var(--white);
}

.sd-problems i {
    font-size: 1.3rem;
    color: var(--wood);
    margin-bottom: 0.6rem;
}

.sd-problems p {
    font-family: 'Caveat', cursive;
    font-size: 1.4rem;
    line-height: 1.2;
    color: var(--wood-dark);
}

.sd-note {
    margin-top: 1.75rem;
    padding: 1.1rem 1.4rem;
    border-radius: 16px;
    background: rgba(34, 59, 46, 0.08);
    color: var(--primary-color);
    font-weight: 500;
    line-height: 1.6;
}

.sd-note i {
    color: var(--gold);
    margin-right: 0.35rem;
}

/* training modules */
.sd-modules {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}

.sd-modules figure {
    text-align: center;
}

.sd-modules img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.sd-modules figure:hover img {
    transform: translateY(-4px) rotate(-2deg);
}

.sd-modules figcaption {
    margin-top: 0.8rem;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: var(--primary-color);
}

/* contacts */
.sd-contacts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.sd-contact {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    border-radius: 20px;
    background: var(--light-bg);
    text-decoration: none;
    color: inherit;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.sd-block:nth-child(even) .sd-contact {
    background: var(--white);
}

.sd-contact:hover {
    transform: translateY(-3px);
}

.sd-contact img,
.sd-contact-icon {
    flex: 0 0 auto;
    width: 56px;
    height: 56px;
    border-radius: 50%;
}

.sd-contact img {
    object-fit: cover;
    object-position: top;
    border: 2px solid var(--gold);
    background: var(--white);
}

.sd-contact-icon {
    background: var(--primary-color);
    color: var(--accent-color);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sd-contact div > span {
    display: block;
    font-size: 0.78rem;
    color: var(--text-light);
}

.sd-contact strong {
    display: block;
    color: var(--wood-dark);
    overflow-wrap: anywhere;
}

.sd-contact > div {
    min-width: 0;
}

.sd-contact small {
    display: block;
    font-size: 0.8rem;
    color: var(--wood);
    word-break: break-all;
}

/* gallery */
.sd-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.sd-gal-item {
    padding: 0;
    border: none;
    border-radius: 22px;
    overflow: hidden;
    cursor: zoom-in;
    box-shadow: var(--shadow);
    background: none;
}

.sd-gal-item img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.sd-gal-item:hover img {
    transform: scale(1.05);
}

/* end: call to action + prev / next */
.sd-end {
    max-width: 1100px;
    margin: 0 auto;
    padding: clamp(3rem, 6vw, 4rem) clamp(1.25rem, 4vw, 2.5rem) calc(3rem + env(safe-area-inset-bottom, 0px));
}

.sd-cta {
    margin-top: 0;
}

.sd-cta button.svc-btn {
    font: inherit;
    font-weight: 700;
    background: transparent;
    cursor: pointer;
}

.sd-pager {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
}

.sd-pager-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem;
    border: none;
    border-radius: 20px;
    background: var(--white);
    box-shadow: var(--shadow);
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.sd-pager-card.is-next {
    flex-direction: row-reverse;
    text-align: right;
}

.sd-pager-card:hover {
    transform: translateY(-3px);
}

.sd-pager-card img {
    width: 72px;
    height: 72px;
    border-radius: 14px;
    object-fit: cover;
}

.sd-pager-card small {
    display: block;
    font-size: 0.75rem;
    color: var(--text-light);
}

.sd-pager-card strong {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--primary-color);
}

@media (max-width: 900px) {
    .sd-hero,
    .sd-text,
    .sd-feature,
    .sd-check-wrap {
        grid-template-columns: 1fr;
    }

    .sd-feature.is-reverse figure {
        order: 0;
    }

    .sd-hero-media {
        max-width: 520px;
    }

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

    .sd-modules {
        grid-template-columns: repeat(3, 1fr);
    }

    .sd-callout--warn {
        position: static;
    }
}

@media (max-width: 600px) {
    .sd-back span,
    .sd-call span {
        display: none;
    }

    .sd-back,
    .sd-call {
        width: 42px;
        height: 42px;
        padding: 0;
        justify-content: center;
    }

    .sd-hero-media {
        padding: 0 0 1.75rem 1.25rem;
    }

    .sd-hero-badge {
        width: 68px;
        height: 68px;
        font-size: 1.5rem;
        right: -6px;
    }

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

    .sd-timeline::before {
        left: calc(56px + 0.8rem + 19px);
    }

    .sd-timeline li {
        grid-template-columns: 56px 40px 1fr;
        gap: 0.8rem;
    }

    .sd-time {
        font-size: 1.05rem;
        padding-top: 0.45rem;
    }

    .sd-tl-icon {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    .sd-problems {
        grid-template-columns: 1fr;
    }

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

    .sd-pager {
        grid-template-columns: 1fr;
    }

    .sd-callout {
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sd.is-entering,
    .sd-hero-badge {
        animation: none;
    }
}

/* ----- Training programs: journey tabs + detail panel ----- */
.sd-prog-path {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr) 1.1fr;
    gap: 0.9rem;
    margin-bottom: 1.75rem;
}

/* dashed road connecting the four progressive programs */
.sd-prog-path::before {
    content: '';
    position: absolute;
    top: 38px;
    left: 4%;
    width: 70%;
    border-top: 2px dashed rgba(207, 161, 90, 0.7);
}

.sd-prog-tab {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
    padding: 1rem 1.1rem 1.1rem;
    border: 1px solid rgba(107, 66, 38, 0.15);
    border-radius: 20px;
    background: var(--light-bg);
    font: inherit;
    text-align: left;
    color: var(--wood-dark);
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.sd-block:nth-child(even) .sd-prog-tab {
    background: var(--white);
}

.sd-prog-tab:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.sd-prog-tab.is-special {
    border-style: dashed;
    border-color: rgba(207, 161, 90, 0.8);
}

.sd-prog-tab.is-special::before {
    content: 'Özel program';
    position: absolute;
    top: -10px;
    right: 14px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.15rem 0.55rem;
    border-radius: 50px;
    background: var(--gold);
    color: var(--wood-dark);
}

.sd-prog-no {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    background: var(--white);
    color: var(--wood);
    border: 2px solid var(--gold);
    margin-bottom: 0.35rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.sd-prog-name {
    font-family: var(--font-heading);
    font-size: 1.08rem;
    line-height: 1.2;
}

.sd-prog-meta {
    font-size: 0.78rem;
    color: var(--text-light);
}

.sd-prog-tab.is-active {
    background: var(--primary-color) !important;
    border-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 16px 30px -14px rgba(34, 59, 46, 0.7);
    transform: translateY(-4px);
}

.sd-prog-tab.is-active .sd-prog-no {
    background: var(--gold);
    color: var(--wood-dark);
    border-color: var(--gold);
}

.sd-prog-tab.is-active .sd-prog-meta {
    color: var(--accent-color);
}

/* panel */
.sd-prog-panel {
    padding: clamp(1.25rem, 3vw, 2.25rem);
    border-radius: 28px;
    background: var(--light-bg);
    box-shadow: var(--shadow);
    animation: sdProgIn 0.45s ease;
}

.sd-block:nth-child(even) .sd-prog-panel {
    background: var(--white);
}

@keyframes sdProgIn {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
}

.sd-prog-top {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: start;
}

.sd-prog-main {
    display: block;
    width: 100%;
    padding: 0;
    border: none;
    border-radius: 22px;
    overflow: hidden;
    cursor: zoom-in;
    background: none;
    box-shadow: 0 20px 40px -22px rgba(42, 29, 20, 0.5);
}

.sd-prog-main img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.sd-prog-main:hover img {
    transform: scale(1.03);
}

.sd-prog-thumbs {
    display: flex;
    gap: 0.6rem;
    margin-top: 0.75rem;
}

.sd-prog-thumb {
    width: 72px;
    height: 72px;
    padding: 0;
    border: 3px solid transparent;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    background: none;
    opacity: 0.65;
    transition: opacity 0.3s ease, border-color 0.3s ease;
}

.sd-prog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sd-prog-thumb:hover,
.sd-prog-thumb.is-active {
    opacity: 1;
    border-color: var(--gold);
}

.sd-prog-kicker {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--wood);
}

.sd-prog-info h3 {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    line-height: 1.1;
    color: var(--primary-color);
    margin-top: 0.3rem;
}

.sd-prog-tagline {
    font-family: 'Caveat', cursive;
    font-weight: 600;
    font-size: 1.6rem;
    color: var(--gold);
    margin: 0.1rem 0 0.8rem;
}

.sd-prog-info > p:not(.sd-prog-tagline) {
    line-height: 1.75;
    color: var(--text-color);
    margin-bottom: 0.8rem;
}

.sd-prog-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.7rem;
    margin-top: 1.2rem;
}

.sd-prog-facts div {
    padding: 0.8rem 1rem;
    border-radius: 16px;
    background: var(--white);
    border: 1px solid rgba(107, 66, 38, 0.12);
}

.sd-block:nth-child(even) .sd-prog-facts div {
    background: var(--light-bg);
}

.sd-prog-facts dt {
    font-size: 0.75rem;
    color: var(--text-light);
}

.sd-prog-facts dt i {
    color: var(--gold);
    margin-right: 0.2rem;
}

.sd-prog-facts dd {
    margin: 0.15rem 0 0;
    font-weight: 700;
    color: var(--wood-dark);
    line-height: 1.3;
}

.sd-prog-sub {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--primary-color);
    margin: 2rem 0 1rem;
}

.sd-prog-learn {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 0.6rem 1.5rem;
}

.sd-prog-learn li {
    display: flex;
    gap: 0.65rem;
    line-height: 1.5;
}

.sd-prog-learn i {
    flex: 0 0 auto;
    margin-top: 0.3rem;
    font-size: 0.8rem;
    color: var(--gold);
}

.sd-prog-qa {
    margin-top: 1.75rem;
    padding: 1.25rem 1.5rem;
    border-radius: 20px;
    background: var(--primary-color);
    color: rgba(255, 255, 255, 0.88);
}

.sd-prog-q {
    font-family: 'Caveat', cursive;
    font-size: 1.45rem;
    line-height: 1.25;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.sd-prog-q i {
    font-size: 1.1rem;
    margin-right: 0.3rem;
}

.sd-prog-a {
    line-height: 1.7;
}

.sd-prog-steps {
    list-style: none;
    counter-reset: prog;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.9rem;
}

.sd-prog-steps li {
    counter-increment: prog;
    position: relative;
    padding: 1.1rem 1.2rem 1.1rem 3.6rem;
    border-radius: 18px;
    background: var(--white);
    border: 1px solid rgba(107, 66, 38, 0.12);
    line-height: 1.6;
}

.sd-block:nth-child(even) .sd-prog-steps li {
    background: var(--light-bg);
}

.sd-prog-steps li::before {
    content: counter(prog);
    position: absolute;
    left: 1rem;
    top: 1rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--wood-dark);
    font-family: var(--font-heading);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sd-prog-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.9rem;
}

.sd-prog-card {
    padding: 1.25rem 1.3rem;
    border-radius: 20px;
    background: var(--white);
    border-top: 4px solid var(--primary-color);
}

.sd-block:nth-child(even) .sd-prog-card {
    background: var(--light-bg);
}

.sd-prog-card i {
    font-size: 1.4rem;
    color: var(--primary-color);
}

.sd-prog-card h5 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--wood-dark);
    margin: 0.5rem 0 0.35rem;
}

.sd-prog-card p {
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--text-light);
}

.sd-prog-cert {
    text-align: center;
}

@media (max-width: 900px) {
    /* tabs become a swipeable strip */
    .sd-prog-path {
        display: flex;
        overflow-x: auto;
        padding: 0.75rem 0.25rem 0.5rem;
        margin: 0 -0.25rem 1.25rem;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .sd-prog-path::-webkit-scrollbar {
        display: none;
    }

    .sd-prog-path::before {
        display: none;
    }

    .sd-prog-tab {
        flex: 0 0 200px;
        scroll-snap-align: start;
    }

    .sd-prog-top {
        grid-template-columns: 1fr;
    }
}

/* Hero statistics (replaced the four feature badges) */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, auto);
    justify-content: start;
    gap: 1.75rem;
}

.hero-stat {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
}

.hero-stat i {
    width: 38px;
    height: 38px;
    font-size: 0.95rem;
}

.hero-stat span {
    font-size: 0.8rem;
    color: var(--text-light);
    white-space: nowrap;
}

.hero-stat strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.75rem;
    line-height: 1.05;
    color: var(--wood-dark);
    font-variant-numeric: tabular-nums;
}

/* Bottom band now only carries the quote */
.stats-inner--quote {
    justify-content: center;
}

.stats-inner--quote .stats-script {
    margin-left: 0;
    font-family: 'Caveat', cursive;
    font-style: normal;
    font-weight: 600;
    font-size: 1.9rem;
    color: var(--accent-color);
    text-align: center;
}

@media (max-width: 768px) {
    .hero-stats {
        grid-template-columns: repeat(2, auto);
        gap: 1.25rem 2rem;
    }
}

.hero-headline {
    /* Kalam: free Google font (OFL), close to the hand-lettered look */
    font-family: 'Kalam', 'Caveat', cursive;
    font-weight: 400;
    font-size: clamp(2.3rem, 3.4vw, 3.4rem);
    line-height: 1.05;
    letter-spacing: 0;
    color: var(--wood-dark);
    margin-bottom: 1.4rem;
}

.hero-headline-line {
    display: block;
}

.hero-headline-hl {
    font-weight: 700;
    font-size: 1.14em;
    color: var(--primary-color);
}

.hero-lede {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .hero-headline {
        font-size: clamp(2.2rem, 10vw, 2.8rem);
    }

    .hero-lede {
        font-size: 1.05rem;
    }
}

/* ===== Blog ===== */
.blog {
    padding: 3rem 0 2rem;
    background-color: var(--light-bg);
}

.blog-intro {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 1.75rem;
}

.blog-intro .section-title {
    margin-bottom: 1rem;
}

.blog-lead {
    color: var(--text-light);
    font-size: 1.02rem;
}

.blog-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.blog-filters button {
    padding: 0.5rem 1.1rem;
    border-radius: 50px;
    border: 1px solid rgba(107, 66, 38, 0.25);
    background: var(--white);
    color: var(--wood-dark);
    font: inherit;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.blog-filters button:hover {
    border-color: var(--gold);
}

.blog-filters button.is-active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.blog-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.blog-card {
    display: flex;
    flex-direction: column;
    border-radius: 24px;
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow);
    cursor: pointer;
    outline: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover,
.blog-card:focus-visible {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px -18px rgba(42, 29, 20, 0.35);
}

.blog-card:focus-visible {
    box-shadow: 0 0 0 3px var(--gold);
}

.blog-card-img {
    overflow: hidden;
}

.blog-card-img img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-card:hover .blog-card-img img {
    transform: scale(1.04);
}

.blog-card-body {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    padding: 1.3rem 1.5rem 1.5rem;
    flex: 1;
}

.blog-cat {
    align-self: flex-start;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--wood);
    padding: 0.25rem 0.7rem;
    border-radius: 50px;
    background: rgba(207, 161, 90, 0.18);
}

.blog-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    line-height: 1.25;
    color: var(--primary-color);
}

.blog-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.blog-meta {
    margin-top: auto;
    padding-top: 0.4rem;
    font-size: 0.8rem;
    color: var(--wood);
}

.blog-card--featured {
    grid-column: 1 / -1;
    flex-direction: row;
}

.blog-card--featured .blog-card-img {
    flex: 0 0 55%;
}

.blog-card--featured .blog-card-img img {
    height: 100%;
    aspect-ratio: auto;
    min-height: 320px;
}

.blog-card--featured .blog-card-body {
    justify-content: center;
    padding: 2rem 2.25rem;
}

.blog-card--featured h3 {
    font-size: clamp(1.5rem, 2.4vw, 2rem);
}

.blog-card--featured p {
    font-size: 1.02rem;
}

.blog-card--featured .blog-meta {
    margin-top: 0.5rem;
}

.blog .about-footer-bar {
    margin-top: 2.5rem;
}

/* ----- reader ----- */
.bp-article {
    max-width: 780px;
    margin: 0 auto;
    padding: clamp(2.5rem, 6vw, 4rem) clamp(1.25rem, 4vw, 2rem) 0;
}

.bp-head {
    text-align: center;
}

.bp-head .blog-cat {
    align-self: center;
}

.bp-head h1 {
    font-family: var(--font-heading);
    font-size: clamp(1.9rem, 4vw, 2.9rem);
    line-height: 1.15;
    color: var(--primary-color);
    margin: 1rem 0 0.9rem;
}

.bp-meta {
    font-size: 0.88rem;
    color: var(--text-light);
}

.bp-meta i {
    color: var(--gold);
    margin-right: 0.25rem;
}

.bp-cover {
    margin: 2rem auto 0;
    max-width: 1000px;
}

.bp-cover img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    border-radius: 28px;
    box-shadow: 0 30px 60px -30px rgba(42, 29, 20, 0.5);
}

.bp-body {
    padding-top: 2.25rem;
    font-size: 1.07rem;
    line-height: 1.85;
    color: var(--text-color);
}

.bp-body p {
    margin-bottom: 1.15rem;
}

.bp-body h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.35rem, 2.4vw, 1.6rem);
    line-height: 1.25;
    color: var(--primary-color);
    margin: 2.2rem 0 0.75rem;
}

.bp-body strong {
    color: var(--wood-dark);
}

.bp-body a {
    color: var(--wood);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--gold);
    text-underline-offset: 3px;
    cursor: pointer;
}

.bp-body ul {
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
}

.bp-body li {
    position: relative;
    padding-left: 1.7rem;
    margin-bottom: 0.6rem;
}

.bp-body li::before {
    content: '\f1b0';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0.1rem;
    font-size: 0.85rem;
    color: var(--gold);
}

.bp-body blockquote {
    margin: 1.75rem 0;
    padding: 1.2rem 1.5rem;
    border-left: 5px solid var(--gold);
    border-radius: 0 18px 18px 0;
    background: var(--white);
    font-family: 'Caveat', cursive;
    font-size: 1.45rem;
    line-height: 1.35;
    color: var(--wood-dark);
}

.bp-end {
    max-width: 1000px;
    margin: 0 auto;
    padding: 3rem clamp(1.25rem, 4vw, 2rem) calc(3rem + env(safe-area-inset-bottom, 0px));
}

.bp-related-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 3rem 0 1.25rem;
}

.bp-related {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

@media (max-width: 768px) {
    .blog-list,
    .bp-related {
        grid-template-columns: 1fr;
    }

    .blog-card--featured {
        flex-direction: column;
    }

    .blog-card--featured .blog-card-img img {
        min-height: 0;
        aspect-ratio: 16 / 10;
    }

    .blog-card--featured .blog-card-body {
        padding: 1.3rem 1.5rem 1.5rem;
    }
}

/* ----- Blog admin ----- */
.blog-empty {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--text-light);
    padding: 2rem 0;
}

.blog-admin-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 0 0 1.5rem;
    padding: 1rem 1.25rem;
    border-radius: 18px;
    background: var(--white);
    border: 2px dashed rgba(207, 161, 90, 0.6);
}

.blog-admin-text strong {
    display: block;
    color: var(--primary-color);
}

.blog-admin-text strong i {
    color: var(--gold);
    margin-right: 0.3rem;
}

.blog-admin-text span {
    font-size: 0.88rem;
    color: var(--text-light);
}

.blog-admin-actions {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.blog-admin-actions .svc-btn {
    border: none;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.blog-admin-logout {
    background: transparent;
    border: 1px solid rgba(107, 66, 38, 0.35) !important;
    color: var(--wood-dark);
}

.blog-card-img {
    position: relative;
}

.blog-card-admin {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    display: flex;
    gap: 0.4rem;
}

.blog-card-admin button {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.8rem;
    border: none;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--wood-dark);
    font: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.blog-card-admin button:hover {
    background: var(--gold);
}

.blog-card-admin button[data-blog-delete] {
    color: #b3261e;
}

.blog-card-admin button[data-blog-delete]:hover {
    background: #b3261e;
    color: var(--white);
}

.sd-bar button.sd-call {
    border: none;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

/* ----- editor ----- */
.be-form {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem clamp(1rem, 4vw, 2.5rem) calc(3rem + env(safe-area-inset-bottom, 0px));
}

.be-field {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-bottom: 1.25rem;
}

.be-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--wood-dark);
}

.be-label small {
    font-weight: 400;
    color: var(--text-light);
    margin-left: 0.35rem;
}

.be-form input,
.be-form textarea {
    width: 100%;
    font: inherit;
    font-size: 1rem;
    padding: 0.75rem 0.95rem;
    border: 1px solid rgba(107, 66, 38, 0.25);
    border-radius: 12px;
    background: var(--white);
    color: var(--text-color);
    outline: none;
}

.be-form input[name="title"] {
    font-family: var(--font-heading);
    font-size: 1.35rem;
}

.be-form input:focus,
.be-form textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(207, 161, 90, 0.2);
}

.be-body {
    min-height: 420px;
    line-height: 1.7;
    resize: vertical;
}

.be-body-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.be-tabs {
    display: flex;
    gap: 0.25rem;
    padding: 0.2rem;
    border-radius: 10px;
    background: rgba(107, 66, 38, 0.08);
}

.be-tabs button {
    padding: 0.35rem 0.9rem;
    border: none;
    border-radius: 8px;
    background: transparent;
    font: inherit;
    font-size: 0.85rem;
    cursor: pointer;
    color: var(--wood-dark);
}

.be-tabs button.is-active {
    background: var(--white);
    box-shadow: var(--shadow);
    font-weight: 600;
}

.be-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.be-toolbar button {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.75rem;
    border: 1px solid rgba(107, 66, 38, 0.2);
    border-radius: 8px;
    background: var(--white);
    font: inherit;
    font-size: 0.82rem;
    color: var(--wood-dark);
    cursor: pointer;
}

.be-toolbar button:hover {
    border-color: var(--gold);
    color: var(--wood);
}

.be-preview {
    min-height: 420px;
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    background: var(--white);
    border: 1px solid rgba(107, 66, 38, 0.15);
}

.be-help {
    font-size: 0.85rem;
    color: var(--text-light);
}

.be-help summary {
    cursor: pointer;
    color: var(--wood);
    font-weight: 600;
}

.be-help ul {
    margin: 0.6rem 0 0 1.1rem;
    line-height: 1.8;
}

.be-help code {
    padding: 0.05rem 0.35rem;
    border-radius: 4px;
    background: rgba(107, 66, 38, 0.1);
    color: var(--wood-dark);
}

.be-side {
    position: sticky;
    top: 90px;
    align-self: start;
}

.be-cover {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4 / 3;
    border-radius: 16px;
    overflow: hidden;
    border: 2px dashed rgba(107, 66, 38, 0.3);
    background: var(--white);
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.be-cover.is-over,
.be-cover:hover {
    border-color: var(--gold);
}

.be-cover img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.be-cover-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    padding: 1rem;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--wood-dark);
}

.be-cover-empty i {
    font-size: 1.8rem;
    color: var(--gold);
}

.be-cover-empty small {
    font-weight: 400;
    color: var(--text-light);
}

.be-cover-change {
    display: none;
    position: absolute;
    right: 0.6rem;
    bottom: 0.6rem;
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.92);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--wood-dark);
}

.be-cover.has-image .be-cover-empty {
    display: none;
}

.be-cover.has-image .be-cover-change {
    display: inline-flex;
    gap: 0.35rem;
    align-items: center;
}

.be-status {
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: var(--primary-color);
}

.be-status.is-error {
    color: #b3261e;
}

.be-submit {
    width: 100%;
    justify-content: center;
    border: none;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.be-submit:disabled,
.be-bar-save:disabled {
    opacity: 0.6;
    cursor: wait;
}

.be-delete {
    width: 100%;
    margin-top: 0.75rem;
    padding: 0.7rem;
    border: 1px solid rgba(179, 38, 30, 0.35);
    border-radius: 50px;
    background: transparent;
    color: #b3261e;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.be-delete:hover {
    background: #b3261e;
    color: var(--white);
}

.blog-toast {
    position: fixed;
    left: 50%;
    bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
    z-index: 3000;
    transform: translateX(-50%);
    padding: 0.8rem 1.4rem;
    border-radius: 50px;
    background: var(--primary-color);
    color: var(--white);
    font-weight: 600;
    box-shadow: var(--shadow-lg);
}

.blog-toast.is-error {
    background: #b3261e;
}

@media (max-width: 900px) {
    .be-form {
        grid-template-columns: 1fr;
    }

    .be-side {
        position: static;
        order: -1;
    }

    .be-body,
    .be-preview {
        min-height: 300px;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .masonry-gallery {
        columns: 3;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 110px;
        flex-direction: column;
        background-color: var(--wood-dark);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        gap: 0;
        padding: 2rem 0;
        z-index: 90;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .logo-img {
        height: 80px;
    }

    .nav-cta {
        display: none;
    }

    .hero-full {
        min-height: 560px;
    }

    .hero-full {
        height: auto;
        overflow: visible;
    }

    .hero-bg {
        position: relative;
        top: auto;
        left: auto;
        display: block;
        width: calc(100% - 3rem);
        height: 42vh;
        margin: 1.25rem auto 0;
    }

    .hero-social {
        position: static;
        transform: none;
        flex-direction: row;
        justify-content: center;
        margin-top: 1rem;
    }

    .hero-full-content {
        margin-left: 0;
        padding: 1.5rem 1.5rem 0.5rem;
    }

    .hero-badges {
        margin-left: 0;
        padding: 1rem 1.5rem 1.5rem;
    }

    .hero-script-lg {
        font-size: 1.2rem;
    }

    .hero-wordmark {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-badges {
        gap: 1.25rem;
        padding: 1rem 1.5rem 1.5rem;
    }

    .wood-sign {
        font-size: 1.4rem;
        padding: 1rem 1.25rem;
    }

    .story-block,
    .whyus-block {
        grid-template-columns: 1fr;
    }

    .story-media {
        min-height: 260px;
        margin-top: 2rem;
    }

    .whyus-media {
        order: 2;
    }

    .whyus-polaroid {
        justify-self: center;
    }

    .stats-inner {
        justify-content: center;
        text-align: center;
    }

    .stats-script {
        margin-left: 0;
        width: 100%;
        text-align: center;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

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

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

    .about-hero-title {
        font-size: 1.5rem;
    }

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

    .masonry-gallery {
        columns: 2;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 1rem;
    }

    .logo-img {
        height: 60px;
    }

    .modal-content {
        width: 95%;
        margin: 20% auto;
    }

    .contact-form {
        margin-top: 2rem;
    }
}

/* Social icons sit in a row right above the video (desktop) */
.hero-full .hero-social {
    left: 4%;
    top: 5%;
    transform: none;
    flex-direction: row;
    gap: 0.6rem;
}

.hero-full .hero-social a {
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
}

.hero-full .hero-bg {
    top: calc(5% + 58px);
    height: calc(89% - 58px);
}

@media (max-width: 768px) {
    .hero-full .hero-social {
        order: -1;
        position: static;
        justify-content: center;
        margin-top: 1.25rem;
    }

    .hero-full .hero-bg {
        top: auto;
        height: 42vh;
        margin-top: 0.75rem;
    }
}

/* ----- Performance: keep the services ring cheap to draw ----- */
.svc-ring-card {
    backface-visibility: visible;
}

.svc-ring-card .svc-num,
.svc-ring-card .svc-tags li {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(42, 29, 20, 0.55);
}

.svc-ring-stage .ring {
    will-change: transform;
}

.svc-ring-stage {
    contain: layout paint;
}

/* ----- Contact map: instant placeholder, map preloaded in the background ----- */
.contact-map {
    position: relative;
    background: var(--light-bg);
}

.map-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 1rem;
    text-align: center;
    color: var(--wood-dark);
    background:
        radial-gradient(rgba(107, 66, 38, 0.12) 1px, transparent 1.3px) 0 0 / 18px 18px,
        var(--light-bg);
}

.map-placeholder > i {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 0.2rem;
}

.map-placeholder span {
    font-size: 0.85rem;
    color: var(--text-light);
}

.map-loading i {
    margin-right: 0.3rem;
    color: var(--gold);
}

.map-open {
    margin-top: 0.4rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    background: var(--primary-color);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
}

.contact-map iframe {
    position: relative;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.contact-map.is-loaded iframe {
    opacity: 1;
}

.contact-map.is-loaded .map-placeholder {
    visibility: hidden;
}

/* ----- TR / EN switch next to "Bize Ulaşın" ----- */
.nav-actions {
    position: absolute;
    right: calc(4vw - max(0px, (100vw - 1200px) / 2));
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-actions .nav-cta {
    position: static;
    transform: none;
}

.lang-switch {
    display: inline-flex;
    padding: 3px;
    border-radius: 50px;
    border: 1px solid rgba(207, 161, 90, 0.45);
}

.lang-switch button {
    min-width: 38px;
    padding: 0.35rem 0.6rem;
    border: none;
    border-radius: 50px;
    background: transparent;
    color: rgba(255, 255, 255, 0.75);
    font: inherit;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.lang-switch button:hover {
    color: var(--gold);
}

.lang-switch button.is-active {
    background: var(--gold);
    color: var(--wood-dark);
}

@media (max-width: 768px) {
    .nav-actions {
        right: calc(2rem + 42px);
    }
}

html[lang="en"] .sd-prog-tab.is-special::before {
    content: 'Special programme';
}

.form-note {
    margin-top: 0.6rem;
    font-size: 0.8rem;
    line-height: 1.45;
    color: var(--text-light);
}

.form-note i {
    color: #25d366;
    margin-right: 0.25rem;
}

/* Blog: English version */
.bp-lang-note {
    margin-top: 1.5rem;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    background: rgba(207, 161, 90, 0.15);
    color: var(--wood-dark);
    font-size: 0.9rem;
    text-align: center;
}

.bp-lang-note i {
    color: var(--gold);
    margin-right: 0.3rem;
}

.be-en {
    margin: 0.5rem 0 1.25rem;
    padding: 1rem 1.25rem;
    border-radius: 14px;
    background: var(--white);
    border: 1px dashed rgba(207, 161, 90, 0.7);
}

.be-en summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--primary-color);
}

.be-en summary i {
    color: var(--gold);
    margin-right: 0.3rem;
}

.be-en summary small {
    font-weight: 400;
    color: var(--text-light);
    margin-left: 0.4rem;
}

.be-en[open] summary {
    margin-bottom: 1rem;
}

.be-body-en {
    min-height: 260px;
}

/* keep the round "Bizi Ziyaret Edin" badge in front of the map */
.contact-map-badge {
    z-index: 3;
}

/* ===== Mobile polish ===== */
.mobile-footer {
    display: none;
}

/* nothing inside a page may push it sideways */
.page-section {
    overflow-x: hidden;
}

@media (max-width: 768px) {
    /* slimmer top bar: more room for content */
    .nav-container {
        min-height: 72px;
        padding-top: 0.35rem;
        padding-bottom: 0.35rem;
    }

    .logo-img {
        height: 58px;
    }

    .nav-menu {
        top: 72px;
    }

    /* the fixed bottom bar took a quarter of the screen; show it at the end of the home page instead */
    body.home-active .footer {
        display: none;
    }

    .mobile-footer {
        display: block;
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }

    .mobile-footer .about-footer-bar {
        margin-top: 0;
    }

    /* photo fan in "Patilere Adanmış Bir Yaşam" stays inside the screen */
    .polaroid-fan {
        right: 9%;
        width: 40%;
    }

    /* featured blog card: image no longer squeezes the text */
    .blog-card--featured .blog-card-img {
        flex: none;
    }
}

/* ===== Social buttons: vertical rail inside the video, right edge ===== */
.hero-full .hero-bg {
    top: 6%;
    height: 88%;
}

.hero-full .hero-social {
    position: absolute;
    z-index: 3;
    /* video spans left 4% → 50% of the hero; sit just inside its right edge, centred vertically */
    left: calc(50% - 1.1rem - 50px);
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin: 0;
    isolation: isolate;
}

/* thin line threading the buttons */
.hero-full .hero-social::before {
    content: '';
    position: absolute;
    z-index: -1;
    left: 50%;
    top: -1.75rem;
    bottom: -1.75rem;
    width: 1px;
    transform: translateX(-50%);
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.35) 15%, rgba(255, 255, 255, 0.35) 85%, transparent);
}

.hero-full .hero-social a {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #efe6d4;
    background: rgba(33, 44, 41, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.hero-full .hero-social a.hs-youtube {
    color: #ff0033;
    font-size: 1.35rem;
}

.hero-full .hero-social a.hs-youtube i {
    /* white play triangle inside the red logo */
    background: radial-gradient(circle, #fff 30%, transparent 32%);
}

.hero-full .hero-social a:hover {
    transform: scale(1.08);
    background: rgba(33, 44, 41, 0.9);
    color: var(--gold);
}

.hero-full .hero-social a.hs-youtube:hover {
    color: #ff0033;
}

@media (max-width: 768px) {
    .hero-full .hero-social {
        order: 0;
        position: absolute;
        /* mobile video: full width minus 1.5rem each side, 42vh tall, starts 0.75rem from the top */
        left: auto;
        right: calc(1.5rem + 0.6rem);
        top: calc(12px + 21vh);
        transform: translateY(-50%);
        justify-content: center;
        gap: 0.7rem;
        margin: 0;
    }

    .hero-full .hero-social::before {
        top: -1rem;
        bottom: -1rem;
    }

    /* keep the phone-sized video (the desktop rule above would stretch it to 88% of the hero) */
    .hero-full .hero-bg {
        top: auto;
        height: 42vh;
    }

    .hero-full .hero-social a {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .hero-full .hero-social a.hs-youtube {
        font-size: 1.1rem;
    }
}

/* ===== Blog: 3D cover flow ===== */
.blog-list:has(.bcf) {
    display: block;
}

.bcf {
    --bcf-w: 300px;
    --bcf-h: 400px;
    position: relative;
    height: calc(var(--bcf-h) + 70px);
    perspective: 1400px;
    perspective-origin: 50% 45%;
    outline: none;
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
    overflow: hidden;
    contain: layout paint;
}

.bcf:focus-visible {
    box-shadow: 0 0 0 3px var(--gold);
    border-radius: 24px;
}

.bcf-stage {
    position: absolute;
    left: 50%;
    top: 20px;
    width: var(--bcf-w);
    height: var(--bcf-h);
    margin-left: calc(var(--bcf-w) / -2);
    transform-style: preserve-3d;
}

.bcf-card {
    position: absolute;
    inset: 0;
    border-radius: 22px;
    overflow: hidden;
    background: var(--wood-dark);
    box-shadow: 0 24px 44px -18px rgba(42, 29, 20, 0.55);
    cursor: pointer;
    transition: transform 0.6s cubic-bezier(0.22, 0.8, 0.25, 1), opacity 0.45s ease;
    will-change: transform;
}

.bcf-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    -webkit-user-drag: none;
    background: #d9cdb8;
}

.bcf-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(42, 29, 20, 0) 45%, rgba(42, 29, 20, 0.88) 100%);
    pointer-events: none;
}

.bcf-cap {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    padding: 1.2rem 1.3rem 1.3rem;
    color: var(--white);
}

.bcf-cap .blog-cat {
    background: var(--gold);
    color: var(--wood-dark);
}

.bcf-cap h3 {
    margin-top: 0.55rem;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    line-height: 1.2;
    color: var(--white);
}

.bcf-card .blog-card-admin {
    z-index: 2;
}

.bcf-card:not(.is-active) .bcf-cap h3 {
    opacity: 0.75;
}

.bcf-card.is-active {
    box-shadow: 0 30px 60px -18px rgba(42, 29, 20, 0.6), 0 0 0 4px rgba(207, 161, 90, 0.9);
}

.bcf-floor {
    position: absolute;
    left: 50%;
    bottom: 18px;
    width: min(900px, 92%);
    height: 50px;
    transform: translateX(-50%);
    background: radial-gradient(ellipse at center, rgba(107, 66, 38, 0.22), transparent 70%);
    pointer-events: none;
}

.bcf-arrow {
    position: absolute;
    top: calc(20px + var(--bcf-h) / 2);
    z-index: 200;
    width: 48px;
    height: 48px;
    margin-top: -24px;
    border-radius: 50%;
    border: 1px solid rgba(107, 66, 38, 0.3);
    background: var(--white);
    color: var(--wood);
    font-size: 1rem;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: background-color 0.25s ease, opacity 0.25s ease;
}

.bcf-arrow:hover:not(:disabled) {
    background: var(--gold);
    color: var(--wood-dark);
}

.bcf-arrow:disabled {
    opacity: 0.35;
    cursor: default;
}

.bcf-prev {
    left: 0.5rem;
}

.bcf-next {
    right: 0.5rem;
}

.bcf-info {
    max-width: 640px;
    margin: 0.5rem auto 0;
    text-align: center;
}

.bcf-info h3 {
    font-family: var(--font-heading);
    font-size: clamp(1.35rem, 2.4vw, 1.8rem);
    line-height: 1.2;
    color: var(--primary-color);
    margin: 0.4rem 0 0.6rem;
}

.bcf-info p {
    color: var(--text-light);
    line-height: 1.65;
    margin-bottom: 1.1rem;
}

.bcf-read {
    border: none;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.bcf-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.bcf-dots button {
    width: 10px;
    height: 10px;
    padding: 0;
    border: none;
    border-radius: 50px;
    background: rgba(107, 66, 38, 0.25);
    cursor: pointer;
    transition: width 0.3s ease, background-color 0.3s ease;
}

.bcf-dots button.is-active {
    width: 28px;
    background: var(--gold);
}

@media (max-width: 768px) {
    .bcf {
        --bcf-w: 220px;
        --bcf-h: 300px;
        perspective: 900px;
    }

    .bcf-cap h3 {
        font-size: 1.02rem;
    }

    .bcf-arrow {
        width: 40px;
        height: 40px;
        margin-top: -20px;
    }

    .bcf-prev {
        left: 0;
    }

    .bcf-next {
        right: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bcf-card {
        transition: none;
    }
}

/* About: team placeholder while the team is being renewed */
.team-soon {
    max-width: 680px;
    margin: 0 auto 1rem;
    padding: clamp(1.75rem, 4vw, 2.5rem) clamp(1.25rem, 4vw, 2.5rem);
    text-align: center;
    border-radius: 24px;
    background: var(--white);
    border: 2px dashed rgba(207, 161, 90, 0.6);
    box-shadow: var(--shadow);
}

.team-soon-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gold);
    color: var(--wood-dark);
    font-size: 1.4rem;
}

.team-soon h3 {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 2.6vw, 1.8rem);
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.team-soon p {
    color: var(--text-light);
    line-height: 1.7;
}

.team-soon-note {
    margin-top: 0.9rem;
    font-family: 'Caveat', cursive;
    font-size: 1.5rem;
    line-height: 1.3;
    color: var(--wood) !important;
}

/* ===== Navbar: wood grain, walking paw trail, shimmering bottom line ===== */
.navbar {
    position: sticky;
    isolation: isolate;
    overflow: visible;
    background-color: var(--wood-dark);
    /* soft wood grain (static, drawn once) */
    background-image:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(0, 0, 0, 0.18)),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1800' height='140' viewBox='0 0 1800 140' preserveAspectRatio='none'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.005 0.11' numOctaves='3' seed='7' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.45  0 0 0 0 0.29  0 0 0 0 0.17  0 0 0 0.32 0'/%3E%3C/filter%3E%3Crect width='1800' height='140' filter='url(%23g)'/%3E%3C/svg%3E");
    background-size: 100% 100%, 100% 100%;
    background-repeat: no-repeat;
}

.nav-container {
    z-index: 1;
}

/* gold line with a slow shimmer */
.navbar::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    z-index: 2;
    background: linear-gradient(90deg,
        rgba(207, 161, 90, 0.15) 0%, rgba(207, 161, 90, 0.15) 40%,
        rgba(255, 226, 170, 0.95) 50%,
        rgba(207, 161, 90, 0.15) 60%, rgba(207, 161, 90, 0.15) 100%);
    background-size: 250% 100%;
    animation: navShimmer 7s linear infinite;
    pointer-events: none;
}

@keyframes navShimmer {
    from { background-position: 100% 0; }
    to { background-position: -150% 0; }
}

/* paw prints appear one after another, left to right, then fade */
.nav-paws {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.nav-paws i {
    position: absolute;
    left: calc(3% + var(--i) * 7%);
    top: 50%;
    font-size: 15px;
    color: var(--gold);
    opacity: 0;
    /* alternate feet: a little above / below the centre line, turned towards the walking direction */
    transform: translateY(calc(-50% + 10px)) rotate(90deg);
    animation: navPaw 16s ease-in-out infinite;
    animation-delay: calc(var(--i) * 0.45s);
    will-change: opacity;
}

.nav-paws i:nth-child(even) {
    transform: translateY(calc(-50% - 12px)) rotate(90deg);
}

@keyframes navPaw {
    0% { opacity: 0; }
    3% { opacity: 0.22; }
    30% { opacity: 0.16; }
    42%, 100% { opacity: 0; }
}

@media (max-width: 768px) {
    .nav-paws i {
        left: calc(2% + var(--i) * 7.2%);
        font-size: 11px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .navbar::after,
    .nav-paws i {
        animation: none;
    }
}

/* ===== Köpeklerimiz (Our Dogs) ===== */
.dogs {
    background:
        radial-gradient(circle at 12% 8%, rgba(207, 161, 90, 0.14), transparent 40%),
        var(--light-bg);
    padding-bottom: 2rem;
}

.dg-hero {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
    padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 6vw, 4rem);
}

.dg-title {
    font-family: var(--font-heading);
    font-size: clamp(2.6rem, 5.5vw, 4.2rem);
    line-height: 1.02;
    color: var(--primary-color);
    margin: 0.6rem 0 0.3rem;
}

.dg-tagline {
    font-family: 'Caveat', cursive;
    font-weight: 600;
    font-size: clamp(1.6rem, 2.6vw, 2.1rem);
    color: var(--gold);
    margin-bottom: 1rem;
}

.dg-lead {
    max-width: 34rem;
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text-light);
}

.dg-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.75rem;
}

.dg-main-btn {
    padding: 0.95rem 1.6rem;
    box-shadow: 0 14px 30px -12px rgba(207, 161, 90, 0.8);
}

.dg-main-btn .dg-ext {
    font-size: 0.8em;
    opacity: 0.7;
}

.dg-wa-btn {
    border: 1px solid rgba(34, 59, 46, 0.35);
    color: var(--primary-color);
    background: transparent;
}

.dg-wa-btn i {
    color: #25d366;
}

.dg-wa-btn:hover {
    background: var(--white);
}

.dg-domain {
    margin-top: 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--wood);
}

.dg-domain i {
    color: var(--gold);
    margin-right: 0.3rem;
}

/* photo collage */
.dg-hero-media {
    position: relative;
    height: clamp(360px, 38vw, 480px);
}

.dg-hm {
    position: absolute;
    object-fit: cover;
    border-radius: 26px;
    border: 6px solid var(--white);
    box-shadow: 0 28px 50px -22px rgba(42, 29, 20, 0.5);
    background: var(--white);
}

.dg-hm-1 {
    left: 18%;
    top: 0;
    width: 58%;
    height: 82%;
    z-index: 2;
}

.dg-hm-2 {
    left: 0;
    bottom: 0;
    width: 36%;
    height: 50%;
    transform: rotate(-6deg);
    z-index: 3;
}

.dg-hm-3 {
    right: 0;
    bottom: 6%;
    width: 38%;
    height: 48%;
    transform: rotate(5deg);
    z-index: 1;
}

.dg-hm-badge {
    position: absolute;
    right: 6%;
    top: 4%;
    z-index: 4;
    width: 104px;
    height: 104px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: var(--accent-color);
    font-size: 0.78rem;
    box-shadow: 0 14px 30px -10px rgba(34, 59, 46, 0.7);
    border: 4px solid var(--light-bg);
    animation: sdBob 5s ease-in-out infinite;
}

.dg-hm-badge strong {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    line-height: 1;
    color: var(--white);
}

/* section heads */
.dg-head {
    text-align: center;
    max-width: 640px;
    margin: clamp(2.5rem, 6vw, 4rem) auto 1.75rem;
}

.dg-head h3 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.2vw, 2.4rem);
    color: var(--primary-color);
    margin-top: 0.3rem;
}

.dg-head p {
    margin-top: 0.5rem;
    color: var(--text-light);
}

/* breed cards: arched windows */
.dg-breeds {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem 1.25rem;
}

.dg-breed {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: inherit;
}

.dg-breed-img {
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 999px 999px 22px 22px;
    overflow: hidden;
    border: 5px solid var(--white);
    box-shadow: 0 18px 34px -18px rgba(42, 29, 20, 0.45);
    background: var(--white);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.dg-breed-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.dg-breed:hover .dg-breed-img,
.dg-breed:focus-visible .dg-breed-img {
    transform: translateY(-6px);
    box-shadow: 0 26px 44px -18px rgba(42, 29, 20, 0.55), 0 0 0 3px var(--gold);
}

.dg-breed:hover .dg-breed-img img {
    transform: scale(1.06);
}

.dg-breed-name {
    margin-top: 0.9rem;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--primary-color);
}

.dg-breed-sub {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--wood);
}

.dg-breed-sub i {
    font-size: 0.72em;
    margin-left: 0.2rem;
    color: var(--gold);
    transition: transform 0.3s ease;
}

.dg-breed:hover .dg-breed-sub i {
    transform: translate(2px, -2px);
}

/* guarantees */
.dg-guars {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.dg-guar {
    padding: 1.4rem 1.3rem;
    border-radius: 20px;
    background: var(--white);
    box-shadow: var(--shadow);
    border-top: 3px solid var(--gold);
}

.dg-guar span {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: var(--accent-color);
    font-size: 1.05rem;
    margin-bottom: 0.8rem;
}

.dg-guar h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--wood-dark);
    margin-bottom: 0.35rem;
}

.dg-guar p {
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--text-light);
}

/* happy families: slow endless strip */
.dg-fams {
    overflow: hidden;
    padding: 0.5rem 0 1.75rem;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.dg-fams-track {
    display: flex;
    gap: 1.25rem;
    width: max-content;
    animation: dgMarquee 70s linear infinite;
}

.dg-fams:hover .dg-fams-track {
    animation-play-state: paused;
}

@keyframes dgMarquee {
    to { transform: translateX(calc(-50% - 0.625rem)); }
}

.dg-fam {
    flex: 0 0 auto;
    width: 220px;
    margin: 0;
    padding: 9px 9px 0;
    background: var(--white);
    border-radius: 6px;
    box-shadow: 0 14px 26px -16px rgba(42, 29, 20, 0.5);
}

.dg-fam:nth-child(odd) {
    transform: rotate(-1.8deg);
}

.dg-fam:nth-child(even) {
    transform: rotate(1.6deg) translateY(10px);
}

.dg-fam img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 3px;
}

.dg-fam figcaption {
    font-family: 'Caveat', cursive;
    font-weight: 600;
    font-size: 1.15rem;
    line-height: 1.15;
    color: var(--wood);
    text-align: center;
    padding: 0.5rem 0.2rem 0.65rem;
}

/* closing call to action */
.dg-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    padding: clamp(1.5rem, 4vw, 2.25rem) clamp(1.5rem, 4vw, 2.75rem);
    border-radius: 26px;
    text-decoration: none;
    color: var(--white);
    background:
        radial-gradient(circle at 88% 20%, rgba(207, 161, 90, 0.35), transparent 45%),
        linear-gradient(120deg, var(--primary-color), #2f4f3e);
    box-shadow: 0 30px 50px -28px rgba(34, 59, 46, 0.9);
    transition: transform 0.3s ease;
}

.dg-cta:hover {
    transform: translateY(-3px);
}

.dg-cta small {
    display: block;
    font-size: 0.9rem;
    color: var(--accent-color);
}

.dg-cta strong {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    line-height: 1.1;
}

.dg-cta-go {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.5rem;
    border-radius: 50px;
    background: var(--gold);
    color: var(--wood-dark);
    font-weight: 700;
}

.dg-cta-go i {
    transition: transform 0.3s ease;
}

.dg-cta:hover .dg-cta-go i {
    transform: translateX(4px);
}

.dogs .about-footer-bar {
    margin-top: 2.5rem;
}

@media (max-width: 1024px) {
    .dg-breeds,
    .dg-guars {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .dg-hero {
        grid-template-columns: 1fr;
    }

    .dg-hero-media {
        height: 340px;
        margin: 0 0.5rem;
    }

    .dg-hm-badge {
        width: 84px;
        height: 84px;
    }

    .dg-hm-badge strong {
        font-size: 1.35rem;
    }

    .dg-breeds {
        gap: 1.25rem 0.9rem;
    }

    .dg-breed-name {
        font-size: 1.02rem;
    }

    .dg-guars {
        grid-template-columns: 1fr;
    }

    .dg-fam {
        width: 170px;
    }

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

@media (prefers-reduced-motion: reduce) {
    .dg-fams-track,
    .dg-hm-badge {
        animation: none;
    }
}

/* 7 menu items: tighten spacing on laptop widths so nothing touches the TR/EN switch */
@media (min-width: 769px) and (max-width: 1360px) {
    .nav-menu {
        gap: 0.1rem;
    }

    .nav-link {
        padding: 0.45rem 0.6rem;
        font-size: 0.86rem;
    }

    .nav-actions {
        gap: 0.5rem;
    }

    .nav-cta {
        padding: 0.55rem 1rem;
        font-size: 0.86rem;
    }
}

@media (min-width: 1001px) and (max-width: 1120px) {
    .nav-container {
        justify-content: flex-start;
        padding-left: 150px;
    }

    .nav-cta span,
    .nav-cta {
        font-size: 0;
        gap: 0;
        width: 44px;
        height: 44px;
        padding: 0;
        justify-content: center;
    }

    .nav-cta i {
        font-size: 1.1rem;
    }
}

/* tablets: 7 menu items no longer fit, use the same drop-down menu as phones */
@media (min-width: 769px) and (max-width: 1000px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 110px;
        flex-direction: column;
        background-color: var(--wood-dark);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        gap: 0;
        padding: 2rem 0;
        z-index: 90;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .nav-actions {
        right: calc(2rem + 42px);
    }
}

@media (max-width: 768px) {
    .dg-guars {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.7rem;
    }

    .dg-guar {
        padding: 1rem 0.9rem;
    }

    .dg-guar span {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
        margin-bottom: 0.6rem;
    }

    .dg-guar h4 {
        font-size: 0.98rem;
    }

    .dg-guar p {
        font-size: 0.8rem;
    }
}

/* ===== Video reels (service pages + gallery strip, js/videos.js) ===== */
.vreel {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}
.vreel-item {
    position: relative;
    display: block;
    flex: 0 1 200px;
    aspect-ratio: 9 / 16;
    padding: 0;
    border: 0;
    border-radius: 22px;
    overflow: hidden;
    background: var(--wood-dark);
    box-shadow: var(--shadow);
    cursor: pointer;
}
.vreel-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}
.vreel-item:hover video { transform: scale(1.04); }
.vreel-item::after {
    content: '';
    position: absolute;
    inset: 55% 0 0;
    background: linear-gradient(to top, rgba(26, 18, 12, .82), transparent);
    pointer-events: none;
}
.vreel-cap {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    z-index: 1;
    color: var(--white);
    font: 600 .95rem/1.3 var(--font-heading);
    text-align: left;
}
.vreel-play {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 1;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .9);
    color: var(--primary-color);
    font-size: .8rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
    transition: transform .2s ease, background .2s ease;
}
.vreel-item:hover .vreel-play { transform: scale(1.1); background: var(--gold); }

.vmodal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(15, 10, 6, .9);
}
.vmodal.is-open { display: flex; }
.vmodal video {
    max-width: min(480px, 100%);
    max-height: 100%;
    border-radius: 18px;
    background: #000;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
}
.vmodal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .15);
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
}
.vmodal-close:hover { background: var(--gold); color: var(--wood-dark); }

.gal-videos { margin: 3.5rem 0 2rem; }
.gal-videos-head { text-align: center; margin-bottom: 1.6rem; }
.gal-videos-head h3 {
    margin: .4rem 0 .3rem;
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--primary-color);
}
.gal-videos-head p { margin: 0; color: var(--text-light); }

@media (max-width: 600px) {
    .vreel { gap: .7rem; }
    .vreel-item { flex-basis: calc(50% - .35rem); }
    .vreel-item { border-radius: 16px; }
    .vreel-cap { left: 10px; right: 10px; bottom: 10px; font-size: .82rem; }
    .vreel-play { width: 32px; height: 32px; top: 8px; right: 8px; }
    .vmodal { padding: 12px; }
}

/* About: thank-you note from the founder */
.about-thanks {
    display: grid;
    grid-template-columns: minmax(220px, 340px) 1fr;
    gap: clamp(1.5rem, 4vw, 3.5rem);
    align-items: center;
    margin: 3.5rem auto;
    max-width: 980px;
}
.about-thanks-img { margin: 0; transform: rotate(-2deg); }
.about-thanks-img img {
    width: 100%;
    display: block;
    border-radius: 18px;
    border: 10px solid var(--white);
    box-shadow: var(--shadow-lg);
}
.about-thanks-text h3 {
    margin: .4rem 0 .8rem;
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    color: var(--primary-color);
}
.about-thanks-text p { color: var(--text-light); line-height: 1.75; }
.about-thanks-lead { font-size: 1.15rem; color: var(--text-color) !important; font-weight: 500; }
.about-thanks-sign { font-family: 'Kalam', cursive; font-size: 1.4rem; color: var(--wood) !important; margin-top: 1rem; }
@media (max-width: 760px) {
    .about-thanks { grid-template-columns: 1fr; text-align: center; }
    .about-thanks-img { max-width: 300px; margin: 0 auto; }
}

/* ===== "Biz Bir Aileyiz" (2026-11): farm video + text ===== */
.whyus-block {
    grid-template-columns: minmax(260px, 420px) 1fr;
    gap: clamp(2rem, 5vw, 4.5rem);
    max-width: 1080px;
    margin: 0 auto;
}
.whyus-video {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    padding: 0;
    border: 0;
    border-radius: 28px;
    overflow: hidden;
    background: var(--wood-dark);
    box-shadow: 0 30px 60px -25px rgba(42, 29, 20, 0.45);
    cursor: pointer;
}
.whyus-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.whyus-quote {
    margin: 0 0 1.8rem;
    padding: 0.2rem 0 0.2rem 1.1rem;
    border-left: 3px solid var(--gold);
    font-family: 'Kalam', cursive;
    font-size: 1.35rem;
    line-height: 1.4;
    color: var(--wood);
}
@media (max-width: 1024px) {
    .whyus-block { grid-template-columns: 1fr; }
    .whyus-media { order: 0; max-width: 380px; width: 100%; justify-self: center; }
}

/* service page hero: the service's video in place of the big photo */
.sd-hero-video { position: relative; display: block; padding: 0; border: 0; overflow: hidden; cursor: pointer; }
.sd-hero-video video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* stats rows hold three items now (7/24 removed) */
.hero-stats:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, auto); }
.svc-stats:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 768px) {
    .hero-stats:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, auto); gap: 1.25rem 1.5rem; }
    .svc-stats:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, 1fr); }
    .svc-stats:has(> :nth-child(3):last-child) .svc-stat { border-bottom: none; border-right: 1px solid rgba(107, 66, 38, 0.12); }
    .svc-stats:has(> :nth-child(3):last-child) .svc-stat:last-child { border-right: none; }
}
/* the service icon badge sits on the top-right corner, so the sound button goes bottom-right */
.sd-hero-video .vreel-play { top: auto; bottom: 16px; right: 16px; width: 42px; height: 42px; }

/* ===== "Topaz Kennel Ailesi" (2026-11): polaroids of well-known guests flowing by =====
   Each photo keeps its own shape (fixed height, natural width), so nothing is cropped. */
.family-block { background: var(--light-bg); padding: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(2.5rem, 5vw, 4rem); text-align: center; overflow: hidden; }
.family-head h2 { font-size: 2.2rem; color: var(--text-color); margin-bottom: 0.5rem; }
.family-marquee {
    padding: 1.75rem 0 2.25rem;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.family-track { display: flex; align-items: flex-start; gap: 2rem; width: max-content; padding: 0 1rem; }
/* the row is doubled in JS; moving it by one copy (half, plus half a gap) loops seamlessly */
.family-track.is-flowing { animation: family-flow var(--family-dur, 60s) linear infinite; will-change: transform; }
.family-marquee:hover .family-track { animation-play-state: paused; }
@keyframes family-flow { to { transform: translateX(calc(-50% - 1rem)); } }
.family-card {
    --tilt: -2deg;
    flex: none;
    margin: 0;
    padding: 12px 12px 0;
    background: var(--white);
    border-radius: 4px;
    box-shadow: 0 18px 36px -18px rgba(42, 29, 20, 0.45), 0 2px 6px rgba(42, 29, 20, 0.08);
    transform: rotate(var(--tilt));
    transition: transform 0.35s ease;
}
.family-card:nth-child(3n + 2) { --tilt: 1.6deg; margin-top: 18px; }
.family-card:nth-child(3n) { --tilt: -0.8deg; margin-top: 6px; }
.family-card:hover { transform: rotate(0) scale(1.04); }
.family-card img { display: block; height: 290px; width: auto; border-radius: 2px; }
.family-card figcaption { font-family: 'Kalam', cursive; font-weight: 700; font-size: 1.25rem; line-height: 1.2; color: var(--wood); padding: 0.7rem 0.25rem 0.9rem; }
@media (max-width: 768px) {
    .family-head h2 { font-size: 1.8rem; }
    .family-track { gap: 1.25rem; }
    @keyframes family-flow { to { transform: translateX(calc(-50% - 0.625rem)); } }
    .family-card { padding: 9px 9px 0; }
    .family-card img { height: 210px; }
    .family-card figcaption { font-size: 1.05rem; padding: 0.55rem 0.2rem 0.7rem; }
}
@media (prefers-reduced-motion: reduce) {
    .family-marquee { overflow-x: auto; }
}


/* ===== About: team member profiles (2026-11) ===== */
.team-list { display: grid; gap: 1.75rem; margin-bottom: 1rem; }
.team-feature {
    display: grid;
    grid-template-columns: minmax(220px, 330px) 1fr;
    gap: clamp(1.25rem, 3.5vw, 2.5rem);
    align-items: start;
    padding: clamp(1.1rem, 3vw, 1.75rem);
    background: var(--white);
    border-radius: 24px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(207, 161, 90, 0.35);
}
.team-feature-photo { position: relative; margin: 0; }
.team-feature-photo img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    height: auto;
    object-fit: cover;
    object-position: center 30%;
    border-radius: 18px;
    background: var(--light-bg);
}
.team-feature-photo figcaption {
    position: absolute;
    left: 0.85rem;
    bottom: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    background: var(--gold);
    color: var(--wood-dark);
    font-weight: 700;
    font-size: 0.8rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}
.team-feature-text h3 {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 2.8vw, 2rem);
    color: var(--primary-color);
    margin: 0.25rem 0 0.35rem;
}
.team-feature-text .team-role { margin-bottom: 0.2rem; }
.team-feature-sub {
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px dashed rgba(207, 161, 90, 0.45);
}
.team-feature-p {
    color: var(--text-light);
    line-height: 1.75;
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
}
.team-feature-note {
    margin-top: 1rem;
    font-family: 'Caveat', cursive;
    font-size: 1.45rem;
    line-height: 1.3;
    color: var(--wood);
}
@media (max-width: 760px) {
    .team-feature { grid-template-columns: 1fr; }
    .team-feature-photo { max-width: 340px; width: 100%; margin: 0 auto; }
}

/* team cards alternate photo side on wide screens */
@media (min-width: 761px) {
    .team-feature:nth-child(even) { grid-template-columns: 1fr minmax(220px, 330px); }
    .team-feature:nth-child(even) .team-feature-photo { order: 2; }
}


/* service page gallery showing whole photos (no cropping), 2026-11 */
.sd-gallery--masonry {
    display: block;
    columns: 3 240px;
    column-gap: 1rem;
}
.sd-gallery--masonry .sd-gal-item {
    display: block;
    width: 100%;
    margin: 0 0 1rem;
    break-inside: avoid;
}
.sd-gallery--masonry .sd-gal-item img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: auto;
}

/* Real links (/hizmetler/…, /blog/…) for search engines; they keep the look of the cards they sit in */
a.svc-link { text-decoration: none; }
.blog-card h3 a,
a.sd-pager-card { color: inherit; text-decoration: none; }
.bcf-card h3 a { color: inherit; text-decoration: none; }
