/* GasCompara España - Stylesheet */
/* Accent color: #58805d */

:root {
    --primary-color: 88 128 93; /* #58805d */
    --primary-light: 88 128 93; /* #58805d with opacity variations */
    --primary-dark: 70 102 75; /* darker version */
    --secondary-color: 245 245 245; /* #f5f5f5 */
    --text-dark: 33 37 41; /* #212529 */
    --text-light: 108 117 125; /* #6c757d */
    --background: 255 255 255; /* #ffffff */
    --border-color: 222 226 230; /* #dee2e6 */
    --success-color: 40 167 69; /* #28a745 */
    --warning-color: 255 193 7; /* #ffc107 */
    --danger-color: 220 53 69; /* #dc3545 */
    --shadow: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: rgb(var(--text-dark));
    background-color: rgb(var(--background));
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.2;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

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

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

a:hover {
    color: rgb(var(--primary-dark));
    text-decoration: underline;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    background: transparent;
}

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

.btn-primary:hover {
    background-color: rgb(var(--primary-dark));
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: rgb(var(--secondary-color));
    color: rgb(var(--text-dark));
    border: 1px solid rgb(var(--border-color));
}

.btn-secondary:hover {
    background-color: rgb(var(--border-color));
    text-decoration: none;
}

.btn-tertiary {
    background-color: transparent;
    color: rgb(var(--primary-color));
    border: 1px solid rgb(var(--primary-color));
}

.btn-tertiary:hover {
    background-color: rgb(var(--primary-color));
    color: white;
    text-decoration: none;
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

/* Header */
.header {
    background-color: rgb(var(--background));
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    color: rgb(var(--primary-color));
}

.logo-icon {
    width: 32px;
    height: 32px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    padding: 8px 16px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    background-color: rgba(var(--primary-color), 0.1);
    color: rgb(var(--primary-color));
    text-decoration: none;
}

/* Mobile Navigation */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: rgb(var(--primary-color));
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(var(--primary-color), 0.7);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 1;
    color: white;
}

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, rgb(var(--primary-color)), rgb(var(--primary-dark)));
    color: white;
    text-align: center;
    padding: 120px 0 80px;
    margin-top: 70px;
}
.page-hero p {
    color: white;
}

.page-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

/* Sections */
.section {
    padding: 80px 0;
}

.section:nth-child(even) {
    background-color: rgb(var(--secondary-color));
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    filter: hue-rotate(0deg) saturate(1.2);
}

.section-title {
    color: rgb(var(--text-dark));
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Grid Layouts */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

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

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

/* Cards */
.card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.card h3 {
    color: rgb(var(--primary-color));
    margin-bottom: 1rem;
}

.feature-list {
    list-style: none;
    margin-top: 1rem;
}

.feature-list li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    color: rgb(var(--text-light));
}

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

/* Service Items */
.service-item {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border-left: 4px solid rgb(var(--primary-color));
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.service-item h4 {
    color: rgb(var(--primary-color));
    margin-bottom: 0.5rem;
}

/* Review Cards */
.review-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.review-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.review-header h4 {
    color: rgb(var(--primary-color));
    margin-bottom: 0;
}

.rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stars {
    color: #ffc107;
    font-size: 1.2rem;
}

.score {
    font-weight: 600;
    color: rgb(var(--text-dark));
}

/* Forms */
.newsletter-form,
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.newsletter-form input {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: rgb(var(--text-dark));
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 200px;
}

.newsletter-form input::placeholder {
    color: rgb(var(--text-light));
    opacity: 0.8;
}

.newsletter-form input:focus {
    outline: none;
    background: white;
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.newsletter-form button {
    padding: 14px 28px;
    background: white;
    color: rgb(var(--primary-color));
    border: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.newsletter-form button:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

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

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: rgb(var(--text-dark));
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid rgb(var(--border-color));
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    background-color: white;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgb(var(--primary-color));
    box-shadow: 0 0 0 4px rgba(var(--primary-color), 0.1);
    transform: translateY(-2px);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: rgb(var(--primary-color));
}

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

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: rgb(var(--danger-color));
    box-shadow: 0 0 0 3px rgba(var(--danger-color), 0.1);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid rgb(var(--border-color));
    border-radius: 3px;
    position: relative;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Newsletter Section */
.newsletter {
    background: linear-gradient(135deg, rgb(var(--primary-color)), rgb(var(--primary-dark)));
    color: white;
    text-align: center;
}

.newsletter h3 {
    color: white;
    margin-bottom: 1rem;
}

.newsletter p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.newsletter-form input {
    flex: 1;
    min-width: 200px;
}

/* Contact Form Section */
.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgb(var(--border-color));
}

.contact-form h2 {
    color: rgb(var(--primary-color));
    margin-bottom: 1.5rem;
    text-align: center;
}

.contact-form .btn-large {
    width: 100%;
    margin-top: 1rem;
    padding: 16px;
    font-size: 18px;
    font-weight: 600;
    background: linear-gradient(135deg, rgb(var(--primary-color)), rgb(var(--primary-dark)));
    border: none;
    border-radius: 10px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form .btn-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(var(--primary-color), 0.3);
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 4px;
}

.contact-details h4 {
    color: rgb(var(--primary-color));
    margin-bottom: 0.5rem;
}

.contact-details p {
    margin-bottom: 0.5rem;
}

.social-contact {
    margin-top: 2rem;
}

.social-contact h3 {
    color: rgb(var(--primary-color));
    margin-bottom: 1rem;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background-color: rgba(var(--primary-color), 0.1);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: rgb(var(--primary-color));
    color: white;
    text-decoration: none;
}

/* Footer */
.footer {
    background-color: rgb(var(--text-dark));
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

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

.footer-section ul li a:hover {
    color: white;
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.6);
}

/* Experts Page */
.experts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.expert-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.expert-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.expert-info h3 {
    color: rgb(var(--primary-color));
    margin-bottom: 0.5rem;
}

.expert-title {
    font-weight: 600;
    color: rgb(var(--text-dark));
    margin-bottom: 0.5rem;
}

.expert-experience {
    color: rgb(var(--text-light));
    font-style: italic;
    margin-bottom: 1.5rem;
}

.expert-details h4 {
    color: rgb(var(--primary-color));
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.expert-details ul {
    margin-bottom: 1rem;
}

.expert-details li {
    color: rgb(var(--text-light));
    margin-bottom: 0.25rem;
}

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

.methodology-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.methodology-item h3 {
    color: rgb(var(--primary-color));
    margin-bottom: 1rem;
}

/* Credentials */
.credentials-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.credential-item {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.credential-item h4 {
    color: rgb(var(--primary-color));
    margin-bottom: 1rem;
}

/* Ranking Page */
.ranking-filters {
    text-align: center;
    margin-bottom: 3rem;
}

.ranking-filters h3 {
    color: rgb(var(--primary-color));
    margin-bottom: 1rem;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 16px;
    border: 2px solid rgb(var(--primary-color));
    background: transparent;
    color: rgb(var(--primary-color));
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
    background: rgb(var(--primary-color));
    color: white;
}

.ranking-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.ranking-item {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 2rem;
    align-items: center;
    transition: var(--transition);
}

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

.ranking-position {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.position-number {
    font-size: 2rem;
    font-weight: bold;
    color: rgb(var(--primary-color));
}

.medal {
    font-size: 1.5rem;
}

.company-info h3 {
    color: rgb(var(--primary-color));
    margin-bottom: 0.5rem;
}

.company-subtitle {
    color: rgb(var(--text-light));
    font-style: italic;
}

.ranking-scores {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 300px;
}

.score-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.score-label {
    min-width: 80px;
    font-size: 0.9rem;
    font-weight: 500;
}

.score-bar {
    flex: 1;
    height: 8px;
    background: rgb(var(--secondary-color));
    border-radius: 4px;
    overflow: hidden;
}

.score-fill {
    height: 100%;
    background: linear-gradient(90deg, rgb(var(--primary-color)), rgb(var(--success-color)));
    border-radius: 4px;
    transition: width 0.8s ease;
}

.score-value {
    font-weight: 600;
    color: rgb(var(--primary-color));
    min-width: 50px;
    text-align: right;
}

.company-details {
    grid-column: 1 / -1;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgb(var(--border-color));
}

.company-details p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

/* Ranking Methodology */
.methodology-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.methodology-card h4 {
    color: rgb(var(--primary-color));
    margin-bottom: 1rem;
}

.methodology-card ul {
    list-style-position: inside;
}

.methodology-card li {
    color: rgb(var(--text-light));
    margin-bottom: 0.5rem;
}

/* FAQ */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.faq-item h4 {
    color: rgb(var(--primary-color));
    margin-bottom: 1rem;
}

/* Office Location */
.location-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.location-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgb(var(--text-light));
}

.map-placeholder {
    background: rgb(var(--secondary-color));
    border-radius: var(--border-radius);
    overflow: hidden;
}

.map-container {
    aspect-ratio: 16/10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    color: rgb(var(--text-light));
}

.map-icon {
    font-size: 3rem;
    margin-top: 1rem;
}

/* Thanks Page */
.thanks-section {
    padding: 120px 0 80px;
    margin-top: 70px;
    text-align: center;
}

.thanks-content {
    max-width: 800px;
    margin: 0 auto;
}

.thanks-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.thanks-message {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.thanks-details {
    margin-bottom: 3rem;
}

.thanks-details h3 {
    color: rgb(var(--primary-color));
    margin-bottom: 2rem;
}

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

.step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    text-align: left;
}

.step-number {
    width: 40px;
    height: 40px;
    background: rgb(var(--primary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h4 {
    color: rgb(var(--primary-color));
    margin-bottom: 0.5rem;
}

.contact-info-box {
    background: rgb(var(--secondary-color));
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-bottom: 3rem;
}

.contact-info-box h3 {
    color: rgb(var(--primary-color));
    margin-bottom: 1rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.additional-resources {
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
}

.additional-resources h3 {
    color: rgb(var(--primary-color));
    margin-bottom: 1rem;
}

.additional-resources ul {
    list-style-position: inside;
}

.additional-resources li {
    margin-bottom: 0.5rem;
}

/* Legal Pages */
.legal-page {
    padding: 120px 0 80px;
    margin-top: 70px;
}

.legal-page h1 {
    color: rgb(var(--primary-color));
    text-align: center;
    margin-bottom: 0.5rem;
}

.last-updated {
    text-align: center;
    color: rgb(var(--text-light));
    margin-bottom: 3rem;
    font-style: italic;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section h2 {
    color: rgb(var(--primary-color));
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgb(var(--primary-color));
}

.legal-section h3 {
    color: rgb(var(--primary-dark));
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-section h4 {
    color: rgb(var(--text-dark));
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.legal-section ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-section li {
    margin-bottom: 0.5rem;
    color: rgb(var(--text-light));
}

.legal-section strong {
    color: rgb(var(--text-dark));
    font-weight: 600;
}

/* Cookie Tables */
.cookie-table {
    margin: 1.5rem 0;
    overflow-x: auto;
}

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

.cookie-table th,
.cookie-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid rgb(var(--border-color));
}

.cookie-table th {
    background: rgb(var(--primary-color));
    color: white;
    font-weight: 600;
}

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

.cookie-preferences {
    text-align: center;
    margin: 2rem 0;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgb(var(--text-dark));
    color: white;
    padding: 1rem 0;
    z-index: 1001;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

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

.cookie-buttons .btn {
    padding: 8px 16px;
    font-size: 14px;
}

/* Cookie Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1002;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal.show {
    display: block;
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
}

.close {
    color: rgb(var(--text-light));
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close:hover {
    color: rgb(var(--text-dark));
}

.cookie-category {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgb(var(--border-color));
}

.cookie-category:last-of-type {
    border-bottom: none;
}

.cookie-category h3 {
    color: rgb(var(--primary-color));
    margin-bottom: 0.5rem;
}

.cookie-category p {
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

/* Switch */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: rgb(var(--primary-color));
}

input:checked + .slider:before {
    transform: translateX(26px);
}

input:disabled + .slider {
    background-color: rgb(var(--success-color));
    cursor: not-allowed;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        min-width: auto;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .experts-grid {
        grid-template-columns: 1fr;
    }
    
    .ranking-item {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .ranking-scores {
        min-width: auto;
    }
    
    .company-details {
        grid-column: 1;
    }
    
    .location-info {
        grid-template-columns: 1fr;
    }
    
    .next-steps {
        grid-template-columns: 1fr;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    
    .btn-large {
        padding: 12px 24px;
        font-size: 16px;
    }
    
    .card,
    .service-item,
    .review-card {
        padding: 1.5rem;
    }
    
    .ranking-item {
        padding: 1.5rem;
    }
    
    .expert-card {
        padding: 1.5rem;
    }
    .reviews-container, .grid, .credentials-content {
        grid-template-columns: 1fr;
    }
    .review-header {
        flex-direction: column;
    }
}

/* Print Styles */
@media print {
    .header,
    .cookie-banner,
    .modal,
    .social-links {
        display: none !important;
    }
    
    .hero {
        height: auto;
        padding: 2rem 0;
    }
    
    .page-hero {
        margin-top: 0;
        padding: 2rem 0;
    }
    
    .section {
        padding: 2rem 0;
    }
    
    .card,
    .review-card,
    .expert-card {
        break-inside: avoid;
    }
}
