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

/* === Variables === */
:root {
    --gold: #b79556;
    --gold-light: #d4b87a;
    --gold-dark: #96793f;
    --dark: #2c2c2c;
    --gray: #6b6b6b;
    --light-bg: #faf9f7;
    --white: #ffffff;
}

/* === Scrollbar === */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--gold);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-dark);
}

/* === Selection === */
::selection {
    background: var(--gold);
    color: var(--white);
}

::-moz-selection {
    background: var(--gold);
    color: var(--white);
}

/* === Base === */
html {
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    background: var(--white);
    line-height: 1.6;
    font-weight: 300;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

main {
    flex: 1;
    overflow-x: clip;
}

h1, h2, h3, h4, h5 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    color: var(--gold);
}

a {
    color: var(--gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--gold-dark);
}

/* === Utilities === */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* 12-column content grid */
.grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.col-1  { grid-column: span 1; }
.col-2  { grid-column: span 2; }
.col-3  { grid-column: span 3; }
.col-4  { grid-column: span 4; }
.col-5  { grid-column: span 5; }
.col-6  { grid-column: span 6; }
.col-7  { grid-column: span 7; }
.col-8  { grid-column: span 8; }
.col-9  { grid-column: span 9; }
.col-10 { grid-column: span 10; }
.col-11 { grid-column: span 11; }
.col-12 { grid-column: span 12; }

.col-start-1  { grid-column-start: 1; }
.col-start-2  { grid-column-start: 2; }
.col-start-3  { grid-column-start: 3; }
.col-start-4  { grid-column-start: 4; }
.col-start-5  { grid-column-start: 5; }
.col-start-7  { grid-column-start: 7; }

/* === Buttons === */
.btn-gold {
    display: inline-block;
    background: var(--gold);
    color: var(--white);
    padding: 14px 35px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-gold:hover {
    background: var(--gold-dark);
    color: var(--white);
}

.btn-outline {
    display: inline-block;
    background: transparent;
    color: var(--gold);
    padding: 14px 35px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border: 1px solid var(--gold);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--gold);
    color: var(--white);
}

/* === Header === */
.site-header {
    background: var(--white);
    border-bottom: 1px solid rgba(183, 149, 86, 0.15);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.header-logo {
    display: flex;
    align-items: center;
}

.header-logo img {
    height: 60px;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.header-nav a {
    font-family: 'Cormorant Garamond', serif;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--dark);
    position: relative;
}

.header-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.header-nav a:hover,
.header-nav a.active {
    color: var(--gold);
}

.header-nav a:hover::after,
.header-nav a.active::after {
    width: 100%;
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 14px;
    color: var(--gold);
}

.header-contact a {
    display: flex;
    align-items: center;
    gap: 6px;
}

.header-contact svg {
    width: 16px;
    height: 16px;
    fill: var(--gold);
}

/* Nav dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-trigger {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.nav-dropdown-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--gold);
    cursor: pointer;
    padding: 2px;
}

.nav-dropdown-trigger svg {
    transition: transform 0.3s ease;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    border: 1px solid rgba(183, 149, 86, 0.15);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    padding: 12px 0;
    min-width: 260px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    margin-top: 15px;
    z-index: 101;
}

.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    right: 0;
    height: 15px;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.nav-dropdown:hover .nav-dropdown-trigger svg {
    transform: rotate(180deg);
}

.nav-dropdown-menu a {
    display: block;
    padding: 8px 24px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    color: var(--gray);
    transition: color 0.2s ease, background 0.2s ease;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.active {
    color: var(--gold);
    background: var(--light-bg);
}

.nav-dropdown-menu a::after {
    display: none;
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--gold);
    margin: 5px 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* === Footer === */
.site-footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 50px 0 30px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-logo img {
    height: 100px;
    margin-bottom: 15px;
}

.footer-logo p {
    font-size: 13px;
    line-height: 1.8;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--gold);
    letter-spacing: 1px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
    font-size: 14px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-section ul li a:hover,
.footer-section ul li a.active {
    color: var(--gold);
}


.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 14px;
}

.footer-contact-item svg {
    width: 16px;
    height: 16px;
    fill: var(--gold);
    flex-shrink: 0;
}

.footer-contact-item a {
    color: rgba(255, 255, 255, 0.7);
}

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

.footer-bottom {
    max-width: 1200px;
    margin: 30px auto 0;
    padding: 20px 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a:hover {
    color: var(--gold);
}

/* === Cookie banner overrides === */
div#cookiescript_accept {
    background-color: var(--gold);
}
div#cookiescript_accept:hover {
    background-color: var(--gold-dark);
}
#cookiescript_readmore, #cookiescript_description a {
    color: var(--gold) !important;
}
#cookiescript_badge .cookiescriptlogo {
    fill: var(--gold);
}

/* === Section common === */
.section {
    padding: 70px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-alt {
    background: var(--light-bg);
    padding: 70px 0;
}

.section-alt .section-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.section-title {
    font-size: 38px;
    text-align: center;
    margin-bottom: 15px;
}

.section-intro {
    text-align: center;
    color: var(--gray);
    max-width: 750px;
    margin: 0 auto 45px;
    font-size: 15px;
    line-height: 1.8;
}

/* === Hero === */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: calc(100vh - 92px);
    padding: 60px 20px;
    background: var(--light-bg);
    position: relative;
    overflow: hidden;
    max-width: 100vw;
}

.hero::before {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -15%;
    width: 55vw;
    height: 55vw;
    background: url('/logo-symbol.svg') center/contain no-repeat;
    opacity: 0.05;
    pointer-events: none;
    transform: rotate(-45deg);
}

.hero::after {
    content: '';
    position: absolute;
    top: -20%;
    left: -15%;
    width: 55vw;
    height: 55vw;
    background: url('/logo-symbol.svg') center/contain no-repeat;
    opacity: 0.05;
    pointer-events: none;
    transform: rotate(45deg);
}

.hero-logo {
    width: 200px;
    height: auto;
    margin-bottom: 30px;
    position: relative;
}

.hero h1 {
    font-size: 52px;
    margin-bottom: 20px;
    position: relative;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto 20px;
    position: relative;
}

.hero-text {
    font-size: 15px;
    color: var(--gray);
    max-width: 650px;
    margin: 0 auto 35px;
    position: relative;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    position: relative;
    justify-content: center;
}

.hero-buttons .btn-gold,
.hero-buttons .btn-outline {
    text-align: center;
    white-space: nowrap;
}

/* === Trust row === */
.trust-row {
    background: var(--white);
    border-bottom: 1px solid rgba(183, 149, 86, 0.1);
    padding: 70px 20px;
}

.trust-row-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    font-size: 13px;
    color: var(--gray);
}

.trust-item svg {
    width: 48px;
    height: 48px;
    fill: var(--gold);
    flex-shrink: 0;
}

.trust-item strong {
    color: var(--gold);
    font-weight: 500;
    display: block;
    font-size: 14px;
}

.trust-item span {
    font-size: 14px;
    line-height: 1.5;
}

/* === Services grid === */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    padding: 30px 22px;
    border: 1px solid rgba(183, 149, 86, 0.2);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    display: block;
    background: var(--white);
}

.service-card:hover {
    border-color: var(--gold);
    box-shadow: 0 4px 20px rgba(183, 149, 86, 0.1);
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.7;
}

/* === Why us === */
.why-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.why-item {
    flex: 0 0 calc((100% - 60px) / 3);
}

.why-item {
    text-align: center;
    padding: 30px 20px;
}

.why-item svg {
    width: 40px;
    height: 40px;
    fill: var(--gold);
    margin-bottom: 15px;
}

.why-item h3 {
    font-size: 24px;
    margin-bottom: 10px;
    min-height: 77px;
    display: flex;
    align-items: start;
    justify-content: center;
}

.why-item p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.7;
}

/* === Gallery === */
.gallery-section {
    padding: 70px 0;
    position: relative;
}

.gallery-section .section-title,
.gallery-section .gallery-grid {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.gallery-section::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -15%;
    width: 40vw;
    height: 40vw;
    background: url('/logo-symbol.svg') center/contain no-repeat;
    opacity: 0.03;
    pointer-events: none;
    transform: rotate(45deg);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 280px 280px 280px;
    gap: 12px;
    margin-top: 30px;
}

.gallery-grid-auto {
    grid-template-rows: 280px;
    grid-auto-rows: 280px;
}

.gallery-item {
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

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

.gallery-item.gallery-wide {
    grid-column: span 2;
}

/* === Lightbox === */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.88);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    cursor: pointer;
}

.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-overlay img {
    max-width: calc(100% - 80px);
    max-height: 85vh;
    object-fit: contain;
    cursor: default;
    transition: opacity 0.15s ease;
}

.lightbox-overlay img.lightbox-fade {
    opacity: 0;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 25px;
    background: none;
    border: none;
    color: var(--gold);
    font-size: 28px;
    font-weight: 200;
    cursor: pointer;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.lightbox-close:hover {
    opacity: 1;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--gold);
    font-size: 32px;
    font-weight: 200;
    cursor: pointer;
    padding: 20px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    opacity: 1;
}

.lightbox-prev {
    left: 10px;
}

.lightbox-next {
    right: 10px;
}

.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--gold);
    font-size: 14px;
}

.gallery-item {
    cursor: zoom-in;
}

/* === Reviews === */
.reviews-section {
    padding: 70px 0;
    position: relative;
}

.reviews-section .section-title,
.reviews-section .reviews-slider,
.reviews-section .reviews-controls {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.reviews-section::before {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -15%;
    width: 40vw;
    height: 40vw;
    background: url('/logo-symbol.svg') center/contain no-repeat;
    opacity: 0.03;
    pointer-events: none;
    transform: rotate(-45deg);
}

.reviews-slider {
    position: relative;
    overflow: hidden;
}

.reviews-track {
    display: flex;
    gap: 24px;
    transition: transform 0.4s ease;
}

.review-card {
    padding: 30px;
    border: 1px solid rgba(183, 149, 86, 0.15);
    background: var(--white);
    flex: 0 0 calc((100% - 48px) / 3);
    min-width: 0;
}

.review-stars {
    color: var(--gold);
    font-size: 16px;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.review-card p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.7;
    font-style: italic;
}

.reviews-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.reviews-btn {
    background: none;
    border: 1px solid var(--gold);
    color: var(--gold);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.reviews-btn:hover {
    background: var(--gold);
    color: var(--white);
}

.reviews-dots {
    display: flex;
    gap: 8px;
}

.reviews-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(183, 149, 86, 0.3);
    cursor: pointer;
    transition: background 0.3s ease;
}

.reviews-dot.active {
    background: var(--gold);
}

/* === Steps === */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.step-item {
    text-align: center;
    padding: 25px 15px;
    position: relative;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    margin-bottom: 15px;
}

.step-item h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.step-item p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.7;
}

/* === Banners === */
.banners-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 70px 20px;
}

.banner-card {
    position: relative;
    z-index: 2;
    padding: 50px 35px;
    background: var(--light-bg);
    border: 1px solid rgba(183, 149, 86, 0.15);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 280px;
    transition: border-color 0.3s ease;
}

.banner-card:hover {
    border-color: var(--gold);
}

.banner-card-bg {
    background: none !important;
    border: none;
    overflow: hidden;
}

.banner-card-bg:hover {
    border: none;
}

.banner-card-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--banner-bg) center/cover no-repeat;
    filter: sepia(60%) saturate(80%) hue-rotate(-10deg);
    opacity: 0.25;
    z-index: 0;
    transition: opacity 0.3s ease;
}

.banner-card-bg:hover::before {
    opacity: 0.35;
}

.banner-card-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(200, 200, 200, 0.4);
    z-index: 2;
    pointer-events: none;
    transition: border-color 0.3s ease;
}

.banner-card-bg:hover::after {
    border-color: var(--gold);
}

.banner-card-bg .banner-label,
.banner-card-bg h2,
.banner-card-bg p,
.banner-card-bg .btn-outline {
    position: relative;
    z-index: 1;
}

.banner-card .banner-label {
    font-family: 'Cormorant Garamond', serif;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold);
    margin-bottom: 8px;
    min-height: 20px;
}

.banner-card h2 {
    font-size: 34px;
    margin-bottom: 12px;
    min-height: 110px;
}

.banner-card p {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 25px;
    line-height: 1.7;
    min-height: 48px;
    flex: 1;
}

.section-auto {
    background: var(--light-bg);
    padding: 70px 0;
    position: relative;
}

.section-auto::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -15%;
    width: 40vw;
    height: 40vw;
    background: url('/logo-symbol.svg') center/contain no-repeat;
    opacity: 0.03;
    pointer-events: none;
    transform: rotate(45deg);
}

.section-auto::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -15%;
    width: 40vw;
    height: 40vw;
    background: url('/logo-symbol.svg') center/contain no-repeat;
    opacity: 0.03;
    pointer-events: none;
    transform: rotate(-45deg);
}

.section-auto .section-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    position: relative;
    z-index: 1;
}

/* === Tech cards === */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.tech-card {
    padding: 30px 22px;
    border: 1px solid rgba(183, 149, 86, 0.15);
    background: var(--white);
}

/* === Tech paired grid (card + image per column) === */
.tech-grid-paired {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.tech-column {
    display: flex;
    flex-direction: column;
}

.tech-column .tech-card {
    flex: 1;
}

.tech-pair-img {
    overflow: hidden;
    cursor: zoom-in;
    display: block;
    height: 200px;
}

.tech-pair-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.tech-pair-img:hover img {
    transform: scale(1.05);
}

.tech-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.tech-card p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.7;
}

/* === CTA Banner === */
.cta-banner {
    background: var(--dark);
    padding: 70px 20px;
    text-align: center;
    margin-bottom: 0;
}

.cta-banner-inner {
    max-width: 700px;
    margin: 0 auto;
}

.cta-banner h2 {
    font-size: 34px;
    color: var(--gold);
    margin-bottom: 15px;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.7;
}

.cta-banner-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.cta-banner-buttons .btn-gold,
.cta-banner-buttons .btn-outline {
    text-align: center;
    white-space: nowrap;
}

.cta-banner .btn-outline {
    border-color: rgba(255, 255, 255, 0.4);
    color: rgba(255, 255, 255, 0.8);
}

.cta-banner .btn-outline:hover {
    border-color: var(--gold);
    background: var(--gold);
    color: var(--white);
}

/* === Responsive === */
@media (max-width: 1024px) {
    .services-grid,
    .tech-grid,
    .tech-grid-paired {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-item {
        flex: 0 0 calc((100% - 30px) / 2);
    }

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

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }

    .gallery-item.gallery-wide {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .grid {
        gap: 16px;
    }
    .col-md-12 { grid-column: span 12; }
    .col-4, .col-6 { grid-column: span 12; }

    .menu-toggle {
        display: block;
    }

    .nav-dropdown-trigger {
        position: relative;
    }

    .nav-dropdown-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        right: -20px;
        top: 50%;
        transform: translateY(-50%);
    }

    .nav-dropdown-toggle svg {
        transition: transform 0.3s ease;
    }

    .nav-dropdown-menu {
        position: static;
        transform: none;
        border: none;
        box-shadow: none;
        margin-top: 0;
        padding: 0;
        min-width: 0;
        text-align: center;
        opacity: 1;
        visibility: visible;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-dropdown.mobile-open .nav-dropdown-menu {
        max-height: 500px;
        padding-top: 15px;
    }

    .nav-dropdown.mobile-open .nav-dropdown-toggle svg {
        transform: rotate(180deg);
    }

    .nav-dropdown-menu::before {
        display: none;
    }

    .nav-dropdown-menu a {
        padding: 6px 0;
    }

    .nav-dropdown-menu a:hover,
    .nav-dropdown-menu a.active {
        background: none;
    }

    .nav-dropdown:hover .nav-dropdown-menu {
        max-height: 0;
        opacity: 1;
        visibility: visible;
    }

    .nav-dropdown.mobile-open .nav-dropdown-menu,
    .nav-dropdown:hover.mobile-open .nav-dropdown-menu {
        max-height: 500px;
    }

    .nav-dropdown:hover .nav-dropdown-trigger svg {
        transform: none;
    }

    .nav-dropdown.mobile-open .nav-dropdown-toggle svg,
    .nav-dropdown:hover.mobile-open .nav-dropdown-toggle svg {
        transform: rotate(180deg) !important;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        max-width: 400px;
        width: 100%;
        margin: 0 auto;
    }

    .hero-buttons .btn-gold,
    .hero-buttons .btn-outline {
        white-space: normal;
    }

    .hero::after {
        display: none;
    }

    .hero::before {
        width: 90vw;
        height: 90vw;
        bottom: -15%;
        right: -20%;
    }

    .header-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
        border-bottom: 1px solid rgba(183, 149, 86, 0.15);
        gap: 15px;
    }

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

    .header-contact {
        display: none;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .section-title {
        font-size: 30px;
    }

    .trust-row-inner {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .banners-row {
        grid-template-columns: 1fr;
    }

    .cta-banner-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-banner-buttons .btn-gold,
    .cta-banner-buttons .btn-outline {
        white-space: normal;
    }

    .review-card {
        flex: 0 0 100%;
    }
}

@media (max-width: 480px) {
    .services-grid,
    .reviews-grid,
    .tech-grid,
    .tech-grid-paired,
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .why-item {
        flex: 0 0 100%;
    }

    .hero h1 {
        font-size: 30px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        max-width: 100%;
        padding: 0;
    }

    .trust-row-inner {
        grid-template-columns: 1fr;
    }

    .review-card {
        flex: 0 0 100%;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 15px;
    }

    .gallery-section {
        padding-left: 15px;
        padding-right: 15px;
    }

    .gallery-section .gallery-grid {
        padding-left: 0;
        padding-right: 0;
    }

    .gallery-item.gallery-wide {
        grid-column: span 1;
    }

    .gallery-item img {
        height: 250px;
    }
}

/* === Form page === */
.form-page {
    padding: 60px 0;
}

.form-page-inner {
    grid-column: 3 / 11;
}

.form-page h1 {
    font-size: 42px;
    text-align: center;
    margin-bottom: 10px;
}

.form-subtitle {
    text-align: center;
    color: var(--gray);
    margin-bottom: 40px;
    font-size: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 400;
    color: var(--dark);
    letter-spacing: 0.5px;
}

.form-group label .required {
    color: var(--gold);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(183, 149, 86, 0.3);
    background: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 300;
    color: var(--dark);
    transition: border-color 0.3s ease;
    outline: none;
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #aaa;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath fill='%23b79556' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 3px;
    accent-color: var(--gold);
    cursor: pointer;
}

.checkbox-group label {
    margin-bottom: 0;
    font-size: 13px;
    cursor: pointer;
}

.checkbox-group a {
    text-decoration: underline;
}

.btn-submit {
    display: block;
    width: 100%;
    background: var(--gold);
    color: var(--white);
    padding: 15px;
    border: none;
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 25px;
}

.btn-submit:hover {
    background: var(--gold-dark);
}

.alert-success {
    background: #f0f9f0;
    border: 1px solid #4caf50;
    color: #2e7d32;
    padding: 15px 20px;
    margin-bottom: 25px;
    font-size: 14px;
}

.alert-errors {
    background: #fef2f2;
    border: 1px solid #ef5350;
    color: #c62828;
    padding: 15px 20px;
    margin-bottom: 25px;
    font-size: 14px;
}

.alert-errors ul {
    margin: 5px 0 0 20px;
}

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

/* === Page Hero (subpages) === */
.page-hero {
    background: var(--light-bg);
    padding: 60px 20px;
    text-align: center;
}

.page-hero h1 {
    font-size: 46px;
}

.page-hero-alt {
    border-bottom: 1px solid rgba(183, 149, 86, 0.15);
}

/* === Decorated section (logo background) === */
.section-decorated {
    position: relative;
    overflow: hidden;
}

.section-decorated::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -15%;
    width: 40vw;
    height: 40vw;
    background: url('/logo-symbol.svg') center/contain no-repeat;
    opacity: 0.03;
    pointer-events: none;
    transform: rotate(45deg);
}

.section-decorated::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -15%;
    width: 40vw;
    height: 40vw;
    background: url('/logo-symbol.svg') center/contain no-repeat;
    opacity: 0.03;
    pointer-events: none;
    transform: rotate(-45deg);
}

.section-decorated .content-narrow {
    position: relative;
    z-index: 1;
}

/* === Content sections === */
.content-section {
    padding: 60px 20px;
}

.content-narrow {
    max-width: 960px;
    margin: 0 auto;
}

.content-lead {
    font-size: 17px;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

.content-text {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 15px;
}

.content-heading {
    font-size: 30px;
    margin-top: 40px;
    margin-bottom: 15px;
}

.content-subheading {
    font-size: 22px;
    margin-top: 25px;
    margin-bottom: 10px;
}

.content-list {
    list-style: none;
    margin: 15px 0 20px;
    padding: 0;
}

.content-list li {
    position: relative;
    padding-left: 20px;
    font-size: 15px;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 6px;
}

.content-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
}

.content-cta {
    text-align: center;
    margin: 35px 0;
}

/* === Service card list (sluzby overview) === */
.service-card-list {
    list-style: none;
    margin-top: 12px;
    padding: 0;
    border-top: 1px solid rgba(183, 149, 86, 0.1);
    padding-top: 12px;
}

.service-card-list li {
    font-size: 13px;
    color: var(--gray);
    padding: 2px 0 2px 16px;
    position: relative;
}

.service-card-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 5px;
    height: 5px;
    background: var(--gold);
    border-radius: 50%;
}

/* === Price table === */
.price-table-wrap {
    margin: 30px 0;
    overflow-x: auto;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
}

.price-table th {
    text-align: left;
    padding: 12px 16px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 16px;
    font-weight: 500;
    color: var(--dark);
    border-bottom: 2px solid var(--gold);
}

.price-table td {
    padding: 10px 16px;
    font-size: 14px;
    color: var(--gray);
    border-bottom: 1px solid rgba(183, 149, 86, 0.1);
}

.price-table .price-category {
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    font-weight: 500;
    color: var(--gold);
    padding-top: 20px;
    border-bottom: 1px solid rgba(183, 149, 86, 0.2);
}

/* === Contact page === */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info {
    padding: 0;
}

.contact-block {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
}

.contact-block svg {
    width: 22px;
    height: 22px;
    fill: var(--gold);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-block div {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.7;
}

.contact-block a {
    color: var(--gray);
}

.contact-block a:hover {
    color: var(--gold);
}

.contact-block strong {
    color: var(--dark);
    font-weight: 500;
}

.hours-table {
    margin-bottom: 20px;
    max-width: 320px;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    font-size: 15px;
    border-bottom: 1px solid rgba(183, 149, 86, 0.1);
}

.hours-label {
    color: var(--gray);
}

.hours-value {
    color: var(--dark);
    font-weight: 400;
}

.billing-info {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.8;
    margin-top: 10px;
}

.billing-info p {
    margin-bottom: 12px;
}

.billing-info strong {
    color: var(--dark);
    font-weight: 500;
}

/* === FAQ Accordion === */
.faq-accordion {
    margin-top: 30px;
}

.faq-group {
    border: 1px solid rgba(183, 149, 86, 0.2);
    margin-bottom: 10px;
}

.faq-group-toggle {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-weight: 500;
    color: var(--gold);
    text-align: left;
}

.faq-group-toggle svg {
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-group.open .faq-group-toggle svg {
    transform: rotate(180deg);
}

.faq-group-content {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-group.open .faq-group-content {
    max-height: 2000px;
    padding: 0 20px 20px;
}

.faq-item {
    padding: 15px 0;
    border-top: 1px solid rgba(183, 149, 86, 0.1);
}

.faq-item h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--dark);
}

.faq-item p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.7;
}

/* === Steps narrow (detska stomatologia) === */
.steps-grid-narrow {
    margin-top: 20px;
    margin-bottom: 20px;
}

/* === Responsive subpages === */
@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 34px;
    }

    .content-heading {
        font-size: 26px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

    .form-page-inner {
        grid-column: 1 / -1;
    }
}

@media (max-width: 480px) {
    .page-hero h1 {
        font-size: 28px;
    }

    .steps-grid-narrow {
        grid-template-columns: 1fr;
    }

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