/* 
YPF Geo Investment Blog CSS
This stylesheet defines the visual design and layout for the YPF Geo Investment Blog
*/

/* ===== VARIABLES ===== */
:root {
  /* Color Scheme */
  --primary-color: #0f7a4d; /* Deep green for energy/environment */
  --primary-dark: #085c39;
  --primary-light: #32a070;
  --secondary-color: #e07c00; /* Earthy orange for contrast */
  --secondary-dark: #c66a00;
  --secondary-light: #ff9c2b;
  --text-dark: #1a2a36; /* Deep blue-gray for main text */
  --text-medium: #4a5b68;
  --text-light: #7a8793;
  --bg-light: #f9fafb;
  --bg-medium: #edf1f5;
  --bg-dark: #e0e6ec;
  --white: #ffffff;
  --black: #000000;
  --success: #1fae51;
  --warning: #ffc107;
  --error: #dc3545;
  
  /* Typography */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-xxl: 3rem;
  
  /* Borders & Shadows */
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 12px;
  --box-shadow-light: 0 2px 4px rgba(0, 0, 0, 0.05);
  --box-shadow-medium: 0 4px 8px rgba(0, 0, 0, 0.08);
  --box-shadow-heavy: 0 8px 16px rgba(0, 0, 0, 0.12);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Container widths */
  --container-max-width: 1200px;
  --container-narrow: 800px;
}

/* ===== BASE STYLES ===== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Open+Sans:wght@300;400;600&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--bg-light);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: var(--space-md);
  color: var(--text-dark);
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: var(--space-md);
}

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

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

ul, ol {
  margin-bottom: var(--space-md);
  padding-left: var(--space-xl);
}

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

button, .btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.75rem 1.5rem;
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: var(--border-radius-md);
  cursor: pointer;
  transition: var(--transition-fast);
  text-align: center;
}

button:hover, .btn:hover {
  background-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--box-shadow-medium);
}

input, textarea, select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1px solid var(--bg-dark);
  border-radius: var(--border-radius-md);
  background-color: var(--white);
  transition: var(--transition-fast);
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(15, 122, 77, 0.1);
}

.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section-padding {
  padding: var(--space-xxl) 0;
}

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

/* ===== HEADER & NAVIGATION ===== */
header {
  background-color: var(--white);
  box-shadow: var(--box-shadow-light);
  position: sticky;
  top: 0;
  z-index: 100;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md) var(--space-lg);
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
  width: auto;
}

nav ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

nav ul li {
  margin-left: var(--space-xl);
}

nav ul li a {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--text-dark);
  padding: var(--space-sm) 0;
  border-bottom: 2px solid transparent;
  transition: var(--transition-fast);
}

nav ul li a:hover, nav ul li a.active {
  color: var(--primary-color);
  border-bottom: 2px solid var(--primary-color);
}

/* ===== HERO SECTION ===== */
.hero {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4)), url('images/1.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white);
  padding: var(--space-xxl) 0;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  color: var(--white);
  margin-bottom: var(--space-lg);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero p {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto var(--space-xl);
}

.translated-title {
  display: block;
  font-size: 0.5em;
  font-weight: normal;
  margin-top: var(--space-sm);
  color: var(--bg-medium);
  font-style: italic;
}

/* ===== FEATURED POSTS ===== */
.featured-posts {
  padding: var(--space-xxl) 0;
  background-color: var(--white);
}

.featured-posts h2 {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-xl);
}

.post {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--box-shadow-light);
  transition: var(--transition-normal);
}

.post:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-medium);
}

.post img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.post h3 {
  padding: var(--space-md) var(--space-md) var(--space-sm);
  font-size: 1.25rem;
}

.post p {
  padding: 0 var(--space-md);
  color: var(--text-medium);
  margin-bottom: var(--space-lg);
}

.read-more {
  display: inline-block;
  padding: 0 var(--space-md) var(--space-md);
  font-weight: 600;
  color: var(--primary-color);
}

.read-more:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* ===== EXPERT INTERVIEW ===== */
.expert-interview {
  padding: var(--space-xxl) 0;
  background-color: var(--bg-medium);
}

.expert-interview h2 {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.interview-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-xl);
  align-items: start;
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--box-shadow-light);
}

.interview-content img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.interview-text {
  padding: var(--space-xl);
}

.interview-text h3 {
  margin-bottom: var(--space-sm);
}

.expert-title {
  color: var(--text-light);
  font-style: italic;
  margin-bottom: var(--space-lg);
}

.interview-q-a .question {
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: var(--space-sm);
}

.interview-q-a .answer {
  margin-bottom: var(--space-lg);
}

/* ===== CTA SECTION ===== */
.cta {
  padding: var(--space-xxl) 0;
  background: linear-gradient(to right, var(--primary-dark), var(--primary-color));
  color: var(--white);
  text-align: center;
}

.cta h2 {
  color: var(--white);
  margin-bottom: var(--space-md);
}

.cta p {
  max-width: 600px;
  margin: 0 auto var(--space-xl);
}

.newsletter-form {
  display: flex;
  max-width: 600px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  border-radius: var(--border-radius-md) 0 0 var(--border-radius-md);
  border-right: none;
}

.newsletter-form button {
  border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
  background-color: var(--secondary-color);
}

.newsletter-form button:hover {
  background-color: var(--secondary-dark);
}

/* ===== FOOTER ===== */
footer {
  background-color: var(--text-dark);
  color: var(--white);
  padding: var(--space-xxl) 0 var(--space-lg);
}

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

.footer-logo img {
  height: 50px;
  width: auto;
  margin-bottom: var(--space-md);
}

.footer-logo p, .footer-contact p {
  color: var(--text-light);
  margin-bottom: var(--space-sm);
}

.footer-links h3, .footer-legal h3, .footer-contact h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: var(--space-lg);
}

.footer-links ul, .footer-legal ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links ul li, .footer-legal ul li {
  margin-bottom: var(--space-sm);
}

.footer-links a, .footer-legal a {
  color: var(--text-light);
  transition: var(--transition-fast);
}

.footer-links a:hover, .footer-legal a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-lg);
  text-align: center;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: var(--transition-fast);
}

.social-icons a:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.social-icons svg {
  color: var(--white);
  width: 20px;
  height: 20px;
}

.footer-bottom p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin: 0;
}

/* ===== BLOG PAGE ===== */
.blog-hero {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4)), url('images/2.jpg');
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: var(--space-xxl) 0;
  text-align: center;
}

.blog-hero h1 {
  color: var(--white);
  margin-bottom: var(--space-md);
}

.blog-content {
  padding: var(--space-xxl) 0;
  background-color: var(--bg-light);
}

.blog-content .container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-xl);
}

.blog-posts {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.blog-post {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-lg);
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--box-shadow-light);
  transition: var(--transition-normal);
}

.blog-post:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-medium);
}

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

.post-content {
  padding: var(--space-lg);
}

.post-meta {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-sm);
  font-size: 0.9rem;
  color: var(--text-light);
}

.post-meta .date, .post-meta .category {
  display: flex;
  align-items: center;
}

.post-meta .category {
  color: var(--primary-color);
  font-weight: 600;
}

.blog-post h2 {
  margin-bottom: var(--space-sm);
  font-size: 1.5rem;
}

.blog-sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
}

.sidebar-widget {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  padding: var(--space-lg);
  margin-bottom: var(--space-xl);
  box-shadow: var(--box-shadow-light);
}

.sidebar-widget h3 {
  margin-bottom: var(--space-md);
  font-size: 1.25rem;
}

.sidebar-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-widget ul li {
  margin-bottom: var(--space-sm);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--bg-medium);
}

.sidebar-widget ul li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.recent-posts li a {
  display: block;
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.post-date {
  font-size: 0.85rem;
  color: var(--text-light);
}

.sidebar-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

/* ===== BLOG POST SINGLE ===== */
.blog-post-single {
  padding: var(--space-xxl) 0;
  background-color: var(--bg-light);
}

.blog-post-single .container {
  max-width: var(--container-narrow);
}

.post-header {
  margin-bottom: var(--space-xl);
}

.post-header h1 {
  margin-bottom: var(--space-lg);
}

.post-featured-image {
  margin-bottom: var(--space-xl);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--box-shadow-medium);
}

.post-featured-image img {
  width: 100%;
}

.post-intro {
  font-size: 1.2rem;
  color: var(--text-medium);
  margin-bottom: var(--space-xl);
  padding-left: var(--space-lg);
  border-left: 4px solid var(--primary-color);
}

.post-content h2 {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
}

.post-content h3 {
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
}

.post-content p, .post-content ul, .post-content ol {
  margin-bottom: var(--space-md);
}

.info-box {
  background-color: var(--bg-medium);
  padding: var(--space-lg);
  border-radius: var(--border-radius-md);
  margin: var(--space-lg) 0;
}

.info-box h3 {
  margin-top: 0;
  color: var(--primary-color);
}

.info-box ul {
  margin-bottom: 0;
}

.image-with-caption {
  margin: var(--space-xl) 0;
}

.image-with-caption img {
  width: 100%;
  border-radius: var(--border-radius-md);
  box-shadow: var(--box-shadow-light);
}

.caption {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-light);
  margin-top: var(--space-sm);
}

.table-responsive {
  overflow-x: auto;
  margin: var(--space-lg) 0;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th, .data-table td {
  padding: var(--space-md);
  text-align: left;
  border-bottom: 1px solid var(--bg-dark);
}

.data-table th {
  background-color: var(--primary-color);
  color: var(--white);
  font-weight: 600;
}

.data-table tr:nth-child(even) {
  background-color: var(--bg-light);
}

.author-box {
  display: flex;
  gap: var(--space-lg);
  background-color: var(--bg-medium);
  padding: var(--space-lg);
  border-radius: var(--border-radius-lg);
  margin: var(--space-xxl) 0;
}

.author-box img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info h3 {
  margin-bottom: var(--space-sm);
}

.author-info p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.post-navigation {
  display: flex;
  justify-content: space-between;
  margin: var(--space-xl) 0;
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--bg-dark);
  border-bottom: 1px solid var(--bg-dark);
}

.prev-post, .next-post {
  max-width: 45%;
}

.nav-label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: var(--space-xs);
}

.post-title {
  font-weight: 600;
}

.related-posts {
  margin-top: var(--space-xxl);
}

.related-posts h3 {
  margin-bottom: var(--space-lg);
}

/* ===== CONTACT PAGE ===== */
.contact-hero {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4)), url('images/4.jpg');
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: var(--space-xxl) 0;
  text-align: center;
}

.contact-hero h1 {
  color: var(--white);
  margin-bottom: var(--space-md);
}

.contact-content {
  padding: var(--space-xxl) 0;
  background-color: var(--bg-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--space-xl);
}

.contact-form-container {
  background-color: var(--white);
  padding: var(--space-xl);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--box-shadow-light);
}

.contact-form-container h2 {
  margin-bottom: var(--space-lg);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  margin-bottom: var(--space-sm);
  font-weight: 600;
}

.form-group.checkbox {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.form-group.checkbox input {
  width: auto;
}

.form-group.checkbox label {
  margin-bottom: 0;
  font-weight: normal;
}

.btn-submit {
  align-self: flex-start;
  background-color: var(--primary-color);
}

.btn-submit:hover {
  background-color: var(--primary-dark);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-info h2 {
  margin-bottom: var(--space-lg);
}

.info-card {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-lg);
  background-color: var(--white);
  border-radius: var(--border-radius-md);
  box-shadow: var(--box-shadow-light);
}

.info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: var(--primary-light);
  border-radius: 50%;
  color: var(--white);
}

.info-content h3 {
  margin-bottom: var(--space-xs);
  font-size: 1.1rem;
}

.info-content p {
  margin-bottom: var(--space-xs);
  color: var(--text-medium);
}

.info-content a {
  color: var(--primary-color);
}

.social-connect {
  margin-top: var(--space-md);
}

.social-connect h3 {
  margin-bottom: var(--space-md);
}

.company-info {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-top: var(--space-lg);
}

.map-section {
  padding-bottom: var(--space-xxl);
  background-color: var(--bg-light);
}

.map-section h2 {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.map-container {
  height: 450px;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--box-shadow-medium);
}

/* ===== ABOUT PAGE ===== */
.about-hero {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4)), url('images/team_group.jpg');
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: var(--space-xxl) 0;
  text-align: center;
}

.about-hero h1 {
  color: var(--white);
  margin-bottom: var(--space-md);
}

.about-content {
  padding: var(--space-xxl) 0;
  background-color: var(--bg-light);
}

.about-intro {
  max-width: 800px;
  margin: 0 auto var(--space-xxl);
  text-align: center;
}

.about-intro h2 {
  margin-bottom: var(--space-lg);
}

.about-intro p {
  font-size: 1.1rem;
}

.about-values {
  padding: var(--space-xxl) 0;
  background-color: var(--white);
  margin-bottom: var(--space-xxl);
}

.about-values h2 {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-xl);
}

.value-card {
  text-align: center;
  padding: var(--space-lg);
  border-radius: var(--border-radius-lg);
  transition: var(--transition-normal);
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-medium);
}

.value-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-md);
  background-color: var(--primary-light);
  border-radius: 50%;
  color: var(--white);
}

.value-card h3 {
  margin-bottom: var(--space-sm);
}

.team-section {
  margin-bottom: var(--space-xxl);
}

.team-section h2 {
  text-align: center;
  margin-bottom: var(--space-md);
}

.team-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-xl);
  font-size: 1.1rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
}

.team-member {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--box-shadow-light);
  transition: var(--transition-normal);
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-medium);
}

.team-member img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.team-member h3, .team-member p {
  padding: 0 var(--space-md);
}

.team-member h3 {
  margin: var(--space-md) 0 var(--space-xs);
  font-size: 1.25rem;
}

.member-title {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.member-bio {
  font-size: 0.95rem;
  color: var(--text-medium);
  margin-bottom: var(--space-md);
}

.member-social {
  display: flex;
  gap: var(--space-sm);
  padding: 0 var(--space-md) var(--space-md);
}

.member-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: var(--bg-medium);
  border-radius: 50%;
  transition: var(--transition-fast);
}

.member-social a:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

.about-approach {
  margin-bottom: var(--space-xxl);
}

.about-approach h2 {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.about-approach > p {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-xl);
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
}

.approach-item {
  background-color: var(--white);
  padding: var(--space-lg);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--box-shadow-light);
}

.approach-item h3 {
  color: var(--primary-color);
  margin-bottom: var(--space-md);
}

.about-disclaimer {
  background-color: var(--bg-medium);
  padding: var(--space-xl);
  border-radius: var(--border-radius-lg);
}

.about-disclaimer h2 {
  margin-bottom: var(--space-md);
}

.about-disclaimer p {
  font-size: 0.95rem;
}

/* ===== THANK YOU POPUP ===== */
.thank-you-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
}

.thank-you-popup.active {
  opacity: 1;
  visibility: visible;
}

.popup-content {
  background-color: var(--white);
  padding: var(--space-xl);
  border-radius: var(--border-radius-lg);
  max-width: 500px;
  width: 90%;
  text-align: center;
  position: relative;
  box-shadow: var(--box-shadow-heavy);
  transform: translateY(-20px);
  transition: var(--transition-normal);
}

.thank-you-popup.active .popup-content {
  transform: translateY(0);
}

.close-popup {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-light);
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-popup:hover {
  color: var(--text-dark);
  background: none;
  transform: none;
  box-shadow: none;
}

.popup-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-lg);
  background-color: var(--success);
  color: var(--white);
  border-radius: 50%;
}

.popup-content h2 {
  margin-bottom: var(--space-md);
}

.popup-content p {
  margin-bottom: var(--space-lg);
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 999;
  transform: translateY(100%);
  transition: var(--transition-normal);
}

.cookie-banner.active {
  transform: translateY(0);
}

.cookie-content {
  padding: var(--space-lg);
  max-width: var(--container-max-width);
  margin: 0 auto;
}

.cookie-content p {
  margin-bottom: var(--space-md);
}

.cookie-buttons {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-sm);
}

.btn-accept {
  background-color: var(--success);
}

.btn-accept:hover {
  background-color: #178a41;
}

.btn-customize {
  background-color: var(--text-medium);
}

.btn-customize:hover {
  background-color: var(--text-dark);
}

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

.btn-reject:hover {
  background-color: var(--text-medium);
}

.cookie-policy {
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1024px) {
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .interview-content {
    grid-template-columns: 1fr;
  }
  
  .interview-content img {
    height: 300px;
  }
  
  .blog-content .container {
    grid-template-columns: 1fr;
  }
  
  .blog-sidebar {
    position: static;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  header .container {
    flex-direction: column;
    gap: var(--space-md);
  }
  
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  nav ul li {
    margin: 0 var(--space-md);
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form input {
    border-radius: var(--border-radius-md);
    border-right: 1px solid var(--bg-dark);
    margin-bottom: var(--space-sm);
  }
  
  .newsletter-form button {
    border-radius: var(--border-radius-md);
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .blog-post {
    grid-template-columns: 1fr;
  }
  
  .post-image img {
    height: 200px;
  }
  
  .cookie-buttons {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .post-grid {
    grid-template-columns: 1fr;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
  }
  
  .values-grid {
    grid-template-columns: 1fr;
  }
  
  .approach-grid {
    grid-template-columns: 1fr;
  }
  
  .author-box {
    flex-direction: column;
    text-align: center;
  }
  
  .author-box img {
    margin: 0 auto var(--space-md);
  }
  
  .post-navigation {
    flex-direction: column;
    gap: var(--space-md);
  }
  
  .prev-post, .next-post {
    max-width: 100%;
  }
}
