:root {
    --bg: #0b0b0d;
    --surface: #121216;
    --card: #15151b;
    --text: #f4f4f5;
    --muted: rgba(244, 244, 245, .72);
    --gold: #8b1a1a;
    --maroon: #8b1a1a;
    --border: rgba(255, 255, 255, .10);
    --shadow: 0 14px 40px rgba(0, 0, 0, .35);
    --radius: 18px;
    --max: 1120px;
    --font-sans: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    --font-serif: "Playfair Display", Georgia, serif;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-blur: blur(10px);
    --btn-text: #ffffff;
    --accent-text: #ffffff;
    /* Glow colours used in background gradients — override per theme */
    --glow-a: rgba(139, 26, 26, .12);
    --glow-b: rgba(109, 15, 26, .16);
    --glow-c: rgba(139, 26, 26, 0.08);
    --glow-d: rgba(109, 15, 26, 0.12);
    --hero-glow-a: rgba(139, 26, 26, .10);
    --hero-glow-b: rgba(109, 15, 26, .18);
    --modal-bg: rgba(18, 18, 22, .97);
    --modal-img-bg: #0b0b0d;
    --header-bg: rgba(11, 11, 13, .75);
    --header-scrolled-bg: rgba(11, 11, 13, .94);
    --nav-mobile-bg: rgba(18, 18, 22, .97);
}

:root[data-theme="light"] {
    --bg: #fafafa;
    --surface: #ffffff;
    --card: #f5f5f5;
    --text: #2d2d2d;
    --muted: rgba(45, 45, 45, .72);
    --gold: #6d0f1a;
    --maroon: #6d0f1a;
    --border: rgba(45, 45, 45, .15);
    --shadow: 0 14px 40px rgba(0, 0, 0, .15);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-blur: blur(20px);
    --btn-text: #ffffff;
    --accent-text: #ffffff;
    --glow-a: rgba(139, 26, 26, .05);
    --glow-b: rgba(109, 15, 26, .07);
    --glow-c: rgba(139, 26, 26, 0.03);
    --glow-d: rgba(109, 15, 26, 0.05);
    --hero-glow-a: rgba(139, 26, 26, .05);
    --hero-glow-b: rgba(109, 15, 26, .08);
    --modal-bg: rgba(255, 255, 255, .98);
    --modal-img-bg: #f0f0f0;
    --header-bg: rgba(250, 250, 250, .90);
    --header-scrolled-bg: rgba(250, 250, 250, .98);
    --nav-mobile-bg: rgba(255, 255, 255, .97);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* Smooth theme transitions */
body,
.site-header,
.card,
.btn,
.site-footer,
input,
select,
textarea,
.modal-content {
    transition:
        background-color 0.3s ease,
        color 0.25s ease,
        border-color 0.25s ease;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    background:
        radial-gradient(900px 500px at 20% -10%, var(--glow-a), transparent 60%),
        radial-gradient(900px 500px at 90% 20%, var(--glow-b), transparent 55%),
        var(--bg);
    color: var(--text);
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 25% 25%, var(--glow-c) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, var(--glow-d) 0%, transparent 50%);
    pointer-events: none;
    will-change: transform;
    z-index: -1;
    transform: translateY(var(--parallax-y, 0));
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(100% - 32px, var(--max));
    margin-inline: auto;
}

.section {
    padding: 76px 0;
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    pointer-events: none;
}

.section.in-view {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-alt {
    background: linear-gradient(180deg, rgba(255, 255, 255, .03), transparent 40%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

:root[data-theme="light"] .section-alt {
    background: linear-gradient(180deg, rgba(0, 0, 0, .03), transparent 40%);
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
    flex-wrap: wrap;
}

h1,
h2,
h3 {
    margin: 0 0 10px;
}

h1 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.05;
    font-weight: 700;
    background: linear-gradient(135deg, var(--text), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.8;
    }
}

h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.6rem, 2.2vw, 2.2rem);
    font-weight: 600;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--maroon));
    border-radius: 2px;
    transition: width 0.3s ease;
}

h2:hover::after {
    width: 100px;
}

h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text);
}

p {
    margin: 0 0 14px;
}

.muted {
    color: var(--muted);
}

.lead {
    font-size: 1.05rem;
    color: var(--muted);
    max-width: 56ch;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 26px;
}

@media (max-width: 900px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--header-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
    background: var(--header-scrolled-bg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
    text-decoration: none;
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(139, 26, 26, .22), rgba(109, 15, 26, .28));
    border: 1px solid var(--border);
    font-weight: 800;
}

.brand-text strong {
    display: block;
    font-size: .98rem;
}

.brand-text small {
    display: block;
    color: var(--muted);
    margin-top: 2px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 14px;
}

.site-nav a {
    color: var(--muted);
    text-decoration: none;
    font-weight: 700;
    font-size: .95rem;
    padding: 10px 10px;
    border-radius: 10px;
    transition: transform .15s ease, background .15s ease, color .15s ease;
}

.site-nav a:hover {
    background: rgba(255, 255, 255, .06);
    color: var(--text);
    transform: translateY(-1px);
}

.site-nav a.active {
    color: var(--text);
    background: rgba(139, 26, 26, .10);
    border: 1px solid rgba(139, 26, 26, .25);
}

.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, .04);
    color: var(--text);
    cursor: pointer;
    transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

.theme-toggle:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, .07);
}

.theme-icon {
    font-size: 1.2rem;
    transition: opacity .2s ease;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, .04);
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text);
    margin: 4px auto;
    border-radius: 2px;
}

@media (max-width: 860px) {
    .nav-toggle {
        display: block;
    }

    .site-nav {
        position: absolute;
        top: calc(100% + 6px);
        right: 12px;
        left: 12px;
        padding: 12px;
        border: 1px solid var(--border);
        border-radius: 16px;
        background: var(--nav-mobile-bg);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        box-shadow: 0 16px 40px rgba(0, 0, 0, .3);
        display: none;
        flex-direction: column;
        align-items: stretch;
        z-index: 200;
    }

    .site-nav a {
        padding: 12px;
        font-size: 1rem;
    }

    .site-nav.is-open {
        display: flex;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    border-radius: 999px;
    border: 1px solid var(--border);
    text-decoration: none;
    color: var(--text);
    font-weight: 700;
    font-size: 0.9rem;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    border-color: var(--gold);
}

.btn:active {
    transform: translateY(-1px);
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--maroon));
    border-color: var(--gold);
    color: white;
    box-shadow: 0 4px 15px rgba(139, 26, 26, 0.3);
}
.btn-color{
    color: white;
}

.btn-gold:hover {
    background: linear-gradient(135deg, var(--gold), var(--maroon));
    box-shadow: 0 8px 30px rgba(139, 26, 26, 0.5);
    color: white;
    transform: translateY(-2px) scale(1.02);
}

.btn-ghost {
    background: transparent;
    border-color: var(--border);
}

.btn-ghost:hover {
    background: var(--glass-bg);
    border-color: var(--gold);
}

.btn-full {
    width: 100%;
}

.card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.card:hover::before {
    opacity: 1;
}

/* Hero */
.hero {
    position: relative;
    padding: 70px 0 40px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(800px 420px at 15% 10%, var(--hero-glow-a), transparent 55%),
        radial-gradient(800px 420px at 90% 0%, var(--hero-glow-b), transparent 55%);
    pointer-events: none;
    will-change: transform;
    transform: translateY(0);
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle at 20% 80%, rgba(139, 26, 26, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(109, 15, 26, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(139, 26, 26, 0.03) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(30px, -30px) rotate(1deg);
    }

    66% {
        transform: translate(-20px, 20px) rotate(-1deg);
    }
}

.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 26px;
    align-items: stretch;
}

.eyebrow {
    display: inline-block;
    font-weight: 800;
    color: rgba(139, 26, 26, .95);
    letter-spacing: .22em;
    text-transform: uppercase;
    font-size: .78rem;
    margin-bottom: 12px;
}

.hero-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 22px;
}

.stat {
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 12px;
    background: rgba(255, 255, 255, .03);
}

.stat strong {
    display: block;
}

.stat span {
    color: var(--muted);
    font-size: .9rem;
}

.hero-media {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    position: relative;
    /* smooth return after JS tilt */
    transition: transform 0.7s ease;
}

/* Maroon glow halo behind the whole image panel */
.hero-media::before {
    content: '';
    position: absolute;
    inset: -32px;
    background: radial-gradient(ellipse at 50% 50%, rgba(139, 26, 26, .18) 0%, transparent 68%);
    border-radius: calc(var(--radius) + 32px);
    animation: mediaPulse 4s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes mediaPulse {
    0%, 100% { opacity: .5; transform: scale(.97); }
    50%       { opacity: 1;  transform: scale(1.03); }
}

.media-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    will-change: transform;
    /* hover transitions (transform excluded — animations run there) */
    transition: box-shadow 0.35s ease, border-color 0.35s ease;
}

/* Staggered entrance slide + continuous bob */
.media-card:nth-child(1) {
    animation:
        cardSlide 0.8s cubic-bezier(.22, 1, .36, 1) 0.2s both,
        cardBob1  5s ease-in-out 1.2s infinite;
}

.media-card:nth-child(2) {
    animation:
        cardSlide 0.8s cubic-bezier(.22, 1, .36, 1) 0.5s both,
        cardBob2  6s ease-in-out 1.7s infinite;
}

@keyframes cardSlide {
    from { opacity: 0; transform: translateX(48px) scale(.95); }
    to   { opacity: 1; transform: translateX(0)    scale(1);   }
}

@keyframes cardBob1 {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-9px); }
}

@keyframes cardBob2 {
    0%, 100% { transform: translateY(-5px); }
    50%       { transform: translateY(6px);  }
}

/* Hover: glow border */
.media-card:hover {
    box-shadow:
        0 24px 60px rgba(0, 0, 0, .5),
        0 0 0 1px rgba(139, 26, 26, .4),
        0 0 40px rgba(139, 26, 26, .18);
    border-color: rgba(139, 26, 26, .5);
}

/* Shimmer sweep on hover */
.media-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        108deg,
        transparent 25%,
        rgba(255, 255, 255, .07) 50%,
        transparent 75%
    );
    background-size: 260% 100%;
    background-position: 200% 0;
    transition: background-position 0.75s ease;
    pointer-events: none;
    z-index: 3;
}

.media-card:hover::after {
    background-position: -200% 0;
}

/* Image — Ken Burns slow zoom/drift */
.media-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    will-change: transform;
}

.media-card:nth-child(1) img {
    animation: kenBurns1 10s ease-in-out infinite;
}

.media-card:nth-child(2) img {
    animation: kenBurns2 12s ease-in-out 1s infinite;
}

@keyframes kenBurns1 {
    0%, 100% { transform: scale(1.0)  translate(0,      0    ); }
    50%       { transform: scale(1.07) translate(-1.5%, -1%   ); }
}

@keyframes kenBurns2 {
    0%, 100% { transform: scale(1.06) translate(1%,    0.5% ); }
    50%       { transform: scale(1.0)  translate(-.5%, -.5% ); }
}

/* Gradient overlay — bottom-to-top dark fade for label legibility */
.media-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, .58) 0%,
        rgba(0, 0, 0, .08) 42%,
        transparent 65%
    );
    pointer-events: none;
    z-index: 1;
}

/* Label chip */
.media-label {
    position: absolute;
    bottom: 14px;
    left: 14px;
    z-index: 2;
    font-size: .70rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(139, 26, 26, .88);
    border: 1px solid rgba(255, 255, 255, .18);
    padding: 5px 13px;
    border-radius: 20px;
    backdrop-filter: blur(6px);
}

/* Reduced-motion: skip all card animations */
@media (prefers-reduced-motion: reduce) {
    .hero-media::before,
    .media-card:nth-child(1),
    .media-card:nth-child(2),
    .media-card:nth-child(1) img,
    .media-card:nth-child(2) img {
        animation: none;
    }
}

@media (max-width: 960px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }

    .media-card img {
        height: 240px;
    }

    .hero {
        padding-top: 46px;
    }
}

@media (max-width: 520px) {
    .hero-stats {
        grid-template-columns: 1fr;
    }

    .hero-cta .btn {
        width: 100%;
    }
}

/* About */
.about-cards {
    display: grid;
    gap: 12px;
}

.pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.pill {
    font-size: .9rem;
    padding: 8px 10px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, .03);
}

/* Services */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

@media (max-width: 1000px) {
    .cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 540px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.gallery-item {
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, .02);
    padding: 0;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform .3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

@media (max-width: 900px) {
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gallery-item img {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gallery-item img {
        height: 140px;
    }
}

/* Modal */
.modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 80;
}

.modal[aria-hidden="false"] {
    display: block;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .65);
    backdrop-filter: blur(3px);
}

.modal-content {
    position: relative;
    width: min(92vw, 980px);
    margin: 7vh auto;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--modal-bg);
    box-shadow: var(--shadow);
}

.modal-content img {
    width: 100%;
    height: min(70vh, 680px);
    object-fit: contain;
    background: var(--modal-img-bg);
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, .06);
    color: var(--text);
    cursor: pointer;
}

.modal-controls {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
}

.modal-nav {
    pointer-events: auto;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, .06);
    color: var(--text);
    cursor: pointer;
    margin: 0 10px;
}

/* Products */
.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 12px 0 18px;
}

.chip {
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, .03);
    color: var(--text);
    border-radius: 999px;
    padding: 10px 12px;
    font-weight: 800;
    cursor: pointer;
    transition: transform .15s ease, background .15s ease;
}

.chip:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, .06);
}

.chip.is-active {
    background: rgba(139, 26, 26, .16);
    border-color: rgba(139, 26, 26, .45);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

@media (max-width: 1000px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}

.product {
    padding: 0;
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.product-body {
    padding: 16px 18px 18px;
}

.ticks {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
    color: var(--muted);
}

.ticks li {
    padding-left: 22px;
    margin: 6px 0;
    position: relative;
}

.ticks li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: rgba(139, 26, 26, .95);
    font-weight: 900;
}

.product-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.notice {
    margin-top: 14px;
    border: 1px dashed rgba(139, 26, 26, .35);
    border-radius: 14px;
    padding: 12px 14px;
    background: rgba(139, 26, 26, .06);
}

/* Contact */
.contact-form .field {
    margin-bottom: 12px;
}

label {
    display: block;
    margin-bottom: 6px;
    font-weight: 800;
    font-size: .92rem;
}

input,
select,
textarea {
    width: 100%;
    padding: 12px 12px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    color: var(--text);
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    font-family: var(--font-sans);
    font-size: 1rem;
}

select option {
    background-color: var(--surface);
    color: var(--text);
}

input:focus,
select:focus,
textarea:focus {
    border-color: rgba(139, 26, 26, .45);
    box-shadow: 0 0 0 4px rgba(139, 26, 26, 0.1);
    background: var(--surface);
}

.form-note {
    margin-top: 12px;
    font-size: .9rem;
}

.contact-cards {
    display: grid;
    gap: 12px;
    margin-top: 16px;
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--border);
    padding: 0;
    background: var(--surface);
}

.footer-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.logo-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.logo-pill {
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 8px 10px;
    font-size: .9rem;
    color: var(--muted);
    background: rgba(255, 255, 255, .03);
}

/* Toast */
.toast {
    position: fixed;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    color: var(--text);
    padding: 12px 16px;
    border-radius: 999px;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease, transform .3s ease;
    z-index: 100;
    font-weight: 600;
    font-size: 0.9rem;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(-4px);
}

/* Back to top */
.back-top {
    position: fixed;
    right: 14px;
    bottom: 14px;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    color: var(--text);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(6px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.back-top.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.back-top:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border-color: var(--gold);
}

/* ========================
   Staggered card animations
======================== */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, opacity 0.5s ease;
}

/* ========================
   Credentials row (About)
======================== */
.credentials-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

.credential-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid var(--border);
    transition: background 0.2s ease;
}

.credential-item:hover {
    background: rgba(139, 26, 26, .06);
    border-color: rgba(139, 26, 26, .25);
}

.credential-item strong {
    font-size: .85rem;
    color: var(--gold);
}

.credential-item span {
    font-size: .78rem;
    color: var(--muted);
}

@media (max-width: 760px) {
    .credentials-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 400px) {
    .credentials-row {
        grid-template-columns: 1fr;
    }
}

/* ========================
   Gallery captions
======================== */
.gallery-item {
    position: relative;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 10px 8px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
    color: #fff;
    font-size: .78rem;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.22s ease;
    border-radius: 0 0 16px 16px;
    letter-spacing: .02em;
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
}

/* ========================
   Testimonials section
======================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

@media (max-width: 900px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 22px;
}

.testimonial-stars {
    color: #e6a817;
    font-size: 1rem;
    letter-spacing: .05em;
}

.testimonial-text {
    font-size: .95rem;
    line-height: 1.65;
    color: var(--muted);
    flex: 1;
    font-style: italic;
    margin: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
}

.testimonial-author strong {
    display: block;
    font-size: .92rem;
}

.testimonial-author span {
    font-size: .8rem;
    color: var(--muted);
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(139, 26, 26, .3), rgba(109, 15, 26, .4));
    border: 1px solid rgba(139, 26, 26, .3);
    display: grid;
    place-items: center;
    font-size: .75rem;
    font-weight: 800;
    flex-shrink: 0;
}

/* ========================
   Contact info cards
======================== */
.contact-info-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(139, 26, 26, .12);
    border: 1px solid rgba(139, 26, 26, .25);
    display: grid;
    place-items: center;
    color: rgba(139, 26, 26, .9);
}

.contact-link {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    font-size: .9rem;
    transition: opacity 0.15s ease;
}

.contact-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* ========================
   Footer grid
======================== */
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 1fr;
    gap: 40px;
    padding: 52px 0 32px;
}

@media (max-width: 860px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }

    .footer-col:first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 520px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-tagline {
    font-size: .9rem;
    line-height: 1.6;
    max-width: 34ch;
}

.footer-heading {
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 0 0 4px;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-nav a {
    color: var(--muted);
    text-decoration: none;
    font-size: .92rem;
    font-weight: 500;
    transition: color 0.15s ease, padding-left 0.15s ease;
    padding-left: 0;
}

.footer-nav a:hover {
    color: var(--text);
    padding-left: 4px;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-contact-link {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.15s ease;
}

.footer-contact-link:hover {
    opacity: 0.8;
}

.footer-cta {
    align-self: flex-start;
    margin-top: 6px;
    font-size: .88rem;
    padding: 10px 18px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 20px 0;
    border-top: 1px solid var(--border);
    font-size: .87rem;
}

.footer-bottom p {
    margin: 0;
}

.footer-credit {
    padding: 14px 0 4px;
    text-align: center;
    font-size: .80rem;
    color: var(--muted);
    opacity: 0.6;
}

.footer-credit p {
    margin: 0;
}

.credit-name {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    cursor: default;
}

.credit-email {
    display: block;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    font-size: .76rem;
    color: var(--gold);
    text-decoration: none;
    transition: max-height 0.3s ease, opacity 0.25s ease, margin-top 0.25s ease;
    margin-top: 0;
    white-space: nowrap;
}

.credit-name:hover .credit-email {
    max-height: 2em;
    opacity: 1;
    margin-top: 3px;
}

/* Social links */
.social-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, .03);
    color: var(--muted);
    display: grid;
    place-items: center;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.social-link:hover {
    background: rgba(139, 26, 26, .12);
    border-color: rgba(139, 26, 26, .35);
    color: var(--text);
    transform: translateY(-2px);
}

/* ========================
   Responsive: nav in footer
======================== */
@media (max-width: 400px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ========================
   Scroll progress bar
======================== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), #c0392b);
    z-index: 9999;
    transition: width 0.06s linear;
    border-radius: 0 2px 2px 0;
    pointer-events: none;
}

/* ========================
   Floating WhatsApp FAB
======================== */
.whatsapp-fab {
    position: fixed;
    bottom: 90px;
    right: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: grid;
    place-items: center;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, .45);
    z-index: 400;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    animation: fab-pop 0.5s cubic-bezier(.34, 1.56, .64, 1) 0.8s both;
}

.whatsapp-fab:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 8px 28px rgba(37, 211, 102, .6);
}

@keyframes fab-pop {
    from { transform: scale(0); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

/* ========================
   Service card icons & links
======================== */
.service-card {
    display: flex;
    flex-direction: column;
}

.service-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(139, 26, 26, .12);
    color: var(--gold);
    display: grid;
    place-items: center;
    margin-bottom: 12px;
    flex-shrink: 0;
    transition: background 0.2s ease, transform 0.2s ease;
}

.service-card:hover .service-icon {
    background: rgba(139, 26, 26, .22);
    transform: scale(1.08);
}

.service-link {
    display: inline-block;
    margin-top: auto;
    padding-top: 10px;
    font-size: .85rem;
    font-weight: 600;
    color: var(--gold);
    text-decoration: none;
    opacity: 0.85;
    transition: opacity 0.15s ease;
}

.service-link:hover {
    opacity: 1;
    text-decoration: underline;
}

/* ========================
   Form field validation states
======================== */
.field {
    position: relative;
}

.field-hint {
    display: none;
    font-size: .78rem;
    color: var(--muted);
    margin-top: 4px;
}

.field.is-error input,
.field.is-error select,
.field.is-error textarea {
    border-color: #e74c3c !important;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, .15) !important;
}

.field.is-error .field-hint {
    display: block;
    color: #e74c3c;
}

.field.is-valid input,
.field.is-valid select,
.field.is-valid textarea {
    border-color: #27ae60 !important;
    box-shadow: 0 0 0 3px rgba(39, 174, 96, .12) !important;
}

/* Character counter */
.char-counter {
    float: right;
    font-size: .78rem;
    font-weight: 500;
    color: var(--muted);
    transition: color 0.2s ease;
}

.char-counter.is-ok   { color: #27ae60; }
.char-counter.is-warn { color: #e67e22; }

/* ========================
   Toast variants
======================== */
.toast.is-success { background: #27ae60; }
.toast.is-error   { background: #c0392b; }

/* ========================
   Modal caption bar & spinner
======================== */
.modal-caption-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    background: rgba(0, 0, 0, .5);
    border-top: 1px solid rgba(255, 255, 255, .08);
    min-height: 40px;
    flex-shrink: 0;
}

.modal-caption-text {
    font-size: .88rem;
    color: rgba(255, 255, 255, .85);
    font-style: italic;
}

.modal-counter-text {
    font-size: .82rem;
    color: rgba(255, 255, 255, .55);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    margin-left: 12px;
}

.modal-spinner {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: var(--modal-img-bg);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 2;
}

.modal-spinner.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.spinner-ring {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, .15);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 0.75s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ========================
   Modal image fade-in
======================== */
#modalImg {
    opacity: 0;
    transition: opacity 0.35s ease;
}

#modalImg.loaded {
    opacity: 1;
}

/* ========================
   Gallery image lazy fade-in
======================== */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.4s ease;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* ========================
   Page loader
======================== */
.page-loader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: #0b0b0d;
    display: grid;
    place-items: center;
    transition: opacity 0.55s ease, visibility 0.55s ease;
}

.page-loader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-inner {
    position: relative;
    width: 76px;
    height: 76px;
    display: grid;
    place-items: center;
}

.loader-ring {
    position: absolute;
    inset: 0;
    border: 2.5px solid rgba(139, 26, 26, .22);
    border-top-color: #8b1a1a;
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
}

.loader-mark {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.06em;
    user-select: none;
}