/* =============================================
   DGASMB - Styles
   Colors: #0084b6 (primary), #004275 (dark), #00aeef (light), #ff8000 (accent)
   Font: Albert Sans
   ============================================= */

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

:root {
  --primary: #0084b6;
  --primary-dark: #004275;
  --primary-light: #00aeef;
  --accent: #ff8000;
  --white: #ffffff;
  --light-gray: #f5f7fa;
  --gray: #e0e6ed;
  --text: #333333;
  --text-light: #666666;
  --gradient: linear-gradient(135deg, #0084b5 5%, #004275 100%);
  --font: 'Albert Sans', sans-serif;
  --shadow: 0 4px 20px rgba(0,66,117,0.12);
  --shadow-hover: 0 8px 30px rgba(0,66,117,0.2);
  --radius: 12px;
  --transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

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

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

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

/* =============================================
   TOP BAR
   ============================================= */
.top-bar {
  background: var(--primary-dark);
  padding: 8px 0;
  font-size: 13px;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.top-bar-left {
  display: flex;
  gap: 20px;
  color: rgba(255,255,255,0.9);
}

.top-contact {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.9);
}

.top-contact i {
  color: var(--primary-light);
}

.top-bar-right {
  display: flex;
  gap: 12px;
}

.top-bar-right a {
  color: rgba(255,255,255,0.8);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  transition: var(--transition);
  font-size: 13px;
}

.top-bar-right a:hover {
  background: var(--primary-light);
  color: white;
  transform: translateY(-2px);
}

/* =============================================
   HEADER
   ============================================= */
.site-header {
  background: white;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,66,117,0.1);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0,66,117,0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  gap: 20px;
}

.logo-link {
  flex-shrink: 0;
}

.logo {
  height: 60px;
  width: auto;
  display: block;
}

/* Navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-close {
  display: none;
}

.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-menu > li {
  position: relative;
}

.nav-menu > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  color: var(--text);
  font-weight: 500;
  font-size: 14px;
  border-radius: 6px;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active {
  color: var(--primary);
  background: rgba(0,132,182,0.08);
}

.nav-menu > li > a i {
  font-size: 10px;
  opacity: 0.6;
  transition: var(--transition);
}

.nav-menu > li:hover > a i {
  transform: rotate(180deg);
  opacity: 1;
}

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: white;
  min-width: 280px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  border-top: 3px solid var(--primary);
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: var(--transition);
  z-index: 999;
}

.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown li a {
  display: block;
  padding: 10px 18px;
  color: var(--text);
  font-size: 13px;
  border-bottom: 1px solid var(--gray);
  transition: var(--transition);
}

.dropdown li:last-child a {
  border-bottom: none;
}

.dropdown li a:hover {
  background: var(--light-gray);
  color: var(--primary);
  padding-left: 24px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary-dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* Urgenta Button */
.btn-urgenta {
  background: var(--accent);
  color: white !important;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: var(--transition);
  text-decoration: none;
}

.btn-urgenta:hover {
  background: #e07000;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255,128,0,0.3);
}

/* =============================================
   HERO / SLIDER
   ============================================= */
.hero-section {
  position: relative;
  background: var(--gradient);
  min-height: 500px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-slider {
  width: 100%;
  position: relative;
}

.hero-slide {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-slide-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,66,117,0.75) 0%, rgba(0,132,182,0.55) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  padding: 60px 20px;
  max-width: 650px;
}

.hero-content h1 {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.hero-content p {
  font-size: clamp(15px, 2vw, 18px);
  opacity: 0.92;
  margin-bottom: 28px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--primary-light);
  color: white;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  background: white;
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.btn-secondary {
  background: transparent;
  color: white;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  border: 2px solid rgba(255,255,255,0.7);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.15);
  border-color: white;
  color: white;
}

/* Slider arrows */
.slider-prev,
.slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,0.2);
  border: 2px solid rgba(255,255,255,0.5);
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.slider-prev { left: 20px; }
.slider-next { right: 20px; }

.slider-prev:hover,
.slider-next:hover {
  background: rgba(255,255,255,0.35);
  border-color: white;
}

/* =============================================
   QUICK LINKS BAR
   ============================================= */
.quick-links-bar {
  background: var(--primary);
  padding: 0;
}

.quick-links-inner {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
}

.quick-links-inner::-webkit-scrollbar {
  display: none;
}

.quick-link-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 18px 24px;
  color: rgba(255,255,255,0.85);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  min-width: 100px;
  white-space: nowrap;
  border-right: 1px solid rgba(255,255,255,0.15);
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
}

.quick-link-item:last-child {
  border-right: none;
}

.quick-link-item:hover {
  background: rgba(255,255,255,0.15);
  color: white;
}

.quick-link-item i {
  font-size: 22px;
  display: block;
  color: white;
}

/* =============================================
   SECTIONS
   ============================================= */
.section {
  padding: 70px 0;
}

.section-alt {
  background: var(--light-gray);
}

.section-title {
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 10px;
  line-height: 1.25;
}

.section-subtitle {
  color: var(--text-light);
  font-size: 16px;
  margin-bottom: 40px;
  line-height: 1.5;
}

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

.section-header-flex {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.section-header-flex .section-title {
  margin-bottom: 4px;
}

.view-all-link {
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.view-all-link:hover {
  color: var(--primary-dark);
}

.divider {
  width: 60px;
  height: 4px;
  background: var(--primary-light);
  border-radius: 2px;
  margin-bottom: 16px;
}

/* =============================================
   CARDS GRID
   ============================================= */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

/* News Card */
.news-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

.news-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.news-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-card-category {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary-light);
  margin-bottom: 8px;
}

.news-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.4;
  margin-bottom: 12px;
  flex: 1;
}

.news-card-title a {
  color: inherit;
}

.news-card-title a:hover {
  color: var(--primary);
}

.news-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--text-light);
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--gray);
}

.news-card-meta i {
  color: var(--primary-light);
}

/* Service Card */
.service-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
}

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

.service-card-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.service-card-body {
  padding: 18px;
}

.service-card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.4;
  margin-bottom: 10px;
}

.service-card-desc {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.5;
  margin-bottom: 14px;
}

.service-card-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-card-link:hover {
  color: var(--primary-dark);
}

/* Stat Card */
.stat-card {
  background: white;
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--primary-light);
}

.stat-number {
  font-size: 42px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: var(--text-light);
  font-weight: 500;
}

/* =============================================
   HERO QUICK INFO PANEL
   ============================================= */
.quick-info-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: var(--gradient);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 40px;
  box-shadow: var(--shadow-hover);
}

.quick-info-item {
  padding: 24px 20px;
  color: white;
  border-right: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  gap: 14px;
}

.quick-info-item:last-child {
  border-right: none;
}

.quick-info-icon {
  font-size: 26px;
  opacity: 0.9;
  flex-shrink: 0;
  color: var(--primary-light);
}

.quick-info-content h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}

.quick-info-content p {
  font-size: 12px;
  opacity: 0.8;
}

/* =============================================
   URGENTE SECTION
   ============================================= */
.urgente-section {
  background: var(--gradient);
  padding: 50px 0;
}

.urgente-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.urgenta-card {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  padding: 22px 18px;
  text-align: center;
  color: white;
  transition: var(--transition);
  cursor: pointer;
}

.urgenta-card:hover {
  background: rgba(255,255,255,0.22);
  transform: translateY(-3px);
}

.urgenta-card a {
  color: white;
}

.urgenta-icon {
  font-size: 32px;
  display: block;
  margin-bottom: 10px;
}

.urgenta-number {
  font-size: 20px;
  font-weight: 800;
  display: block;
  margin-bottom: 4px;
}

.urgenta-label {
  font-size: 11px;
  opacity: 0.85;
  line-height: 1.3;
}

/* =============================================
   PAGE HERO
   ============================================= */
.page-hero {
  background: var(--gradient);
  padding: 60px 0;
  color: white;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  right: -100px;
  top: -100px;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}

.page-hero::after {
  content: '';
  position: absolute;
  right: 80px;
  bottom: -80px;
  width: 280px;
  height: 280px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}

.page-hero h1 {
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 800;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.page-hero p {
  font-size: 16px;
  opacity: 0.9;
  max-width: 600px;
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.breadcrumb a {
  color: rgba(255,255,255,0.7);
}

.breadcrumb a:hover {
  color: white;
}

.breadcrumb i {
  font-size: 10px;
  opacity: 0.5;
}

/* =============================================
   ABOUT PAGE
   ============================================= */
.about-content {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
}

.about-content p {
  margin-bottom: 20px;
}

.about-content h2 {
  font-size: 22px;
  color: var(--primary-dark);
  margin: 30px 0 14px;
  font-weight: 700;
}

.about-content h3 {
  font-size: 18px;
  color: var(--primary);
  margin: 24px 0 10px;
  font-weight: 600;
}

.about-content ul {
  padding-left: 24px;
  margin-bottom: 20px;
}

.about-content ul li {
  margin-bottom: 8px;
}

.about-image {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  height: 400px;
  object-fit: cover;
}

.info-box {
  background: var(--light-gray);
  border-left: 4px solid var(--primary);
  padding: 20px 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 24px 0;
}

.info-box h4 {
  color: var(--primary-dark);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.info-box p, .info-box ul {
  font-size: 14px;
  color: var(--text-light);
}

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-card {
  background: white;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--primary);
}

.contact-card h3 {
  font-size: 17px;
  color: var(--primary-dark);
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-card h3 i {
  color: var(--primary);
  font-size: 18px;
}

.contact-list {
  list-style: none;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray);
  font-size: 14px;
}

.contact-list li:last-child {
  border-bottom: none;
}

.contact-list li i {
  color: var(--primary-light);
  width: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-list li strong {
  color: var(--primary-dark);
  display: block;
  font-size: 12px;
  margin-bottom: 2px;
}

.contact-units-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.unit-card {
  background: var(--light-gray);
  border-radius: var(--radius);
  padding: 18px;
  border-left: 3px solid var(--primary);
}

.unit-card h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 10px;
  line-height: 1.3;
}

.unit-detail {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 6px;
  line-height: 1.4;
}

.unit-detail i {
  color: var(--primary-light);
  width: 14px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* =============================================
   SERVICII PAGE
   ============================================= */
.servicii-filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.filter-btn {
  padding: 8px 18px;
  border-radius: 24px;
  border: 2px solid var(--primary);
  background: transparent;
  color: var(--primary);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--primary);
  color: white;
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.85);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1fr 1.5fr;
  gap: 40px;
  padding: 60px 20px 40px;
}

.footer-logo {
  height: 55px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 16px;
  display: block;
}

.footer-desc {
  font-size: 14px;
  opacity: 0.8;
  line-height: 1.5;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.footer-social a {
  color: rgba(255,255,255,0.7);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  font-size: 14px;
}

.footer-social a:hover {
  background: var(--primary-light);
  color: white;
  transform: translateY(-2px);
}

.footer-col h4 {
  color: white;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(255,255,255,0.15);
}

.footer-list {
  list-style: none;
}

.footer-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 13px;
  line-height: 1.4;
}

.footer-list li i {
  color: var(--primary-light);
  width: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-list a {
  color: rgba(255,255,255,0.8);
}

.footer-list a:hover {
  color: var(--primary-light);
}

.footer-links li {
  display: block;
  padding: 0;
  margin-bottom: 8px;
}

.footer-links li a {
  font-size: 13px;
}

.text-orange { color: var(--accent); }
.text-blue { color: var(--primary-light); }
.text-red { color: #e74c3c; }

.dsu-logo {
  height: 55px;
  width: auto;
  margin-top: 16px;
  opacity: 0.85;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 12px;
  opacity: 0.6;
}

.footer-bottom-links {
  display: flex;
  gap: 16px;
}

.footer-bottom-links a {
  color: rgba(255,255,255,0.5);
  font-size: 12px;
}

.footer-bottom-links a:hover {
  color: rgba(255,255,255,0.8);
}

/* =============================================
   STIMULENTE / CARDS LIST
   ============================================= */
.stimulente-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.stimulent-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-bottom: 3px solid var(--primary-light);
}

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

.stimulent-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.stimulent-card-body {
  padding: 18px;
}

.stimulent-card h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 10px;
  line-height: 1.4;
}

.stimulent-card p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.5;
  margin-bottom: 14px;
}

/* =============================================
   TABS
   ============================================= */
.tabs-nav {
  display: flex;
  gap: 4px;
  border-bottom: 2px solid var(--gray);
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 10px 20px;
  background: transparent;
  border: none;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-light);
  cursor: pointer;
  transition: var(--transition);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
}

.tab-btn.active,
.tab-btn:hover {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .urgente-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stimulente-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-units-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .quick-info-panel { grid-template-columns: 1fr; }
  .top-bar-left .top-contact:last-child { display: none; }
}

@media (max-width: 768px) {
  /* Mobile nav */
  .hamburger { display: flex; }
  
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: white;
    flex-direction: column;
    align-items: stretch;
    padding: 20px 0;
    z-index: 1100;
    box-shadow: -4px 0 20px rgba(0,0,0,0.15);
    transition: right 0.3s ease;
    overflow-y: auto;
  }

  .main-nav.open {
    right: 0;
  }

  .nav-close {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 8px 16px 16px;
    background: none;
    border: none;
    color: var(--primary-dark);
    font-size: 20px;
    cursor: pointer;
  }

  .nav-menu {
    flex-direction: column;
    align-items: stretch;
    padding: 0 16px;
    gap: 2px;
  }

  .nav-menu > li > a {
    padding: 12px 14px;
    justify-content: space-between;
  }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    transform: none;
    box-shadow: none;
    border-top: none;
    background: var(--light-gray);
    border-radius: var(--radius);
    transition: max-height 0.3s ease, visibility 0.3s;
    margin: 4px 0;
  }

  .has-dropdown.active .dropdown {
    visibility: visible;
    max-height: 500px;
  }

  .btn-urgenta {
    margin: 16px;
    justify-content: center;
  }

  /* Layout */
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .urgente-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .stimulente-grid { grid-template-columns: 1fr; }
  .contact-units-grid { grid-template-columns: 1fr; }

  .hero-content h1 { font-size: 26px; }
  .section { padding: 50px 0; }
  .footer-grid { padding: 40px 20px 28px; }

  .footer-bottom .container {
    flex-direction: column;
    text-align: center;
  }

  .quick-info-panel { grid-template-columns: 1fr; }

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

@media (max-width: 480px) {
  .urgente-grid { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .top-bar-left { font-size: 11px; gap: 12px; }
  .logo { height: 45px; }
}

/* =============================================
   UTILITIES
   ============================================= */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-dark { color: var(--primary-dark); }
.text-accent { color: var(--accent); }
.mt-auto { margin-top: auto; }
.mb-0 { margin-bottom: 0 !important; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }

.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 24px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-primary {
  background: rgba(0,132,182,0.1);
  color: var(--primary);
}

.badge-success {
  background: rgba(39,174,96,0.1);
  color: #27ae60;
}

.badge-warning {
  background: rgba(255,128,0,0.1);
  color: var(--accent);
}

/* Form styles */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray);
  border-radius: 8px;
  font-family: var(--font);
  font-size: 14px;
  color: var(--text);
  background: white;
  transition: var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,132,182,0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* Loading/Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 0.5s ease forwards;
}
