/* =============================================
   MAIN INDEX — Red de Salud Aguaytía
   Landing page inmersiva · minimalista
   ============================================= */

:root {
    --color-primary: #1e3a5f;
    --color-primary-light: #2563eb;
    --color-text: #334155;
    --color-text-soft: #64748b;
    --color-line: #e2e8f0;
    --color-bg: #f8fafb;
    --color-dark: #0a1628;
    --color-white: #ffffff;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 10px 25px -12px rgba(15, 23, 42, 0.15);
    --radius: 14px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

/* --- Nav fijo: spacer para que el contenido no quede detrás --- */
main {
    width: 100%;
}

h1, h2, h3, h4 {
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    color: #0f172a;
    letter-spacing: -0.02em;
    line-height: 1.3;
    margin: 0 0 1rem;
}

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


/* =============================================
   HERO — Full-screen inmersivo
   ============================================= */

.hero {
    position: relative;
    width: 100%;
    min-height: 75vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    background: #1a2744;
}

/* Imagen de fondo */
.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('../img/vacuna.png');
    background-size: cover;
    background-position: center bottom;
}

/* Overlay sutil */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(26, 39, 68, 0.85) 0%,
        rgba(26, 39, 68, 0.5) 25%,
        rgba(26, 39, 68, 0.15) 50%,
        transparent 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    padding: 0 3rem;
    padding-top: 100px;
    padding-bottom: 140px;
}

.hero h1 {
    font-size: clamp(2.8rem, 5.5vw, 4.5rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.08;
    letter-spacing: -0.035em;
    margin: 0 0 1.5rem;
}

.hero h1 span {
    display: block;
    background: linear-gradient(135deg, #60a5fa, #2563eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 500px;
    line-height: 1.75;
    margin: 0 0 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* --- Botones --- */
.btn {
    display: inline-block;
    background: linear-gradient(135deg, #1e3a5f, #2563eb);
    color: #ffffff;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.85rem 2rem;
    border-radius: 10px;
    border: none;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px -10px rgba(37, 99, 235, 0.55);
}

.btn-outline {
    display: inline-block;
    padding: 0.85rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 10px;
    color: #ffffff;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.5);
}


/* =============================================
   INSTITUCIONES — Enlaces referenciales
   ============================================= */

.hero-logos {
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 2;
    padding: 2.5rem 3rem 2rem;
    text-align: right;
}

.hero-logos-label {
    display: block;
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.logos-row {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.logo-seal {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 6px;
    text-decoration: none;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
    transition: border-color 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.logo-seal:hover {
    border-color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.25);
}

.logo-seal img {
    height: 36px;
    width: auto;
    opacity: 0.85;
    transition: opacity 0.3s var(--ease);
}

.logo-seal:hover img {
    opacity: 1;
}

.seal-name {
    font-size: 0.72rem;
    font-weight: 400;
    color: #ffffff;
    letter-spacing: 0.02em;
    white-space: nowrap;
}


/* =============================================
   SECCIONES — Contenido
   ============================================= */

.section {
    padding: 5rem 2rem;
}

.section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin: 0 0 1rem;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--color-text-soft);
    max-width: 520px;
    line-height: 1.7;
    margin: 0 0 3rem;
}


/* =============================================
   SERVICIOS — Grid de tarjetas
   ============================================= */

.services {
    background: var(--color-bg);
}

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

.card {
    background: var(--color-white);
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 2rem;
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

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

.card-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.1), rgba(37, 99, 235, 0.08));
    border-radius: 10px;
    margin-bottom: 1.25rem;
}

.card-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--color-primary);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.6rem;
    letter-spacing: -0.01em;
}

.card p {
    font-size: 0.9rem;
    color: var(--color-text-soft);
    line-height: 1.65;
    margin: 0;
}


/* =============================================
   ABOUT — Sección informativa
   ============================================= */

.about {
    background: var(--color-white);
    border-top: 1px solid var(--color-line);
    border-bottom: 1px solid var(--color-line);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    font-size: 1rem;
    color: var(--color-text-soft);
    line-height: 1.75;
    margin: 0 0 1.5rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-primary-light);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.stat-label {
    display: block;
    font-size: 0.78rem;
    color: var(--color-text-soft);
    margin-top: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}


/* =============================================
   NOTICIAS — Layout asimétrico
   ============================================= */

.news {
    background: var(--color-white);
    margin-top: -4rem;
    position: relative;
    z-index: 2;
    border-radius: 1rem 1rem 0 0;
    border-top: 4px solid var(--color-primary);
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2.5rem;
    gap: 1rem;
}

.btn-news {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid var(--color-line);
    border-radius: 8px;
    transition: all 0.3s var(--ease);
    white-space: nowrap;
}

.btn-news:hover {
    border-color: var(--color-primary);
    background: rgba(37, 99, 235, 0.05);
}

.news-featured {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 1.5rem;
    align-items: stretch;
}

/* Tarjeta destacada (izquierda) */
.news-card-featured {
    display: flex;
    flex-direction: column;
    background: var(--color-bg);
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.news-card-featured:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(37, 99, 235, 0.3);
}

.news-card-featured-img {
    width: 100%;
    height: 280px;
    overflow: hidden;
    position: relative;
}

.news-card-featured-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(transparent, rgba(15, 23, 42, 0.1));
    pointer-events: none;
}

.news-card-featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}

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

.news-card-featured-content {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-card-featured-content .news-category {
    margin-bottom: 1rem;
}

.news-card-featured-content h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.75rem;
    line-height: 1.35;
    letter-spacing: -0.02em;
}

.news-excerpt {
    font-size: 0.95rem;
    color: var(--color-text-soft);
    line-height: 1.7;
    margin: 0 0 1.25rem;
    flex: 1;
}

.news-card-featured-content .news-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    color: var(--color-text-soft);
    padding-top: 0.75rem;
    border-top: 1px solid var(--color-line);
}

.news-card-featured-content .news-meta strong {
    color: var(--color-text);
}

/* Sidebar derecha */
.news-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Tarjeta lateral */
.news-card-side {
    display: flex;
    gap: 1rem;
    background: var(--color-bg);
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.news-card-side:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(37, 99, 235, 0.3);
}

.news-card-side-img {
    width: 140px;
    min-height: 120px;
    flex-shrink: 0;
    overflow: hidden;
}

.news-card-side-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}

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

.news-card-side-content {
    padding: 1.25rem 1.25rem 1.25rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-card-side-content .news-category {
    margin-bottom: 0.5rem;
}

.news-card-side-content h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.5rem;
    line-height: 1.4;
    letter-spacing: -0.01em;
}

.news-date {
    font-size: 0.75rem;
    color: var(--color-text-soft);
}

/* News Links scroll */
.news-links {
    display: flex;
    flex-direction: column;
    background: var(--color-bg);
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    overflow: hidden;
}

.news-links-header {
    padding: 1rem 1.25rem 0.5rem;
}

.news-links-header h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    letter-spacing: -0.01em;
}

.news-links-scroll {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0 0.6rem 0.6rem;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(37, 99, 235, 0.3) transparent;
}

.news-links-scroll::-webkit-scrollbar {
    width: 4px;
}

.news-links-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.news-links-scroll::-webkit-scrollbar-thumb {
    background: rgba(96, 165, 250, 0.3);
    border-radius: 2px;
}

.news-link-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 44px;
    padding: 0 0.85rem;
    border-radius: 8px;
    text-decoration: none;
    background: var(--color-white);
    box-shadow: 0 2px 6px -1px rgba(15, 23, 42, 0.1), 0 1px 2px -1px rgba(15, 23, 42, 0.06);
    transition: all 0.3s var(--ease);
}

.news-link-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 25%;
    bottom: 25%;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: var(--color-primary-light);
    opacity: 0;
    transition: opacity 0.3s var(--ease);
}

.news-link-item:hover {
    box-shadow: 0 4px 12px -2px rgba(37, 99, 235, 0.15), 0 2px 4px -1px rgba(37, 99, 235, 0.08);
    transform: translateY(-1px);
}

.news-link-item:hover::before {
    opacity: 1;
}

.news-link-thumb {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
}

.news-link-content {
    flex: 1;
    min-width: 0;
}

.news-link-title {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-link-arrow {
    width: 14px;
    height: 14px;
    stroke: var(--color-text-soft);
    flex-shrink: 0;
    margin-left: 0.5rem;
    transition: all 0.3s var(--ease);
}

.news-link-item:hover .news-link-arrow {
    stroke: var(--color-primary-light);
    transform: translateX(3px);
}

.news-category {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-primary);
    background: rgba(37, 99, 235, 0.08);
    padding: 0.3rem 0.7rem;
    border-radius: 5px;
    align-self: flex-start;
}


/* =============================================
   ESTADÍSTICAS
   ============================================= */

.stats-section {
    background: var(--color-white);
    border-top: 1px solid var(--color-line);
}

.stats-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.stats-header p {
    font-size: 1rem;
    color: var(--color-text-soft);
    line-height: 1.75;
    margin: 0 auto;
    max-width: 480px;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}

.stats-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 160px;
    padding: 1.5rem 1rem;
    background: var(--color-white);
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    text-decoration: none;
    transition: all 0.25s var(--ease);
}

.stats-card:hover {
    border-color: var(--color-primary-light);
    box-shadow: 0 4px 16px -4px rgba(37, 99, 235, 0.15);
}

.stats-card-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef2ff;
    border-radius: 12px;
    margin-bottom: 0.9rem;
}

.stats-card-icon svg {
    width: 26px;
    height: 26px;
    stroke: var(--color-primary);
}

.stats-card h4 {
    font-size: 0.88rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.3rem;
    line-height: 1.3;
}

.stats-card span {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-primary-light);
}

/* =============================================
   REDES SOCIALES
   ============================================= */

.social-section {
    background: #f9faf7;
    border-top: 1px solid var(--color-line);
    padding-top: 1px;
}

.social-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.social-section .section-title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    letter-spacing: -0.04em;
    color: #0f172a;
}

.social-section .section-tag {
    color: var(--color-text-soft);
}

.social-left p {
    font-size: 1rem;
    color: var(--color-text-soft);
    line-height: 1.75;
    margin: 0 0 1.5rem;
}

.social-stats {
    display: flex;
    gap: 2.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-line);
}

.social-stat {
    display: flex;
    flex-direction: column;
}

.social-stat-num {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-primary-light);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.social-stat-label {
    font-size: 0.78rem;
    color: var(--color-text-soft);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-top: 0.25rem;
}

.social-stat-label-blue {
    color: #2563eb !important;
}

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

.social-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s var(--ease);
}

.social-link-fb {
    background: #1877f2;
    color: #ffffff;
}

.social-link-fb:hover {
    background: #166fe5;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -6px rgba(24, 119, 242, 0.5);
}

.social-link-ig {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: #ffffff;
}

.social-link-ig:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -6px rgba(220, 39, 67, 0.5);
}

.social-link-tt {
    background: #000000;
    color: #ffffff;
}

.social-link-tt:hover {
    background: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -6px rgba(0, 0, 0, 0.5);
}

.social-link-wp {
    background: #25d366;
    color: #ffffff;
}

.social-link-wp:hover {
    background: #20bd5a;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -6px rgba(37, 211, 102, 0.5);
}

.social-link-yt {
    background: #ff0000;
    color: #ffffff;
}

.social-link-yt:hover {
    background: #e60000;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -6px rgba(255, 0, 0, 0.5);
}

.social-right {
    display: flex;
    justify-content: center;
    padding-top: 2rem;
}

/* Phone Mockup */
.social-section-phone {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-wrapper {
    position: relative;
}

.phone-frame {
    position: relative;
    width: 280px;
    background: #1a1a1a;
    border-radius: 36px;
    padding: 12px;
    box-shadow:
        0 25px 60px -15px rgba(0, 0, 0, 0.5),
        0 10px 25px -5px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.phone-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 28px;
    background: #1a1a1a;
    border-radius: 0 0 16px 16px;
    z-index: 10;
}

.phone-notch::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: #2a2a2a;
    border-radius: 50%;
    box-shadow: 0 0 0 2px #333;
}

.phone-screen {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    min-height: 480px;
}

.phone-screen iframe {
    display: block;
    border-radius: 24px;
}

.phone-home-bar {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: #444;
    border-radius: 2px;
}

.phone-shadow {
    position: absolute;
    bottom: -30px;
    left: 10%;
    right: 10%;
    height: 30px;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.15) 0%, transparent 70%);
    filter: blur(10px);
}

.social-stat-item {
    display: flex;
    flex-direction: column;
}

.social-stat-num {
    font-size: 1.75rem;
    font-weight: 800;
    color: #60a5fa;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.social-stat-label {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-top: 0.25rem;
}

.btn-social-card {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.75rem;
    background: #1877f2;
    color: #ffffff;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s var(--ease);
}

.btn-social-card:hover {
    background: #166fe5;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -8px rgba(24, 119, 242, 0.5);
}


/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 768px) {
    .hero-content {
        padding: 0 1.5rem;
        padding-top: 100px;
        padding-bottom: 160px;
    }

    .hero-logos {
        padding: 1rem 1.5rem;
    }

    .logos-row {
        gap: 0.4rem;
    }

    .logo-seal {
        padding: 0.35rem 0.7rem;
    }

    .seal-name {
        font-size: 0.65rem;
    }

    .section {
        padding: 3.5rem 1.5rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .news-header {
        flex-direction: column;
        align-items: flex-start;
    }

    /* News responsive */
    .news-featured {
        grid-template-columns: 1fr;
    }

    .news-card-featured-img {
        height: 200px;
    }

    .news-sidebar {
        flex-direction: row;
    }

    .news-card-side {
        flex: 1;
    }

    .news-card-side-img {
        width: 100px;
        min-height: 100px;
    }

    .news-card-side-content {
        padding: 1rem;
    }

    .news-links {
        display: none;
    }

    /* Stats responsive */
    .stats-row {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Social responsive */
    .social-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .social-left {
        text-align: center;
    }

    .social-left p {
        margin: 0 auto 2rem;
    }

    .social-links {
        justify-content: center;
    }

    .social-right {
        order: -1;
    }
}

@media (max-width: 480px) {
    /* News mobile */
    .news-sidebar {
        flex-direction: column;
    }

    .news-card-side {
        flex-direction: row;
    }

    .news-card-side-img {
        width: 110px;
        min-height: 90px;
    }

    /* Stats mobile */
    .stats-row {
        grid-template-columns: 1fr 1fr;
    }

    .stats-card {
        min-height: 140px;
    }

    /* Social mobile */
    .social-links {
        flex-direction: column;
    }

    .social-link {
        justify-content: center;
    }

    .phone-frame {
        width: 240px;
    }
}