/* ═══════════════════════════════════════════
   SCULPT & GLOW — Global Stylesheet
   ═══════════════════════════════════════════ */

/* ─── CSS Custom Properties ─── */
:root {
    /* Primary Colors */
    --vanilla-cloud: #f2e8dd;
    --dark-thyme: #383624;
    --smoked-mocha: #826f5f;
    --sage-green: #aeb79a;

    /* Extended Palette */
    --vanilla-light: #f9f3ec;
    --vanilla-dark: #e6d9ca;
    --mocha-light: #9d8a7a;
    --mocha-dark: #6b5a4c;
    --thyme-light: #4d4a34;
    --warm-white: #FFFCF8;

    /* Semantic */
    --color-bg: var(--vanilla-cloud);
    --color-text: var(--dark-thyme);
    --color-accent: var(--smoked-mocha);
    --color-accent-light: var(--mocha-light);
    --color-accent-dark: var(--mocha-dark);

    /* Typography */
    --font-display: Georgia, serif;
    --font-ui: 'Comfortaa', 'Trebuchet MS', sans-serif;
    --font-body: 'Outfit', 'Segoe UI', sans-serif;

    /* Spacing */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 36px;
    --space-xl: 60px;
    --space-2xl: 80px;
    --space-3xl: 130px;

    /* Layout */
    --max-width: 1440px;
    --padding-x: 4%;
    --section-py: 130px;
    --section-py-mobile: 80px;

    /* Border Radius */
    --radius-card: 24px;
    --radius-card-sm: 18px;
    --radius-btn: 100px;
    --radius-img: 28px;

    /* Transitions */
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --duration-sm: 0.3s;
    --duration-md: 0.5s;
    --duration-lg: 0.9s;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(56, 54, 36, 0.06);
    --shadow-md: 0 8px 30px rgba(56, 54, 36, 0.08);
    --shadow-lg: 0 16px 50px rgba(56, 54, 36, 0.12);
    --shadow-hover: 0 20px 60px rgba(56, 54, 36, 0.15);

    /* Z-Index Scale */
    --z-base: 1;
    --z-dropdown: 100;
    --z-header: 600;
    --z-mobile-menu: 500;
    --z-preloader: 9999;
    --z-cursor: 10000;
}

/* ─── Font Face Declarations ─── */
@font-face {
    font-family: 'Comfortaa';
    font-weight: 300;
    font-style: normal;
    font-display: swap;
    src: url('../assets/fonts/comfortaa/Comfortaa-Light.woff2') format('woff2');
}

@font-face {
    font-family: 'Comfortaa';
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    src: url('../assets/fonts/comfortaa/Comfortaa-Regular.woff2') format('woff2');
}

@font-face {
    font-family: 'Comfortaa';
    font-weight: 500;
    font-style: normal;
    font-display: swap;
    src: url('../assets/fonts/comfortaa/Comfortaa-Medium.woff2') format('woff2');
}

@font-face {
    font-family: 'Comfortaa';
    font-weight: 600;
    font-style: normal;
    font-display: swap;
    src: url('../assets/fonts/comfortaa/Comfortaa-SemiBold.woff2') format('woff2');
}

@font-face {
    font-family: 'Outfit';
    font-weight: 300;
    font-style: normal;
    font-display: swap;
    src: url('../assets/fonts/outfit/Outfit-Light.woff2') format('woff2');
}

@font-face {
    font-family: 'Outfit';
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    src: url('../assets/fonts/outfit/Outfit-Regular.woff2') format('woff2');
}

@font-face {
    font-family: 'Outfit';
    font-weight: 500;
    font-style: normal;
    font-display: swap;
    src: url('../assets/fonts/outfit/Outfit-Medium.woff2') format('woff2');
}

/* ─── Reset ─── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-bg);
    overflow-x: hidden;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--duration-sm) var(--ease-out);
}

ul,
ol {
    list-style: none;
}

button {
    background: none;
    border: none;
    cursor: pointer;
}

/* ─── Typography ─── */
h1, .sg-h1 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(3.4rem, 6.5vw, 6rem);
    line-height: 1.05;
    color: var(--color-text);
    letter-spacing: -0.02em;
}

h2, .sg-h2 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    line-height: 1.1;
    color: var(--color-text);
}

h3, .sg-h3 {
    font-family: var(--font-ui);
    font-weight: 500;
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    line-height: 1.3;
    color: var(--color-text);
}

h4, .sg-h4 {
    font-family: var(--font-ui);
    font-weight: 500;
    font-size: 1.1rem;
    line-height: 1.4;
    color: var(--color-text);
}

/* Italic accent in headings = always Mocha */
h1 em, h1 i,
h2 em, h2 i,
.sg-h1 em, .sg-h1 i,
.sg-h2 em, .sg-h2 i {
    font-family: var(--font-display);
    font-style: italic;
    color: var(--color-accent);
}

p {
    margin-bottom: var(--space-sm);
}

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

/* ─── Layout ─── */
.sg-container {
    width: 100%;
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--padding-x);
    padding-right: var(--padding-x);
}

.sg-section {
    padding-top: var(--section-py);
    padding-bottom: var(--section-py);
}

.sg-main {
    position: relative;
}

/* ─── Section Label (Eyebrow) ─── */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: var(--space-md);
    padding: 8px 18px 8px 14px;
    background: rgba(130, 111, 95, 0.08);
    border-radius: 100px;
}

.section-label::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--color-accent);
    flex-shrink: 0;
}

.section-label span {
    font-family: var(--font-ui);
    font-weight: 500;
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-accent);
    line-height: 1;
}

/* Light variant (on dark backgrounds) */
.section-label--light {
    background: rgba(242, 232, 221, 0.08);
}

.section-label--light::before {
    background-color: var(--mocha-light);
}

.section-label--light span {
    color: var(--mocha-light);
}

/* ─── Buttons ─── */
.sg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 36px;
    border-radius: var(--radius-btn);
    font-family: var(--font-ui);
    font-weight: 500;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--duration-sm) var(--ease-out);
    border: 1px solid transparent;
    text-decoration: none;
    white-space: nowrap;
}

.sg-btn--primary {
    background-color: var(--dark-thyme);
    color: var(--vanilla-cloud);
    border-color: var(--dark-thyme);
}

.sg-btn--primary:hover {
    background-color: var(--smoked-mocha);
    border-color: var(--smoked-mocha);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.sg-btn--outline {
    background-color: transparent;
    color: var(--dark-thyme);
    border-color: rgba(56, 54, 36, 0.2);
}

.sg-btn--outline:hover {
    border-color: var(--smoked-mocha);
    color: var(--smoked-mocha);
}

.sg-btn--white {
    background-color: var(--warm-white);
    color: var(--dark-thyme);
}

.sg-btn--white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ─── Cards ─── */
.sg-card {
    background-color: var(--vanilla-light);
    border-radius: var(--radius-card);
    padding: var(--space-lg);
    transition: all var(--duration-md) var(--ease-out);
}

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

.sg-card--featured {
    background-color: var(--dark-thyme);
    color: var(--vanilla-cloud);
}

.sg-card--glass {
    background-color: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.sg-card--glass:hover {
    background-color: rgba(255, 255, 255, 0.85);
}

/* ─── Icon Box ─── */
.sg-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--mocha-light), var(--smoked-mocha));
    transition: all var(--duration-sm) var(--ease-out);
}

.sg-icon-box svg {
    width: 22px;
    height: 22px;
    stroke: var(--warm-white);
    fill: none;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sg-icon-box:hover {
    transform: scale(1.08);
    background: var(--warm-white);
}

.sg-icon-box:hover svg {
    stroke: var(--smoked-mocha);
}

/* ─── Header (wraps topbar + main header) ─── */
.sg-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-header);
    transition: background-color var(--duration-md) var(--ease-out),
                box-shadow var(--duration-md) var(--ease-out),
                backdrop-filter var(--duration-md) var(--ease-out);
}

.sg-header.is-scrolled {
    background-color: rgba(242, 232, 221, 0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: var(--shadow-sm);
}

/* ─── Top Announcement Bar ─── */
.sg-topbar {
    background-color: var(--dark-thyme);
    color: var(--vanilla-cloud);
    overflow: hidden;
    height: 56px;
    max-height: 56px;
    transition: max-height var(--duration-md) var(--ease-out),
                opacity var(--duration-sm) var(--ease-out);
}

.sg-header.is-scrolled .sg-topbar {
    max-height: 0;
    opacity: 0;
}

.sg-topbar__inner {
    max-width: var(--max-width);
    height: 100%;
    margin: 0 auto;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    font-family: var(--font-ui);
    font-weight: 400;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.2;
}

.sg-topbar__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--vanilla-cloud);
    white-space: nowrap;
}

.sg-topbar__item--link {
    transition: color var(--duration-sm) var(--ease-out);
}

.sg-topbar__item--link:hover {
    color: var(--smoked-mocha);
}

.sg-topbar__icon {
    width: 13px;
    height: 13px;
    color: var(--smoked-mocha);
    flex-shrink: 0;
}

.sg-topbar__divider {
    display: inline-block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: rgba(242, 232, 221, 0.3);
    flex-shrink: 0;
}

/* Mobile-only CTA inside topbar — hidden on desktop */
.sg-topbar__cta {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
    color: var(--vanilla-cloud);
    font-family: var(--font-ui);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color var(--duration-sm) var(--ease-out);
}

.sg-topbar__cta::after {
    display: none;
}

.sg-topbar__cta-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.sg-topbar__cta-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: var(--radius-btn);
    background-color: var(--smoked-mocha);
    color: var(--warm-white);
    font-weight: 500;
    letter-spacing: 0.1em;
    flex-shrink: 0;
    transition: background-color var(--duration-sm) var(--ease-out),
                transform var(--duration-sm) var(--ease-out);
}

.sg-topbar__cta:active .sg-topbar__cta-action,
.sg-topbar__cta:hover .sg-topbar__cta-action {
    background-color: var(--mocha-dark);
    transform: translateY(-1px);
}

/* Phone icon in header — mobile only */
.sg-header__phone {
    grid-area: phone;
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: var(--smoked-mocha);
    color: var(--warm-white);
    justify-self: end;
    transition: background-color var(--duration-sm) var(--ease-out),
                transform var(--duration-sm) var(--ease-out);
}

.sg-header__phone svg {
    width: 18px;
    height: 18px;
}

.sg-header__phone:hover,
.sg-header__phone:active {
    background-color: var(--mocha-dark);
    transform: translateY(-1px);
}

/* ─── Header inner row — DESKTOP: logo / nav / cta ─── */
.sg-header__inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-areas: "logo nav cta";
    align-items: center;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 18px var(--padding-x);
    transition: padding var(--duration-md) var(--ease-out);
}

.sg-header.is-scrolled .sg-header__inner {
    padding-top: 12px;
    padding-bottom: 12px;
}

/* Hamburger — hidden on desktop */
.sg-header__hamburger {
    grid-area: hamburger;
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    padding: 6px 0;
    background: none;
    border: 0;
    cursor: pointer;
    justify-self: start;
}

.sg-header__hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--dark-thyme);
    border-radius: 2px;
    transition: all var(--duration-sm) var(--ease-out);
    transform-origin: center;
}

.sg-header__hamburger.is-active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.sg-header__hamburger.is-active span:nth-child(2) {
    opacity: 0;
}

.sg-header__hamburger.is-active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Logo — LEFT on desktop */
.sg-header__logo {
    grid-area: logo;
    justify-self: start;
    display: inline-flex;
}

.sg-header__logo img {
    height: 54px;
    width: auto;
}

/* Navigation — CENTER on desktop, hidden on mobile */
.sg-header__nav {
    grid-area: nav;
    justify-self: center;
}

.sg-nav {
    display: flex;
    align-items: center;
    gap: 36px;
}

.sg-nav__item a {
    font-family: var(--font-ui);
    font-weight: 400;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--dark-thyme);
    transition: color var(--duration-sm) var(--ease-out);
    position: relative;
}

.sg-nav__item a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background-color: var(--smoked-mocha);
    transition: width var(--duration-sm) var(--ease-out);
}

.sg-nav__item a:hover::after,
.sg-nav__item.is-active a::after {
    width: 100%;
}

.sg-nav__item a:hover,
.sg-nav__item.is-active a {
    color: var(--smoked-mocha);
}

/* Dropdown */
.sg-nav__item--dropdown {
    position: relative;
}

.sg-nav__dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.sg-nav__arrow {
    transition: transform var(--duration-sm) var(--ease-out);
}

.sg-nav__item--dropdown:hover .sg-nav__arrow,
.sg-nav__item--dropdown.is-dropdown-open .sg-nav__arrow {
    transform: rotate(180deg);
}

/* ─── Megamenu (Usluge dropdown) ─── */
/* Outer wrapper positioned at top:100% with transparent padding-top = hover bridge */
.sg-megamenu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    padding-top: 18px; /* invisible hover bridge — prevents cursor losing the dropdown */
    width: 640px;
    max-width: calc(100vw - 32px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--duration-sm) var(--ease-out),
                transform var(--duration-sm) var(--ease-out),
                visibility var(--duration-sm) var(--ease-out);
    z-index: var(--z-dropdown);
}

.sg-nav__item--dropdown:hover .sg-megamenu,
.sg-nav__item--dropdown.is-dropdown-open .sg-megamenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.sg-megamenu__panel {
    background-color: var(--warm-white);
    border: 1px solid rgba(56, 54, 36, 0.06);
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(56, 54, 36, 0.14),
                0 2px 8px rgba(56, 54, 36, 0.04);
    padding: 24px;
    overflow: hidden;
}

.sg-megamenu__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 0 6px 16px;
    border-bottom: 1px solid rgba(130, 111, 95, 0.1);
    margin-bottom: 14px;
}

.sg-megamenu__eyebrow {
    font-family: var(--font-ui);
    font-weight: 500;
    font-size: 0.62rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--smoked-mocha);
}

.sg-megamenu__title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 1.05rem;
    color: var(--dark-thyme);
    margin: 0;
}

.sg-megamenu__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
}

.sg-megamenu__item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    transition: background-color var(--duration-sm) var(--ease-out),
                transform var(--duration-sm) var(--ease-out);
}

.sg-megamenu__item::after {
    display: none;
}

.sg-megamenu__item:hover {
    background-color: var(--vanilla-light);
}

.sg-megamenu__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--mocha-light), var(--smoked-mocha));
    color: var(--warm-white);
    flex-shrink: 0;
    transition: transform var(--duration-sm) var(--ease-out),
                box-shadow var(--duration-sm) var(--ease-out);
}

.sg-megamenu__icon svg {
    width: 20px;
    height: 20px;
}

.sg-megamenu__item:hover .sg-megamenu__icon {
    transform: scale(1.08) rotate(-3deg);
    box-shadow: 0 6px 16px rgba(130, 111, 95, 0.25);
}

.sg-megamenu__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.sg-megamenu__name {
    font-family: var(--font-ui);
    font-weight: 500;
    font-size: 0.82rem;
    letter-spacing: 0.01em;
    text-transform: none;
    color: var(--dark-thyme);
    transition: color var(--duration-sm) var(--ease-out);
}

.sg-megamenu__desc {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 0.72rem;
    line-height: 1.35;
    color: var(--mocha-light);
    letter-spacing: 0;
    text-transform: none;
}

.sg-megamenu__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--smoked-mocha);
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity var(--duration-sm) var(--ease-out),
                transform var(--duration-sm) var(--ease-out);
}

.sg-megamenu__item:hover .sg-megamenu__arrow {
    opacity: 1;
    transform: translateX(0);
}

.sg-megamenu__item:hover .sg-megamenu__name {
    color: var(--smoked-mocha);
}

.sg-megamenu__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 16px;
    padding: 14px 16px;
    background-color: var(--vanilla-cloud);
    border-radius: 14px;
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 0.8rem;
    color: var(--dark-thyme);
    text-transform: none;
    letter-spacing: 0;
}

.sg-megamenu__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-ui);
    font-weight: 500;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--smoked-mocha);
    transition: gap var(--duration-sm) var(--ease-out),
                color var(--duration-sm) var(--ease-out);
    white-space: nowrap;
}

.sg-megamenu__cta::after {
    display: none;
}

.sg-megamenu__cta:hover {
    color: var(--dark-thyme);
    gap: 10px;
}

/* CTA — RIGHT on desktop */
.sg-header__cta {
    grid-area: cta;
    justify-self: end;
    display: inline-flex;
    align-items: center;
}

.sg-header__cta .sg-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 26px;
    font-size: 0.72rem;
}

.sg-header__cta .sg-btn--primary::before {
    display: none;
}

.sg-header__cta .sg-btn--primary:hover {
    background-color: var(--smoked-mocha);
    border-color: var(--smoked-mocha);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(130, 111, 95, 0.25);
}

.sg-header__cta-icon {
    width: 14px;
    height: 14px;
    transition: transform var(--duration-sm) var(--ease-out);
}

.sg-header__cta .sg-btn:hover .sg-header__cta-icon {
    transform: translateX(3px);
}

/* ─── Footer ─── */
.sg-footer {
    background-color: var(--dark-thyme);
    color: var(--vanilla-cloud);
    padding: var(--space-3xl) 0 var(--space-lg);
}

.sg-footer__inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: var(--space-xl);
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--padding-x);
}

.sg-footer__logo img {
    height: 36px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.85;
    margin-bottom: var(--space-sm);
}

.sg-footer__tagline {
    font-family: var(--font-ui);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mocha-light);
    margin-bottom: var(--space-sm);
}

.sg-footer__desc {
    font-size: 0.88rem;
    color: rgba(242, 232, 221, 0.7);
    margin-bottom: var(--space-md);
}

.sg-footer__social {
    display: flex;
    gap: 16px;
}

.sg-footer__social a {
    color: var(--mocha-light);
    transition: color var(--duration-sm) var(--ease-out);
}

.sg-footer__social a:hover {
    color: var(--vanilla-cloud);
}

.sg-footer__heading {
    font-family: var(--font-ui);
    font-weight: 500;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--mocha-light);
    margin-bottom: var(--space-md);
}

.sg-footer__links li {
    margin-bottom: 10px;
}

.sg-footer__links a {
    font-size: 0.88rem;
    color: rgba(242, 232, 221, 0.7);
    transition: all var(--duration-sm) var(--ease-out);
}

.sg-footer__links a:hover {
    color: var(--vanilla-cloud);
    padding-left: 4px;
}

.sg-footer__location {
    margin-bottom: var(--space-sm);
}

.sg-footer__location-name {
    font-family: var(--font-ui);
    font-weight: 500;
    font-size: 0.85rem;
    margin-bottom: 4px;
}

.sg-footer__location-addr {
    font-size: 0.82rem;
    color: rgba(242, 232, 221, 0.6);
    line-height: 1.5;
}

.sg-footer__contact-info {
    margin-top: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sg-footer__contact-info a {
    font-size: 0.85rem;
    color: var(--mocha-light);
    transition: color var(--duration-sm) var(--ease-out);
}

.sg-footer__contact-info a:hover {
    color: var(--vanilla-cloud);
}

.sg-footer__bottom {
    margin-top: var(--space-xl);
    padding-top: var(--space-md);
    border-top: 1px solid rgba(242, 232, 221, 0.1);
    text-align: center;
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--padding-x);
    padding-right: var(--padding-x);
}

.sg-footer__bottom p {
    font-size: 0.78rem;
    color: rgba(242, 232, 221, 0.4);
}

/* ─── Reveal Animations ─── */
.sg-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity var(--duration-lg) var(--ease-out),
                transform var(--duration-lg) var(--ease-out);
}

.sg-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.sg-reveal--left {
    transform: translateX(-40px);
}

.sg-reveal--left.is-visible {
    transform: translateX(0);
}

.sg-reveal--right {
    transform: translateX(40px);
}

.sg-reveal--right.is-visible {
    transform: translateX(0);
}

.sg-reveal--scale {
    transform: scale(0.92);
}

.sg-reveal--scale.is-visible {
    transform: scale(1);
}

/* Stagger delay utility */
.sg-delay-1 { transition-delay: 0.1s; }
.sg-delay-2 { transition-delay: 0.2s; }
.sg-delay-3 { transition-delay: 0.3s; }
.sg-delay-4 { transition-delay: 0.4s; }
.sg-delay-5 { transition-delay: 0.5s; }

/* ─── Utility Classes ─── */
.sg-text-accent { color: var(--color-accent); }
.sg-text-center { text-align: center; }
.sg-bg-vanilla { background-color: var(--vanilla-cloud); }
.sg-bg-thyme { background-color: var(--dark-thyme); color: var(--vanilla-cloud); }
.sg-bg-sage { background-color: var(--sage-green); }

/* ─── Content Styles ─── */
.sg-content p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: var(--space-sm);
}

.sg-content a {
    color: var(--smoked-mocha);
    text-decoration: underline;
    text-decoration-color: rgba(130, 111, 95, 0.3);
    text-underline-offset: 3px;
    transition: text-decoration-color var(--duration-sm) var(--ease-out);
}

.sg-content a:hover {
    text-decoration-color: var(--smoked-mocha);
}

/* ─── Image Hover Zoom ─── */
.sg-img-zoom {
    overflow: hidden;
    border-radius: var(--radius-img);
}

.sg-img-zoom img {
    transition: transform 8s ease;
}

.sg-img-zoom:hover img {
    transform: scale(1.04);
}

/* ─── Responsive ─── */
/* ─── Tablet & down: switch to mobile header + tighter footer ─── */
@media (max-width: 1024px) {
    .sg-footer__inner {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-lg);
    }

    /* Mobile header layout starts from tablet */
    .sg-header__inner {
        grid-template-columns: 1fr auto 1fr;
        grid-template-areas: "hamburger logo phone";
        gap: 12px;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .sg-header__logo img {
        height: 46px;
    }

    .sg-header__hamburger {
        display: flex;
        justify-self: start;
    }

    .sg-header__logo {
        justify-self: center;
    }

    .sg-header__phone {
        display: inline-flex;
        width: 40px;
        height: 40px;
    }

    .sg-header__phone svg {
        width: 17px;
        height: 17px;
    }

    .sg-header__nav,
    .sg-header__cta {
        display: none;
    }

    /* Topbar: swap desktop items for mobile CTA */
    .sg-topbar__inner {
        gap: 0;
        padding: 6px var(--padding-x);
    }

    .sg-topbar__item--desktop,
    .sg-topbar__divider--desktop {
        display: none;
    }

    .sg-topbar__cta {
        display: flex;
        font-size: 0.66rem;
    }

    .sg-topbar__cta-action {
        padding: 5px 14px;
    }

    /* Topbar stays visible on scroll on tablet/mobile (primary CTA there) */
    .sg-header.is-scrolled .sg-topbar {
        max-height: 56px;
        opacity: 1;
    }
}

@media (max-width: 768px) {
    :root {
        --section-py: var(--section-py-mobile);
    }

    /* Header even more compact on mobile */
    .sg-header__inner {
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .sg-header__logo img {
        height: 40px;
    }

    .sg-header__phone {
        width: 36px;
        height: 36px;
    }

    .sg-header__phone svg {
        width: 16px;
        height: 16px;
    }

    .sg-topbar__inner {
        padding: 5px var(--padding-x);
    }

    .sg-topbar__cta {
        font-size: 0.62rem;
    }

    .sg-topbar__cta-action {
        padding: 4px 12px;
    }

    .sg-header.is-scrolled .sg-topbar {
        max-height: 40px;
    }

    .sg-footer__inner {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    h1, .sg-h1 {
        font-size: clamp(2.4rem, 8vw, 3.4rem);
    }

    h2, .sg-h2 {
        font-size: clamp(1.8rem, 5vw, 2.2rem);
    }
}

@media (max-width: 420px) {
    .sg-header__logo img {
        height: 36px;
    }

    .sg-topbar__inner {
        font-size: 0.58rem;
    }
}

@media (max-width: 480px) {
    :root {
        --padding-x: 6%;
    }
}
