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

:root {
    --navy: #1a3a5c;
    --blue: #2e6da4;
    --blue-light: #3d8fd4;
    --accent: #2e6da4;
    --dark: #111827;
    --text: #374151;
    --muted: #6b7280;
    --light: #f8fafc;
    --white: #ffffff;
    --border: #e5e7eb;
    --shadow: 0 4px 24px rgba(26,58,92,.10);
    --shadow-lg: 0 12px 48px rgba(26,58,92,.18);
    --radius: 12px;
    --transition: .25s ease;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--white);
}

img { display: block; width: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

/* ===== NAVBAR ===== */
#navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow var(--transition);
}
#navbar.scrolled { box-shadow: 0 2px 20px rgba(26,58,92,.12); }

.nav-inner {
    max-width: 1300px; margin: 0 auto; padding: 0 24px;
    height: 70px;
    display: flex; align-items: center; gap: 32px;
}

.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo.logo-has-image { gap: 0; }
.site-logo-image {
    width: 100%;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
}
.site-logo-header {
    width: 160px;
    height: 50px;
}
.site-logo-footer {
    width: 180px;
    height: 64px;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-main { font-family: 'Playfair Display', serif; font-size: 14px; font-weight: 800; color: var(--navy); letter-spacing: .05em; }
.logo-sub { font-size: 9px; font-weight: 500; color: var(--muted); letter-spacing: .15em; text-transform: uppercase; }

.main-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.main-nav a { font-size: 14px; font-weight: 500; color: var(--text); transition: color var(--transition); position: relative; }
.main-nav a::after { content:''; position:absolute; bottom:-3px; left:0; width:0; height:2px; background:var(--blue); transition: width var(--transition); }
.main-nav a:hover { color: var(--blue); }
.main-nav a:hover::after { width: 100%; }

.nav-dropdown {
    position: relative;
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    min-width: 250px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: 0 14px 36px rgba(17, 24, 39, .14);
    padding: 8px;
    display: grid;
    gap: 2px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
    z-index: 1200;
}

.nav-dropdown-menu a {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 13px;
}

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

.nav-dropdown-menu a:hover {
    color: var(--navy);
    background: #eef4fb;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-right { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.nav-phone { font-size: 13px; font-weight: 600; color: var(--navy); display: flex; align-items: center; gap: 6px; }
.btn-teklif {
    background: var(--navy); color: var(--white);
    padding: 10px 22px; border-radius: 8px;
    font-size: 13px; font-weight: 600;
    transition: background var(--transition), transform var(--transition);
}
.btn-teklif:hover { background: var(--blue); transform: translateY(-1px); }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: all .3s; }

.mobile-menu {
    display: none; flex-direction: column;
    background: var(--white); border-top: 1px solid var(--border);
    padding: 16px 24px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 12px 0; font-weight: 500; border-bottom: 1px solid var(--border); }

/* ===== BUTTONS ===== */
.btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--navy); color: var(--white);
    padding: 14px 28px; border-radius: 8px;
    font-size: 15px; font-weight: 600;
    transition: all var(--transition);
}
.btn-primary:hover { background: var(--blue); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26,58,92,.25); }

.btn-secondary {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--white); color: var(--navy);
    padding: 14px 28px; border-radius: 8px;
    font-size: 15px; font-weight: 600;
    border: 2px solid var(--border);
    transition: all var(--transition);
}
.btn-secondary:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }

.btn-outline {
    display: inline-flex; align-items: center; gap: 8px;
    border: 2px solid var(--navy); color: var(--navy);
    padding: 10px 22px; border-radius: 8px;
    font-size: 14px; font-weight: 600;
    transition: all var(--transition);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }

/* ===== HERO ===== */
.hero {
    padding-top: 70px;
    min-height: 100vh;
    background: linear-gradient(135deg, #f8fafc 0%, #eef4fb 100%);
    display: flex; align-items: center;
}
.hero-content {
    max-width: 1200px; margin: 0 auto; padding: 80px 24px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}

.hero-label {
    display: inline-block;
    font-size: 11px; font-weight: 700; letter-spacing: .18em;
    color: var(--blue); text-transform: uppercase;
    margin-bottom: 16px;
}
.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(36px, 4vw, 52px);
    font-weight: 800; line-height: 1.15;
    color: var(--dark); margin-bottom: 20px;
}
.hero-desc { font-size: 17px; color: var(--muted); line-height: 1.7; margin-bottom: 32px; max-width: 480px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }

.hero-stats {
    display: flex; gap: 24px; flex-wrap: wrap;
    padding-top: 24px; border-top: 1px solid var(--border);
}
.stat { display: flex; align-items: center; gap: 12px; }
.stat strong { display: block; font-size: 22px; font-weight: 800; color: var(--navy); line-height: 1; }
.stat span { font-size: 12px; color: var(--muted); font-weight: 500; }

.hero-img-wrap { position: relative; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); }
.hero-img { height: 520px; border-radius: 20px; transition: transform .6s ease; }
.hero-img-wrap:hover .hero-img { transform: scale(1.03); }

.hero-img-badge {
    position: absolute; bottom: 24px; left: 24px;
    background: var(--white); border-radius: 12px;
    padding: 16px 24px;
    box-shadow: var(--shadow);
}
.hero-img-badge strong { display: block; font-size: 32px; font-weight: 800; color: var(--navy); line-height: 1; }
.hero-img-badge span { font-size: 12px; color: var(--muted); font-weight: 500; }

/* ===== SERVICES ===== */
.services { background: var(--navy); padding: 80px 0; }
.services-grid {
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
    display: grid; grid-template-columns: 1fr 1.2fr 1.2fr 1fr; gap: 0;
    align-items: stretch;
}

.service-img-left, .service-img-right {
    overflow: hidden; min-height: 460px;
}
.service-img-left { border-radius: 12px 0 0 12px; }
.service-img-right { border-radius: 0 12px 12px 0; }
.service-img-left img, .service-img-right img { height: 100%; transition: transform .5s ease; }
.service-img-left:hover img, .service-img-right:hover img { transform: scale(1.05); }

.service-card {
    background: var(--navy); padding: 48px 36px;
    color: var(--white); position: relative;
    border-left: 1px solid rgba(255,255,255,.1);
    border-right: 1px solid rgba(255,255,255,.1);
}
.service-icon { margin-bottom: 20px; opacity: .9; }
.service-card h3 { font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 800; margin-bottom: 12px; line-height: 1.2; }
.service-card > p { font-size: 13px; color: rgba(255,255,255,.65); margin-bottom: 20px; }
.service-card ul { margin-bottom: 32px; }
.service-card ul li {
    font-size: 13px; color: rgba(255,255,255,.8);
    padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,.08);
    display: flex; align-items: center; gap: 8px;
}
.service-card ul li::before { content: '›'; color: var(--blue-light); font-size: 16px; font-weight: 700; }

.btn-service {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--blue); color: var(--white);
    padding: 12px 24px; border-radius: 8px;
    font-size: 14px; font-weight: 600;
    transition: all var(--transition);
}
.btn-service:hover { background: var(--blue-light); transform: translateX(4px); }

/* ===== PROJECTS ===== */
.projects { padding: 80px 0; background: var(--white); }

.section-header {
    display: flex; justify-content: space-between; align-items: flex-end;
    margin-bottom: 40px; gap: 16px;
}
.section-label {
    display: block; font-size: 11px; font-weight: 700;
    letter-spacing: .18em; color: var(--blue); text-transform: uppercase;
    margin-bottom: 8px;
}
.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(26px, 3vw, 36px); font-weight: 800;
    color: var(--dark);
}

.projects-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.project-card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform var(--transition), box-shadow var(--transition); }
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.project-img { position: relative; overflow: hidden; height: 220px; }
.project-img img { height: 100%; transition: transform .5s ease; }
.project-card:hover .project-img img { transform: scale(1.08); }

.before-after-media {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100%;
}

.before-after-pane {
    position: relative;
    overflow: hidden;
}

.before-after-pane img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.before-after-badge {
    position: absolute;
    left: 8px;
    bottom: 8px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    color: #fff;
    padding: 4px 7px;
    border-radius: 999px;
}

.before-after-badge.before {
    background: rgba(225, 84, 84, .92);
}

.before-after-badge.after {
    background: rgba(17, 153, 142, .92);
}

.project-overlay {
    position: absolute; inset: 0;
    background: rgba(26,58,92,.7);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity var(--transition);
}
.project-overlay span { color: var(--white); font-weight: 600; font-size: 14px; letter-spacing: .05em; }
.project-card:hover .project-overlay { opacity: 1; }

.project-info { padding: 16px; }
.project-info h4 { font-size: 15px; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.project-info p { font-size: 13px; color: var(--muted); }
.project-info small { display: block; margin-top: 8px; font-size: 12px; color: var(--muted); line-height: 1.6; }

.project-card-empty {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    background: #fff;
    border: 1px dashed #c8d4e3;
}

.project-card-empty .project-info {
    text-align: center;
    max-width: 540px;
}

.project-card-empty .btn-outline {
    margin-top: 14px;
}

/* ===== CALCULATOR ===== */
.calculator { background: var(--light); padding: 80px 0; }
.calc-inner { display: grid; grid-template-columns: 1fr 1.8fr; gap: 60px; align-items: center; }
.calc-left h2 { font-family: 'Playfair Display', serif; font-size: 32px; font-weight: 800; color: var(--dark); margin: 12px 0; }
.calc-left p { color: var(--muted); font-size: 15px; }

.calc-builder {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 22px;
    box-shadow: var(--shadow);
}

.calc-type-switch {
    display: inline-flex;
    background: #edf2f7;
    border-radius: 999px;
    padding: 4px;
    gap: 4px;
    margin-bottom: 18px;
}

.calc-type-btn {
    border: none;
    background: transparent;
    color: var(--text);
    font-size: 13px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 999px;
    cursor: pointer;
    transition: all var(--transition);
}

.calc-type-btn.active {
    background: var(--navy);
    color: var(--white);
}

.calc-panel {
    display: none;
    gap: 14px;
}

.calc-panel.active {
    display: grid;
}

.calc-m2-row {
    display: grid;
    gap: 6px;
    margin-bottom: 10px;
}

.calc-m2-row label {
    font-weight: 700;
    color: var(--dark);
    font-size: 14px;
}

.calc-m2-row input {
    border: 1px solid #ced6e0;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 14px;
    outline: none;
}

.calc-m2-row input:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(46, 109, 164, .15);
}

.calc-m2-row small {
    color: var(--muted);
    font-size: 12px;
}

.calc-group {
    border: 1px solid #e8edf4;
    border-radius: 12px;
    padding: 14px;
}

.calc-group h4 {
    font-size: 15px;
    color: var(--dark);
    margin-bottom: 4px;
}

.calc-group p {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 10px;
}

.calc-group.group-error {
    border-color: #fca5a5;
    box-shadow: 0 0 0 2px rgba(220, 38, 38, .1);
}

.calc-options-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.calc-option-card {
    border: 1px solid #dbe4ef;
    border-radius: 10px;
    padding: 10px;
    display: grid;
    grid-template-columns: 18px 1fr auto;
    gap: 10px;
    align-items: start;
    cursor: pointer;
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.calc-option-card:hover {
    border-color: #9ab6d2;
    transform: translateY(-1px);
}

.calc-option-card:has(input:checked) {
    border-color: var(--blue);
    box-shadow: 0 0 0 2px rgba(46, 109, 164, .12);
    background: #f8fbff;
}

.calc-option-card input {
    margin-top: 3px;
}

.calc-option-text strong {
    display: block;
    font-size: 13px;
    color: var(--dark);
}

.calc-option-text span {
    display: block;
    font-size: 11px;
    color: var(--muted);
    margin-top: 2px;
}

.calc-option-price {
    font-size: 12px;
    font-weight: 700;
    color: var(--navy);
    white-space: nowrap;
}

.calc-result-box {
    margin-top: 16px;
    border-top: 1px dashed #cfd8e3;
    padding-top: 14px;
}

.calc-result-box span {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .08em;
}

.calc-result-box strong {
    display: block;
    font-size: 32px;
    line-height: 1.2;
    color: var(--navy);
    margin-top: 4px;
}

.calc-result-box p {
    margin-top: 6px;
    color: var(--text);
    font-size: 13px;
}

.calc-result-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 14px;
    margin-bottom: 8px;
}

.calc-result-actions .btn-outline,
.calc-result-actions .btn-primary {
    padding: 10px 14px;
    font-size: 13px;
}

.calc-result-actions .is-disabled {
    opacity: .55;
    pointer-events: none;
    filter: grayscale(.2);
}

.calc-result-box small {
    display: block;
    color: var(--muted);
    font-size: 12px;
}

.calc-teaser-grid {
    display: grid;
    gap: 24px;
}

.calc-link-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.calc-link-card {
    display: block;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 18px;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.calc-link-card:hover {
    transform: translateY(-3px);
    border-color: var(--blue);
    box-shadow: var(--shadow-lg);
}

.calc-link-card strong {
    display: block;
    font-size: 18px;
    color: var(--navy);
    margin-bottom: 6px;
}

.calc-link-card span {
    display: block;
    font-size: 13px;
    color: var(--muted);
}

.page-hero {
    min-height: auto;
}

.pricing-page-hero {
    padding-bottom: 32px;
}

.pricing-page-content {
    align-items: stretch;
}

.pricing-hero-info {
    display: flex;
    align-items: center;
}

.pricing-info-card {
    background: rgba(255,255,255,.88);
    border: 1px solid rgba(46,109,164,.12);
    border-radius: 18px;
    padding: 26px;
    box-shadow: var(--shadow-lg);
}

.pricing-info-card strong {
    display: block;
    font-size: 24px;
    color: var(--navy);
    margin-bottom: 10px;
}

.pricing-info-card p {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 12px;
}

.pricing-info-card ul {
    list-style: none;
}

.pricing-info-card li {
    font-size: 13px;
    color: var(--text);
    padding: 6px 0;
}

.pricing-info-card li::before {
    content: '•';
    color: var(--blue);
    margin-right: 8px;
}

.calculator-page {
    padding-top: 120px;
}

.content-page {
    padding-top: 120px;
    padding-bottom: 72px;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 42%);
}

.content-page-shell {
    max-width: 980px;
    margin: 0 auto;
}

.content-page-header {
    background: linear-gradient(145deg, #16324f 0%, #1f4f78 100%);
    border-radius: 18px;
    color: #fff;
    padding: 34px 36px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 18px;
}

.content-page-header h1 {
    margin: 0;
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 4vw, 42px);
}

.content-page-header p {
    margin: 12px 0 0;
    font-size: 15px;
    color: rgba(255,255,255,.82);
}

.content-page-card {
    background: #fff;
    border: 1px solid #e6ebf1;
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 28px;
}

.content-page-card h2 {
    margin: 0 0 10px;
    font-size: 21px;
    color: var(--dark);
}

.content-page-card h3 {
    margin: 20px 0 8px;
    font-size: 17px;
    color: var(--dark);
}

.content-page-card p {
    margin: 0 0 12px;
    font-size: 14px;
    color: var(--text);
    line-height: 1.75;
}

.content-page-card ul {
    list-style: disc;
    margin: 0 0 12px 22px;
}

.content-page-card li {
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--text);
    line-height: 1.65;
}

.works-page .content-page-shell {
    max-width: 1160px;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.works-list-card {
    background: #fff;
    display: flex;
    flex-direction: column;
}

.works-list-card .project-img {
    height: 260px;
}

.works-list-card .project-info {
    padding: 18px;
}

.works-list-card .project-info h3 {
    margin: 0 0 6px;
    font-size: 20px;
    color: var(--dark);
}

.works-list-card .work-meta {
    font-size: 12px;
    color: var(--blue);
    letter-spacing: .02em;
    margin-bottom: 10px;
}

.works-list-card .project-info p {
    margin: 0 0 14px;
    font-size: 14px;
    color: var(--text);
}

.work-detail-card ul {
    list-style: disc;
    margin: 0 0 12px 22px;
}

.works-compare-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 18px;
}

.works-compare-box {
    background: #fff;
    border: 1px solid #e6ebf1;
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 20px;
}

.works-compare-box h3 {
    margin: 0 0 12px;
    font-size: 18px;
    color: var(--dark);
}

.work-photo-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.work-photo-item {
    margin: 0;
    border: 1px solid #e6ebf1;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.work-photo-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.work-photo-item figcaption {
    padding: 8px 10px;
    font-size: 12px;
    color: var(--muted);
}

.work-empty-note {
    font-size: 14px;
    color: var(--muted);
}

.work-detail-actions {
    margin-top: 16px;
}

.catalog-page .content-page-shell {
    max-width: 1160px;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.catalog-card {
    background: #fff;
    border: 1px solid #e6ebf1;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}

.catalog-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.catalog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.catalog-card:hover .catalog-image img {
    transform: scale(1.05);
}

.catalog-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(22, 50, 79, .9);
    color: #fff;
    border-radius: 999px;
    font-size: 11px;
    letter-spacing: .05em;
    padding: 6px 10px;
}

.catalog-body {
    padding: 16px;
}

.catalog-body h3 {
    margin: 0 0 6px;
    font-size: 19px;
    color: var(--dark);
}

.catalog-meta {
    margin: 0 0 10px;
    font-size: 12px;
    color: var(--blue);
}

.catalog-body p {
    margin: 0 0 12px;
    font-size: 14px;
    color: var(--text);
    line-height: 1.7;
}

.catalog-price {
    font-size: 17px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 14px;
}

.catalog-actions {
    display: flex;
    gap: 10px;
}

.catalog-actions .btn-outline,
.catalog-actions .btn-primary {
    flex: 1;
    justify-content: center;
    text-align: center;
}

.contact-page-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 18px;
}

.contact-action-list {
    display: grid;
    gap: 10px;
    margin: 14px 0 18px;
}

.contact-action-list .btn-primary,
.contact-action-list .btn-secondary,
.contact-action-list .btn-outline {
    justify-content: center;
    text-align: center;
}

.contact-detail-list p {
    margin: 0 0 8px;
    font-size: 14px;
}

.contact-map-wrap {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #dfe6ef;
    box-shadow: var(--shadow);
}

.contact-map-wrap iframe {
    width: 100%;
    height: 420px;
    border: 0;
}

.pricing-page-header {
    margin-bottom: 28px;
}

.calc-page-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 28px;
    align-items: start;
}

.calc-page-note {
    background: linear-gradient(145deg, #0f2744 0%, #1a3a5c 100%);
    color: var(--white);
    border-radius: 18px;
    padding: 24px;
    box-shadow: var(--shadow-lg);
}

.calc-page-note h3 {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    margin-bottom: 12px;
}

.calc-page-note p {
    font-size: 14px;
    color: rgba(255,255,255,.8);
    margin-bottom: 12px;
}

.offer-type-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1300;
}

.offer-type-modal.open {
    display: flex;
}

.offer-type-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .62);
    backdrop-filter: blur(6px);
}

.offer-type-dialog {
    position: relative;
    width: min(680px, calc(100% - 32px));
    background: var(--white);
    border-radius: 22px;
    padding: 28px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, .32);
    z-index: 1;
}

.offer-type-dialog h3 {
    font-family: 'Playfair Display', serif;
    font-size: 34px;
    color: var(--dark);
    margin-bottom: 8px;
}

.offer-type-dialog p {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 18px;
}

.offer-type-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background: #eef2f7;
    color: var(--navy);
    font-size: 24px;
    cursor: pointer;
}

.offer-type-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.offer-type-card {
    display: block;
    border: 1px solid #dbe4ef;
    border-radius: 16px;
    padding: 20px;
    background: linear-gradient(180deg, #fbfdff 0%, #f4f8fc 100%);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.offer-type-card:hover {
    transform: translateY(-4px);
    border-color: var(--blue);
    box-shadow: var(--shadow-lg);
}

.offer-type-card strong {
    display: block;
    font-size: 20px;
    color: var(--navy);
    margin-bottom: 6px;
}

.offer-type-card span {
    display: block;
    font-size: 13px;
    color: var(--muted);
}

.calc-empty {
    border: 1px dashed #c8d4e3;
    border-radius: 12px;
    padding: 20px;
    color: var(--muted);
    font-size: 14px;
    background: #fbfcff;
}

.calc-steps { display: flex; gap: 0; align-items: flex-start; }
.calc-step {
    flex: 1; display: flex; flex-direction: column; align-items: center;
    text-align: center; gap: 8px; position: relative;
}
.calc-step.has-line::after {
    content: ''; position: absolute;
    top: 22px; left: 50%; width: 100%;
    height: 2px; border-top: 2px dashed var(--border);
    z-index: 0;
}
.step-circle {
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--white); border: 2px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    color: var(--blue); position: relative; z-index: 1;
    box-shadow: var(--shadow);
    transition: all var(--transition);
}
.calc-step:hover .step-circle { background: var(--navy); color: var(--white); border-color: var(--navy); transform: scale(1.1); }
.calc-step strong { font-size: 20px; font-weight: 800; color: var(--navy); line-height: 1; }
.calc-step span { font-size: 12px; color: var(--text); font-weight: 600; }
.calc-step small { color: var(--muted); font-size: 11px; }

/* ===== WHY US ===== */
.why-us { background: var(--navy); padding: 60px 0; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.why-card {
    padding: 36px 28px; color: var(--white);
    border-right: 1px solid rgba(255,255,255,.1);
    transition: background var(--transition);
}
.why-card:last-child { border-right: none; }
.why-card:hover { background: rgba(255,255,255,.06); }
.why-icon { margin-bottom: 16px; opacity: .85; }
.why-card h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.why-card p { font-size: 13px; color: rgba(255,255,255,.65); line-height: 1.6; }

/* ===== FOOTER ===== */
.footer { background: #0f2540; color: rgba(255,255,255,.8); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }

.footer-about p { font-size: 13px; color: rgba(255,255,255,.55); line-height: 1.7; max-width: 240px; }

.footer-col h5 {
    font-size: 11px; font-weight: 700; letter-spacing: .15em;
    text-transform: uppercase; color: var(--white);
    margin-bottom: 20px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 13px; color: rgba(255,255,255,.55); transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--white); }

.contact-list li { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 13px; }
.contact-list a { color: rgba(255,255,255,.55); transition: color var(--transition); }
.contact-list a:hover { color: var(--white); }
.contact-list svg { flex-shrink: 0; color: var(--blue-light); }

.social-links { display: flex; gap: 10px; margin-top: 20px; }
.social-links a {
    width: 36px; height: 36px; border-radius: 8px;
    background: rgba(255,255,255,.1); color: rgba(255,255,255,.7);
    display: flex; align-items: center; justify-content: center;
    transition: all var(--transition);
}
.social-links a:hover { background: var(--blue); color: var(--white); transform: translateY(-2px); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 20px 0;
    display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}
.footer-bottom span { font-size: 13px; color: rgba(255,255,255,.4); margin-right: auto; }
.footer-bottom a { font-size: 13px; color: rgba(255,255,255,.4); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--white); }

.floating-socials {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.floating-social {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: 0 10px 28px rgba(15, 23, 42, .22);
    transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
}

.floating-social:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 14px 32px rgba(15, 23, 42, .28);
}

.floating-whatsapp { background: #25d366; }
.floating-instagram {
    background: linear-gradient(135deg, #f58529 0%, #dd2a7b 55%, #8134af 100%);
}

/* ===== COOKIE CONSENT ===== */
.cookie-consent {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 1400;
    background: rgba(15, 39, 68, .97);
    color: #fff;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 14px;
    box-shadow: 0 18px 42px rgba(2, 10, 23, .35);
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.cookie-consent-text {
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255,255,255,.9);
}

.cookie-consent-text a {
    color: #9cd1ff;
    text-decoration: underline;
}

.cookie-consent-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-consent-btn {
    border: none;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.cookie-consent-btn.secondary {
    background: rgba(255,255,255,.14);
    color: #fff;
}

.cookie-consent-btn.primary {
    background: #2e6da4;
    color: #fff;
}

.cookie-consent.hide {
    display: none;
}

/* ===== ANIMATIONS ===== */
.fade-up {
    opacity: 0; transform: translateY(30px);
    transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
    .services-grid { grid-template-columns: 1fr 1fr; }
    .service-img-left, .service-img-right { display: none; }
    .service-card:first-of-type { border-radius: 12px 0 0 12px; border-left: none; }
    .service-card:last-of-type { border-radius: 0 12px 12px 0; border-right: none; }
    .why-grid { grid-template-columns: repeat(2,1fr); }
    .why-card:nth-child(2) { border-right: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
    .hero-content { grid-template-columns: 1fr; gap: 40px; }
    .hero-right { display: none; }
    .projects-grid { grid-template-columns: repeat(2,1fr); }
    .calc-inner { grid-template-columns: 1fr; }
    .calc-steps { flex-wrap: wrap; justify-content: center; gap: 24px; }
    .calc-step.has-line::after { display: none; }
    .calc-options-grid { grid-template-columns: 1fr; }
    .calc-link-cards { grid-template-columns: 1fr; }
    .calc-page-layout { grid-template-columns: 1fr; }
    .works-grid { grid-template-columns: 1fr; }
    .works-compare-grid { grid-template-columns: 1fr; }
    .contact-page-grid { grid-template-columns: 1fr; }
    .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .content-page { padding-top: 100px; }
    .content-page-header { padding: 28px 22px; }
    .content-page-card { padding: 22px; }
    .main-nav { display: none; }
    .nav-phone { display: none; }
    .hamburger { display: flex; }
}
@media (max-width: 600px) {
    .projects-grid { grid-template-columns: 1fr; }
    .section-header { flex-direction: column; align-items: flex-start; }
    .hero-buttons { flex-direction: column; }
    .hero-stats { gap: 16px; }
    .why-grid { grid-template-columns: 1fr; }
    .why-card { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); }
    .footer-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .service-card:first-of-type, .service-card:last-of-type { border-radius: var(--radius); border: none; }
    .floating-socials { right: 16px; bottom: 16px; }
    .floating-social { width: 52px; height: 52px; }
    .offer-type-actions { grid-template-columns: 1fr; }
    .offer-type-dialog { padding: 24px 18px; }
    .offer-type-dialog h3 { font-size: 28px; }
    .work-photo-grid { grid-template-columns: 1fr; }
    .contact-map-wrap iframe { height: 320px; }
    .catalog-grid { grid-template-columns: 1fr; }
    .cookie-consent {
        left: 10px;
        right: 10px;
        bottom: 10px;
        flex-direction: column;
        align-items: flex-start;
        padding: 14px;
    }
    .cookie-consent-actions {
        width: 100%;
        justify-content: flex-end;
    }
}
