/* ==================== VARIABLES ==================== */
:root {
    --primary: #7A1B3E;
    --primary-dark: #5C1230;
    --primary-light: #9E2D55;
    --primary-ghost: rgba(122,27,62,0.08);
    --secondary: #F4A623;
    --secondary-dark: #D48E1A;
    --accent: #2C2C54;
    --dark: #1A1A2E;
    --text: #333340;
    --text-light: #6B6B80;
    --bg: #FAFAFA;
    --bg-alt: #F0EDE8;
    --white: #FFFFFF;
    --border: #E0DDD8;
    --success: #27AE60;
    --danger: #E74C3C;
    --warning: #F39C12;
    --shadow: 0 4px 24px rgba(26,26,46,0.08);
    --shadow-lg: 0 12px 48px rgba(26,26,46,0.12);
    --radius: 10px;
    --radius-lg: 16px;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition: 0.3s cubic-bezier(0.25,0.46,0.45,0.94);
}

/* ==================== RESET ==================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-body); color: var(--text); background: var(--bg);
    line-height: 1.7; font-size: 16px; overflow-x: hidden;
    -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); color: var(--dark); line-height: 1.3; font-weight: 700; word-wrap: break-word; }
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

/* ==================== LAYOUT ==================== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }

/* iOS Safe Area Support */
@supports(padding: env(safe-area-inset-bottom)) {
    .whatsapp-float, .phone-float { bottom: calc(20px + env(safe-area-inset-bottom)); }
    .cookie-banner { padding-bottom: calc(12px + env(safe-area-inset-bottom)); }
    .site-footer .footer-bottom { padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
}

/* iOS Input Zoom Prevention */
@media screen and (max-width: 768px) {
    input[type="text"], input[type="email"], input[type="tel"],
    input[type="password"], input[type="number"], input[type="url"],
    input[type="search"], textarea, select {
        font-size: 16px !important;
    }
}

.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { margin-bottom: 12px; position: relative; display: inline-block; }
.section-header h2::after {
    content: ''; display: block; width: 60px; height: 3px;
    background: var(--secondary); margin: 12px auto 0;  border-radius: 2px;
}
.section-header p { color: var(--text-light); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }
.section-header .icon-badge {
    display: inline-flex; align-items: center; justify-content: center;
    width: 56px; height: 56px; border-radius: 50%;
    background: var(--primary-ghost); color: var(--primary); font-size: 1.4rem;
    margin-bottom: 12px;
}

/* ==================== TOP BAR ==================== */
.top-bar {
    background: var(--dark); color: rgba(255,255,255,0.85); font-size: 0.85rem;
    padding: 8px 0; border-bottom: 2px solid var(--primary);
}
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; }
.top-bar-left { display: flex; gap: 24px; }
.top-bar-left span { display: flex; align-items: center; gap: 6px; }
.top-bar-left i { color: var(--secondary); }
.top-bar-right { display: flex; gap: 12px; }
.top-bar-right a { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.top-bar-right a:hover { color: var(--secondary); }

/* ==================== HEADER ==================== */
.main-header {
    background: var(--white); box-shadow: var(--shadow);
    position: sticky; top: 0; z-index: 1000; transition: var(--transition);
}
.main-header.sticky { box-shadow: var(--shadow-lg); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; }

.logo { display: flex; align-items: center; }
.logo img { height: 50px; }
.logo-text { display: flex; align-items: center; gap: 10px; }
.logo-text > i { font-size: 2rem; color: var(--primary); }
.logo-name { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 800; color: var(--dark); display: block; line-height: 1.1; }
.logo-slogan { font-size: 0.72rem; color: var(--text-light); display: block; letter-spacing: 0.5px; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav > a, .nav-dropdown > a {
    padding: 10px 16px; color: var(--text); font-weight: 600; font-size: 0.92rem;
    border-radius: var(--radius); position: relative;
}
.main-nav > a:hover, .main-nav > a.active,
.nav-dropdown > a:hover, .nav-dropdown > a.active {
    color: var(--primary); background: var(--primary-ghost);
}

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a i { font-size: 0.65rem; margin-left: 4px; transition: var(--transition); }
.nav-dropdown.open > a i { transform: rotate(180deg); }
.dropdown-menu {
    position: absolute; top: 100%; left: 0; min-width: 260px;
    background: var(--white); box-shadow: var(--shadow-lg); border-radius: var(--radius);
    padding: 8px; opacity: 0; visibility: hidden;
    transform: translateY(10px); transition: var(--transition);
    border-top: 3px solid var(--primary);
}
.nav-dropdown.open .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a {
    display: flex; align-items: center; gap: 10px; padding: 10px 14px;
    color: var(--text); border-radius: 6px; font-size: 0.9rem; font-weight: 500;
}
.dropdown-menu a:hover { background: var(--primary-ghost); color: var(--primary); }
.dropdown-menu a i { width: 20px; text-align: center; color: var(--primary); font-size: 0.85rem; }

.header-actions { display: flex; align-items: center; gap: 12px; }

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px;
    border: none; border-radius: var(--radius); font-family: var(--font-body);
    font-size: 0.95rem; font-weight: 700; cursor: pointer; transition: var(--transition);
    text-align: center; justify-content: center; line-height: 1.4;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(122,27,62,0.3); }
.btn-secondary { background: var(--secondary); color: var(--dark); }
.btn-secondary:hover { background: var(--secondary-dark); transform: translateY(-2px); }
.btn-outline { background: transparent; border: 2px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { background: var(--bg-alt); transform: translateY(-2px); }
.btn-header { background: var(--primary); color: #fff; padding: 10px 20px; font-size: 0.85rem; border-radius: 50px; }
.btn-header:hover { background: var(--primary-dark); color: #fff; }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }

/* ==================== HERO / SLIDER ==================== */
.hero-section {
    position: relative; overflow: hidden;
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary-dark) 50%, var(--primary) 100%);
    min-height: 540px; display: flex; align-items: center;
}
.hero-section::before {
    content: ''; position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 80'%3E%3Cpath d='M40 10 L45 35 L55 35 L42 50 L48 75 L35 55 L22 75 L28 50 L15 35 L25 35 Z' fill='rgba(255,255,255,0.02)'/%3E%3C/svg%3E") repeat;
    opacity: 0.6;
}
.hero-section::after {
    content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 80px;
    background: linear-gradient(to top, var(--bg), transparent);
}
.hero-content { position: relative; z-index: 2; max-width: 650px; }
.hero-content h1 { color: #fff; font-size: 3rem; margin-bottom: 16px; line-height: 1.2; }
.hero-content h1 span { color: var(--secondary); }
.hero-content p { color: rgba(255,255,255,0.85); font-size: 1.15rem; margin-bottom: 30px; }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2); padding: 8px 16px; border-radius: 50px;
    color: rgba(255,255,255,0.9); font-size: 0.85rem; margin-bottom: 20px; backdrop-filter: blur(4px);
}
.hero-badge i { color: var(--secondary); }

.hero-features {
    display: flex; gap: 30px; margin-top: 40px; padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-feature { text-align: center; color: #fff; }
.hero-feature .num { font-family: var(--font-heading); font-size: 2rem; font-weight: 800; color: var(--secondary); display: block; }
.hero-feature .label { font-size: 0.82rem; opacity: 0.8; }

/* Slider Navigation */
.slider-container { position: relative; }
.slider-dots { display: flex; gap: 8px; margin-top: 30px; }
.slider-dot {
    width: 12px; height: 12px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.4);
    background: transparent; cursor: pointer; transition: var(--transition);
}
.slider-dot.active { background: var(--secondary); border-color: var(--secondary); width: 30px; border-radius: 6px; }

/* ==================== SERVICES ==================== */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
    background: var(--white); border-radius: var(--radius-lg); padding: 36px 28px;
    box-shadow: var(--shadow); transition: var(--transition); border: 1px solid transparent;
    position: relative; overflow: hidden;
}
.service-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0); transition: var(--transition); transform-origin: left;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--primary-ghost); }
.service-card:hover::before { transform: scaleX(1); }
.service-card .icon {
    width: 64px; height: 64px; border-radius: var(--radius);
    background: var(--primary-ghost); color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; margin-bottom: 20px; transition: var(--transition);
}
.service-card:hover .icon { background: var(--primary); color: #fff; }
.service-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.service-card p { color: var(--text-light); font-size: 0.92rem; margin-bottom: 16px; }
.service-card .card-link {
    font-weight: 700; font-size: 0.9rem; color: var(--primary);
    display: inline-flex; align-items: center; gap: 6px;
}
.service-card .card-link i { transition: var(--transition); }
.service-card:hover .card-link i { transform: translateX(4px); }

/* ==================== ABOUT SECTION ==================== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-image { position: relative; }
.about-image .main-img {
    border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
    aspect-ratio: 4/3; background: var(--primary-ghost);
    display: flex; align-items: center; justify-content: center;
}
.about-image .main-img i { font-size: 5rem; color: var(--primary); opacity: 0.3; }
.about-image .exp-badge {
    position: absolute; bottom: -20px; right: -20px; background: var(--primary);
    color: #fff; padding: 20px 24px; border-radius: var(--radius-lg);
    text-align: center; box-shadow: var(--shadow-lg);
}
.about-image .exp-badge .num { font-family: var(--font-heading); font-size: 2.5rem; font-weight: 800; display: block; }
.about-image .exp-badge .txt { font-size: 0.82rem; opacity: 0.85; }
.about-content h2 { margin-bottom: 16px; }
.about-content > p { color: var(--text-light); margin-bottom: 24px; line-height: 1.8; }

.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px; }
.about-feat {
    display: flex; align-items: center; gap: 12px; padding: 12px 16px;
    background: var(--primary-ghost); border-radius: var(--radius);
}
.about-feat i { color: var(--primary); font-size: 1.1rem; }
.about-feat span { font-weight: 600; font-size: 0.9rem; }

/* ==================== BLOG ==================== */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card {
    background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow); transition: var(--transition);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-card .card-image {
    height: 200px; background: linear-gradient(135deg, var(--primary-ghost), var(--bg-alt));
    display: flex; align-items: center; justify-content: center; overflow: hidden;
    position: relative;
}
.blog-card .card-image img { width: 100%; height: 100%; object-fit: cover; }
.blog-card .card-image i { font-size: 3rem; color: var(--primary); opacity: 0.2; }
.blog-card .card-image .cat-badge {
    position: absolute; top: 14px; left: 14px; background: var(--primary);
    color: #fff; padding: 4px 12px; border-radius: 50px; font-size: 0.75rem; font-weight: 700;
}
.blog-card .card-body { padding: 24px; }
.blog-card .card-meta { font-size: 0.82rem; color: var(--text-light); margin-bottom: 8px; display: flex; gap: 14px; }
.blog-card .card-meta i { color: var(--primary); margin-right: 4px; }
.blog-card h3 { font-size: 1.15rem; margin-bottom: 10px; line-height: 1.4; }
.blog-card h3 a { color: var(--dark); }
.blog-card h3 a:hover { color: var(--primary); }
.blog-card .card-excerpt { color: var(--text-light); font-size: 0.9rem; margin-bottom: 14px; line-height: 1.6; }

/* ==================== TESTIMONIALS ==================== */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
    background: var(--white); padding: 32px; border-radius: var(--radius-lg);
    box-shadow: var(--shadow); position: relative;
}
.testimonial-card::before {
    content: '\201C'; font-family: Georgia, serif; font-size: 4rem;
    color: var(--primary); opacity: 0.15; position: absolute; top: 10px; left: 20px;
}
.testimonial-card .stars { color: var(--secondary); margin-bottom: 14px; }
.testimonial-card p { color: var(--text-light); font-style: italic; margin-bottom: 16px; font-size: 0.95rem; line-height: 1.7; }
.testimonial-card .author { font-weight: 700; color: var(--dark); }

/* ==================== FAQ ==================== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
    background: var(--white); border-radius: var(--radius); margin-bottom: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04); border: 1px solid var(--border);
    overflow: hidden;
}
.faq-question {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 18px 24px; cursor: pointer; font-weight: 600; color: var(--dark);
    transition: var(--transition); width: 100%; border: none; background: none;
    font-family: var(--font-body); font-size: 0.95rem; text-align: left;
}
.faq-question:hover { color: var(--primary); }
.faq-question i { font-size: 0.8rem; color: var(--primary); transition: var(--transition); flex-shrink: 0; }
.faq-item.open .faq-question { color: var(--primary); background: var(--primary-ghost); }
.faq-item.open .faq-question i { transform: rotate(180deg); }
.faq-answer { padding: 0 24px; max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-answer-inner { padding: 16px 0; color: var(--text-light); line-height: 1.7; font-size: 0.92rem; }
.faq-item.open .faq-answer { max-height: 500px; }

/* ==================== CTA SECTION ==================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 70px 0; text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
    content: ''; position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Ccircle cx='30' cy='30' r='1.5' fill='rgba(255,255,255,0.05)'/%3E%3C/svg%3E") repeat;
}
.cta-section * { position: relative; z-index: 1; }
.cta-section h2 { color: #fff; margin-bottom: 14px; font-size: 2.2rem; }
.cta-section p { color: rgba(255,255,255,0.8); font-size: 1.1rem; margin-bottom: 30px; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ==================== CONTACT ==================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px; }
.contact-info-card {
    background: var(--white); padding: 24px; border-radius: var(--radius);
    box-shadow: 0 2px 10px rgba(0,0,0,0.04); text-align: center; border: 1px solid var(--border);
}
.contact-info-card i { font-size: 1.5rem; color: var(--primary); margin-bottom: 8px; }
.contact-info-card h4 { font-size: 0.9rem; margin-bottom: 4px; }
.contact-info-card p, .contact-info-card a { color: var(--text-light); font-size: 0.88rem; }

.contact-form { background: var(--white); padding: 36px; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.9rem; color: var(--dark); }
.form-control {
    width: 100%; padding: 12px 16px; border: 2px solid var(--border);
    border-radius: var(--radius); font-family: var(--font-body); font-size: 0.95rem;
    transition: var(--transition); background: var(--bg);
}
.form-control:focus { outline: none; border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px var(--primary-ghost); }
textarea.form-control { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Map */
.contact-map { border-radius: var(--radius-lg); overflow: hidden; height: 300px; margin-top: 24px; box-shadow: var(--shadow); }
.contact-map iframe { width: 100%; height: 100%; border: 0; }

/* ==================== PAGE HEADER (BREADCRUMB) ==================== */
.page-header {
    background: linear-gradient(135deg, var(--dark), var(--primary-dark));
    padding: 50px 0 45px; position: relative; overflow: hidden;
}
.page-header::before {
    content: ''; position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 80'%3E%3Cpath d='M40 10 L45 35 L55 35 L42 50 L48 75 L35 55 L22 75 L28 50 L15 35 L25 35 Z' fill='rgba(255,255,255,0.015)'/%3E%3C/svg%3E") repeat;
}
.page-header * { position: relative; z-index: 1; }
.page-header h1 { color: #fff; font-size: 2.2rem; margin-bottom: 10px; }
.breadcrumb { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.breadcrumb a, .breadcrumb span { color: rgba(255,255,255,0.65); font-size: 0.88rem; }
.breadcrumb a:hover { color: var(--secondary); }
.breadcrumb .sep { color: rgba(255,255,255,0.3); }
.breadcrumb .current { color: var(--secondary); }

/* ==================== BLOG DETAIL ==================== */
.blog-detail { max-width: 850px; margin: 0 auto; }
.blog-detail-header { margin-bottom: 30px; }
.blog-detail-meta { display: flex; gap: 20px; color: var(--text-light); font-size: 0.88rem; margin-bottom: 20px; flex-wrap: wrap; }
.blog-detail-meta i { color: var(--primary); margin-right: 4px; }
.blog-detail-image { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 30px; }
.blog-detail-content { line-height: 1.9; font-size: 1.05rem; }
.blog-detail-content h2, .blog-detail-content h3 { margin-top: 28px; margin-bottom: 14px; }
.blog-detail-content p { margin-bottom: 16px; }
.blog-detail-content ul, .blog-detail-content ol { margin: 16px 0; padding-left: 28px; }
.blog-detail-content li { margin-bottom: 8px; }

.blog-sidebar { }
.sidebar-widget { background: var(--white); padding: 24px; border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 24px; }
.sidebar-widget h3 { font-size: 1.1rem; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--primary-ghost); }
.sidebar-widget ul li { padding: 8px 0; border-bottom: 1px solid var(--border); }
.sidebar-widget ul li:last-child { border: none; }
.sidebar-widget ul li a { color: var(--text); font-size: 0.9rem; display: flex; align-items: center; gap: 8px; }
.sidebar-widget ul li a:hover { color: var(--primary); }
.sidebar-widget ul li a i { color: var(--primary); font-size: 0.75rem; }

/* ==================== PAGINATION ==================== */
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 40px; }
.pagination a, .pagination span {
    padding: 10px 16px; border-radius: var(--radius); font-weight: 600;
    font-size: 0.9rem; border: 2px solid var(--border); color: var(--text);
}
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination .active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ==================== FOOTER ==================== */
.site-footer { background: var(--dark); color: rgba(255,255,255,0.75); }
.footer-top { padding: 60px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo i { font-size: 1.8rem; color: var(--secondary); }
.footer-logo span { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 800; color: #fff; }
.footer-about { font-size: 0.88rem; line-height: 1.7; margin-bottom: 16px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
    width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center;
    justify-content: center; background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.6);
    transition: var(--transition);
}
.footer-social a:hover { background: var(--primary); color: #fff; }

.footer-col h3 { color: #fff; font-size: 1.1rem; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.footer-col h3::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 30px; height: 2px;
    background: var(--secondary); border-radius: 2px;
}
.footer-col h3 i { color: var(--secondary); margin-right: 6px; font-size: 0.9rem; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: rgba(255,255,255,0.6); font-size: 0.88rem; display: flex; align-items: center; gap: 6px; }
.footer-col ul li a::before { content: '›'; color: var(--secondary); font-weight: bold; }
.footer-col ul li a:hover { color: var(--secondary); padding-left: 4px; }
.footer-contact p { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; font-size: 0.88rem; }
.footer-contact i { color: var(--secondary); margin-top: 3px; width: 16px; flex-shrink: 0; }
.footer-contact a { color: rgba(255,255,255,0.6); }
.footer-contact a:hover { color: var(--secondary); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; font-size: 0.82rem; }
.footer-credit i { color: var(--secondary); }

/* ==================== WHATSAPP & PHONE FLOAT ==================== */
.whatsapp-float {
    position: fixed; bottom: 24px; right: 24px; z-index: 999;
    background: #25D366; color: #fff; display: flex; align-items: center; gap: 10px;
    padding: 14px 22px; border-radius: 50px; font-weight: 700; font-size: 0.95rem;
    box-shadow: 0 6px 24px rgba(37,211,102,0.4); transition: var(--transition);
    animation: pulse-wp 2s infinite;
}
.whatsapp-float:hover { transform: scale(1.05); color: #fff; box-shadow: 0 8px 32px rgba(37,211,102,0.5); }
.whatsapp-float i { font-size: 1.4rem; }

.phone-float {
    position: fixed; bottom: 24px; left: 24px; z-index: 999;
    background: var(--primary); color: #fff; width: 56px; height: 56px;
    border-radius: 50%; display: none; align-items: center; justify-content: center;
    font-size: 1.2rem; box-shadow: 0 6px 24px rgba(122,27,62,0.4);
    animation: pulse-phone 2s infinite;
}
.phone-float:hover { color: #fff; }

@keyframes pulse-wp {
    0%, 100% { box-shadow: 0 6px 24px rgba(37,211,102,0.4); }
    50% { box-shadow: 0 6px 32px rgba(37,211,102,0.6), 0 0 0 8px rgba(37,211,102,0.1); }
}
@keyframes pulse-phone {
    0%, 100% { box-shadow: 0 6px 24px rgba(122,27,62,0.4); }
    50% { box-shadow: 0 6px 32px rgba(122,27,62,0.6), 0 0 0 8px rgba(122,27,62,0.1); }
}

/* Scroll Top */
.scroll-top {
    position: fixed; bottom: 90px; right: 28px; z-index: 998;
    width: 44px; height: 44px; border-radius: 50%; border: none;
    background: var(--dark); color: #fff; font-size: 0.9rem;
    cursor: pointer; opacity: 0; visibility: hidden; transition: var(--transition);
    box-shadow: var(--shadow);
}
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { background: var(--primary); transform: translateY(-3px); }

/* Cookie Banner */
.cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
    background: var(--dark); color: rgba(255,255,255,0.85); padding: 16px 0;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}
.cookie-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cookie-inner p { font-size: 0.85rem; flex: 1; }
.cookie-inner p i { color: var(--secondary); margin-right: 6px; }
.cookie-inner p a { color: var(--secondary); }
.cookie-buttons { display: flex; gap: 8px; }

/* ==================== ALERT ==================== */
.alert {
    padding: 14px 20px; border-radius: var(--radius); margin-bottom: 20px;
    font-size: 0.92rem; font-weight: 500;
}
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-danger { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.alert-warning { background: #fff3cd; color: #856404; border: 1px solid #ffc107; }
.alert-info { background: #d1ecf1; color: #0c5460; border: 1px solid #bee5eb; }

/* ==================== PAGE CONTENT ==================== */
.page-content { padding: 60px 0; }
.page-content .content-area { max-width: 850px; margin: 0 auto; }
.page-content .content-area h2, .page-content .content-area h3 { margin-top: 24px; margin-bottom: 12px; }
.page-content .content-area p { margin-bottom: 14px; line-height: 1.8; color: var(--text); }
.page-content .content-area ul { margin: 14px 0; padding-left: 24px; }
.page-content .content-area ul li { margin-bottom: 8px; list-style: disc; color: var(--text-light); }

/* Service detail sidebar layout */
.service-detail-grid { display: grid; grid-template-columns: 1fr 300px; gap: 40px; }
.blog-detail-grid { display: grid; grid-template-columns: 1fr 320px; gap: 40px; }

/* ==================== MOBILE TOGGLE ==================== */
.mobile-toggle {
    display: none; flex-direction: column; gap: 5px; background: none;
    border: none; cursor: pointer; padding: 10px 6px; z-index: 1002;
    -webkit-tap-highlight-color: transparent;
}
.mobile-toggle span {
    width: 26px; height: 2.5px; background: var(--dark); border-radius: 2px;
    transition: var(--transition); display: block;
}
.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Nav Overlay */
.nav-overlay {
    display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5);
    z-index: 1000; opacity: 0; transition: opacity 0.3s ease;
    -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
}
.nav-overlay.active { display: block; opacity: 1; }

/* ==================== ANIMATIONS ==================== */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.animate-in { animation: fadeInUp 0.6s ease forwards; }

/* Number Counter Stats */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 40px; }
.stat-item {
    text-align: center; padding: 28px; background: var(--white);
    border-radius: var(--radius); box-shadow: var(--shadow);
}
.stat-item i { font-size: 1.6rem; color: var(--primary); margin-bottom: 10px; display: block; }
.stat-item .stat-num { font-family: var(--font-heading); font-size: 2.2rem; font-weight: 800; color: var(--dark); display: block; }
.stat-item .stat-label { font-size: 0.85rem; color: var(--text-light); }

/* ==================== TOUCH & ACCESSIBILITY ==================== */
@media (hover: none) and (pointer: coarse) {
    a, button, .btn, .faq-question, .service-card, .blog-card { -webkit-tap-highlight-color: rgba(122,27,62,0.1); }
    .service-card:hover, .blog-card:hover, .testimonial-card:hover { transform: none; }
    .service-card:active { transform: scale(0.98); }
}

/* ==================== RESPONSIVE: 1024px (Tablet Landscape) ==================== */
@media (max-width: 1024px) {
    .services-grid, .blog-grid, .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .about-grid { gap: 40px; }
    .service-detail-grid, .blog-detail-grid { grid-template-columns: 1fr; }
    .contact-info-cards-4 { grid-template-columns: repeat(2, 1fr) !important; }
    .hero-features { gap: 20px; }
    .stats-row { gap: 16px; }
}

/* ==================== RESPONSIVE: 768px (Tablet Portrait / Large Phone) ==================== */
@media (max-width: 768px) {
    /* Base Typography */
    html { font-size: 15px; }
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.45rem; }
    h3 { font-size: 1.2rem; }
    .container { padding: 0 16px; }
    .section { padding: 45px 0; }
    .section-header { margin-bottom: 30px; }
    .section-header p { font-size: 0.95rem; }
    .section-header .icon-badge { width: 48px; height: 48px; font-size: 1.2rem; }

    /* Top Bar */
    .top-bar { padding: 6px 0; font-size: 0.78rem; }
    .top-bar-inner { flex-wrap: wrap; gap: 6px; }
    .top-bar-left { gap: 10px; flex-wrap: wrap; }
    .top-bar-left span:nth-child(2) { display: none; }
    .top-bar-right { gap: 10px; }
    .hide-mobile { display: none !important; }

    /* Header */
    .main-header { position: sticky; top: 0; }
    .header-inner { padding: 10px 0; }
    .logo-name { font-size: 1.2rem; }
    .logo-slogan { font-size: 0.65rem; }
    .logo-text > i { font-size: 1.6rem; }
    .btn-header span { display: none; }
    .btn-header { padding: 10px 12px; border-radius: 50%; min-width: 42px; min-height: 42px; justify-content: center; }
    .header-actions { gap: 8px; }

    /* Mobile Navigation Drawer */
    .mobile-toggle { display: flex !important; }
    .mobile-nav-footer { display: flex !important; flex-direction: column; }
    .main-nav {
        position: fixed; top: 0; right: -100%; width: 85%; max-width: 320px; height: 100vh;
        height: 100dvh; /* dynamic viewport height for mobile browsers */
        background: var(--white); flex-direction: column; align-items: stretch;
        padding: 0; gap: 0; box-shadow: -4px 0 30px rgba(0,0,0,0.15);
        transition: right 0.35s cubic-bezier(0.4,0,0.2,1); z-index: 1001; overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    .main-nav.active { right: 0; }

    /* Mobile Nav Header */
    .main-nav::before {
        content: 'Menü'; display: block; padding: 20px 20px 16px;
        font-family: var(--font-heading); font-size: 1.3rem; font-weight: 800;
        color: var(--dark); border-bottom: 2px solid var(--primary-ghost);
        position: sticky; top: 0; background: var(--white); z-index: 1;
    }
    .main-nav > a, .nav-dropdown > a {
        padding: 15px 20px; border-bottom: 1px solid var(--border);
        font-size: 0.95rem; min-height: 50px; display: flex; align-items: center;
    }
    .main-nav > a.active, .nav-dropdown > a.active {
        background: var(--primary-ghost); border-left: 3px solid var(--primary);
    }

    /* Mobile Dropdown */
    .dropdown-menu {
        position: static; box-shadow: none; opacity: 1; visibility: visible;
        transform: none; border: none; border-top: 0; border-radius: 0;
        padding: 0; max-height: 0; overflow: hidden; transition: max-height 0.35s ease;
        background: var(--bg);
    }
    .nav-dropdown.open .dropdown-menu { max-height: 600px; }
    .dropdown-menu a {
        padding: 12px 20px 12px 36px; font-size: 0.88rem;
        border-bottom: 1px solid var(--border); min-height: 46px;
    }
    .dropdown-menu a i { font-size: 0.8rem; }

    /* Hero */
    .hero-section { min-height: 420px; padding: 30px 0; }
    .hero-content h1 { font-size: 1.75rem; line-height: 1.25; }
    .hero-content p { font-size: 0.95rem; margin-bottom: 20px; }
    .hero-badge { font-size: 0.78rem; padding: 6px 12px; margin-bottom: 14px; }
    .hero-buttons { flex-direction: column; gap: 10px; }
    .hero-buttons .btn { width: 100%; justify-content: center; padding: 14px 20px; }
    .hero-features {
        flex-direction: row; flex-wrap: wrap; gap: 0; margin-top: 24px;
        padding-top: 20px; justify-content: center;
    }
    .hero-feature { flex: 0 0 50%; padding: 10px 0; }
    .hero-feature .num { font-size: 1.5rem; }
    .hero-feature .label { font-size: 0.75rem; }

    /* Services Grid */
    .services-grid { grid-template-columns: 1fr; gap: 16px; }
    .service-card { padding: 24px 20px; }
    .service-card .icon { width: 52px; height: 52px; font-size: 1.2rem; margin-bottom: 14px; }
    .service-card h3 { font-size: 1.1rem; }

    /* About */
    .about-grid { grid-template-columns: 1fr; gap: 30px; }
    .about-image .exp-badge { bottom: -14px; right: auto; left: 16px; padding: 14px 18px; }
    .about-image .exp-badge .num { font-size: 2rem; }
    .about-image .main-img { aspect-ratio: 16/10; }
    .about-features { grid-template-columns: 1fr; gap: 10px; }
    .about-feat { padding: 10px 14px; }

    /* Stats */
    .stats-row { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 30px; }
    .stat-item { padding: 20px 12px; }
    .stat-item i { font-size: 1.3rem; margin-bottom: 6px; }
    .stat-item .stat-num { font-size: 1.7rem; }
    .stat-item .stat-label { font-size: 0.78rem; }

    /* Blog Grid */
    .blog-grid { grid-template-columns: 1fr; gap: 18px; }
    .blog-card .card-image { height: 180px; }
    .blog-card .card-body { padding: 18px; }
    .blog-card h3 { font-size: 1.05rem; }

    /* Testimonials */
    .testimonials-grid { grid-template-columns: 1fr; gap: 16px; }
    .testimonial-card { padding: 24px 20px; }

    /* FAQ */
    .faq-question { padding: 16px 18px; font-size: 0.9rem; }
    .faq-answer-inner { padding: 12px 0; font-size: 0.88rem; }

    /* CTA */
    .cta-section { padding: 45px 0; }
    .cta-section h2 { font-size: 1.5rem; }
    .cta-section p { font-size: 0.95rem; }
    .cta-buttons { flex-direction: column; gap: 10px; align-items: stretch; }
    .cta-buttons .btn { width: 100%; justify-content: center; }

    /* Contact */
    .contact-grid { grid-template-columns: 1fr; gap: 24px; }
    .contact-info-cards, .contact-info-cards-4 { grid-template-columns: 1fr 1fr !important; gap: 10px !important; margin-bottom: 24px !important; }
    .contact-info-card { padding: 16px 12px; }
    .contact-info-card i { font-size: 1.2rem; }
    .contact-info-card h4 { font-size: 0.82rem; }
    .contact-info-card p, .contact-info-card a { font-size: 0.8rem; }
    .contact-form { padding: 24px 18px; }
    .contact-map { height: 240px; margin-top: 16px; }
    .form-row { grid-template-columns: 1fr; gap: 0; }

    /* Page Header / Breadcrumb */
    .page-header { padding: 30px 0 26px; }
    .page-header h1 { font-size: 1.6rem; }
    .breadcrumb { gap: 5px; }
    .breadcrumb a, .breadcrumb span { font-size: 0.78rem; }

    /* Blog Detail */
    .blog-detail-grid { grid-template-columns: 1fr; gap: 30px; }
    .blog-detail-content { font-size: 0.95rem; line-height: 1.8; }
    .blog-detail-meta { gap: 10px; font-size: 0.82rem; }

    /* Service Detail */
    .service-detail-grid { grid-template-columns: 1fr; gap: 24px; }

    /* Page Content */
    .page-content { padding: 40px 0; }
    .page-content .content-area { font-size: 0.95rem; }

    /* Pagination */
    .pagination { gap: 4px; }
    .pagination a, .pagination span { padding: 8px 12px; font-size: 0.82rem; }

    /* Footer */
    .footer-top { padding: 40px 0 30px; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-col h3 { font-size: 1rem; margin-bottom: 14px; }
    .footer-about { font-size: 0.85rem; }
    .footer-bottom { padding: 16px 0; }
    .footer-bottom-inner { flex-direction: column; text-align: center; gap: 6px; font-size: 0.78rem; }

    /* Floating Buttons */
    .whatsapp-float span { display: none; }
    .whatsapp-float {
        padding: 0; border-radius: 50%; width: 54px; height: 54px;
        justify-content: center; bottom: 20px; right: 16px;
    }
    .whatsapp-float i { font-size: 1.5rem; }
    .phone-float {
        display: flex; bottom: 20px; left: 16px;
        width: 54px; height: 54px;
    }
    .scroll-top { bottom: 82px; right: 18px; width: 40px; height: 40px; font-size: 0.82rem; }

    /* Cookie Banner */
    .cookie-banner { padding: 12px 0; }
    .cookie-inner { flex-direction: column; gap: 12px; text-align: center; }
    .cookie-inner p { font-size: 0.78rem; flex: none; }
    .cookie-buttons { justify-content: center; width: 100%; }
    .cookie-buttons .btn { flex: 1; }

    /* Buttons Global */
    .btn { padding: 11px 22px; font-size: 0.9rem; }
    .btn-lg { padding: 14px 24px; font-size: 0.95rem; }
    .btn-sm { padding: 8px 14px; font-size: 0.8rem; }

    /* Blog Filter Tags */
    .blog-filter-tags { gap: 6px !important; }
    .blog-filter-tags .btn { padding: 6px 12px !important; font-size: 0.78rem !important; }
}

/* ==================== RESPONSIVE: 480px (Small Phones) ==================== */
@media (max-width: 480px) {
    html { font-size: 14px; }
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.3rem; }
    .container { padding: 0 12px; }
    .section { padding: 36px 0; }
    .section-header { margin-bottom: 24px; }
    .section-header .icon-badge { width: 42px; height: 42px; font-size: 1rem; }

    /* Top bar simplify */
    .top-bar-inner { justify-content: center; }
    .top-bar-left span:nth-child(2) { display: none; }
    .top-bar-right { display: none; }

    /* Header compact */
    .logo-text > i { font-size: 1.4rem; }
    .logo-name { font-size: 1.05rem; }
    .logo-slogan { display: none; }

    /* Hero */
    .hero-section { min-height: 360px; padding: 24px 0; }
    .hero-content h1 { font-size: 1.5rem; }
    .hero-content p { font-size: 0.88rem; }
    .hero-badge { font-size: 0.72rem; }
    .hero-feature { flex: 0 0 50%; }
    .hero-feature .num { font-size: 1.3rem; }

    /* Services */
    .service-card { padding: 20px 16px; }
    .service-card .icon { width: 46px; height: 46px; font-size: 1.1rem; margin-bottom: 12px; }

    /* About badge */
    .about-image .exp-badge { padding: 10px 14px; }
    .about-image .exp-badge .num { font-size: 1.6rem; }
    .about-image .exp-badge .txt { font-size: 0.72rem; }

    /* Stats 2x2 tighter */
    .stats-row { gap: 8px; }
    .stat-item { padding: 16px 8px; }
    .stat-item .stat-num { font-size: 1.4rem; }
    .stat-item .stat-label { font-size: 0.72rem; }
    .stat-item i { font-size: 1.1rem; }

    /* Contact cards single column */
    .contact-info-cards, .contact-info-cards-4 { grid-template-columns: 1fr !important; }

    /* CTA */
    .cta-section h2 { font-size: 1.3rem; }

    /* Blog card */
    .blog-card .card-image { height: 160px; }

    /* Page header */
    .page-header { padding: 24px 0 20px; }
    .page-header h1 { font-size: 1.35rem; }

    /* Footer */
    .footer-logo i { font-size: 1.4rem; }
    .footer-logo span { font-size: 1.1rem; }

    /* Cookie */
    .cookie-inner p { font-size: 0.72rem; }

    /* Testimonial */
    .testimonial-card { padding: 20px 16px; }
    .testimonial-card p { font-size: 0.88rem; }

    /* FAQ */
    .faq-question { padding: 14px 14px; font-size: 0.85rem; }
}

/* ==================== RESPONSIVE: 360px (Extra Small) ==================== */
@media (max-width: 360px) {
    .container { padding: 0 10px; }
    h1 { font-size: 1.35rem; }
    .hero-content h1 { font-size: 1.35rem; }
    .hero-buttons .btn { padding: 12px 16px; font-size: 0.85rem; }
    .stats-row { grid-template-columns: 1fr 1fr; }
    .stat-item .stat-num { font-size: 1.2rem; }
    .btn-header { min-width: 38px; min-height: 38px; padding: 8px 10px; }
    .logo-name { font-size: 0.95rem; }
}

/* ==================== LANDSCAPE PHONE FIX ==================== */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section { min-height: auto; padding: 20px 0; }
    .hero-features { display: none; }
    .main-nav { height: 100dvh; }
}

/* ==================== PRINT ==================== */
@media print {
    .top-bar, .main-header, .whatsapp-float, .phone-float, .scroll-top,
    .cookie-banner, .cta-section, .site-footer { display: none !important; }
    .section { padding: 20px 0; }
    body { font-size: 12pt; color: #000; }
}
