@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;700&family=Montserrat:wght@400;700;900&display=swap');

/* Brutalist Raw Theme */

:root {
 --primary-color: #0d4f8b; /* Deep Blue */
 --secondary-color: #0891b2; /* Tech Cyan */
 --accent-color: #4a5568; /* Steel Gray */
 --text-dark: #1a202c;
 --text-light: #f7fafc;
 --border-color: #1a202c; /* Black for stark contrast */
 --bg-light: #f0f0f0;
 --bg-dark: #2d3748;
 --grid-line: #ddd;
 --font-mono: 'IBM Plex Mono', monospace;
 --font-sans: 'Montserrat', sans-serif;
 --header-height: 80px;
}

/* Base Reset & Typography */
* {
 margin: 0;
 padding: 0;
 box-sizing: border-box;
}

html {
 scroll-behavior: smooth;
}

body {
 font-family: var(--font-sans);
 line-height: 1.6;
 color: var(--text-dark);
 background-color: var(--bg-light);
 overflow-x: hidden;
 position: relative;
 border: 4px solid var(--border-color); /* Overall page border */
}

a {
 color: var(--primary-color);
 text-decoration: none;
 transition: all 0.3s ease;
}

a:hover {
 color: var(--secondary-color);
 text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
 font-family: var(--font-sans);
 margin-bottom: 0.8em;
 color: var(--text-dark);
 text-transform: uppercase;
}

h1 { font-size: 3.5em; line-height: 1.1; font-weight: 900; }
h2 { font-size: 2.5em; line-height: 1.2; font-weight: 700; border-bottom: 2px solid var(--border-color); padding-bottom: 0.3em; margin-bottom: 1.2em;}
h3 { font-size: 1.8em; line-height: 1.3; font-weight: 700; }
h4 { font-size: 1.4em; font-weight: 700; }
p { margin-bottom: 1em; }
ul, ol { margin-left: 20px; margin-bottom: 1em; }

input, button, textarea {
 font-family: var(--font-mono);
 border: 2px solid var(--border-color);
 padding: 10px 15px;
 background-color: var(--bg-light);
 color: var(--text-dark);
 font-size: 1em;
 transition: all 0.3s ease;
 border-radius: 0; /* Brutalist */
}

input:focus, textarea:focus, button:focus {
 outline: none;
 box-shadow: 2px 2px 0px var(--secondary-color);
}

button {
 cursor: pointer;
}

/* Utility Classes */
.container {
 max-width: 1200px;
 margin: 0 auto;
 padding: 20px;
 border-left: 1px dashed var(--grid-line);
 border-right: 1px dashed var(--grid-line);
}

.section-padding {
 padding: 60px 20px;
}
.mt-1 { margin-top: 1em; }
.mb-1 { margin-bottom: 1em; }
.text-center { text-align: center; }

/* Brutalist Header */
.header {
 background-color: transparent;
 padding: 15px 20px;
 border-bottom: 4px solid var(--border-color);
 position: sticky;
 top: 0;
 width: 100%;
 z-index: 1000;
 transition: background-color 0.3s ease, padding 0.3s ease, border-bottom 0.3s ease;
}

.navbar {
 display: flex;
 justify-content: space-between;
 align-items: center;
 max-width: 1200px;
 margin: 0 auto;
}

.logo {
 font-family: var(--font-sans);
 font-size: 2.2em;
 font-weight: 900;
 color: var(--text-dark);
 text-transform: uppercase;
 letter-spacing: -1px;
 padding: 5px 0;
 border: 2px solid var(--border-color);
 padding: 5px 10px;
}

.nav-links {
 list-style: none;
 display: flex;
 gap: 30px;
}

.nav-links li a {
 font-family: var(--font-mono);
 font-size: 1.1em;
 font-weight: 700;
 color: var(--text-dark);
 padding: 5px 0;
 position: relative;
 text-transform: uppercase;
}

.nav-links li a::after {
 content: '';
 position: absolute;
 left: 0;
 bottom: -5px;
 width: 0;
 height: 4px;
 background-color: var(--secondary-color);
 transition: width 0.3s ease;
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
 width: 100%;
}

.nav-toggle {
 display: none;
 background: transparent;
 border: none;
 cursor: pointer;
 padding: 0;
 width: 30px;
 height: 22px;
 position: relative;
}

.nav-toggle span {
 display: block;
 width: 100%;
 height: 4px;
 background-color: var(--text-dark);
 position: absolute;
 left: 0;
 transition: all 0.3s ease;
}

.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 9px; }
.nav-toggle span:nth-child(3) { top: 18px; }

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Hero Section */
.hero-brutalist {
 display: flex;
 flex-direction: column;
 justify-content: center;
 align-items: center;
 padding: 80px 20px;
 text-align: center;
 border-bottom: 2px solid var(--border-color);
 background-color: var(--bg-light);
 position: relative;
 overflow: hidden;
}

.hero-content {
 max-width: 900px;
 z-index: 2;
}

.hero-descriptor {
 font-family: var(--font-mono);
 font-size: 1.2em;
 color: var(--primary-color);
 margin-bottom: 10px;
 letter-spacing: 2px;
 border: 1px solid var(--border-color);
 padding: 5px 10px;
 display: inline-block;
 background-color: white;
}

.hero-brutalist h1 {
 font-size: 5em;
 color: var(--text-dark);
 margin-top: 0.2em;
 margin-bottom: 0.4em;
 font-weight: 900;
 position: relative;
 display: inline-block;
 padding: 0 10px;
 background-color: white;
 z-index: 2;
 -webkit-text-stroke: 1px var(--border-color);
 color: transparent;
}

.hero-subtitle {
 font-family: var(--font-sans);
 font-size: 1.4em;
 color: var(--accent-color);
 max-width: 700px;
 margin: 0 auto 30px auto;
 font-weight: 400;
}

.hero-actions {
 display: flex;
 gap: 20px;
 justify-content: center;
 margin-top: 20px;
}

.btn {
 display: inline-block;
 padding: 15px 30px;
 font-family: var(--font-mono);
 font-size: 1.1em;
 text-transform: uppercase;
 font-weight: 700;
 border-radius: 0;
 transition: all 0.3s ease;
 border: 2px solid var(--border-color);
}

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

.btn-primary:hover {
 background-color: var(--secondary-color);
 border-color: var(--secondary-color);
 color: var(--text-light);
 box-shadow: 4px 4px 0px var(--border-color);
 transform: translate(-2px, -2px);
}

.btn-secondary {
 background-color: transparent;
 color: var(--text-dark);
 border-color: var(--border-color);
}

.btn-secondary:hover {
 background-color: var(--primary-color);
 color: var(--text-light);
 box-shadow: 4px 4px 0px var(--secondary-color);
 transform: translate(-2px, -2px);
}

.hero-image-container {
 margin-top: 60px;
 width: 60%;
 /* border: 4px solid var(--border-color); */
 padding: 10px;
 position: relative;
 overflow: hidden;
 max-height: 400px;
 display: flex;
 justify-content: center;
 align-items: center;
}

.hero-image {
 width: 100%;
 height: 100%;
 object-fit: cover;
 display: block;
 filter: grayscale(100%) contrast(150%);
 opacity: 0.7;
}

/* General Section Styles */
.section-brutalist {
 padding: 60px 20px;
 border-bottom: 2px solid var(--border-color);
 position: relative;
}
.section-title {
 font-family: var(--font-mono);
 font-size: 2em;
 color: var(--secondary-color);
 text-align: center;
 margin-bottom: 40px;
 border: 2px solid var(--border-color);
 display: inline-block;
 padding: 10px 20px;
 background-color: white;
 text-transform: uppercase;
 letter-spacing: 2px;
}

.section-brutalist > p {
 max-width: 800px;
 margin-left: auto;
 margin-right: auto;
 text-align: center;
 font-size: 1.1em;
 margin-bottom: 2em;
}

/* 002. SERVICIOS CLAVE Section (raw-text-block) */
.raw-text-block {
 background-color: var(--bg-light);
 text-align: center;
}

.features-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
 gap: 40px;
 max-width: 1200px;
 margin: 0 auto;
 margin-top: 40px;
}

.feature-card-mono {
 border: 2px solid var(--border-color);
 padding: 30px;
 background-color: white;
 text-align: left;
 transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card-mono:hover {
 transform: translate(-5px, -5px);
 box-shadow: 8px 8px 0px var(--secondary-color);
}

.feature-card-mono h3 {
 font-family: var(--font-mono);
 font-size: 1.4em;
 color: var(--primary-color);
 margin-bottom: 15px;
 position: relative;
 padding-bottom: 10px;
}

.feature-card-mono h3::after {
 content: '';
 position: absolute;
 left: 0;
 bottom: 0;
 width: 50px;
 height: 3px;
 background-color: var(--accent-color);
}

.feature-card-mono p {
 font-family: var(--font-sans);
 font-size: 1em;
 color: var(--text-dark);
}

/* 003. SOLUCIONES EN LA NUBE Section (raw-bordered-block) */
.raw-bordered-block {
 background-color: var(--bg-light);
 padding: 60px 20px;
}

.cloud-solutions-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
 gap: 50px;
 max-width: 1200px;
 margin: 0 auto;
}

.solution-card {
 border: 3px solid var(--border-color);
 background-color: white;
 padding: 40px;
 display: flex;
 flex-direction: column;
 justify-content: space-between;
 transition: all 0.3s ease;
}

.solution-card:hover {
 box-shadow: 10px 10px 0px var(--primary-color);
 transform: translate(-5px, -5px);
}

.solution-card h3 {
 font-family: var(--font-mono);
 font-size: 1.6em;
 color: var(--primary-color);
 margin-bottom: 15px;
 border-bottom: 1px solid var(--accent-color);
 padding-bottom: 5px;
}

.solution-card p {
 font-family: var(--font-sans);
 margin-bottom: 1em;
}

.solution-card ul {
 list-style: none;
 padding: 0;
 margin-top: 20px;
}

.solution-card ul li {
 font-family: var(--font-mono);
 color: var(--text-dark);
 margin-bottom: 8px;
 padding-left: 25px;
 position: relative;
}

.solution-card ul li::before {
 content: '';
 position: absolute;
 left: 0;
 top: 50%;
 transform: translateY(-50%) rotate(45deg);
 width: 10px;
 height: 10px;
 border: 2px solid var(--secondary-color);
 border-top: none;
 border-left: none;
}

/* 004. ABOUT Block (text-image-block) */
.text-image-block {
 display: flex;
 flex-wrap: wrap;
 align-items: center;
 max-width: 1200px;
 margin: 0 auto;
 position: relative;
 padding: 60px 20px;
 background-color: var(--bg-light);
}

.text-image-block.alt-bg {
 background-color: white;
}

.image-frame-brutalist {
 flex: 1;
 min-width: 300px;
 margin-right: 40px;
 border: 4px solid var(--border-color);
 padding: 10px;
 position: relative;
 overflow: hidden;
}

.content-text-block {
 flex: 1;
 min-width: 300px;
}

.image-frame-brutalist img {
 display: block;
 width: 100%;
 height: auto;
 object-fit: cover;
 filter: grayscale(50%) contrast(120%);
 transition: filter 0.3s ease;
}

.image-frame-brutalist img:hover {
 filter: grayscale(0%) contrast(100%);
}

.content-text-block h2 {
 text-align: left;
 margin-bottom: 20px;
 border-bottom: 2px solid var(--accent-color);
 padding-bottom: 10px;
 font-family: var(--font-sans);
 color: var(--text-dark);
 font-size: 2.2em;
 display: inline-block;
}

.content-text-block p {
 font-size: 1.1em;
 margin-bottom: 20px;
}

/* 005. TESTIMONIALS Section */
.testimonials-section {
 background-color: var(--bg-light);
 text-align: center;
}

.testimonials-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
 gap: 40px;
 max-width: 1200px;
 margin: 0 auto;
 margin-top: 40px;
}

.testimonial-card-plain {
 border: 2px solid var(--border-color);
 padding: 30px;
 background-color: white;
 text-align: center;
 position: relative;
 overflow: hidden;
}

.testimonial-card-plain::before {
 content: '“';
 font-family: serif;
 font-size: 10em;
 color: var(--grid-line);
 position: absolute;
 top: -30px;
 left: 10px;
 opacity: 0.3;
 z-index: 0;
}

.testimonial-text {
 font-family: var(--font-sans);
 font-style: italic;
 font-size: 1.1em;
 margin-bottom: 20px;
 color: var(--text-dark);
 position: relative;
 z-index: 1;
}

.testimonial-author {
 display: flex;
 align-items: center;
 justify-content: center;
 margin-top: 20px;
 font-family: var(--font-mono);
 font-weight: 700;
 color: var(--primary-color);
}

.author-avatar {
 width: 60px;
 height: 60px;
 border: 2px solid var(--secondary-color);
 object-fit: cover;
 margin-right: 15px;
 filter: grayscale(100%);
}

/* CTA Section */
.cta-section-raw {
 background-color: var(--primary-color);
 color: var(--text-light);
 text-align: center;
 padding: 80px 20px;
 border-top: 4px solid var(--border-color);
}

.cta-section-raw h2 {
 color: var(--text-light);
 font-size: 2.8em;
 margin-bottom: 0.5em;
 border-bottom-color: var(--secondary-color);
}

.cta-section-raw p {
 font-family: var(--font-sans);
 font-size: 1.2em;
 max-width: 800px;
 margin: 0 auto 30px auto;
}

.cta-section-raw .btn-primary {
 background-color: var(--secondary-color);
 border-color: var(--secondary-color);
 color: var(--text-light);
}

.cta-section-raw .btn-primary:hover {
 background-color: var(--text-light);
 color: var(--primary-color);
 border-color: var(--text-light);
 box-shadow: 4px 4px 0px var(--border-color);
}

/* Footer Brutalist */
.footer-brutalist {
 background-color: var(--text-dark);
 color: var(--text-light);
 padding: 60px 20px 20px 20px;
 border-top: 4px solid var(--border-color);
 font-family: var(--font-mono);
}

.footer-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
 gap: 40px;
 max-width: 1200px;
 margin: 0 auto;
 margin-bottom: 40px;
}

.footer-col h3 {
 color: var(--secondary-color);
 font-size: 1.5em;
 margin-bottom: 20px;
 border-bottom: 1px solid var(--accent-color);
 padding-bottom: 10px;
 text-transform: uppercase;
}

.footer-col p, .footer-col ul li {
 font-size: 0.95em;
 margin-bottom: 8px;
}

.footer-col a {
 color: var(--text-light);
 text-decoration: none;
 padding: 2px 0;
 transition: color 0.3s ease;
 border-bottom: 1px solid transparent;
}

.footer-col a:hover {
 color: var(--secondary-color);
 border-bottom-color: var(--secondary-color);
}

.contact-info p {
 margin-bottom: 10px;
}

.footer-bottom {
 text-align: center;
 margin-top: 40px;
 padding-top: 20px;
 border-top: 1px dashed var(--grid-line);
 font-size: 0.9em;
 color: var(--accent-color);
}

/* General Pages Section Styles (for About, Services, Contact, etc.) */
.page-hero {
 background-color: var(--primary-color);
 color: var(--text-light);
 padding: 80px 20px;
 text-align: center;
 border-bottom: 4px solid var(--border-color);
}

.page-hero h1 {
 font-size: 4em;
 color: var(--text-light);
 -webkit-text-stroke: 1px var(--secondary-color);
 text-stroke: 1px var(--secondary-color);
 color: transparent;
 margin-bottom: 0.2em;
}

.page-hero p {
 font-size: 1.3em;
 max-width: 800px;
 margin: 0 auto;
 color: var(--text-light);
}

.content-section {
 padding: 60px 20px;
 max-width: 1200px;
 margin: 0 auto;
 border-bottom: 1px dashed var(--grid-line);
 background-color: var(--bg-light);
 position: relative;
 overflow: hidden;
}

.content-section:last-of-type {
 border-bottom: none;
}

.content-section h2 {
 font-family: var(--font-sans);
 color: var(--text-dark);
 margin-bottom: 30px;
 border-bottom: 2px solid var(--accent-color);
 padding-bottom: 10px;
 font-size: 2.2em;
}

.content-section p, .content-section ul li {
 font-size: 1.1em;
 color: var(--text-dark);
}

.content-section ul {
 list-style: none;
 margin-left: 0;
}

.content-section ul li {
 padding-left: 25px;
 position: relative;
 margin-bottom: 10px;
}

.content-section ul li::before {
 content: '→';
 position: absolute;
 left: 0;
 color: var(--secondary-color);
 font-weight: bold;
 font-family: var(--font-mono);
}

.grid-2, .grid-3 {
 display: grid;
 gap: 40px;
 margin-top: 30px;
}
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

/* Card styles for services/blog/gallery */
.card {
 border: 2px solid var(--border-color);
 background-color: white;
 padding: 20px;
 position: relative;
 overflow: hidden;
 transition: all 0.3s ease;
 display: flex;
 flex-direction: column;
 justify-content: space-between;
}

.card:hover {
 transform: translateY(-5px);
 box-shadow: 6px 6px 0px var(--secondary-color);
}

.card img {
 width: 100%;
 height: 200px;
 object-fit: cover;
 margin-bottom: 15px;
 display: block;
 border-bottom: 2px solid var(--border-color);
 filter: grayscale(80%) contrast(150%);
 transition: filter 0.3s ease;
}
.card:hover img {
 filter: grayscale(0%) contrast(100%);
}

.card h3 {
 font-family: var(--font-mono);
 color: var(--primary-color);
 font-size: 1.4em;
 margin-bottom: 10px;
 border-bottom: 1px solid var(--accent-color);
 padding-bottom: 5px;
}

.card p {
 font-family: var(--font-sans);
 font-size: 0.95em;
 margin-bottom: 15px;
}

.card .btn {
 align-self: flex-start;
 padding: 10px 20px;
 font-size: 0.9em;
 margin-top: auto; /* Push button to bottom */
}

/* About Page Specific Styles */
.team-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
 gap: 40px;
 margin-top: 40px;
}

.team-member-card {
 border: 2px solid var(--border-color);
 background-color: white;
 padding: 20px;
 text-align: center;
 transition: all 0.3s ease;
}

.team-member-card:hover {
 transform: translateY(-5px);
 box-shadow: 6px 6px 0px var(--primary-color);
}

.team-member-card img {
 width: 120px;
 height: 120px;
 border: 3px solid var(--secondary-color);
 object-fit: cover;
 margin-bottom: 15px;
 display: block;
 margin-left: auto;
 margin-right: auto;
 filter: grayscale(100%);
 transition: filter 0.3s ease;
}
.team-member-card:hover img {
 filter: grayscale(0%);
}

.team-member-card h3 {
 font-family: var(--font-mono);
 color: var(--primary-color);
 font-size: 1.3em;
 margin-bottom: 5px;
 text-transform: uppercase;
}
.team-member-card p {
 font-size: 0.9em;
 color: var(--accent-color);
}

/* Services Page Specific Styles */
.process-steps {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
 gap: 40px;
 margin-top: 40px;
}

.step-card {
 border: 2px solid var(--border-color);
 background-color: var(--bg-light);
 padding: 25px;
 position: relative;
 overflow: hidden;
}

.step-card::before {
 content: attr(data-step-number);
 font-family: var(--font-mono);
 font-size: 4em;
 color: var(--grid-line);
 position: absolute;
 top: -10px;
 right: 10px;
 opacity: 0.4;
 z-index: 0;
}

.step-card h3 {
 font-family: var(--font-mono);
 color: var(--primary-color);
 margin-bottom: 10px;
 position: relative;
 z-index: 1;
}

.step-card p {
 font-family: var(--font-sans);
 font-size: 0.95em;
 position: relative;
 z-index: 1;
}

/* Contact Page Specific Styles */
.contact-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
 gap: 40px;
 margin-top: 40px;
}

.contact-info-block {
 border: 2px solid var(--border-color);
 background-color: white;
 padding: 30px;
}
.contact-info-block h3 {
 font-family: var(--font-mono);
 color: var(--primary-color);
 margin-bottom: 20px;
 border-bottom: 1px solid var(--accent-color);
 padding-bottom: 10px;
}
.contact-info-block p {
 font-family: var(--font-sans);
 margin-bottom: 10px;
 font-size: 1.1em;
}

.contact-info-block a {
 font-weight: bold;
 color: var(--secondary-color);
}
.contact-info-block a:hover {
 text-decoration: underline;
}

.contact-form {
 border: 2px solid var(--border-color);
 background-color: white;
 padding: 30px;
}

.contact-form label {
 display: block;
 font-family: var(--font-mono);
 margin-bottom: 8px;
 font-weight: 700;
 color: var(--text-dark);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
 width: 100%;
 padding: 12px;
 margin-bottom: 20px;
 border: 2px solid var(--border-color);
 background-color: var(--bg-light);
 font-family: var(--font-mono);
 font-size: 1em;
}

.contact-form textarea {
 resize: vertical;
 min-height: 150px;
}

.map-container {
 height: 450px;
 border: 2px solid var(--border-color);
 margin-top: 60px;
 overflow: hidden;
}
.map-container iframe {
 width: 100%;
 height: 100%;
 border: 0;
 display: block;
}

/* Blog List Page Styles */
.blog-listings {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
 gap: 40px;
 margin-top: 40px;
}

.blog-post-card {
 border: 2px solid var(--border-color);
 background-color: white;
 padding: 20px;
 transition: all 0.3s ease;
 display: flex;
 flex-direction: column;
}
.blog-post-card:hover {
 transform: translateY(-5px);
 box-shadow: 6px 6px 0px var(--primary-color);
}

.blog-post-card img {
 min-height: 200px;
 max-height: 200px;
 object-fit: cover;
 width: 100%;
 margin-bottom: 15px;
 border-bottom: 2px solid var(--border-color);
 filter: grayscale(80%) contrast(150%);
 transition: filter 0.3s ease;
}
.blog-post-card:hover img {
 filter: grayscale(0%) contrast(100%);
}

.blog-post-card h3 {
 font-family: var(--font-mono);
 color: var(--primary-color);
 font-size: 1.4em;
 margin-bottom: 10px;
 border-bottom: 1px solid var(--accent-color);
 padding-bottom: 5px;
}
.blog-post-card p {
 font-family: var(--font-sans);
 font-size: 0.95em;
 margin-bottom: 15px;
}
.blog-post-card .post-meta {
 font-family: var(--font-mono);
 font-size: 0.85em;
 color: var(--accent-color);
 margin-bottom: 15px;
 margin-top: auto; /* Push meta and button to bottom */
}
.blog-post-card .btn {
 align-self: flex-start;
 padding: 10px 20px;
 font-size: 0.9em;
}

/* Single Blog Post Styles */
.blog-post-content {
 max-width: 900px;
 margin: 0 auto;
 padding: 40px 20px;
 background-color: white;
 border: 2px solid var(--border-color);
 margin-top: 40px;
 margin-bottom: 40px;
}

.blog-post-content h1 {
 font-size: 2.8em;
 color: var(--primary-color);
 border-bottom: 2px solid var(--accent-color);
 padding-bottom: 15px;
 margin-bottom: 20px;
}

.blog-post-meta {
 font-family: var(--font-mono);
 font-size: 0.95em;
 color: var(--accent-color);
 margin-bottom: 30px;
 padding-bottom: 15px;
 border-bottom: 1px dashed var(--grid-line);
}
.blog-post-meta span {
 margin-right: 15px;
}
.blog-post-meta a {
 color: var(--secondary-color);
}

.blog-post-image {
 width: 100%;
 height: 400px;
 object-fit: cover;
 margin-bottom: 30px;
 border: 2px solid var(--border-color);
 filter: grayscale(50%) contrast(120%);
}

.blog-post-content p {
 font-family: var(--font-sans);
 font-size: 1.1em;
 margin-bottom: 1.5em;
}
.blog-post-content h3 {
 font-family: var(--font-mono);
 font-size: 1.8em;
 color: var(--secondary-color);
 margin-top: 1.5em;
 margin-bottom: 0.8em;
 border-bottom: 1px solid var(--grid-line);
 padding-bottom: 5px;
}

.blog-post-content ul, .blog-post-content ol {
 margin-bottom: 1.5em;
 margin-left: 20px;
 font-family: var(--font-sans);
}
.blog-post-content ul li {
 list-style: square;
}
.blog-post-content ol li {
 list-style: decimal;
}

.author-box {
 border: 2px solid var(--border-color);
 background-color: var(--bg-light);
 padding: 20px;
 margin-top: 40px;
 display: flex;
 align-items: center;
}
.author-box img {
 width: 80px;
 height: 80px;
 object-fit: cover;
 border: 2px solid var(--primary-color);
 margin-right: 20px;
 filter: grayscale(100%);
}
.author-info h4 {
 margin-bottom: 5px;
 color: var(--primary-color);
 font-family: var(--font-mono);
}
.author-info p {
 font-size: 0.9em;
 color: var(--accent-color);
 margin: 0;
 font-family: var(--font-sans);
}

/* Gallery Page Styles */
.gallery-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
 gap: 20px;
 margin-top: 40px;
}

.gallery-item {
 border: 2px solid var(--border-color);
 background-color: white;
 cursor: pointer;
 position: relative;
 overflow: hidden;
}

.gallery-item img {
 width: 100%;
 height: 250px;
 object-fit: cover;
 display: block;
 filter: grayscale(100%) contrast(150%);
 transition: all 0.3s ease;
}

.gallery-item:hover img {
 filter: grayscale(0%) contrast(100%);
 transform: scale(1.05);
}

.gallery-item::after {
 content: attr(data-title);
 position: absolute;
 bottom: 0;
 left: 0;
 width: 100%;
 background-color: rgba(var(--primary-color-rgb), 0.8);
 color: var(--text-light);
 font-family: var(--font-mono);
 padding: 10px;
 text-align: center;
 font-size: 0.9em;
 transform: translateY(100%);
 transition: transform 0.3s ease;
}

.gallery-item:hover::after {
 transform: translateY(0);
}

/* Lightbox Styles */
.lightbox {
 display: none;
 position: fixed;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 background-color: rgba(0, 0, 0, 0.9);
 z-index: 2000;
 justify-content: center;
 align-items: center;
 backdrop-filter: blur(5px);
}

.lightbox-content {
 position: relative;
 max-width: 90%;
 max-height: 90%;
 border: 4px solid var(--secondary-color);
 background-color: var(--bg-light);
 padding: 10px;
 box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
 display: flex;
 flex-direction: column;
 align-items: center;
}

.lightbox-content img {
 max-width: 100%;
 max-height: 80vh;
 object-fit: contain;
 display: block;
}

.lightbox-caption {
 color: var(--text-dark);
 font-family: var(--font-mono);
 text-align: center;
 padding: 15px 0;
 font-size: 1.1em;
 border-top: 1px dashed var(--grid-line);
 margin-top: 10px;
 width: 100%;
}

.lightbox-close {
 position: absolute;
 top: -20px;
 right: -20px;
 background-color: var(--primary-color);
 color: var(--text-light);
 border: 2px solid var(--border-color);
 width: 50px;
 height: 50px;
 font-size: 2em;
 line-height: 1;
 text-align: center;
 cursor: pointer;
 z-index: 2001;
 transition: all 0.2s ease;
}
.lightbox-close:hover {
 background-color: var(--secondary-color);
 box-shadow: 4px 4px 0px var(--border-color);
}

/* FAQ Page Styles */
.faq-accordion {
 max-width: 900px;
 margin: 40px auto;
 border: 2px solid var(--border-color);
}

.accordion-item {
 border-bottom: 1px dashed var(--grid-line);
}

.accordion-item:last-child {
 border-bottom: none;
}

.accordion-header {
 background-color: white;
 padding: 20px 25px;
 cursor: pointer;
 display: flex;
 justify-content: space-between;
 align-items: center;
 font-family: var(--font-mono);
 font-size: 1.15em;
 color: var(--primary-color);
 font-weight: 700;
 border-bottom: 1px solid transparent;
 transition: background-color 0.3s ease, border-bottom 0.3s ease;
}

.accordion-header:hover {
 background-color: var(--bg-light);
 border-bottom-color: var(--secondary-color);
}

.accordion-header.active {
 background-color: var(--secondary-color);
 color: var(--text-light);
}

.accordion-header .icon {
 font-size: 1.5em;
 transition: transform 0.3s ease;
}

.accordion-header.active .icon {
 transform: rotate(45deg);
}

.accordion-content {
 background-color: var(--bg-light);
 padding: 0 25px;
 max-height: 0;
 overflow: hidden;
 transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out;
}

.accordion-content p {
 font-family: var(--font-sans);
 padding: 20px 0;
 margin: 0;
 font-size: 1.05em;
 color: var(--text-dark);
}

/* Legal Pages (Privacy, Terms, etc.) */
.legal-content {
 max-width: 800px;
 margin: 40px auto;
 padding: 40px 20px;
 background-color: white;
 border: 2px solid var(--border-color);
}

.legal-content h2 {
 font-size: 2.5em;
 color: var(--primary-color);
 border-bottom: 2px solid var(--accent-color);
 padding-bottom: 15px;
 margin-bottom: 30px;
 text-align: left;
}

.legal-content h3 {
 font-family: var(--font-mono);
 font-size: 1.6em;
 color: var(--secondary-color);
 margin-top: 1.5em;
 margin-bottom: 0.8em;
 border-bottom: 1px solid var(--grid-line);
 padding-bottom: 5px;
}

.legal-content p, .legal-content ul li {
 font-family: var(--font-sans);
 font-size: 1em;
 margin-bottom: 1em;
 line-height: 1.7;
}

.legal-content ul {
 list-style: disc;
 margin-left: 25px;
 margin-bottom: 1.5em;
}

/* Thank You Page */
.thank-you-container {
 padding: 100px 20px;
 text-align: center;
 background-color: var(--bg-light);
 border-bottom: 2px solid var(--border-color);
 max-width: 800px;
 margin: 40px auto;
 border: 2px solid var(--border-color);
}

.thank-you-container h1 {
 font-size: 3.5em;
 color: var(--primary-color);
 margin-bottom: 0.5em;
 border-bottom: 2px solid var(--accent-color);
 padding-bottom: 10px;
 display: inline-block;
}

.thank-you-container p {
 font-size: 1.2em;
 margin-bottom: 30px;
 color: var(--text-dark);
}

/* 404 Page */
.error-container {
 padding: 100px 20px;
 text-align: center;
 background-color: var(--bg-dark);
 color: var(--text-light);
 border: 4px solid var(--border-color);
 margin: 40px auto;
 max-width: 900px;
}

.error-container h1 {
 font-size: 7em;
 margin-bottom: 0.2em;
 color: var(--secondary-color);
 -webkit-text-stroke: 2px var(--text-light);
 text-stroke: 2px var(--text-light);
 color: transparent;
}

.error-container h2 {
 font-size: 2.5em;
 margin-bottom: 0.8em;
 color: var(--text-light);
 border-bottom-color: var(--primary-color);
}

.error-container p {
 font-size: 1.2em;
 margin-bottom: 40px;
 color: var(--accent-color);
}

.error-container .btn-primary {
 background-color: var(--primary-color);
 border-color: var(--primary-color);
 color: var(--text-light);
}
.error-container .btn-primary:hover {
 background-color: var(--secondary-color);
 border-color: var(--secondary-color);
 color: var(--text-light);
 box-shadow: 4px 4px 0px var(--text-light);
}

/* Scroll Animations */
.fade-in {
 opacity: 0;
 transition: opacity 1s ease-out, transform 1s ease-out;
 transform: translateY(20px);
}

.fade-in.appear {
 opacity: 1;
 transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
 .hero-brutalist h1 {
 font-size: 4em;
 }
}

@media (max-width: 768px) {
 .header {
 padding: 10px 20px;
 }
 .navbar {
 flex-wrap: wrap;
 }
 .nav-links {
 display: none;
 flex-direction: column;
 width: 100%;
 background-color: var(--bg-light);
 position: absolute;
 top: var(--header-height);
 left: 0;
 padding: 20px;
 border-top: 2px solid var(--border-color);
 box-shadow: 0 5px 10px rgba(0,0,0,0.1);
 transform: translateY(-100%);
 transition: transform 0.3s ease-out;
 }
 .nav-links.active {
 display: flex;
 transform: translateY(0);
 }
 .nav-links li {
 width: 100%;
 text-align: center;
 margin-bottom: 10px;
 }
 .nav-links li a {
 font-size: 1.3em;
 display: block;
 padding: 10px 0;
 border: 2px solid var(--border-color);
 background-color: white;
 }
 .nav-toggle {
 display: block;
 }

 .hero-brutalist {
 padding: 60px 20px;
 }
 .hero-brutalist h1 {
 font-size: 2.8em;
 }
 .hero-subtitle {
 font-size: 1.1em;
 }
 .hero-actions {
 flex-direction: column;
 gap: 15px;
 }
 .hero-image-container {
 width: 90%;
 max-height: 300px;
 margin-top: 40px;
 }

 h1 { font-size: 2.5em; }
 h2 { font-size: 2em; }
 h3 { font-size: 1.5em; }

 .section-brutalist {
 padding: 40px 15px;
 }
 .section-title {
 font-size: 1.8em;
 }

 .cloud-solutions-grid,
 .testimonials-grid,
 .grid-2-col,
 .team-grid,
 .process-steps,
 .contact-grid,
 .blog-listings,
 .gallery-grid {
 grid-template-columns: 1fr;
 }

 .text-image-block {
 flex-direction: column;
 }
 .image-frame-brutalist {
 margin-right: 0;
 margin-bottom: 30px;
 width: 100%;
 }

 .content-text-block h2 {
 text-align: center;
 display: block;
 margin-left: auto;
 margin-right: auto;
 }

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

 .page-hero h1 {
 font-size: 3em;
 }
 .legal-content h2 {
 font-size: 2em;
 }
 .blog-post-content h1 {
 font-size: 2em;
 }
 .error-container h1 {
 font-size: 5em;
 }
 .error-container h2 {
 font-size: 1.8em;
 }
}

@media (max-width: 480px) {
 .btn {
 padding: 12px 20px;
 font-size: 1em;
 }
 .hero-actions {
 width: 100%;
 }
 .btn-primary, .btn-secondary {
 width: 100%;
 }

 .hero-brutalist h1 {
 font-size: 2em;
 padding: 0 5px;
 -webkit-text-stroke: 0.5px var(--border-color);
 white-space: normal;
 }
 .hero-descriptor {
 font-size: 1em;
 }
 .hero-subtitle {
 font-size: 0.9em;
 }
 .section-title {
 font-size: 1.5em;
 padding: 8px 15px;
 }

 .testimonial-card-plain::before {
 font-size: 8em;
 top: -20px;
 left: 5px;
 }

 .page-hero h1 {
 font-size: 2.2em;
 }
 .page-hero p {
 font-size: 1em;
 }
 .blog-post-content h1 {
 font-size: 1.8em;
 }
 .legal-content h2 {
 font-size: 1.8em;
 }
 .error-container h1 {
 font-size: 4em;
 }
 .error-container h2 {
 font-size: 1.5em;
 }
 .error-container p {
 font-size: 1em;
 }
}
/* Brutalist specific overrides */
.footer-brutalist a:hover {
 color: var(--secondary-color);
 text-decoration: none; /* No underline on hover for brutalist footer links */
 border-bottom: 1px solid var(--secondary-color);
}
.active-nav-link {
 color: var(--secondary-color) !important;
}
.active-nav-link::after {
 width: 100% !important;
 background-color: var(--secondary-color) !important;
}