/* ==========================================================================
   CSS SYSTEM DESIGN - FIBERSIDE TECHNOLOGIES
   ========================================================================== */

/* Variables & Design Tokens */
:root {
    /* Colors (HSL) */
    --hue-primary: 228; /* Azul Corporativo */
    --primary: hsl(var(--hue-primary), 65%, 25%);       /* #162a66 */
    --primary-light: hsl(var(--hue-primary), 70%, 45%); /* #3054c4 */
    --primary-dark: hsl(var(--hue-primary), 80%, 12%);  /* #060c24 */
    --primary-glow: hsla(200, 100%, 50%, 0.15);
    
    --accent: hsl(197, 100%, 45%);                      /* Cian #0099e6 */
    --accent-glow: hsla(197, 100%, 50%, 0.3);
    
    --bg-dark: hsl(222, 47%, 9%);                       /* Azul profundo #0b0f19 */
    --bg-dark-card: hsl(222, 40%, 14%);                 /* #131a2e */
    --bg-light: hsl(210, 40%, 98%);                     /* Gris azulado claro #f8fafc */
    --bg-white: hsl(0, 0%, 100%);
    
    --text-dark: hsl(222, 30%, 15%);
    --text-muted: hsl(215, 16%, 47%);
    --text-light: hsl(210, 40%, 98%);
    --text-light-muted: hsl(215, 20%, 80%);
    
    /* Typography */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    /* Spacings & Border radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 30px var(--primary-glow);
    
    /* Layout */
    --max-width: 1200px;
    --header-height: 80px;
}

/* Base Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--primary-dark);
}

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

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

ul {
    list-style: none;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.grid {
    display: grid;
    gap: 32px;
}

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

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

.section-padding {
    padding: 80px 0;
}

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

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

.items-center {
    align-items: center;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.section-margin {
    margin-top: 60px;
}

/* Common Components */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
    outline: none;
    font-size: 0.95rem;
}

.btn-primary {
    background-color: var(--primary-light);
    color: var(--bg-white);
    box-shadow: 0 4px 14px hsla(var(--hue-primary), 70%, 45%, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px hsla(var(--hue-primary), 70%, 45%, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--text-light);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.85rem;
}

.btn-block {
    display: flex;
    width: 100%;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 153, 230, 0.1);
    color: var(--accent);
    border: 1px solid rgba(0, 153, 230, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: 16px;
}

.section-line {
    width: 60px;
    height: 4px;
    background-color: var(--accent);
    border-radius: var(--radius-full);
    margin-bottom: 24px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
}

.section-header {
    margin-bottom: 50px;
}

/* Scroll Animation classes */
.fade-in {
    opacity: 0;
    transition: opacity var(--transition-slow);
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: transparent;
    z-index: 1000;
    transition: var(--transition-normal);
}

.main-header.scrolled {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: var(--shadow-sm);
    height: 70px;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    height: 42px;
    width: 42px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.main-header.scrolled .logo-icon {
    border-color: rgba(15, 23, 42, 0.1);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-light);
    letter-spacing: -0.01em;
    text-transform: uppercase;
    transition: var(--transition-normal);
}

.main-header.scrolled .logo-text {
    color: var(--primary-dark);
}

.logo-text .text-accent {
    color: var(--accent);
}

.footer-logo-container {
    margin-bottom: 24px;
}

.footer-logo-container .logo-text {
    color: var(--text-light);
}

.text-white {
    color: var(--text-light) !important;
}

.nav-menu ul {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-light-muted);
    padding: 8px 0;
    position: relative;
}

.main-header.scrolled .nav-link {
    color: var(--text-dark);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
    color: var(--accent) !important;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1010;
}

.mobile-menu-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: var(--text-light);
    border-radius: var(--radius-full);
    transition: var(--transition-normal);
}

.main-header.scrolled .mobile-menu-toggle .bar {
    background-color: var(--text-dark);
}

.mobile-menu-toggle.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    background-color: var(--bg-dark);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 100px;
    color: var(--text-light);
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 20%, hsla(var(--hue-primary), 80%, 15%, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, hsla(197, 100%, 45%, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: var(--text-light);
    line-height: 1.1;
    margin-bottom: 12px;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-light-muted);
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-glow {
    position: absolute;
    width: 70%;
    height: 70%;
    background-color: var(--primary-light);
    filter: blur(80px);
    opacity: 0.3;
    z-index: 1;
    pointer-events: none;
    border-radius: var(--radius-full);
}

.image-wrapper {
    position: relative;
    z-index: 2;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.15);
    background-color: var(--bg-dark-card);
}

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

.hero-image:hover {
    transform: scale(1.05);
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.hero-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.hero-wave .wave-fill {
    fill: var(--bg-white);
}

/* ==========================================================================
   Partners Section
   ========================================================================== */
.partners-section {
    padding: 60px 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.section-tagline {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 40px;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.partner-card {
    background-color: var(--bg-light);
    border-radius: var(--radius-sm);
    padding: 24px;
    text-align: center;
    border: 1px solid rgba(15, 23, 42, 0.03);
    transition: var(--transition-normal);
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(15, 23, 42, 0.1);
}

.partner-header {
    margin-bottom: 12px;
}

.partner-header h3 {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: var(--primary);
}

.partner-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-visual {
    position: relative;
}

.about-glow {
    position: absolute;
    width: 60%;
    height: 60%;
    background-color: var(--accent);
    filter: blur(80px);
    opacity: 0.15;
    z-index: 1;
}

.about-image-grid {
    position: relative;
    z-index: 2;
}

.grid-image-wrapper {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(15, 23, 42, 0.05);
}

.grid-img {
    width: 100%;
    object-fit: cover;
}

.about-accent {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 20px;
    line-height: 1.4;
}

.about-desc {
    color: var(--text-muted);
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.about-stats {
    margin-top: 36px;
    gap: 20px;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    padding-top: 28px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.service-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 40px 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(15, 23, 42, 0.03);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-light), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(15, 23, 42, 0.08);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    background-color: rgba(0, 153, 230, 0.08);
    color: var(--accent);
    margin-bottom: 24px;
    transition: var(--transition-normal);
}

.service-card:hover .service-icon-wrapper {
    background-color: var(--accent);
    color: var(--bg-white);
}

.service-icon {
    width: 28px;
    height: 28px;
}

.service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 16px;
    color: var(--primary-dark);
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Focus Box (Data Center Highlight) */
.focus-box {
    background-color: var(--bg-dark);
    border-radius: var(--radius-lg);
    color: var(--text-light);
    padding: 60px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.focus-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 70%;
    height: 200%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
    pointer-events: none;
}

.focus-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.focus-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.focus-box h3 {
    color: var(--text-light);
    font-size: 1.85rem;
    margin-bottom: 8px;
}

.focus-bold {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 16px;
    text-transform: uppercase;
}

.focus-box p {
    color: var(--text-light-muted);
    font-size: 1.05rem;
    margin-bottom: 32px;
    line-height: 1.7;
}

.features-pill-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.feature-pill {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    color: var(--text-light-muted);
    transition: var(--transition-fast);
}

.feature-pill:hover {
    background: rgba(0, 153, 230, 0.15);
    border-color: var(--accent);
    color: var(--text-light);
}

/* ==========================================================================
   Projects Section
   ========================================================================== */
.project-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(15, 23, 42, 0.03);
    transition: var(--transition-normal);
}

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

.project-img-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
    background-color: var(--bg-dark);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 50%, rgba(6, 12, 36, 0.8) 100%);
    z-index: 2;
    opacity: 0.8;
}

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

.project-card:hover .project-img {
    transform: scale(1.08);
}

.project-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 6px 14px;
    background-color: var(--primary-light);
    color: var(--text-light);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 3;
}

.project-info {
    padding: 28px;
}

.project-info h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    color: var(--primary);
    font-weight: 700;
}

.project-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ==========================================================================
   Team Section
   ========================================================================== */
.team-grid {
    gap: 32px;
}

.team-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 40px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(15, 23, 42, 0.03);
    transition: var(--transition-normal);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(15, 23, 42, 0.08);
}

.team-avatar-wrapper {
    display: inline-flex;
    margin-bottom: 24px;
}

.team-avatar-placeholder {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-full);
    background-color: rgba(22, 42, 102, 0.08);
    color: var(--primary);
    font-size: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--primary-light);
}

.team-card h3 {
    font-size: 1.25rem;
    margin-bottom: 4px;
}

.team-role {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.team-bio {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-info-container {
    padding-right: 40px;
}

.contact-lead-text {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-detail-item {
    display: flex;
    gap: 20px;
}

.detail-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background-color: rgba(22, 42, 102, 0.05);
    color: var(--primary-light);
}

.detail-icon svg {
    width: 24px;
    height: 24px;
}

.detail-text h4 {
    font-size: 1.05rem;
    margin-bottom: 4px;
    color: var(--primary);
}

.detail-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.detail-text a:hover {
    color: var(--accent);
}

/* Contact Form */
.contact-form-container {
    background-color: var(--bg-light);
    padding: 48px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(15, 23, 42, 0.05);
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.form-helper {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 28px;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary);
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(15, 23, 42, 0.15);
    font-family: var(--font-body);
    font-size: 0.95rem;
    background-color: var(--bg-white);
    color: var(--text-dark);
    transition: var(--transition-fast);
    outline: none;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.textarea-counter {
    text-align: right;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.form-status {
    margin-top: 16px;
    padding: 12px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    display: none;
    text-align: center;
}

.form-status.success {
    display: block;
    background-color: rgba(16, 185, 129, 0.1);
    color: hsl(162, 84%, 30%);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.form-status.error {
    display: block;
    background-color: rgba(239, 68, 68, 0.1);
    color: hsl(0, 84%, 40%);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* ==========================================================================
   Footer Section
   ========================================================================== */
.main-footer {
    background-color: var(--primary-dark);
    color: var(--text-light-muted);
    padding: 80px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    gap: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 48px;
}

.footer-brand .footer-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
    margin-bottom: 24px;
    border-radius: var(--radius-sm);
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-links h4, .footer-social h4 {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 8px;
}

.footer-links h4::after, .footer-social h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 4px;
}

.footer-social p {
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-bottom {
    padding-top: 28px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   Scroll To Top
   ========================================================================== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: -60px; /* Hidden by default */
    width: 48px;
    height: 48px;
    background-color: var(--accent);
    color: var(--text-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    z-index: 99;
    transition: var(--transition-normal);
}

.scroll-to-top.active {
    right: 30px;
}

.scroll-to-top:hover {
    background-color: var(--primary-light);
    transform: translateY(-3px);
}

.scroll-to-top svg {
    width: 20px;
    height: 20px;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

/* Tablet view (768px+) */
@media (min-width: 768px) {
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-content h1 {
        font-size: 4.25rem;
    }
}

/* Desktop view (1024px+) */
@media (min-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .hero-content h1 {
        font-size: 4.5rem;
    }
}

/* Mobile only (Under 768px) */
@media (max-width: 767px) {
    .main-header {
        background-color: var(--bg-dark);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    
    .main-header.scrolled {
        background-color: var(--bg-dark);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    
    .nav-link {
        color: var(--text-light);
    }
    
    .main-header.scrolled .nav-link {
        color: var(--text-light-muted);
    }

    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--bg-dark);
        padding: 40px;
        transform: translateX(-100%);
        transition: var(--transition-normal);
        z-index: 1000;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 28px;
    }
    
    .nav-link {
        font-size: 1.25rem;
    }
    
    .header-action {
        display: none; /* Hide top CTA on mobile */
    }
    
    .hero-content h1 {
        font-size: 2.75rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 28px;
    }
    
    .focus-box {
        padding: 30px;
    }
    
    .contact-info-container {
        padding-right: 0;
    }
    
    .contact-form-container {
        padding: 30px;
    }
}
