/* RESET Y ESTILOS GENERALES */
:root {
    --primary-color: #3a7bd5;
    --primary-dark: #2b5999;
    --primary-light: #6291db;
    --secondary-color: #5e72e4;
    --accent-color: #ff7f50;
    --text-color: #333333;
    --text-light: #777777;
    --bg-color: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #343a40;
    --success-color: #2dce89;
    --warning-color: #fb6340;
    --danger-color: #f5365c;
    --border-color: #e9ecef;
    --border-radius: 8px;
    --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --font-main: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

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

body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

ul, ol {
    list-style-position: inside;
    margin-bottom: 1.5rem;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    text-align: center;
}

/* BOTONES */
.btn-primary, 
.btn-secondary, 
.btn-tertiary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    text-align: center;
    border-radius: var(--border-radius);
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: var(--font-main);
}

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

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

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

.btn-tertiary {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.btn-tertiary:hover {
    background-color: var(--text-light);
    color: white;
}

/* HEADER Y NAVEGACIÓN */
header {
    background-color: var(--bg-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 50px;
    width: auto;
}

nav ul {
    display: flex;
    margin: 0;
    list-style-type: none;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    font-weight: 600;
    color: var(--text-color);
    position: relative;
    padding: 0.5rem 0;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

nav ul li a.active {
    color: var(--primary-color);
}

.mobile-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 3px 0;
    transition: var(--transition);
}

/* HERO SECTION */
.hero {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.hero-image {
    flex: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

/* FEATURES SECTION */
.features {
    padding: 5rem 0;
}

.features h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: inline-block;
}

.feature-icon svg {
    width: 48px;
    height: 48px;
}

.feature-card h3 {
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* POSTS SECTION */
.recent-posts {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.recent-posts h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.post-card {
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.post-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.post-image {
    height: 200px;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.post-content {
    padding: 1.5rem;
}

.post-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.post-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.read-more {
    font-weight: 600;
    color: var(--primary-color);
    display: inline-block;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--primary-dark);
}

.posts-cta {
    text-align: center;
    margin-top: 3rem;
}

/* CALCULADORA */
.calculator {
    padding: 5rem 0;
}

.calculator h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.calculator > .container > p {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.calculator-container {
    display: flex;
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.calculator-form {
    flex: 1;
    padding: 2rem;
    background-color: var(--bg-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.form-group input:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(58, 123, 213, 0.2);
}

.calculator-result {
    flex: 1;
    padding: 2rem;
    background-color: var(--primary-light);
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.calculator-result h3 {
    color: white;
    margin-bottom: 1.5rem;
}

.result-circle {
    width: 150px;
    height: 150px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#result-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.result-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

#result-message {
    color: white;
    font-weight: 500;
    margin-bottom: 0;
}

/* TABLA COMPARATIVA */
.comparison {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.comparison h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.table-container {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--bg-color);
    box-shadow: var(--box-shadow);
    border-radius: var(--border-radius);
    overflow: hidden;
}

thead {
    background-color: var(--primary-color);
    color: white;
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

tr:last-child td {
    border-bottom: none;
}

th {
    font-weight: 600;
}

tbody tr:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.02);
}

tbody tr:hover {
    background-color: rgba(58, 123, 213, 0.05);
}

/* TESTIMONIALS */
.testimonials {
    padding: 5rem 0;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.testimonials-slider {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-light) var(--bg-light);
}

.testimonial {
    flex: 0 0 calc(50% - 1rem);
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-style: italic;
    position: relative;
    padding: 0 1rem;
}

.testimonial-content p::before,
.testimonial-content p::after {
    content: '"';
    font-size: 2rem;
    color: var(--primary-light);
    line-height: 1;
}

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

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
}

.author-info h4 {
    margin-bottom: 0.25rem;
}

.author-info p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* CTA SECTION */
.cta {
    padding: 5rem 0;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
}

.cta h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

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

.cta .btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

/* FOOTER */
footer {
    background-color: var(--bg-dark);
    color: white;
    padding: 5rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-logo img {
    max-height: 50px;
    margin-bottom: 1rem;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links h3,
.footer-contact h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: white;
}

.footer-contact ul li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact ul li svg {
    margin-right: 0.75rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    color: rgba(255, 255, 255, 0.5);
}

/* COOKIE BANNER */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--bg-dark);
    color: white;
    padding: 1.5rem;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
    z-index: 999;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

.cookie-banner.active {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content h3 {
    color: white;
    margin-bottom: 0.5rem;
}

.cookie-content p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.cookie-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: underline;
    font-size: 0.9rem;
}

.cookie-link:hover {
    color: white;
}

/* PAGE HEADER */
.page-header {
    background-color: var(--primary-color);
    color: white;
    padding: 5rem 0;
    text-align: center;
}

.page-header h1 {
    color: white;
    margin-bottom: 1rem;
}

.page-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ABOUT PAGE */
.about-story {
    padding: 5rem 0;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.mission-vision {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.mv-box {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.mv-item {
    flex: 1;
    min-width: 300px;
    background-color: var(--bg-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.mv-icon {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.mv-icon svg {
    width: 40px;
    height: 40px;
}

.team {
    padding: 5rem 0;
}

.team h2 {
    text-align: center;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-member {
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

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

.team-member h3,
.team-member p {
    padding: 0 1.5rem;
}

.team-member h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.25rem;
}

.team-member p:first-of-type {
    font-weight: 600;
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    padding: 0 1.5rem 1.5rem;
}

.social-links a {
    color: var(--text-light);
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--primary-color);
}

.certifications {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.certifications h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.cert-item {
    background-color: var(--bg-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.cert-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.cert-icon {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.cert-icon svg {
    width: 40px;
    height: 40px;
}

.cert-item h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.cert-item p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* BLOG PAGE */
.blog {
    padding: 5rem 0;
}

.blog-content {
    display: flex;
    gap: 3rem;
}

.blog-posts {
    flex: 2;
}

.blog-sidebar {
    flex: 1;
}

.blog-post {
    display: flex;
    margin-bottom: 3rem;
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.blog-post .post-image {
    flex: 0 0 35%;
    height: auto;
}

.blog-post .post-content {
    flex: 1;
    padding: 2rem;
}

.post-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 0.75rem;
}

.post-date,
.post-category {
    font-size: 0.85rem;
    color: var(--text-light);
}

.blog-post h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.blog-post p {
    margin-bottom: 1.5rem;
}

.sidebar-widget {
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--box-shadow);
}

.sidebar-widget h3 {
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.sidebar-widget h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.category-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.category-list li {
    margin-bottom: 0.5rem;
}

.category-list li a {
    display: flex;
    justify-content: space-between;
    color: var(--text-color);
    transition: var(--transition);
    padding: 0.5rem 0;
}

.category-list li a:hover {
    color: var(--primary-color);
    padding-left: 0.5rem;
}

.popular-posts {
    list-style: none;
    margin: 0;
    padding: 0;
}

.popular-posts li {
    margin-bottom: 1rem;
}

.popular-posts li:last-child {
    margin-bottom: 0;
}

.popular-posts li a {
    display: flex;
    gap: 1rem;
    color: var(--text-color);
}

.popular-posts li a img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.popular-posts li a div {
    flex: 1;
}

.popular-posts li a h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    transition: var(--transition);
}

.popular-posts li a span {
    font-size: 0.85rem;
    color: var(--text-light);
}

.popular-posts li a:hover h4 {
    color: var(--primary-color);
}

.subscribe-form {
    display: flex;
    flex-direction: column;
}

.subscribe-form input {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

.subscribe-form button {
    width: 100%;
}

/* SERVICIOS PAGE */
.services-intro {
    padding: 5rem 0;
}

.services-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.services-text {
    flex: 1;
}

.services-image {
    flex: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.services-list {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.services-list h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.service-card {
    display: flex;
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: var(--box-shadow);
}

.service-icon {
    flex: 0 0 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: white;
}

.service-icon svg {
    width: 40px;
    height: 40px;
}

.service-content {
    flex: 1;
    padding: 2rem;
}

.service-content h3 {
    margin-bottom: 1rem;
}

.service-content p {
    margin-bottom: 1rem;
}

.service-content ul {
    margin-bottom: 1.5rem;
    list-style-type: none;
}

.service-content ul li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.service-content ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.methodology {
    padding: 5rem 0;
}

.methodology h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.methodology-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.method-step {
    flex: 1;
    min-width: 200px;
    text-align: center;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.method-step h3 {
    margin-bottom: 0.75rem;
}

.method-step p {
    color: var(--text-light);
}

.pricing {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.pricing h2 {
    text-align: center;
}

.pricing-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    flex: 1;
    min-width: 300px;
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured {
    transform: scale(1.05);
    border: 2px solid var(--primary-color);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--primary-color);
    color: white;
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    border-bottom-left-radius: var(--border-radius);
}

.pricing-header {
    padding: 2rem;
    text-align: center;
    background-color: var(--primary-light);
    color: white;
}

.pricing-header h3 {
    color: white;
    margin-bottom: 0.5rem;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
}

.price .amount {
    font-size: 2.5rem;
    font-weight: 700;
}

.price .period {
    font-size: 1rem;
    margin-left: 0.25rem;
}

.pricing-features {
    list-style-type: none;
    padding: 2rem;
    margin: 0;
}

.pricing-features li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

.pricing-card .btn-primary {
    display: block;
    margin: 0 2rem 2rem;
}

.pricing-note {
    text-align: center;
    margin-top: 3rem;
    color: var(--text-light);
}

.accordion {
    margin-top: 3rem;
}

.accordion-item {
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    padding: 1.5rem;
    background-color: var(--bg-color);
    border: none;
    text-align: left;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.accordion-icon {
    transition: var(--transition);
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
}

.accordion-content p {
    padding: 0 1.5rem 1.5rem;
    margin-bottom: 0;
}

/* CONTACT PAGE */
.contact-section {
    padding: 5rem 0;
}

.contact-content {
    display: flex;
    gap: 3rem;
}

.contact-form-container {
    flex: 1.5;
}

.contact-info {
    flex: 1;
}

.contact-form {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: flex;
    gap: 1rem;
}

.form-row .form-group {
    flex: 1;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(58, 123, 213, 0.2);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-group input {
    width: auto;
    margin-top: 0.25rem;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
}

.contact-form .btn-primary {
    width: 100%;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    gap: 1rem;
}

.info-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background-color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.info-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.info-content p {
    color: var(--text-light);
    margin-bottom: 0;
}

.info-content a {
    color: var(--text-color);
}

.info-content a:hover {
    color: var(--primary-color);
}

.social-contact h3 {
    margin-bottom: 1rem;
}

.map-section {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.map-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

/* MODAL */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    width: 100%;
    max-width: 600px;
    position: relative;
    box-shadow: var(--box-shadow);
}

.thank-you {
    text-align: center;
}

.thank-you-icon {
    color: var(--success-color);
    margin-bottom: 1.5rem;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.modal-form {
    margin-top: 1.5rem;
}

/* MEDIA QUERIES */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content,
    .hero-image {
        flex: none;
        width: 100%;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .blog-content {
        flex-direction: column;
    }
    
    .blog-sidebar {
        width: 100%;
    }
    
    .services-content {
        flex-direction: column;
    }
    
    .service-card {
        flex-direction: column;
    }
    
    .service-icon {
        padding: 2rem 0;
    }
    
    .contact-content {
        flex-direction: column;
    }
    
    .calculator-container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    nav ul {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100% - 80px);
        background-color: var(--bg-color);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        transition: left 0.3s ease;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    nav ul.active {
        left: 0;
    }
    
    nav ul li {
        margin: 1rem 0;
    }
    
    .mobile-menu {
        display: flex;
    }
    
    .mobile-menu.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .mobile-menu.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .features-grid,
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-contact ul li {
        justify-content: center;
    }
    
    .footer-contact ul li svg {
        margin-right: 0.5rem;
    }
    
    .blog-post {
        flex-direction: column;
    }
    
    .blog-post .post-image {
        height: 200px;
    }
    
    .form-row {
        flex-direction: column;
    }
    
    .pricing-cards {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .modal-content {
        width: 90%;
        padding: 1.5rem;
    }
}
