/* ============================================
   PUTURI APA ROMANIA - Modern Pro Theme
   ============================================ */

:root {
    --primary: #0a4d68;
    --primary-dark: #053b54;
    --accent: #088395;
    --cta: #16a34a;
    --cta-dark: #15803d;
    --whatsapp: #25d366;
    --whatsapp-dark: #128c7e;
    --phone: #dc2626;
    --gold: #f59e0b;
    --bg: #f8fafc;
    --surface: #ffffff;
    --text: #0f172a;
    --muted: #64748b;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08);
    --shadow-md: 0 6px 18px rgba(15, 23, 42, 0.10);
    --shadow-lg: 0 18px 40px rgba(15, 23, 42, 0.15);
    --radius: 14px;
    --radius-sm: 8px;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--accent); }

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--text);
    margin: 0 0 0.6em;
    line-height: 1.2;
    letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }

p { color: var(--muted); margin: 0 0 1em; }

/* ====== TOP BAR ====== */
.top-bar {
    background: var(--primary-dark);
    color: #cbd5e1;
    font-size: 13px;
    padding: 8px 0;
    position: relative;
    z-index: 100;
}
.top-bar a { color: #fff; font-weight: 600; }
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.top-bar-info { display: flex; gap: 18px; flex-wrap: wrap; }
.top-bar-info span i { margin-right: 6px; color: var(--gold); }

/* ====== NAVBAR ====== */
.site-nav {
    background: #fff;
    box-shadow: var(--shadow-sm);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 90;
}
.site-nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.site-logo {
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--primary) !important;
    display: flex;
    align-items: center;
    gap: 10px;
}
.site-logo .logo-mark {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
}
.nav-links {
    display: flex;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}
.nav-links a {
    color: var(--text);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 0;
    position: relative;
    transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active {
    color: var(--primary);
}
.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--cta);
    border-radius: 3px;
}
.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--cta);
    color: #fff !important;
    padding: 13px 24px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 1.08rem;
    letter-spacing: 0.2px;
    transition: all 0.2s;
    box-shadow: 0 8px 20px rgba(22, 163, 74, 0.45);
    animation: nav-cta-pulse 2.4s infinite;
    border: 2px solid rgba(255,255,255,0.0);
    white-space: nowrap;
}
.nav-cta i { font-size: 1.05em; }
.nav-cta:hover {
    background: var(--cta-dark);
    color: #fff !important;
    transform: translateY(-1px);
    animation: none;
}
@keyframes nav-cta-pulse {
    0%, 100% { box-shadow: 0 8px 20px rgba(22, 163, 74, 0.45), 0 0 0 0 rgba(22, 163, 74, 0.55); }
    50% { box-shadow: 0 8px 20px rgba(22, 163, 74, 0.45), 0 0 0 10px rgba(22, 163, 74, 0); }
}
.nav-cta-text { display: inline-flex; flex-direction: column; line-height: 1.05; }
.nav-cta-text small {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    opacity: 0.92;
}
.nav-cta-text strong { font-weight: 800; font-size: 1.08rem; }
@media (max-width: 900px) {
    .nav-cta { justify-content: center; font-size: 1rem; padding: 12px 20px; }
    .nav-cta-text strong { font-size: 1rem; }
}
.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
}

/* ====== BUTTONS ====== */
.btn-primary-cta, .btn-secondary-cta, .btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}
.btn-primary-cta {
    background: var(--cta);
    color: #fff !important;
    box-shadow: 0 8px 20px rgba(22, 163, 74, 0.4);
}
.btn-primary-cta:hover {
    background: var(--cta-dark);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(22, 163, 74, 0.5);
}
.btn-secondary-cta {
    background: #fff;
    color: var(--primary) !important;
    border: 2px solid var(--primary);
}
.btn-secondary-cta:hover {
    background: var(--primary);
    color: #fff !important;
}
.btn-whatsapp {
    background: var(--whatsapp);
    color: #fff !important;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
}
.btn-whatsapp:hover {
    background: var(--whatsapp-dark);
    color: #fff !important;
    transform: translateY(-2px);
}
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }

/* ====== HERO ====== */
.hero {
    position: relative;
    background:
        linear-gradient(135deg, rgba(10, 77, 104, 0.92) 0%, rgba(8, 131, 149, 0.85) 100%),
        url('../img/scenery/image4.jpg') center/cover no-repeat;
    color: #fff;
    padding: 90px 0 110px;
    overflow: hidden;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -1px; left: 0; right: 0;
    height: 60px;
    background: var(--bg);
    clip-path: polygon(0 100%, 100% 0, 100% 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 760px; }
.hero-eyebrow {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 18px;
    border: 1px solid rgba(255,255,255,0.25);
}
.hero h1 {
    color: #fff;
    font-size: clamp(2rem, 5vw, 3.4rem);
    margin-bottom: 18px;
}
.hero h1 span { color: #6ee7b7; }
.hero p.lead {
    color: rgba(255,255,255,0.92);
    font-size: clamp(1.05rem, 1.6vw, 1.2rem);
    margin-bottom: 30px;
    max-width: 620px;
}
.hero-cta-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}
.hero-trust {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    color: rgba(255,255,255,0.92);
    font-size: 14px;
    font-weight: 600;
}
.hero-trust div { display: flex; align-items: center; gap: 8px; }
.hero-trust i { color: #6ee7b7; }

/* ====== STATS BAR ====== */
.stats {
    background: #fff;
    padding: 40px 0;
    margin-top: -50px;
    position: relative;
    z-index: 3;
}
.stats .stats-grid {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: hidden;
}
.stat-card {
    padding: 28px 20px;
    text-align: center;
    border-right: 1px solid var(--border);
}
.stat-card:last-child { border-right: none; }
.stat-num {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--primary);
    margin: 0;
    line-height: 1;
}
.stat-label {
    color: var(--muted);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    margin-top: 6px;
}

/* ====== SECTIONS ====== */
.section { padding: 80px 0; }
.section-title {
    text-align: center;
    margin-bottom: 50px;
}
.section-title .eyebrow {
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}
.section-title h2 {
    margin-top: 8px;
    margin-bottom: 12px;
}
.section-title p {
    max-width: 640px;
    margin: 0 auto;
}

/* ====== SERVICES GRID ====== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}
.service-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 32px 26px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: all 0.25s;
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 18px;
}
.service-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.service-card p { font-size: 0.95rem; margin-bottom: 16px; }
.service-link {
    color: var(--cta);
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.service-link:hover { color: var(--cta-dark); gap: 10px; }

/* ====== PROCESS ====== */
.process { background: #fff; }
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 28px;
    counter-reset: stepper;
}
.process-step {
    position: relative;
    padding: 28px 22px 28px 22px;
    background: var(--bg);
    border-radius: var(--radius);
    counter-increment: stepper;
}
.process-step::before {
    content: counter(stepper, decimal-leading-zero);
    position: absolute;
    top: -18px;
    left: 22px;
    background: var(--cta);
    color: #fff;
    font-weight: 800;
    font-size: 14px;
    padding: 6px 14px;
    border-radius: 999px;
    box-shadow: 0 6px 14px rgba(22, 163, 74, 0.35);
}
.process-step h4 { margin-top: 14px; font-size: 1.1rem; }
.process-step p { margin: 0; font-size: 0.92rem; }

/* ====== ABOUT / IMG SPLIT ====== */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.split img { border-radius: var(--radius); box-shadow: var(--shadow-md); }
.split-text ul {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
}
.split-text ul li {
    padding: 10px 0 10px 36px;
    position: relative;
    color: var(--text);
    font-weight: 500;
}
.split-text ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 10px;
    width: 24px; height: 24px;
    background: rgba(22, 163, 74, 0.12);
    color: var(--cta);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
}

/* ====== TESTIMONIALS ====== */
.testimonials { background: #fff; }
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.testimonial-card {
    background: var(--bg);
    padding: 28px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    position: relative;
}
.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 8px; right: 24px;
    font-size: 80px;
    line-height: 1;
    color: var(--accent);
    opacity: 0.18;
    font-family: Georgia, serif;
}
.testimonial-stars { color: var(--gold); margin-bottom: 12px; font-size: 14px; letter-spacing: 1px; }
.testimonial-card p {
    color: var(--text);
    font-style: italic;
    margin-bottom: 18px;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.testimonial-author img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}
.testimonial-author .name {
    font-weight: 700;
    color: var(--text);
    font-size: 0.95rem;
}
.testimonial-author .loc {
    color: var(--muted);
    font-size: 0.8rem;
}

/* ====== FAQ ====== */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    overflow: hidden;
}
.faq-item summary {
    padding: 18px 22px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    font-size: 24px;
    color: var(--accent);
    font-weight: 400;
    transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-answer {
    padding: 0 22px 18px;
    color: var(--muted);
}

/* ====== CTA BAND ====== */
.cta-band {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: #fff;
    padding: 70px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(255,255,255,0.08), transparent 40%),
        radial-gradient(circle at 85% 80%, rgba(255,255,255,0.06), transparent 40%);
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; margin-bottom: 16px; }
.cta-band p { color: rgba(255,255,255,0.9); max-width: 600px; margin: 0 auto 30px; }
.cta-band .hero-cta-group { justify-content: center; margin-bottom: 0; }

/* ====== FORM ====== */
.form-card {
    background: #fff;
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    max-width: 640px;
    margin: 0 auto;
}
.form-card label {
    display: block;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
    font-size: 0.92rem;
}
.form-card .form-control {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fff;
}
.form-card .form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(8, 131, 149, 0.15);
}
.form-card textarea.form-control { min-height: 130px; resize: vertical; }
.form-card .form-group { margin-bottom: 18px; }

/* ====== CONTACT INFO BLOCKS ====== */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}
.contact-info-card {
    background: #fff;
    padding: 26px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    text-align: center;
    transition: all 0.2s;
}
.contact-info-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.contact-info-card .icon-wrap {
    width: 52px; height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 14px;
}
.contact-info-card h4 { font-size: 1rem; margin-bottom: 6px; }
.contact-info-card a, .contact-info-card p {
    color: var(--primary);
    font-weight: 600;
    margin: 0;
    word-break: break-word;
}

/* ====== FLOATING WHATSAPP ====== */
.whatsapp-float {
    position: fixed;
    width: 60px; height: 60px;
    bottom: 22px; right: 22px;
    background: var(--whatsapp);
    color: #fff !important;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.5);
    z-index: 1000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s;
    animation: wa-pulse 2.4s infinite;
}
.whatsapp-float:hover {
    background: var(--whatsapp-dark);
    transform: scale(1.08);
    color: #fff !important;
}
@keyframes wa-pulse {
    0%, 100% { box-shadow: 0 10px 24px rgba(37, 211, 102, 0.5), 0 0 0 0 rgba(37, 211, 102, 0.6); }
    50% { box-shadow: 0 10px 24px rgba(37, 211, 102, 0.5), 0 0 0 14px rgba(37, 211, 102, 0); }
}

/* ====== FOOTER ====== */
.site-footer {
    background: var(--primary-dark);
    color: #cbd5e1;
    padding: 60px 0 0;
}
.site-footer h5 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: #cbd5e1; }
.site-footer a:hover { color: #fff; }
.site-footer .brand-block .site-logo { color: #fff !important; margin-bottom: 14px; }
.site-footer .brand-block p { color: #94a3b8; font-size: 0.92rem; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 40px;
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
    color: #94a3b8;
}

/* ====== UTILITIES ====== */
.container { max-width: 1180px; margin: 0 auto; padding: 0 22px; }
.text-center { text-align: center; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }

/* ====== RESPONSIVE ====== */
@media (max-width: 900px) {
    .nav-toggle { display: block; }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-md);
        gap: 16px;
        align-items: stretch;
    }
    .nav-links.open { display: flex; }
    .nav-links a { padding: 8px 0; }
    .nav-cta { justify-content: center; }
    .stats .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-card:nth-child(2) { border-right: none; }
    .stat-card:nth-child(1), .stat-card:nth-child(2) { border-bottom: 1px solid var(--border); }
    .split { grid-template-columns: 1fr; gap: 30px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .top-bar-info { font-size: 12px; }
    .section { padding: 60px 0; }
    .hero { padding: 60px 0 90px; }
}
@media (max-width: 540px) {
    .stats .stats-grid { grid-template-columns: 1fr; }
    .stat-card { border-right: none; border-bottom: 1px solid var(--border); }
    .stat-card:last-child { border-bottom: none; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .form-card { padding: 24px; }
    .top-bar { font-size: 12px; }
    .top-bar-info { gap: 12px; }
    .hero-cta-group .btn-primary-cta, .hero-cta-group .btn-whatsapp { width: 100%; }
}
