* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #4caf50;
    --primary-dark: #388e3c;
    --primary-light: #a5d6a7;
    --accent: #ffeb3b;
    --accent-dark: #f9a825;
    --white: #ffffff;
    --gray: #f5f5f5;
    --dark: #333333;
    --text: #555555;
    --shadow: 0 5px 20px rgba(76, 175, 80, 0.2);
    --radius: 20px;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

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

/* Blob shape decoration */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

header.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--white);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.logo-text {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-dark);
    letter-spacing: 2px;
}

.logo-text span {
    color: var(--primary);
}

.logo-deco {
    font-size: 12px;
    color: var(--accent-dark);
    letter-spacing: 4px;
    font-weight: 300;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 5px;
}

nav ul li a {
    text-decoration: none;
    padding: 8px 18px;
    color: var(--dark);
    font-size: 15px;
    font-weight: 500;
    border-radius: 25px;
    transition: all 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    border: none;
    background: none;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--primary-dark);
    border-radius: 3px;
    transition: all 0.3s;
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('../images/hero.jpg') center/cover no-repeat;
    z-index: 0;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(76,175,80,0.85), rgba(255,235,59,0.4));
}

.hero .blob-1 {
    width: 500px;
    height: 500px;
    background: var(--accent);
    top: -100px;
    right: -100px;
}

.hero .blob-2 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    bottom: -150px;
    left: -100px;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 56px;
    font-weight: 900;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.2);
    line-height: 1.2;
}

.hero-content h1 span {
    color: var(--accent);
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 35px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
    opacity: 0.95;
}

.btn {
    display: inline-block;
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--accent);
    color: var(--dark);
    box-shadow: 0 4px 20px rgba(255,235,59,0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255,235,59,0.5);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    margin-left: 15px;
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}

.hero-badges span {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(5px);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
}

/* Section common */
.section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 15px;
}

.section-title h2 span {
    color: var(--primary);
}

.section-title p {
    color: #4a4a4a;
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}

.section-title .title-deco {
    display: inline-block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
    margin-top: 15px;
}

/* Services */
.services {
    background: var(--gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--white);
    overflow: hidden;
    transition: all 0.4s;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card:hover .service-icon {
    border-radius: 50%;
    transform: rotate(10deg);
}

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

.service-card p {
    font-size: 14px;
    line-height: 1.7;
    color: #4a4a4a;
}

/* Projects */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.project-card {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    cursor: pointer;
    height: 300px;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s;
}

.project-card:hover img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 40%, rgba(76,175,80,0.9));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    color: var(--white);
    transition: all 0.3s;
}

.project-card:hover .project-overlay {
    background: linear-gradient(transparent 20%, rgba(76,175,80,0.95));
}

.project-overlay h3 {
    font-size: 22px;
    margin-bottom: 5px;
}

.project-overlay span {
    font-size: 13px;
    opacity: 0.9;
}

/* Process */
.process {
    background: var(--gray);
}

.process-steps {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    position: relative;
}

.process-step {
    flex: 1;
    min-width: 180px;
    max-width: 220px;
    text-align: center;
    position: relative;
}

.step-num {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    color: var(--white);
    transition: all 0.3s;
}

.process-step:hover .step-num {
    border-radius: 50%;
    transform: rotate(360deg);
}

.process-step h4 {
    font-size: 16px;
    color: var(--dark);
    margin-bottom: 8px;
}

.process-step p {
    font-size: 13px;
    color: var(--text);
}

/* News */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.news-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.news-img {
    height: 200px;
    overflow: hidden;
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s;
}

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

.news-body {
    padding: 25px;
}

.news-body .tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary-light);
    color: var(--primary-dark);
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
}

.news-body h3 {
    font-size: 18px;
    color: var(--dark);
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-body p {
    font-size: 14px;
    color: var(--text);
    margin-bottom: 15px;
}

.news-body .date {
    font-size: 12px;
    color: #999;
}

/* Testimonials */
.testimonials {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
}

.testimonials .section-title h2 { color: var(--white); }
.testimonials .section-title h2 span { color: var(--accent); }
.testimonials .section-title .title-deco {
    background: linear-gradient(90deg, var(--accent), var(--white));
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    padding: 30px;
    border: 1px solid rgba(255,255,255,0.15);
}

.testimonial-card .stars {
    color: var(--accent);
    font-size: 18px;
    margin-bottom: 15px;
}

.testimonial-card p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
    opacity: 0.95;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h4 {
    font-size: 16px;
}

.testimonial-author span {
    font-size: 12px;
    opacity: 0.8;
}

/* Footer */
footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
}

.footer-col h3 {
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent);
}

.footer-col p {
    font-size: 14px;
    opacity: 0.8;
    line-height: 1.8;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-col ul li a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
    opacity: 0.7;
}

/* Page Banner */
.page-banner {
    position: relative;
    padding: 180px 0 100px;
    text-align: center;
    overflow: hidden;
}

.page-banner .banner-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.page-banner .banner-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-banner .banner-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(76,175,80,0.85), rgba(255,235,59,0.4));
}

.banner-content {
    position: relative;
    z-index: 2;
    color: var(--white);
}

.banner-content h1 {
    font-size: 44px;
    font-weight: 900;
    margin-bottom: 10px;
}

.banner-content p {
    font-size: 18px;
    opacity: 0.9;
}

/* About page */
.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-intro-image {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
}

.about-intro-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.about-intro-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    background: var(--accent);
    opacity: 0.3;
    z-index: -1;
}

.about-intro-text h2 {
    font-size: 32px;
    color: var(--dark);
    margin-bottom: 20px;
}

.about-intro-text h2 span { color: var(--primary); }

.about-intro-text p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
    text-align: center;
}

.stat-item {
    padding: 30px;
    background: var(--gray);
    border-radius: var(--radius);
    transition: all 0.3s;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.stat-item .num {
    font-size: 42px;
    font-weight: 900;
    color: var(--primary);
    display: block;
}

.stat-item span {
    font-size: 14px;
    color: var(--text);
}

/* Philosophy */
.philosophy {
    background: var(--gray);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.phil-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 35px;
    text-align: center;
    transition: all 0.3s;
}

.phil-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.phil-card .icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.phil-card h3 {
    font-size: 20px;
    color: var(--dark);
    margin-bottom: 10px;
}

/* Team */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s;
    text-align: center;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.team-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.team-card .info {
    padding: 25px;
}

.team-card .info h3 {
    font-size: 20px;
    color: var(--dark);
    margin-bottom: 5px;
}

.team-card .info .role {
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
}

.team-card .info p {
    font-size: 13px;
    margin-top: 10px;
    color: var(--text);
}

/* Products page */
.services-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-detail-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.service-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.service-detail-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.service-detail-card .content {
    padding: 30px;
}

.service-detail-card .content h3 {
    font-size: 22px;
    color: var(--dark);
    margin-bottom: 10px;
}

.service-detail-card .content p {
    font-size: 14px;
    color: var(--text);
    line-height: 1.7;
}

.service-detail-card .content .price {
    display: inline-block;
    padding: 5px 15px;
    background: var(--primary-light);
    color: var(--primary-dark);
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 15px;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.case-card {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    height: 280px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.case-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s;
}

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

.case-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: var(--white);
}

.case-info h3 {
    font-size: 18px;
    margin-bottom: 3px;
}

.case-info .type {
    font-size: 12px;
    opacity: 0.8;
}

/* News page */
.news-list-item {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    margin-bottom: 25px;
    transition: all 0.3s;
}

.news-list-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow);
}

.news-list-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.news-list-item .content {
    padding: 30px 30px 30px 0;
}

.news-list-item .content .tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary-light);
    color: var(--primary-dark);
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
}

.news-list-item .content h3 {
    font-size: 20px;
    color: var(--dark);
    margin-bottom: 10px;
}

.news-list-item .content p {
    font-size: 14px;
    color: var(--text);
    margin-bottom: 15px;
    line-height: 1.7;
}

.news-list-item .content .date {
    font-size: 12px;
    color: #999;
}

/* Contact page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h2 {
    font-size: 28px;
    color: var(--dark);
    margin-bottom: 20px;
}

.contact-info h2 span { color: var(--primary); }

.contact-info > p {
    margin-bottom: 30px;
    line-height: 1.8;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-item .icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--white);
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 14px;
    color: var(--dark);
    margin-bottom: 2px;
}

.contact-item p {
    font-size: 15px;
    color: var(--text);
}

.contact-form {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
}

.contact-form h3 {
    font-size: 24px;
    color: var(--dark);
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 18px;
    border: 2px solid #eee;
    border-radius: 12px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.1);
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

/* Map placeholder */
.map-section {
    height: 400px;
    background: var(--gray);
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
}

.map-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 991px) {
    .about-intro { grid-template-columns: 1fr; gap: 40px; }
    .contact-grid { grid-template-columns: 1fr; }
    .about-stats { grid-template-columns: repeat(2, 1fr); }
    .news-list-item { grid-template-columns: 1fr; }
    .news-list-item .content { padding: 20px; }
    .hero-content h1 { font-size: 40px; }
}

@media (max-width: 768px) {
    .menu-toggle { display: flex; }
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
    nav ul.active { display: flex; }
    .hero-content h1 { font-size: 32px; }
    .hero-badges { flex-direction: column; align-items: center; gap: 15px; }
    .btn-outline { margin-left: 0; margin-top: 10px; }
    .form-row { grid-template-columns: 1fr; }
    .section { padding: 60px 0; }
    .section-title h2 { font-size: 28px; }
    .project-grid { grid-template-columns: 1fr; }
    .process-step { min-width: 140px; }
    .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .hero-content h1 { font-size: 26px; }
    .about-stats { grid-template-columns: 1fr; }
    .hero-badges span { font-size: 12px; }
}

/* CMS shared */
.form-alert { padding: 12px 16px; border-radius: 12px; margin-bottom: 15px; font-size: .9rem; }
.form-alert-ok { background: #e8f5e9; color: #2e7d32; border: 1px solid #c8e6c9; }
.form-alert-err { background: #fce4ec; color: #c2185b; border: 1px solid #f8bbd0; }
.form-alert-err ul { list-style: none; margin: 0; padding: 0; }
.cms-section { padding: 80px 0; }
.cms-detail { max-width: 900px; margin: 0 auto; }
.cms-detail img { border-radius: var(--radius); margin: 20px auto; }
.cms-detail h1 { font-size: 2rem; margin: 20px 0; color: var(--dark); }
.cms-detail .lead { color: var(--text); margin-bottom: 20px; font-size: 1.05rem; }
.cms-detail .cms-content h2 { font-size: 1.6rem; margin: 24px 0 12px; color: var(--dark); }
.cms-detail .cms-content h3 { font-size: 1.3rem; margin: 20px 0 10px; color: var(--dark); }
.cms-detail .cms-content p, .cms-detail .cms-content ul, .cms-detail .cms-content li { color: var(--text); margin-bottom: 15px; line-height: 1.9; }
.cms-detail .cms-content a { color: var(--primary-dark); text-decoration: underline; }
.cms-detail .cms-content a:hover { color: var(--primary); }
.cms-back { display: inline-block; color: var(--primary-dark); font-size: .9rem; margin-bottom: 20px; }
.cms-back:hover { text-decoration: underline; }
.cms-pager { padding: 30px 0; text-align: center; }
.cms-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cms-card { display: block; background: var(--white); border: 1px solid #eee; border-radius: var(--radius); padding: 20px; transition: .3s; }
.cms-card:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.cms-card h3 { font-size: 1.05rem; margin-bottom: 8px; color: var(--dark); }
.cms-card p { color: var(--text); font-size: .9rem; }
@media (max-width: 991px) { .cms-grid { grid-template-columns: 1fr; } }