/* 
 * Dosiplant Landing Page - CSS Base
 * Sistema de diseño basado en 8px grid
 * Variables CSS para mantenibilidad
 */


/* Variables CSS (ya definidas en meta.php, extendiendo aquí) */

:root {
    --color-primary: #003366;
    --color-secondary: #0066cc;
    --color-accent: #ff6600;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-background: #ffffff;
    --color-gray-light: #f5f5f5;
    --color-gray-medium: #e0e0e0;
    --color-gray-dark: #999999;
    --color-success: #28a745;
    --color-error: #dc3545;
    --color-warning: #ffc107;
    --font-family-primary: 'Arial', sans-serif;
    --font-family-heading: 'Arial', sans-serif;
    --grid-unit: 8px;
    --container-max-width: 1200px;
    --border-radius: 4px;
    --box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}


/* Reset y elementos base */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-family-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-background);
}


/* Tipografía */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-family-heading);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 calc(var(--grid-unit) * 2) 0;
    color: var(--color-text);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

h5 {
    font-size: 1.125rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin: 0 0 calc(var(--grid-unit) * 2) 0;
}

ul,
ol {
    padding-left: calc(var(--grid-unit) * 3);
    margin: 0 0 calc(var(--grid-unit) * 2) 0;
}

li {
    margin-bottom: calc(var(--grid-unit) / 2);
}


/* Utilidades de layout */

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 calc(var(--grid-unit) * 2);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


/* Header */

.site-header {
    background: var(--color-background);
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: calc(var(--grid-unit) * 2) 0;
}

.logo img {
    height: auto;
    max-width: 100%;
}

.main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: calc(var(--grid-unit) * 4);
}

.main-nav a {
    text-decoration: none;
    color: var(--color-text);
    font-weight: 500;
    transition: var(--transition);
    padding: calc(var(--grid-unit) * 1) calc(var(--grid-unit) * 2);
    border-radius: var(--border-radius);
}

.main-nav a:hover,
.main-nav a:focus {
    color: var(--color-primary);
    background-color: var(--color-gray-light);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: calc(var(--grid-unit) * 1);
}


/* Botones */

.btn {
    display: inline-block;
    padding: calc(var(--grid-unit) * 2) calc(var(--grid-unit) * 4);
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    line-height: 1.5;
}

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

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border-color: white;
}

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

.btn-outline {
    background-color: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

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


/* Hero Section */

.hero {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: white;
    padding: calc(var(--grid-unit) * 12) 0;
    text-align: center;
}

.hero h1 {
    color: white;
    margin-bottom: calc(var(--grid-unit) * 3);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: calc(var(--grid-unit) * 6);
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-ctas {
    display: flex;
    gap: calc(var(--grid-unit) * 3);
    justify-content: center;
    flex-wrap: wrap;
}


/* Secciones */

section {
    padding: calc(var(--grid-unit) * 10) 0;
}

.section-title {
    text-align: center;
    margin-bottom: calc(var(--grid-unit) * 8);
    color: var(--color-primary);
}


/* Product Features */

.product-features {
    background-color: var(--color-gray-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: calc(var(--grid-unit) * 4);
    margin-bottom: calc(var(--grid-unit) * 6);
}

.feature-card {
    background: white;
    padding: calc(var(--grid-unit) * 4);
    border-radius: calc(var(--border-radius) * 2);
    box-shadow: var(--box-shadow);
    text-align: center;
}

.feature-icon {
    color: var(--color-primary);
    margin-bottom: calc(var(--grid-unit) * 3);
}

.feature-card h3 {
    color: var(--color-primary);
    margin-bottom: calc(var(--grid-unit) * 2);
}

.feature-card ul {
    text-align: left;
    color: var(--color-text-light);
}

.section-cta {
    text-align: center;
}


/* Benefits Section */

.benefits-section {
    background-color: var(--color-background);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: calc(var(--grid-unit) * 4);
}

.benefit-card {
    background: white;
    padding: calc(var(--grid-unit) * 4);
    border-radius: calc(var(--border-radius) * 2);
    box-shadow: var(--box-shadow);
    text-align: center;
    border-left: 4px solid var(--color-primary);
}

.benefit-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: calc(var(--grid-unit) * 2);
    line-height: 1;
}

.benefit-card h3 {
    color: var(--color-primary);
    margin-bottom: calc(var(--grid-unit) * 2);
    font-size: 1.25rem;
}

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


/* Contact form enhancements */

.benefits-list {
    list-style: none;
    padding: 0;
    margin-bottom: calc(var(--grid-unit) * 4);
}

.benefits-list li {
    margin-bottom: calc(var(--grid-unit) * 1);
    padding-left: 0;
    color: var(--color-text-light);
}

.contact-details {
    margin-top: calc(var(--grid-unit) * 4);
    padding-top: calc(var(--grid-unit) * 4);
    border-top: 1px solid var(--color-gray-medium);
}

.form-group select {
    width: 100%;
    padding: calc(var(--grid-unit) * 2);
    border: 2px solid var(--color-gray-medium);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background-color: white;
    cursor: pointer;
}

.form-group select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 51, 102, 0.1);
}


/* Testimonials Section */

.testimonials-section {
    background-color: var(--color-gray-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: calc(var(--grid-unit) * 4);
}

.testimonial-card {
    background: white;
    padding: calc(var(--grid-unit) * 4);
    border-radius: calc(var(--border-radius) * 2);
    box-shadow: var(--box-shadow);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-size: 4rem;
    color: var(--color-primary);
    position: absolute;
    top: calc(var(--grid-unit) * 2);
    left: calc(var(--grid-unit) * 3);
    line-height: 1;
    font-family: serif;
}

.testimonial-card blockquote {
    margin: 0;
    padding-top: calc(var(--grid-unit) * 4);
}

.testimonial-card p {
    font-style: italic;
    font-size: 1.125rem;
    color: var(--color-text);
    margin-bottom: calc(var(--grid-unit) * 3);
}

.testimonial-card footer {
    text-align: right;
}

.testimonial-card cite {
    font-style: normal;
    font-weight: 600;
    color: var(--color-primary);
}


/* Sensors Section */

.sensors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: calc(var(--grid-unit) * 4);
}

.sensor-card {
    background: white;
    border-radius: calc(var(--border-radius) * 2);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: var(--transition);
}

.sensor-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.sensor-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: var(--color-gray-light);
}

.sensor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sensor-card h3 {
    padding: calc(var(--grid-unit) * 3) calc(var(--grid-unit) * 3) calc(var(--grid-unit) * 2);
    color: var(--color-primary);
}

.sensor-specs {
    padding: 0 calc(var(--grid-unit) * 3) calc(var(--grid-unit) * 2);
    color: var(--color-text-light);
}

.sensor-specs p {
    margin-bottom: calc(var(--grid-unit) * 1);
    font-size: 0.9rem;
}

.sensor-link {
    display: block;
    padding: calc(var(--grid-unit) * 2) calc(var(--grid-unit) * 3);
    background-color: var(--color-gray-light);
    color: var(--color-primary);
    text-decoration: none;
    text-align: center;
    font-weight: 600;
    transition: var(--transition);
}

.sensor-link:hover,
.sensor-link:focus {
    background-color: var(--color-primary);
    color: white;
}


/* Use Cases */

.use-cases {
    background-color: var(--color-gray-light);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: calc(var(--grid-unit) * 4);
}

.case-card {
    background: white;
    padding: calc(var(--grid-unit) * 4);
    border-radius: calc(var(--border-radius) * 2);
    box-shadow: var(--box-shadow);
    text-align: center;
}

.case-icon {
    color: var(--color-primary);
    margin-bottom: calc(var(--grid-unit) * 3);
}

.case-card h3 {
    color: var(--color-primary);
    margin-bottom: calc(var(--grid-unit) * 2);
}


/* Contact Section */

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: calc(var(--grid-unit) * 8);
    max-width: 1000px;
    margin: 0 auto;
}

.contact-form {
    background: white;
    padding: calc(var(--grid-unit) * 4);
    border-radius: calc(var(--border-radius) * 2);
    box-shadow: var(--box-shadow);
}

.form-group {
    margin-bottom: calc(var(--grid-unit) * 3);
}

.form-group label {
    display: block;
    margin-bottom: calc(var(--grid-unit) * 1);
    font-weight: 600;
    color: var(--color-text);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: calc(var(--grid-unit) * 2);
    border: 2px solid var(--color-gray-medium);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 51, 102, 0.1);
}

.form-group input:invalid,
.form-group textarea:invalid {
    border-color: var(--color-error);
}

.error-message {
    display: block;
    color: var(--color-error);
    font-size: 0.875rem;
    margin-top: calc(var(--grid-unit) * 1);
}

.contact-info {
    background: white;
    padding: calc(var(--grid-unit) * 4);
    border-radius: calc(var(--border-radius) * 2);
    box-shadow: var(--box-shadow);
}

.contact-info h3,
.contact-info h4 {
    color: var(--color-primary);
}

.contact-info address {
    font-style: normal;
    line-height: 1.6;
}

.business-hours {
    margin-top: calc(var(--grid-unit) * 4);
    padding-top: calc(var(--grid-unit) * 4);
    border-top: 1px solid var(--color-gray-medium);
}

.company-legal {
    margin-top: calc(var(--grid-unit) * 4);
    padding-top: calc(var(--grid-unit) * 4);
    border-top: 1px solid var(--color-gray-medium);
    background-color: var(--color-gray-light);
    padding: calc(var(--grid-unit) * 3);
    border-radius: var(--border-radius);
}

.company-legal h4 {
    color: var(--color-primary);
    margin-bottom: calc(var(--grid-unit) * 2);
}

.company-legal p {
    font-size: 0.9em;
    line-height: 1.5;
    margin-bottom: calc(var(--grid-unit) * 1);
    color: var(--color-text-light);
}

.company-legal p strong {
    color: var(--color-text);
}

.company-legal p em {
    font-style: italic;
    color: var(--color-text-light);
    font-size: 0.85em;
}


/* Footer */

.site-footer {
    background-color: var(--color-text);
    color: white;
    padding: calc(var(--grid-unit) * 8) 0 calc(var(--grid-unit) * 4);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: calc(var(--grid-unit) * 4);
    margin-bottom: calc(var(--grid-unit) * 4);
}

.footer-section h3,
.footer-section h4 {
    color: white;
    margin-bottom: calc(var(--grid-unit) * 2);
}

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

.footer-section a {
    color: var(--color-gray-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover,
.footer-section a:focus {
    color: white;
}

.footer-section address {
    font-style: normal;
    line-height: 1.6;
    color: var(--color-gray-light);
}

.footer-bottom {
    border-top: 1px solid var(--color-gray-dark);
    padding-top: calc(var(--grid-unit) * 4);
    text-align: center;
    color: var(--color-gray-light);
}


/* Customer Problems Section */

.customer-problems {
    background-color: var(--color-gray-light);
    padding: calc(var(--grid-unit) * 12) 0;
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: calc(var(--grid-unit) * 4);
    margin-top: calc(var(--grid-unit) * 6);
}

.pain-point {
    background: white;
    padding: calc(var(--grid-unit) * 4);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.pain-point:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.pain-point-icon {
    font-size: 2.5em;
    margin-bottom: calc(var(--grid-unit) * 2);
    color: var(--color-accent);
}

.pain-point h3 {
    color: var(--color-primary);
    margin-bottom: calc(var(--grid-unit) * 2);
}

.pain-point p {
    color: var(--color-text-light);
    margin-bottom: calc(var(--grid-unit) * 2);
}

.pain-point-cost {
    font-weight: bold;
    color: var(--color-error);
    font-size: 1.1em;
}


/* Benefits Grid Styles */

.benefits-detailed {
    padding: calc(var(--grid-unit) * 12) 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: calc(var(--grid-unit) * 4);
    margin-top: calc(var(--grid-unit) * 6);
}

.benefit-card {
    background: white;
    padding: calc(var(--grid-unit) * 4);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

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

.benefit-icon {
    font-size: 3em;
    color: var(--color-success);
    margin-bottom: calc(var(--grid-unit) * 2);
}

.benefit-value {
    font-size: 2em;
    font-weight: bold;
    color: var(--color-primary);
    margin-bottom: calc(var(--grid-unit) * 1);
}

.benefit-card h3 {
    color: var(--color-primary);
    margin-bottom: calc(var(--grid-unit) * 2);
}

.benefit-card p {
    color: var(--color-text-light);
    margin-bottom: calc(var(--grid-unit) * 2);
}

.benefit-timeline {
    font-size: 0.9em;
    color: var(--color-text-light);
    font-style: italic;
}


/* Use Cases Section */

.use-cases-section {
    background-color: var(--color-gray-light);
    padding: calc(var(--grid-unit) * 12) 0;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: calc(var(--grid-unit) * 4);
    margin-top: calc(var(--grid-unit) * 6);
}

.use-case-card {
    background: white;
    padding: calc(var(--grid-unit) * 4);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.use-case-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.use-case-card h3 {
    color: var(--color-primary);
    margin-bottom: calc(var(--grid-unit) * 2);
    display: flex;
    align-items: center;
    gap: calc(var(--grid-unit) * 2);
}

.use-case-icon {
    font-size: 1.5em;
    color: var(--color-secondary);
}

.use-case-features {
    list-style: none;
    padding: 0;
    margin: calc(var(--grid-unit) * 2) 0;
}

.use-case-features li {
    padding: calc(var(--grid-unit) * 1) 0;
    color: var(--color-text-light);
    position: relative;
    padding-left: calc(var(--grid-unit) * 3);
}

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


/* Monitoring Section */

.monitoring-section {
    background-color: white;
    padding: calc(var(--grid-unit) * 12) 0;
}

.monitoring-section .section-subtitle {
    text-align: center;
    color: var(--color-text-light);
    font-size: 1.2em;
    margin-bottom: calc(var(--grid-unit) * 6);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.monitoring-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: calc(var(--grid-unit) * 4);
    margin-top: calc(var(--grid-unit) * 6);
}

.monitoring-card {
    background: var(--color-gray-light);
    padding: calc(var(--grid-unit) * 4);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border-left: 4px solid var(--color-secondary);
}

.monitoring-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    border-left-color: var(--color-accent);
}

.monitoring-icon {
    display: flex;
    justify-content: center;
    margin-bottom: calc(var(--grid-unit) * 3);
    color: var(--color-secondary);
}

.monitoring-icon svg {
    width: 64px;
    height: 64px;
}

.monitoring-card h3 {
    color: var(--color-primary);
    margin-bottom: calc(var(--grid-unit) * 2);
    font-size: 1.3em;
}

.monitoring-card p {
    color: var(--color-text);
    margin-bottom: calc(var(--grid-unit) * 2);
    line-height: 1.5;
}

.monitoring-card p strong {
    color: var(--color-accent);
    font-weight: bold;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: calc(var(--grid-unit) * 2) 0;
}

.feature-list li {
    padding: calc(var(--grid-unit) * 1) 0;
    color: var(--color-text-light);
    font-size: 0.9em;
}


/* Featured Monitoring Card - Termometría */

.featured-monitoring {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid var(--color-accent);
    position: relative;
    overflow: hidden;
}

.featured-monitoring::before {
    content: "DESTACADO";
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--color-accent);
    color: white;
    padding: 4px 40px;
    font-size: 0.75em;
    font-weight: bold;
    transform: rotate(45deg);
    z-index: 1;
}

.featured-monitoring .monitoring-icon {
    text-align: center;
    margin-bottom: calc(var(--grid-unit) * 3);
}

.featured-monitoring .monitoring-icon img {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.temperature-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: calc(var(--grid-unit) * 3);
    margin: calc(var(--grid-unit) * 4) 0;
}

.temp-feature {
    background: white;
    padding: calc(var(--grid-unit) * 3);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--color-secondary);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.temp-feature h4 {
    color: var(--color-primary);
    margin-bottom: calc(var(--grid-unit) * 1);
    font-size: 1em;
    display: flex;
    align-items: center;
    gap: calc(var(--grid-unit) * 1);
}

.temp-feature p {
    font-size: 0.9em;
    line-height: 1.4;
    margin: 0;
}

.temp-feature p strong {
    color: var(--color-accent);
    font-weight: bold;
}

.thermal-specs {
    background: white;
    padding: calc(var(--grid-unit) * 3);
    border-radius: var(--border-radius);
    margin: calc(var(--grid-unit) * 4) 0;
    border: 1px solid var(--color-gray-medium);
}

.thermal-specs h4 {
    color: var(--color-primary);
    margin-bottom: calc(var(--grid-unit) * 2);
    font-size: 1.1em;
}

.specs-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: calc(var(--grid-unit) * 1);
}

.specs-list li {
    padding: calc(var(--grid-unit) * 1) 0;
    color: var(--color-text);
    font-size: 0.9em;
    line-height: 1.4;
}

.roi-highlight {
    background: linear-gradient(135deg, #f0fff4 0%, #e6fffa 100%);
    border: 2px solid var(--color-success);
    padding: calc(var(--grid-unit) * 3);
    border-radius: var(--border-radius);
    margin-top: calc(var(--grid-unit) * 4);
    text-align: center;
}

.roi-highlight strong {
    color: var(--color-success);
    font-size: 1.1em;
}

.roi-highlight em {
    display: block;
    margin-top: calc(var(--grid-unit) * 1);
    color: var(--color-text-light);
    font-size: 0.9em;
}

.monitoring-benefits {
    margin-top: calc(var(--grid-unit) * 8);
    padding: calc(var(--grid-unit) * 6);
    background: var(--color-gray-light);
    border-radius: var(--border-radius);
}

.monitoring-benefits h3 {
    text-align: center;
    color: var(--color-primary);
    margin-bottom: calc(var(--grid-unit) * 4);
    font-size: 1.5em;
}

.benefits-comparison {
    max-width: 900px;
    margin: 0 auto;
}

.before-after {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: calc(var(--grid-unit) * 4);
    margin-top: calc(var(--grid-unit) * 4);
}

.before,
.after {
    padding: calc(var(--grid-unit) * 3);
    border-radius: var(--border-radius);
}

.before {
    background: #fff5f5;
    border-left: 4px solid var(--color-error);
}

.after {
    background: #f0fff4;
    border-left: 4px solid var(--color-success);
}

.before h4,
.after h4 {
    margin-bottom: calc(var(--grid-unit) * 2);
    font-size: 1.1em;
}

.before h4 {
    color: var(--color-error);
}

.after h4 {
    color: var(--color-success);
}

.before ul,
.after ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.before li,
.after li {
    padding: calc(var(--grid-unit) * 1) 0;
    color: var(--color-text);
    font-size: 0.9em;
    line-height: 1.4;
}


/* Contact Form Alerts */

.alert {
    padding: calc(var(--grid-unit) * 2);
    border-radius: var(--border-radius);
    margin-bottom: calc(var(--grid-unit) * 3);
    border: 1px solid;
    display: flex;
    align-items: center;
    gap: calc(var(--grid-unit) * 2);
    position: relative;
    animation: slideIn 0.3s ease-out;
}

.alert-success {
    background-color: #f0fff4;
    border-color: var(--color-success);
    color: #2d5a3d;
}

.alert-error {
    background-color: #fff5f5;
    border-color: var(--color-error);
    color: #c53030;
}

.alert-icon {
    font-size: 1.2em;
    flex-shrink: 0;
}

.alert-message {
    flex-grow: 1;
    font-weight: 500;
}

.alert-close {
    background: none;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.alert-close:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}


/* Loading state for submit button */

.contact-form button[disabled] {
    opacity: 0.7;
    cursor: not-allowed;
    position: relative;
}