/* Regleria site styles - pure CSS, no build step */
:root{
  --bg:#0b0f1a;
  --panel:#121826;
  --muted:#8b97b1;
  --text:#e7ecf7;
  /* Brand colors tuned to Regleria logo gradient (pink → purple → blue) */
  --brand:#d946ef; /* pink */
  --brand-2:#2563eb; /* blue */
  --brand-mid:#8b5cf6; /* purple */
  --accent:#22c55e; /* green */
  --ring: rgba(139,92,246,0.45);
  --shadow: 0 10px 30px rgba(0,0,0,0.35);
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color:var(--text);
  background: radial-gradient(1200px 600px at 10% -35%, rgba(217,70,239,.16), transparent 50%),
              radial-gradient(1200px 600px at 90% -35%, rgba(37,99,235,.14), transparent 50%),
              var(--bg);
  line-height:1.6;
}
img{max-width:100%;display:block}
.container{width:min(1120px, 92%); margin-inline:auto}

.lang-dropdown {
  position: relative;
}

.lang-menu {
  position: absolute;
  right: 0;
  top: 100%;
  background: var(--panel);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  box-shadow: var(--shadow);
  min-width: 160px;
  display: none;
  z-index: 1000;
  margin-top: 8px;
}

.lang-menu.open {
  display: block;
}

.lang-menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  color: var(--text);
  text-decoration: none;
  transition: background-color 0.2s;
}

.lang-menu a:hover {
  background: rgba(255, 255, 255, 0.06);
}

.lang-trigger {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ======================================
   Modal
   ====================================== */
.modal {
  display: none;
  position: fixed;
  z-index: 1001;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  overflow-y: auto;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.modal.show {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 40px 20px;
  opacity: 1;
}

.modal-content {
  background-color: var(--panel);
  border-radius: 12px;
  box-shadow: var(--shadow);
  width: 100%;
  max-width: 600px;
  position: relative;
  padding: 2rem;
  animation: modalFadeIn 0.3s ease-out;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 40px;
  margin-bottom: 40px;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.close-modal {
  position: absolute;
  right: 1.5rem;
  top: 1.5rem;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s;
  line-height: 1;
  z-index: 10;
}

.close-modal:hover {
  color: var(--text);
}

/* Form styles */
.form {
  margin-top: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"] {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  background-color: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group select {
  width: 100%;
  padding: 0.75rem 2.5rem 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  background-color: var(--bg);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238b97b1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1em;
}

.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  background-color: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}

.form-actions {
  margin-top: 2rem;
  text-align: right;
}

.consult-intro {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .modal-content {
    margin: 20px 10px;
    padding: 1.5rem;
  }
  
  .close-modal {
    right: 1rem;
    top: 1rem;
  }
}

/* ======================================
   Header & Navigation
   ====================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(18, 24, 38, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  height: 32px; /* Match logo height */
}

.brand-logo {
  height: 100%;
  width: auto;
}

/* Hide the text visually but keep it for screen readers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
  margin: -8px;
  border-radius: 6px;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

.nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 20px;
  align-items: center;
}

.nav-list a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
  padding: 8px 12px;
  border-radius: 8px;
}

.nav-list a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.nav-list .btn-primary {
  color: white;
  padding: 8px 16px;
}

.nav-list .btn-primary:hover {
  background: linear-gradient(135deg, var(--brand), var(--brand-mid), var(--brand-2));
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Language dropdown */
.lang-dropdown {
  position: relative;
  margin-left: 8px;
}

.lang-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all 0.2s;
}

.lang-trigger:hover {
  background: rgba(255, 255, 255, 0.05);
}

.lang-trigger .flag {
  font-size: 1.1em;
}

.lang-menu {
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: 8px;
  min-width: 160px;
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 8px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s;
  z-index: 100;
}

.lang-dropdown:hover .lang-menu,
.lang-trigger[aria-expanded="true"] + .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  color: var(--text);
  text-decoration: none;
  transition: all 0.2s;
}

.lang-menu a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--accent);
}

/* Mobile navigation */
@media (max-width: 820px) {
  .nav-toggle{display:block}
  .nav-list{position:absolute; right:16px; top:64px; background:var(--panel); border:1px solid rgba(255,255,255,0.08); padding:14px; border-radius:12px; display:none; flex-direction:column; gap:10px; box-shadow: var(--shadow)}
  .nav-list.open{display:flex}
}
/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;border-radius:12px;padding:12px 18px;text-decoration:none;font-weight:600;border:1px solid transparent;transition:.2s ease;cursor:pointer}
.btn-small{padding:8px 12px}
.btn-primary{background:linear-gradient(135deg,var(--brand), var(--brand-mid), var(--brand-2)); color:white; box-shadow:0 10px 20px rgba(37,99,235,0.28)}
.btn-primary:hover{filter:brightness(1.08)}
.btn-ghost{background:transparent; color:var(--text); border-color:rgba(255,255,255,0.15)}
.btn-ghost:hover{background:rgba(255,255,255,0.06)}
.field select{ /* default dark dropdown */
  background:rgba(255,255,255,0.06) !important;
  color:var(--text) !important;
  border-color:rgba(255,255,255,0.28);
  appearance:none;
  -webkit-appearance:none;
  -moz-appearance:none;
}
.field select option{
  background:rgba(255,255,255,0.06);
  color:var(--text);
}
/* Improve readability when focused/opened */
.field select:focus{
  background:rgba(17,24,39,0.8) !important;
  color:var(--text) !important;
  border-color: var(--brand-mid);
}
.field select option:checked,
.field select option:hover{
  background:rgba(26,32,44,0.8);
  color:var(--text);
}

/* ======================================
   Hero Section - Structured Layout
   ====================================== */
.hero {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

/* Main hero container */
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

/* Hero content section */
.hero-content {
  max-width: 800px;
  margin: 0 auto 60px;
  text-align: center;
  padding: 40px 0;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.2;
  margin: 0 0 20px;
  font-weight: 700;
  background: linear-gradient(90deg, #fff, #d1d5db);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 700px;
  margin: 0 auto 30px;
}

/* CTA Buttons */
.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin: 30px 0 40px;
  flex-wrap: wrap;
}

/* Features/Badges section */
.hero-features {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 24px;
  margin: 40px auto;
  max-width: 900px;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.badges li {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
}

.badges li:before {
  content: "✓";
  color: var(--accent);
  font-weight: bold;
}

/* Cards section */
.hero-cards {
  margin: 60px auto 0;
  max-width: 1000px;
}

.hero-cards h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.8rem;
  color: #fff;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-top: 30px;
  align-items: stretch;
}

@media (max-width: 768px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .card {
    min-height: 160px;
    padding: 25px 15px;
  }
}

.card {
  background: linear-gradient(145deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 30px 15px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  text-align: center;
  justify-content: center;
  align-items: center;
  height: 100%;
  min-height: 180px;
  box-sizing: border-box;
}

.card h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 1.2rem;
  line-height: 1.3;
  width: 100%;
  padding: 0 5px;
}

.card p {
  color: var(--muted);
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  width: 100%;
  padding: 0 5px;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border-color: rgba(139, 92, 246, 0.3);
}

/* Background effects */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(124, 58, 237, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .hero {
    padding: 60px 0;
  }
  
  .hero-content {
    padding: 20px 0 40px;
    margin-bottom: 40px;
  }
  
  .card {
    min-height: 160px;
    padding: 25px 20px;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-cta .btn {
    width: 100%;
    max-width: 300px;
  }
  
  .badges {
    gap: 10px;
  }
  
  .badges li {
    padding: 6px 12px;
    font-size: 0.9rem;
  }
  
  .card-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 40px 0 60px;
  }
  
  .hero h1 {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }
  
  .hero p {
    font-size: 1rem;
    margin-bottom: 25px;
  }
  
  .hero-features {
    padding: 20px 15px;
  }
  
  .card {
    min-height: 140px;
    padding: 20px 15px;
  }
}

/* Sections */
.section{padding:64px 0}
.section-alt{background: radial-gradient(800px 300px at 20% 0%, rgba(217,70,239,.08), transparent 40%),
                        radial-gradient(800px 300px at 80% 0%, rgba(37,99,235,.08), transparent 40%),
                        rgba(255,255,255,0.02)}
.section-title{font-size: clamp(22px, 4vw, 34px); margin:0 0 26px}

/* Grids */
.grid{display:grid;gap:16px}
.services-grid{
  grid-template-columns: repeat(3, minmax(280px, 1fr));
  justify-content: center;
}
.projects-grid{grid-template-columns: repeat(3, minmax(0,1fr))}

/* Center the last row when there are 2 items */
.services-grid:after {
  content: '';
  width: 100%;
  grid-column: 1 / -1;
}

/* Adjust for different screen sizes */
@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 350px));
  }
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: minmax(280px, 1fr);
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

/* Service Cards */
.service {
  background: var(--panel);
  border-radius: 12px;
  padding: 24px;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 300px;
}

.service:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.service h3 {
  margin-top: 0;
  color: white;
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.service p {
  color: var(--muted);
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.service ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

.service li {
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.5;
}

.card-actions {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex;
  align-items: flex-end;
  min-height: 60px;
}

/* Cards */
.service,.project{background:linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02)); border:1px solid rgba(255,255,255,0.07); padding:18px; border-radius:14px; box-shadow: var(--shadow)}

/* Process */
/* Process/How we work section */
.process {
  display: grid;
  gap: 24px;
  counter-reset: step;
  padding: 20px 0;
}

.process li {
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.07);
  padding: 28px 20px;
  border-radius: 16px;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.process li:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.process h3 {
  margin: 0 0 12px;
  font-size: 18px;
  color: var(--text);
  position: relative;
  padding-left: 30px;
}

.process h3:before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand);
  font-weight: 700;
  font-size: 1.2em;
}

.process p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.95em;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .process {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .process {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .process li {
    padding: 22px 18px;
  }
}
@media (max-width:640px){.process{grid-template-columns:1fr}}

/* Contact */
.contact { 
  text-align: center;
  padding: 2rem 0;
}

.contact-info {
  display: flex;
  justify-content: center;
  gap: 2rem;
  max-width: 600px;
  margin: 0 auto;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-item {
  display: flex;
  align-items: center;
  font-size: 1.1rem;
  line-height: 1.6;
}

.contact-link {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.2s ease;
  font-weight: 500;
}

.contact-link:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* Add separator between contact items except the last one */
.contact-item:not(:last-child)::after {
  content: '|';
  color: var(--text-secondary);
  margin-left: 2rem;
  opacity: 0.5;
}

.small {
  font-size: 12px; 
  color: var(--muted);
}

.note {
  margin-top: 10px;
}

/* Footer */
.site-footer{border-top:1px solid rgba(255,255,255,0.08); background:rgba(0,0,0,0.2)}
.footer-inner{display:flex; align-items:center; justify-content:space-between; padding:18px 0}
.to-top{color:var(--text); text-decoration:none; opacity:.8}
.to-top:hover{opacity:1}

/* Focus */
:focus-visible{outline:2px solid var(--brand); outline-offset:2px; box-shadow:0 0 0 4px var(--ring)}

/* Forms */
.form{margin-top:8px}
.consult-intro{color:var(--muted); margin:0 0 12px}
.form-grid{display:grid; grid-template-columns:1fr 1fr; gap:14px}
.field{display:flex; flex-direction:column; gap:6px}
.field-full{grid-column:1 / -1}
.field label{font-size:14px; color:var(--text)}
.field input,
.field select,
.field textarea{
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.14);
  color:var(--text);
  border-radius:12px;
  padding:12px 14px;
  font: inherit;
}
.field textarea{resize:vertical}
.field input::placeholder,
.field textarea::placeholder{color:rgba(231,236,247,0.55)}
.field input:focus,
.field select:focus,
.field textarea:focus{outline:none; box-shadow:0 0 0 4px var(--ring); border-color: var(--brand-mid)}
.form-actions{display:flex; align-items:center; gap:12px; margin-top:12px}
@media (max-width:760px){.form-grid{grid-template-columns:1fr}}

/* SCADA Page */
.page-title {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
  color: var(--text);
  position: relative;
  padding-bottom: 1rem;
}

.page-title:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  border-radius: 3px;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  margin-top: 3rem;
}

.content-section {
  margin-bottom: 3rem;
}

.content-section h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--text);
  position: relative;
  padding-bottom: 0.5rem;
}

.content-section h2:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--brand);
}

.content-section h3 {
  font-size: 1.3rem;
  margin: 2rem 0 1rem;
  color: var(--text);
}

.image-container {
  margin: 2rem 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.content-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.image-container:hover .content-image {
  transform: scale(1.02);
}

.image-caption {
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 0.5rem;
  font-style: italic;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 2rem 0;
}

.benefit-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  border-color: var(--brand);
}

.benefit-card h3 {
  color: var(--brand);
  margin-top: 0;
}

/* Sidebar */
.content-sidebar {
  position: relative;
}

.sidebar-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.sidebar-card h3 {
  margin-top: 0;
  color: var(--text);
  font-size: 1.2rem;
}

.related-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.related-links li {
  margin-bottom: 0.5rem;
}

.related-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
  display: block;
  padding: 0.5rem 0;
}

.related-links a:hover {
  color: var(--accent);
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.contact-method {
  text-align: center;
  padding: 2rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.contact-method:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  border-color: var(--brand);
}

.contact-method h3 {
  color: var(--brand);
  margin-top: 0;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .content-grid {
    grid-template-columns: 1fr;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-methods {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-title {
    font-size: 2rem;
  }
  
  .content-section h2 {
    font-size: 1.5rem;
  }
}
