/* ChilePodo Design System */
:root {
    /* Colors */
    --primary-blue: #005691;
    /* Clinical Blue */
    --secondary-blue: #ebf5fa;
    /* Very Light Blue background */
    --accent-green: #28a745;
    /* Soft Green for calls to action */
    --text-dark: #333333;
    --text-light: #ffffff;
    --gray-light: #f4f4f4;
    --border-color: #ddd;

    /* Typography */
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

    /* Spacing */
    --container-width: 1200px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: var(--secondary-blue);
    /* Subtle clinical feel */
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: #004475;
}

.btn-success {
    background-color: var(--accent-green);
    color: var(--text-light);
}

.btn-success:hover {
    background-color: #218838;
}

/* Header */
header {
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background-color: var(--primary-blue);
    color: white;
    font-size: 0.9em;
    padding: 5px 0;
    text-align: center;
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: var(--container-width);
    margin: 0 auto;
}

.logo-container img {
    height: 100px;
    /* Adjust based on actual logo ratio */
}

/* Footer specific logo size */
footer .logo-container img {
    height: 120px;
    width: auto;
}

nav ul {
    display: flex;
    gap: 20px;
}

nav a {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 1.1em;
}

nav a:hover {
    color: var(--accent-green);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #0077c8 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
    margin-bottom: 40px;
}

.hero h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

/* Feature Grid */
.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.2s;
    border-top: 5px solid var(--primary-blue);
}

.card h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.card:hover {
    transform: translateY(-5px);
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: white;
    padding: 40px 0 20px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.footer-section h4 {
    border-bottom: 2px solid var(--accent-green);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9em;
}