/* ==========================================================================
   Pangratz – Round Rock Plumber-style design
   Цветова палитра (от Figma шаблона):
     - Бяло:        #FFFFFF
     - Светъл сив:  #F2F2F2
     - Светло син:  #50B2EA  (primary accent)
     - Тъмен:       #19435A  (dark text / footer)
   Шрифт: Poppins (Google Fonts)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --pgr-primary:    #50B2EA;
    --pgr-primary-2:  #81D1FF;
    --pgr-dark:       #19435A;
    --pgr-dark-tech:  #1b2023;
    --pgr-light:      #F4F7F9;
    --pgr-white:      #FFFFFF;
    --pgr-text:       #19435A;
    --pgr-muted:      #6c8a99;
    --pgr-radius:     10px;
    --pgr-radius-lg:  14px;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: var(--pgr-text);
    background: var(--pgr-white);
    -webkit-font-smoothing: antialiased;
}

a { color: var(--pgr-primary); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--pgr-dark); }

h1, h2, h3, h4, h5 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--pgr-dark);
    margin: 0 0 .5em;
    line-height: 1.25;
}

h1 { font-size: 47px; letter-spacing: .06em; text-transform: uppercase; line-height: 1.2em; }
h2 { font-size: 48px; }
h3 { font-size: 22px; }

img { max-width: 100%; height: auto; display: block; }

/* ============= NAVBAR (Dark Tech) ============= */
.site-navbar {
    background-color: #1b2023 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.22);
    padding-top: 12px;
    padding-bottom: 12px;
    transition: background-color .25s ease, box-shadow .25s ease;
    z-index: 1030;
}

.navbar-brand {
    background: transparent !important;
    padding: 0;
    margin-right: 2rem;
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.navbar-brand img {
    height: 48px;
    width: auto;
    display: block;
}

.navbar-nav {
    gap: 4px;
}

.navbar-nav .nav-link {
    color: #e4ebf0 !important;
    font-weight: 500;
    padding: 8px 16px !important;
    font-size: 15px;
    letter-spacing: 0.02em;
    border-radius: 8px;
    transition: all .2s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: #81D1FF !important;
    background: rgba(255, 255, 255, 0.06);
}

.navbar-nav .nav-link.active {
    color: #ffffff !important;
    background: rgba(80, 178, 234, 0.15);
    font-weight: 600;
    box-shadow: inset 0 -2px 0 var(--pgr-primary);
}

/* Call-to-action button in navbar */
.btn-nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #50B2EA, #2f8ec8);
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 600;
    padding: 9px 18px;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(80, 178, 234, 0.35);
    transition: all .2s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-decoration: none;
    white-space: nowrap;
}

.btn-nav-cta:hover {
    background: linear-gradient(135deg, #60beee, #3ea0dc);
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(80, 178, 234, 0.45);
}

.btn-nav-cta:active {
    transform: translateY(0);
}

.navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.04);
    padding: 6px 10px;
    border-radius: 8px;
    transition: background .2s ease, border-color .2s ease;
}

.navbar-toggler:hover,
.navbar-toggler:focus {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(80, 178, 234, 0.5);
    box-shadow: 0 0 0 3px rgba(80, 178, 234, 0.2);
    outline: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, .9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Mobile dropdown */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: #14181b;
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 12px;
        padding: 16px 18px;
        margin-top: 14px;
        box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45);
    }

    .navbar-nav .nav-link {
        padding: 11px 14px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        border-radius: 6px;
    }

    .navbar-nav .nav-item:last-child .nav-link {
        border-bottom: none;
    }

    .navbar-nav .nav-link.active {
        box-shadow: inset 3px 0 0 var(--pgr-primary);
    }

    .btn-nav-cta {
        width: 100%;
        margin-top: 10px;
        padding: 12px;
        font-size: 15px;
    }
}

/* ============= HERO ============= */
.hero {
    position: relative;
    min-height: calc(100vh - 74px);
    background: linear-gradient(rgba(80, 178, 234, .60), rgba(25, 67, 90, .70)),
                url('../img/hero.jpg') center/cover no-repeat;
    background-color: var(--pgr-primary);
    color: #fff;
    display: flex;
    align-items: center;
    text-align: center;
    padding: 80px 0 80px;
}

.hero h1 {
    color: #fff;
    font-size: 68px;
    letter-spacing: .08em;
    font-weight: 800;
    text-transform: uppercase;
}

.hero .hero-line {
    width: 80px;
    height: 4px;
    background: #fff;
    border-radius: 4px;
    margin: 24px auto;
}

.hero .lead {
    color: #fff;
    font-size: 19px;
    line-height: 30px;
    max-width: 680px;
    margin: 0 auto;
    opacity: .95;
    font-weight: 400;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 44px 0 52px;
    flex-wrap: wrap;
}

.hero-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform .2s ease;
}

.hero-feature:hover {
    transform: translateY(-4px);
}

.hero-feature .icon {
    width: 90px;
    height: 90px;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    margin: 0 auto 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.hero-feature .label {
    color: #fff;
    font-weight: 600;
    font-size: 17px;
    letter-spacing: 0.01em;
}

/* ============= BUTTONS ============= */
.btn-pgr {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--pgr-primary);
    color: #fff !important;
    padding: 16px 32px;
    border-radius: var(--pgr-radius);
    font-weight: 700;
    font-size: 18px;
    box-shadow: 0 20px 40px rgba(129, 209, 255, .25);
    transition: transform .15s ease, box-shadow .15s ease;
    border: 2px solid transparent;
}

.btn-pgr:hover {
    background: #3f95cf;
    color: #fff !important;
}

.btn-pgr:active {
    background: #3585b8;
}

.btn-pgr-outline {
    background: var(--pgr-primary);
    color: #fff !important;
    border: 2px solid #fff;
    box-shadow: 0 20px 20px rgba(129, 209, 255, .25);
}

/* ============= SECTIONS ============= */
.section {
    padding: 85px 0;
}

.section-light { background: var(--pgr-light); }
.section-primary {
    background: linear-gradient(135deg, #19435A 0%, #102a39 100%);
    color: #fff;
}
.section-dark { background: var(--pgr-dark); color: #fff; }

.section-title {
    font-size: 40px;
    font-weight: 700;
    text-align: center;
    color: var(--pgr-dark);
    margin-bottom: 50px;
}

.section-primary .section-title,
.section-dark .section-title { color: #fff; }

/* ============= ABOUT (двуколонен) ============= */
.about-wrap {
    position: relative;
    border: 1px solid rgba(25, 67, 90, 0.1);
    border-radius: var(--pgr-radius-lg);
    overflow: hidden;
    box-shadow: 0 12px 36px rgba(25, 67, 90, 0.08);
}

.about-image {
    aspect-ratio: 4 / 3;
    background: #142d3c;
    border-radius: 0 var(--pgr-radius-lg) var(--pgr-radius-lg) 0;
    background-image: linear-gradient(135deg, rgba(27,32,35,.25), rgba(25,67,90,.35)),
                      url('../img/about.jpg');
    background-size: cover;
    background-position: center;
}

.about-content {
    background: #19435A;
    color: #fff;
    padding: 75px 54px;
}

.about-content h2 {
    color: #fff;
    font-size: 44px;
    margin-bottom: 24px;
}

.about-content p {
    color: #d8e8f2;
    font-size: 17px;
    line-height: 28px;
    margin-bottom: 22px;
    font-weight: 400;
}

.checklist {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
}

.checklist li {
    color: #ffffff;
    font-weight: 500;
    font-size: 16px;
    line-height: 26px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.checklist li::before {
    content: '\F26E'; /* bi-check-circle-fill */
    font-family: 'bootstrap-icons';
    color: var(--pgr-primary-2);
    font-size: 20px;
}

/* ============= SERVICES (4 карти) ============= */
.services-bar {
    background: var(--pgr-primary);
    padding: 24px 0;
    border-radius: var(--pgr-radius);
    margin-bottom: 60px;
}

.services-bar .row { align-items: center; }

.service-item {
    text-align: center;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    padding: 10px;
}

.service-card {
    background: #fff;
    border-radius: var(--pgr-radius-lg);
    border: 1px solid #e4edf3;
    padding: 34px 24px;
    text-align: center;
    box-shadow: 0 6px 22px rgba(25, 67, 90, .05);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--pgr-primary);
    box-shadow: 0 16px 36px rgba(25, 67, 90, .12);
}

.service-card .icon {
    width: 66px;
    height: 66px;
    border-radius: 14px;
    background: rgba(80, 178, 234, .12);
    color: var(--pgr-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 18px;
    transition: all .25s ease;
}

.service-card:hover .icon {
    background: var(--pgr-primary);
    color: #fff;
    transform: scale(1.05);
}

.service-card h3 {
    color: var(--pgr-dark);
    font-size: 19px;
    margin-bottom: 12px;
}

.service-card p {
    color: #4f6e80;
    font-size: 15px;
    line-height: 24px;
    margin: 0;
}

/* ============= TESTIMONIALS ============= */
.testimonial {
    background: #fff;
    border-radius: var(--pgr-radius-lg);
    border: 1px solid #e4edf3;
    box-shadow: 0 6px 24px rgba(25, 67, 90, .06);
    padding: 30px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    height: 100%;
    transition: transform .2s ease, box-shadow .2s ease;
}

.testimonial:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(25, 67, 90, .10);
}

.testimonial .avatar {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pgr-primary), #1a4d69);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(80, 178, 234, .3);
}

.testimonial .name {
    color: var(--pgr-dark);
    font-weight: 700;
    font-size: 17px;
    margin-bottom: 4px;
}

.testimonial .text {
    color: #4f6e80;
    font-size: 14.5px;
    line-height: 23px;
    margin: 0;
}

/* ============= EMERGENCY / SERVICE CARDS ============= */
.emergency-card {
    background: #fff;
    border: 2px solid var(--pgr-primary);
    border-radius: var(--pgr-radius-lg);
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(80, 178, 234, 0.12);
    transition: all .25s ease;
    height: 100%;
}

.emergency-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 36px rgba(80, 178, 234, 0.22);
    border-color: #3585b8;
}

.emergency-card .emergency-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(80, 178, 234, 0.12);
    color: var(--pgr-dark);
    font-size: 13px;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.emergency-card .phone-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 700;
    color: var(--pgr-dark);
    text-decoration: none;
    transition: color .2s ease;
    margin-top: 8px;
}

.emergency-card .phone-link:hover {
    color: var(--pgr-primary);
}

/* ============= CONTACT ============= */
.contact-form {
    max-width: 800px;
    margin: 0 auto;
}

.contact-bar,
.contact-msg {
    background: rgba(255,255,255,.95);
    border-radius: 6px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    padding: 0 18px;
    color: var(--pgr-dark);
    font-weight: 500;
    font-size: 16px;
    border: 1px solid rgba(255,255,255,.95);
    transition: border-color .15s ease, background .15s ease;
}

.contact-bar {
    height: auto;
    min-height: 54px;
    flex-wrap: wrap;
}

.contact-msg {
    align-items: flex-start;
    padding: 14px 18px;
    min-height: 120px;
}

.contact-msg .bi {
    margin-top: 2px;
    align-self: flex-start;
}

.contact-bar:focus-within,
.contact-msg:focus-within {
    background: #fff;
    border-color: var(--pgr-dark);
}

.contact-bar .bi,
.contact-msg .bi {
    margin-right: 12px;
    font-size: 20px;
    color: var(--pgr-primary);
}

.contact-bar a { color: var(--pgr-primary); }

.contact-bar input,
.contact-msg textarea {
    flex: 1;
    background: transparent;
    border: 0;
    outline: 0;
    color: var(--pgr-dark);
    font-size: 16px;
    font-family: inherit;
    padding: 0 0 0 8px;
    padding-right: 70px;
    width: 100%;
    min-width: 0;
    resize: vertical;
}

.contact-bar input::placeholder,
.contact-msg textarea::placeholder {
    color: var(--pgr-dark);
    opacity: .75;
}

.contact-bar.has-error,
.contact-msg.has-error {
    background: #fff;
    border-color: #d9534f;
}

.contact-bar,
.contact-msg {
    position: relative;
}

.contact-bar .field-error,
.contact-msg .field-error {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 14px;
    background: #d9534f;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 4px;
    white-space: nowrap;
    pointer-events: none;
    z-index: 2;
}

/* textarea: badge в горния десен ъгъл */
.contact-msg .field-error {
    top: 12px;
    transform: none;
}

.form-error {
    background: #f8d7da;
    border: 1px solid #dc3545;
    color: #721c24;
    padding: 14px 18px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    margin: 8px 0 4px;
}

.form-ok {
    background: #d4edda;
    border: 1px solid #28a745;
    color: #155724;
    padding: 14px 18px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    margin: 8px 0 4px;
}

.contact-submit {
    background: #fff;
    color: var(--pgr-primary);
    border: none;
    height: 54px;
    border-radius: 6px;
    padding: 0 36px;
    font-weight: 700;
    font-size: 17px;
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
}

.contact-submit:hover {
    background: var(--pgr-dark);
    color: #fff;
}

.contact-submit:active {
    background: #0e2c3f;
}

/* ============= FOOTER ============= */
.site-footer {
    background: #1b2023;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #a0aec0;
    padding: 65px 0 35px;
}

.site-footer h4, .site-footer h5 {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 18px;
    letter-spacing: 0.02em;
}

.site-footer .footer-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 25px;
    margin-top: 40px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 13px;
}

.site-footer a {
    color: #cbd5e1;
    transition: color .15s ease;
}

.site-footer a:hover {
    color: #81D1FF;
}

/* ============= Lift cards (Страница Асансьори) ============= */
.lift-card {
    background: #fff;
    border-radius: var(--pgr-radius-lg);
    overflow: hidden;
    border: 1px solid #e2edf4;
    box-shadow: 0 6px 20px rgba(25, 67, 90, .07);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.lift-card:hover {
    transform: translateY(-5px);
    border-color: var(--pgr-primary);
    box-shadow: 0 16px 36px rgba(25, 67, 90, .14);
}

.lift-image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f0f4f8;
}

.lift-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}

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

.lift-content {
    padding: 24px 24px 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.lift-content h3 {
    color: var(--pgr-dark);
    font-size: 21px;
    margin: 0 0 12px;
    font-weight: 700;
}

.lift-content .desc {
    color: #4f6e80;
    font-size: 14.5px;
    line-height: 24px;
    margin-bottom: 18px;
}

.lift-specs {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
    border-top: 1px solid #e8e8eb;
    padding-top: 14px;
}

.lift-specs li {
    color: var(--pgr-muted);
    font-size: 14px;
    padding: 6px 0;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    border-bottom: 1px dashed #f0f0f3;
}

.lift-specs li:last-child {
    border-bottom: none;
}

.lift-specs li span {
    flex: 0 0 auto;
}

.lift-specs li strong {
    color: var(--pgr-dark);
    font-weight: 600;
    text-align: right;
}

.lift-card .btn-link {
    margin-top: auto;
    color: var(--pgr-primary);
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.lift-card .btn-link:hover {
    color: var(--pgr-dark);
}

/* ============= Вътрешни страници ============= */
.page-header {
    background: linear-gradient(rgba(80, 178, 234, .70), rgba(25, 67, 90, .75)),
                url('../img/page-bg-1.jpg') center/cover no-repeat;
    color: #fff;
    padding: 75px 0 60px;
    text-align: center;
}

.page-header h1 {
    color: #fff;
    font-size: 60px;
    letter-spacing: .25em;
    margin: 0;
}

.page-header .lead {
    color: rgba(255,255,255,.98);
    max-width: 760px;
    margin: 18px auto 0;
    font-size: 22px;
    line-height: 34px;
    font-weight: 500;
}

/* ============= Full-width map ============= */
.map-section {
    width: 100%;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    background: var(--pgr-light);
    padding: 60px 0 0;
}

.map-full {
    width: 100%;
    height: 520px;
    border: 0;
    display: block;
}

/* ============= Responsive ============= */
@media (max-width: 992px) {
    h1, .hero h1, .page-header h1 { font-size: 44px; letter-spacing: .15em; }
    h2, .section-title, .about-content h2 { font-size: 32px; }
    .hero-features { gap: 24px; }
    .hero-feature .icon { width: 72px; height: 72px; font-size: 30px; }
    .about-content { padding: 40px 28px; }
    .about-image { min-height: 280px; }
}

@media (max-width: 600px) {
    .hero { padding: 50px 0 50px; }
    .hero h1 { font-size: 32px; letter-spacing: .1em; }
    .section { padding: 50px 0; }
    .hero-features { flex-direction: column; gap: 16px; }
}
