/* ==========================================================================
   TRIVARA Architecture & Design Studio — Core Style System
   Design: Ultra-Clean Luxury Architectural Aesthetic (Fully Responsive)
   ========================================================================== */

:root {
    /* Color Palette */
    --bg-dark: #0b0c0e;
    --bg-card: #121418;
    --bg-card-hover: #181a20;
    --bg-glass: rgba(255, 255, 255, 0.03);
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-glass-hover: rgba(200, 169, 126, 0.3);

    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;

    --accent-gold: #c8a97e;
    --accent-gold-glow: rgba(200, 169, 126, 0.25);
    --accent-gold-hover: #b8986c;
    --accent-light: #e5d5be;

    /* Typography */
    --font-heading: 'Plus Jakarta Sans', 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Layout & Spacing */
    --container-max: 1280px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-soft: 0 20px 40px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 30px rgba(200, 169, 126, 0.15);
}

/* Light Theme Variables */
body.light-theme {
    --bg-dark: #f8f9fa;
    --bg-card: #ffffff;
    --bg-card-hover: #f3f4f6;
    --bg-glass: rgba(0, 0, 0, 0.03);
    --border-glass: rgba(0, 0, 0, 0.08);
    --border-glass-hover: rgba(184, 134, 11, 0.3);

    --text-primary: #111827;
    --text-secondary: #4b5563;
    --text-muted: #9ca3af;

    --accent-gold: #9e7b4b;
    --accent-gold-glow: rgba(158, 123, 75, 0.2);
    --accent-gold-hover: #826338;
    --shadow-soft: 0 15px 35px rgba(0, 0, 0, 0.06);
}

/* Reset & Basic Base Styles */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.4s ease, color 0.4s ease;
}

/* Selection & Scrollbar */
::selection {
    background-color: var(--accent-gold);
    color: #000;
}

::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: #2a2d35;
    border-radius: 4px;
}

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

/* Utility Containers */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 6.5rem 0;
    position: relative;
}

/* Glassmorphism Card Style */
.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition);
}

.glass-card:hover {
    border-color: var(--border-glass-hover);
    box-shadow: var(--shadow-soft);
}

/* Typography Helpers */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.text-accent {
    color: var(--accent-gold);
}

.section-header {
    margin-bottom: 3.5rem;
}

.section-header.center-header {
    text-align: center;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    display: inline-block;
    font-size: 0.825rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--accent-gold);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

/* Button UI Components */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.85rem 1.75rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-full);
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    white-space: normal;
    text-align: center;
}

.btn-lg {
    padding: 1.05rem 2.25rem;
    font-size: 1.025rem;
}

.btn-sm {
    padding: 0.55rem 1.2rem;
    font-size: 0.875rem;
}

.btn-primary {
    background: var(--accent-gold);
    color: #0b0c0e;
}

.btn-primary:hover {
    background: var(--accent-gold-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-glass);
}

.btn-secondary:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-glass);
}

.btn-outline:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.btn-glow {
    box-shadow: 0 0 20px var(--accent-gold-glow);
}

.btn-block {
    width: 100%;
}

/* Header & Glass Navbar */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: var(--transition);
}

.site-header.scrolled {
    background: rgba(11, 12, 14, 0.88);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-glass);
    padding: 0.85rem 0;
}

body.light-theme .site-header.scrolled {
    background: rgba(248, 249, 250, 0.9);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-mark {
    width: 42px;
    height: 42px;
    background: var(--accent-gold);
    color: #0b0c0e;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-glow);
    overflow: hidden;
}

.logo-mark--image {
    background: transparent;
    box-shadow: none;
}

.logo-mark--image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: 0.12em;
    color: var(--text-primary);
}

.brand-sub {
    font-size: 0.65rem;
    letter-spacing: 0.22em;
    color: var(--accent-gold);
    font-weight: 600;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 2.2rem;
    list-style: none;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
    padding: 0.25rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

#themeToggle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    padding: 0;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1100;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

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

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

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

/* Nav Backdrop Overlay */
.nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 990;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.nav-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

/* Hero Carousel Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 650px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s ease-in-out, transform 8s ease-out;
    transform: scale(1.05);
    display: flex;
    align-items: center;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    padding-top: 4rem;
}

.hero-badge {
    display: inline-block;
    padding: 0.4rem 1.1rem;
    background: rgba(200, 169, 126, 0.15);
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-desc {
    font-size: 1.2rem;
    color: #d1d5db;
    margin-bottom: 2.5rem;
    max-width: 650px;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 7.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
}

.slider-indicators {
    display: flex;
    gap: 0.75rem;
    pointer-events: auto;
}

.slider-indicators .dot {
    width: 36px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    cursor: pointer;
    transition: var(--transition);
}

.slider-indicators .dot.active {
    background: var(--accent-gold);
    width: 60px;
}

.slider-arrows {
    display: flex;
    gap: 0.75rem;
    pointer-events: auto;
}

.arrow-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(15, 16, 18, 0.6);
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.arrow-btn:hover {
    background: var(--accent-gold);
    color: #000;
    border-color: var(--accent-gold);
}

/* Hero Stats Bar */
.hero-stats-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(18, 20, 24, 0.85);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--border-glass);
    z-index: 20;
    padding: 1.5rem 0;
}

body.light-theme .hero-stats-bar {
    background: rgba(255, 255, 255, 0.9);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-primary);
}

.stat-plus {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-gold);
}

.stat-label {
    display: block;
    font-size: 0.825rem;
    color: var(--text-secondary);
    margin-top: 0.2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Sub-Units Services Grid */
.services-grid.services-two-cols {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    max-width: 960px;
    margin: 0 auto;
}

.service-card {
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    background: rgba(200, 169, 126, 0.12);
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
}

.service-tag {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.service-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.85rem;
}

.service-text {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 1.75rem;
    flex-grow: 1;
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.service-features li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.service-features li i {
    color: var(--accent-gold);
    font-size: 0.75rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-gold);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
}

.service-link:hover {
    gap: 0.85rem;
    color: var(--accent-light);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-img {
    width: 100%;
    border-radius: var(--radius-lg);
    display: block;
    object-fit: cover;
    height: 520px;
    box-shadow: var(--shadow-soft);
}

.experience-card {
    position: absolute;
    bottom: -2rem;
    right: -2rem;
    padding: 1.75rem 2.25rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    border-radius: var(--radius-md);
    background: rgba(18, 20, 24, 0.95);
    z-index: 10;
}

.exp-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-gold);
    line-height: 1;
}

.exp-text {
    display: flex;
    flex-direction: column;
}

.exp-text strong {
    font-size: 1rem;
    color: var(--text-primary);
}

.exp-text span {
    font-size: 0.825rem;
    color: var(--text-secondary);
}

.about-paragraph {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

.philosophy-box {
    padding: 1.5rem 1.75rem;
    margin-bottom: 2.5rem;
    position: relative;
    border-left: 3px solid var(--accent-gold);
}

.philo-icon {
    font-size: 1.5rem;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.philo-text {
    font-style: italic;
    color: var(--text-primary);
    font-size: 0.975rem;
}

/* Accordion Component */
.accordion-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.accordion-item {
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: var(--transition);
}

.accordion-item.active {
    border-color: var(--accent-gold);
    background: rgba(200, 169, 126, 0.05);
}

.accordion-header {
    width: 100%;
    padding: 1.1rem 1.25rem;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    text-align: left;
}

.accordion-header span {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.accordion-header i {
    color: var(--accent-gold);
}

.acc-icon {
    transition: transform 0.3s ease;
}

.accordion-item.active .acc-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.3s ease;
    padding: 0 1.25rem;
}

.accordion-item.active .accordion-content {
    max-height: 300px;
    padding: 0 1.25rem 1.25rem 1.25rem;
}

.accordion-content p {
    color: var(--text-secondary);
    font-size: 0.925rem;
}

/* Portfolio Showcase */
.portfolio-filter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.6rem 1.35rem;
    background: transparent;
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--accent-gold);
    color: #000;
    border-color: var(--accent-gold);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.portfolio-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 420px;
    cursor: pointer;
    transition: var(--transition);
}

.portfolio-card:hover {
    transform: translateY(-6px);
}

.port-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.portfolio-card:hover .port-img {
    transform: scale(1.08);
}

.port-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 12, 14, 0.95) 0%, rgba(11, 12, 14, 0.2) 60%, transparent 100%);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: var(--transition);
}

.port-cat {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--accent-gold);
    margin-bottom: 0.35rem;
    text-transform: uppercase;
}

.port-title {
    font-size: 1.45rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.35rem;
}

.port-loc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
}

.port-zoom-btn {
    align-self: flex-start;
    padding: 0.5rem 1.1rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0.9;
}

.portfolio-card:hover .port-zoom-btn {
    background: var(--accent-gold);
    color: #000;
    border-color: var(--accent-gold);
}

.port-photo-count {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.3rem 0.7rem;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* Pricing & Estimator Calculator Section */
.pricing-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2.5rem;
    align-items: start;
}

.calculator-card {
    padding: 2.5rem;
}

.packages-summary {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.calc-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-glass);
}

.calc-icon {
    width: 52px;
    height: 52px;
    background: rgba(200, 169, 126, 0.15);
    color: var(--accent-gold);
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
}

.calc-title {
    font-size: 1.4rem;
    font-weight: 700;
}

.calc-subtitle {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.form-group {
    margin-bottom: 1.75rem;
}

.form-label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.range-slider {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    outline: none;
    accent-color: var(--accent-gold);
    cursor: pointer;
}

.range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.package-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.package-radio {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.package-radio:hover,
.package-radio.active {
    border-color: var(--accent-gold);
    background: rgba(200, 169, 126, 0.06);
}

.package-radio input {
    accent-color: var(--accent-gold);
    width: 18px;
    height: 18px;
}

.radio-content {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-size: 0.95rem;
}

.radio-content span {
    color: var(--accent-gold);
    font-weight: 700;
}

.calc-result-box {
    background: rgba(200, 169, 126, 0.08);
    border: 1px dashed var(--accent-gold);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    text-align: center;
    margin-bottom: 2rem;
}

.result-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.result-amount {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--accent-gold);
    margin: 0.4rem 0;
}

.result-note {
    font-size: 0.775rem;
    color: var(--text-muted);
}

/* Package Card */
.package-card {
    padding: 2.5rem;
    position: relative;
    border-color: var(--accent-gold-glow);
}

.pkg-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--accent-gold);
    color: #000;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-full);
}

.pkg-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.pkg-price {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.pkg-price span {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.pkg-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-glass);
}

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

.pkg-features li {
    font-size: 0.925rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* ==========================================================================
   CONTACT SECTION (Dedicated Fully-Responsive Styling)
   ========================================================================== */
.contact-section {
    position: relative;
    overflow: hidden;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 3.5rem;
    padding: 3.5rem;
    box-sizing: border-box;
    width: 100%;
}

.contact-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
    /* Mencegah flex child overflow */
}

.contact-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    min-width: 0;
}

.contact-item strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.contact-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    word-break: break-word;
    /* Mencegah nomor telepon/email panjang meluap */
    overflow-wrap: break-word;
}

.contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(200, 169, 126, 0.12);
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

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

.social-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.social-btn:hover {
    background: var(--accent-gold);
    color: #000;
    border-color: var(--accent-gold);
}

.social-btn.wa-btn {
    background: #25D366;
    color: #fff;
    border-color: #25D366;
}

.social-btn.wa-btn:hover {
    background: #1eb856;
}

/* Contact Form Card */
.contact-form-card {
    background: rgba(0, 0, 0, 0.25);
    padding: 2.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-glass);
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
}

.form-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-form .form-group {
    margin-bottom: 0;
    width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.contact-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--text-secondary);
}

.form-control {
    width: 100%;
    padding: 0.85rem 1.1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    /* minimum 16px untuk mencegah auto-zoom di browser HP */
    outline: none;
    transition: var(--transition);
    box-sizing: border-box;
}

body.light-theme .form-control {
    background: rgba(0, 0, 0, 0.03);
}

.form-control:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px var(--accent-gold-glow);
}

select.form-control {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c8a97e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.1rem;
    padding-right: 2.5rem;
}

select.form-control option {
    background: #121418;
    color: #fff;
}

/* Footer Section */
.site-footer {
    background: #07080a;
    border-top: 1px solid var(--border-glass);
    padding: 5rem 0 2rem 0;
}

body.light-theme .site-footer {
    background: #eeeeee;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 1.25rem;
}

.footer-links h4,
.footer-services h4,
.footer-newsletter h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.footer-links ul,
.footer-services ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a,
.footer-services a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover,
.footer-services a:hover {
    color: var(--accent-gold);
    padding-left: 4px;
}

.footer-newsletter p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex-grow: 1;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Lightbox Modal */
.lightbox-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.lightbox-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
}

.lightbox-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 2rem;
    cursor: pointer;
    z-index: 20;
}

.lightbox-image-wrap {
    position: relative;
    margin-bottom: 1rem;
}

.lightbox-image {
    width: 100%;
    max-height: 55vh;
    object-fit: cover;
    border-radius: var(--radius-sm);
    display: block;
}

.lightbox-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 15;
    transition: var(--transition);
}

.lightbox-nav-btn:hover {
    background: var(--accent-gold);
    color: #000;
    border-color: var(--accent-gold);
}

.lightbox-prev {
    left: 1rem;
}

.lightbox-next {
    right: 1rem;
}

.lightbox-counter {
    position: absolute;
    bottom: 0.85rem;
    right: 0.85rem;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-full);
}

.lightbox-thumbs {
    display: none;
    gap: 0.6rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    margin-bottom: 1.25rem;
}

.lightbox-thumb {
    width: 72px;
    height: 54px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    cursor: pointer;
    opacity: 0.55;
    border: 2px solid transparent;
    flex-shrink: 0;
    transition: var(--transition);
}

.lightbox-thumb:hover {
    opacity: 0.85;
}

.lightbox-thumb.active {
    opacity: 1;
    border-color: var(--accent-gold);
}

.lightbox-details h3 {
    font-size: 1.6rem;
    margin-bottom: 0.25rem;
}

.lightbox-details p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
}

/* ==========================================================================
   COMPREHENSIVE RESPONSIVE MEDIA QUERIES (Breakpoints)
   ========================================================================== */

/* Laptop & Medium Desktop (max-width: 1200px) */
@media (max-width: 1200px) {
    .container {
        padding: 0 2rem;
    }

    .hero-title {
        font-size: 3.4rem;
    }

    .about-grid {
        gap: 3rem;
    }

    .about-img {
        height: 460px;
    }

    .contact-wrapper {
        padding: 2.5rem;
        gap: 2.5rem;
    }
}

/* Tablet Landscape & Small Laptop (max-width: 992px) */
@media (max-width: 992px) {
    .section {
        padding: 5rem 0;
    }

    .hero-title {
        font-size: 2.8rem;
    }

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

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

    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-img {
        height: 400px;
    }

    .experience-card {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 1.5rem;
        width: 100%;
        justify-content: center;
    }

    .services-grid.services-two-cols {
        grid-template-columns: 1fr;
        max-width: 600px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Responsivitas Kontak Khusus Tablet */
    .contact-wrapper {
        grid-template-columns: 1fr;
        padding: 2rem;
        gap: 2.5rem;
    }

    .contact-form-card {
        padding: 2rem;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

/* Mobile & Tablet Portrait (max-width: 768px) */
@media (max-width: 768px) {
    .header-actions .btn-primary {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--bg-card);
        padding: 6rem 2rem 2rem 2rem;
        border-left: 1px solid var(--border-glass);
        z-index: 1000;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }

    .main-nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.75rem;
    }

    .nav-link {
        font-size: 1.1rem;
    }

    .hero-section {
        min-height: 600px;
    }

    .hero-content {
        padding-top: 3rem;
    }

    .hero-title {
        font-size: 2.3rem;
    }

    .hero-desc {
        font-size: 0.95rem;
        margin-bottom: 1.75rem;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .hero-cta-group .btn {
        width: 100%;
    }

    .slider-controls {
        bottom: 7.5rem;
        width: 90%;
    }

    .hero-stats-bar {
        padding: 1rem 0;
    }

    .stat-num {
        font-size: 1.75rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

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

    .section-subtitle {
        font-size: 0.75rem;
    }

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

    .portfolio-card {
        height: 320px;
    }

    .calculator-card {
        padding: 1.5rem;
    }

    .result-amount {
        font-size: 2rem;
    }

    .radio-content {
        flex-direction: column;
        gap: 0.25rem;
    }

    /* Responsivitas Kontak Layar HP (768px) */
    .contact-wrapper {
        padding: 1.5rem;
        gap: 2rem;
        border-radius: var(--radius-md);
    }

    .contact-desc {
        font-size: 0.95rem;
        margin-bottom: 1.75rem;
    }

    .contact-details {
        gap: 1.25rem;
        margin-bottom: 1.75rem;
    }

    .contact-item {
        gap: 1rem;
    }

    .contact-icon {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }

    .contact-form-card {
        padding: 1.5rem 1.25rem;
    }

    .form-title {
        font-size: 1.3rem;
        margin-bottom: 1.25rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        /* Tumpuk No WA & Kota menjadi 1 kolom */
        gap: 1.25rem;
    }

    .contact-form .btn {
        width: 100%;
        padding: 0.95rem 1rem;
        font-size: 0.925rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
}

/* Extra Small Devices & Smartphones (max-width: 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 0.85rem;
    }

    .brand-name {
        font-size: 1.1rem;
    }

    .brand-sub {
        font-size: 0.55rem;
    }

    .logo-mark {
        width: 36px;
        height: 36px;
        font-size: 1.2rem;
    }

    .hero-title {
        font-size: 1.95rem;
    }

    .hero-badge {
        font-size: 0.7rem;
        padding: 0.3rem 0.8rem;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .service-card {
        padding: 1.75rem 1.1rem;
    }

    .service-title {
        font-size: 1.35rem;
    }

    .about-img {
        height: 280px;
    }

    .exp-number {
        font-size: 2.2rem;
    }

    .portfolio-filter {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.45rem 1rem;
        font-size: 0.8rem;
    }

    .portfolio-card {
        height: 280px;
    }

    .port-overlay {
        padding: 1.25rem;
    }

    .port-title {
        font-size: 1.2rem;
    }

    .calc-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .calc-result-box {
        padding: 1.25rem;
    }

    .result-amount {
        font-size: 1.6rem;
    }

    /* Responsivitas Kontak Layar HP Sangat Kecil (480px) */
    .contact-wrapper {
        padding: 1.1rem 0.85rem;
        border-radius: var(--radius-sm);
    }

    .contact-form-card {
        padding: 1.25rem 0.85rem;
        border-radius: var(--radius-sm);
    }

    .form-control {
        padding: 0.75rem 0.85rem;
        font-size: 0.95rem;
    }

    .contact-item p {
        font-size: 0.85rem;
    }

    .social-links {
        justify-content: flex-start;
    }

    .social-btn {
        width: 38px;
        height: 38px;
    }
}