/* ============================================
   SO.GE.SE. — Modern Aggressive Website
   Light Industrial Theme — Real Brand Colors
   ============================================ */

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

:root {
  --white: #ffffff;
  --off-white: #f7f7f7;
  --light-gray: #eeeeee;
  --mid-gray: #999999;
  --dark-gray: #444444;
  --charcoal: #2a2a2a;
  --black: #111111;
  --accent: #1a3a5c;
  --accent-light: #2a5a8c;
  --accent-dark: #0f2440;
  --highlight: #d4a84b;
  --font-heading: 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition: cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--charcoal);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

ul { list-style: none; }

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

/* --- Utility --- */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 4rem);
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.section-label::before {
  content: '';
  width: 40px;
  height: 2px;
  background: var(--accent);
}

.section-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--black);
}

.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.8s var(--transition), transform 0.8s var(--transition);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* --- Preloader --- */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-logo {
  height: 80px;
  animation: fadeScale 0.8s var(--transition) forwards;
  opacity: 0;
}

@keyframes fadeScale {
  0% { opacity: 0; transform: scale(0.8); }
  100% { opacity: 1; transform: scale(1); }
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.2rem 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  transition: padding 0.4s ease, box-shadow 0.4s ease;
}

.navbar.scrolled {
  padding: 0.8rem 0;
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 55px;
  transition: height 0.3s ease;
}

.navbar.scrolled .nav-logo img {
  height: 45px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dark-gray);
  transition: color 0.3s ease;
  position: relative;
}

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

.nav-links a:hover {
  color: var(--black);
}

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

.nav-cta {
  padding: 0.65rem 1.6rem;
  background: var(--accent) !important;
  color: var(--white) !important;
  font-weight: 600 !important;
  transition: background 0.3s ease, transform 0.3s ease !important;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
  background: var(--accent-dark) !important;
  transform: translateY(-1px);
}

.nav-lang {
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em;
  padding: 0.35rem 0.8rem !important;
  border: 1.5px solid var(--accent) !important;
  color: var(--accent) !important;
  transition: background 0.3s ease, color 0.3s ease !important;
}

.nav-lang::after { display: none !important; }

.nav-lang:hover {
  background: var(--accent) !important;
  color: var(--white) !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
  width: 30px;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--black);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--black);
  color: var(--white);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-image {
  position: absolute;
  inset: 0;
  background-image: url('../img/laboratorio-sogese-hero.jpg');
  background-size: cover;
  background-position: center;
  filter: brightness(0.3);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 58, 92, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
}

.hero .container {
  position: relative;
  z-index: 1;
  padding-top: 8rem;
  padding-bottom: 4rem;
}

.hero-content {
  max-width: 850px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 2.5rem;
  background: rgba(255, 255, 255, 0.05);
}

.hero-tag .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--highlight);
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  color: var(--white);
}

.hero h1 .outline {
  -webkit-text-stroke: 1.5px var(--white);
  color: transparent;
}

.hero-desc {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 550px;
  line-height: 1.7;
  margin-bottom: 3rem;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.1rem 2.5rem;
  background: var(--white);
  color: var(--black);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: transform 0.3s var(--transition), box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.btn-primary .arrow {
  transition: transform 0.3s ease;
}

.btn-primary:hover .arrow {
  transform: translateX(4px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.1rem 2.5rem;
  background: transparent;
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: border-color 0.3s ease, background 0.3s ease;
}

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

/* Dark section buttons */
.section-dark .btn-primary {
  background: var(--accent);
  color: var(--white);
}

.section-light .btn-primary {
  background: var(--accent);
  color: var(--white);
}

.hero-stats {
  display: flex;
  gap: 4rem;
  margin-top: 5rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stat h3 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--white);
}

.hero-stat p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.3rem;
}

/* --- Marquee --- */
.marquee-section {
  padding: 1.8rem 0;
  border-top: 1px solid var(--light-gray);
  border-bottom: 1px solid var(--light-gray);
  background: var(--off-white);
  overflow: hidden;
}

.marquee-track {
  display: flex;
  animation: marquee 40s linear infinite;
  width: max-content;
}

.marquee-item {
  font-size: clamp(0.85rem, 1.5vw, 1.1rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--mid-gray);
  white-space: nowrap;
  padding: 0 2.5rem;
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.marquee-item .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- About --- */
.about {
  padding: 8rem 0;
  position: relative;
  background: var(--white);
}

.about-text {
  max-width: 720px;
}

.about-text p {
  font-size: 1.05rem;
  color: var(--dark-gray);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.about-text p strong {
  color: var(--black);
  font-weight: 700;
}

/* --- Services --- */
.services {
  padding: 8rem 0;
  background: var(--off-white);
  position: relative;
}

.services-header {
  max-width: 700px;
  margin-bottom: 4rem;
}

.services-header p {
  font-size: 1.05rem;
  color: var(--dark-gray);
  line-height: 1.7;
  margin-top: 1.5rem;
}

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

.service-card {
  padding: 3rem;
  background: var(--white);
  position: relative;
  overflow: hidden;
  cursor: default;
  transition: box-shadow 0.5s var(--transition);
  display: flex;
  flex-direction: column;
  min-height: 350px;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--transition);
}

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

.service-card:hover {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  z-index: 1;
}

.service-number {
  font-size: 4rem;
  font-weight: 900;
  color: rgba(0, 0, 0, 0.04);
  line-height: 1;
  margin-bottom: 1.5rem;
  transition: color 0.5s ease;
}

.service-card:hover .service-number {
  color: rgba(26, 58, 92, 0.1);
}

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
  line-height: 1.3;
  color: var(--black);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--mid-gray);
  line-height: 1.7;
  flex-grow: 1;
}

.service-card .read-more {
  margin-top: 1.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.service-card:hover .read-more {
  opacity: 1;
  transform: translateY(0);
}

/* --- Certification --- */
.certification {
  padding: 8rem 0;
  background: var(--white);
  position: relative;
}

.cert-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  margin-top: 4rem;
  align-items: start;
}

.cert-card {
  padding: 3rem;
  background: var(--off-white);
  border-left: 4px solid var(--accent);
}

.cert-card h4 {
  font-size: 1.2rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  color: var(--black);
}

.cert-detail {
  display: flex;
  justify-content: space-between;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--light-gray);
  font-size: 0.9rem;
}

.cert-detail:last-child {
  border-bottom: none;
}

.cert-detail .label {
  font-weight: 600;
  color: var(--dark-gray);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}

.cert-detail .value {
  color: var(--black);
  text-align: right;
  font-weight: 500;
}

.cert-text h3 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  color: var(--black);
}

.cert-text p {
  font-size: 1rem;
  color: var(--dark-gray);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.cert-badge {
  margin-top: 2rem;
}

.cert-badge img {
  height: 60px;
}

/* --- Clients --- */
.clients {
  padding: 8rem 0;
  background: var(--accent-dark);
  color: var(--white);
}

.clients-header {
  text-align: center;
  margin-bottom: 4rem;
}

.clients-header .section-label {
  color: rgba(255, 255, 255, 0.5);
  justify-content: center;
}

.clients-header .section-label::before {
  background: rgba(255, 255, 255, 0.3);
}

.clients-header .section-title {
  color: var(--white);
}

.clients-header p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 1rem;
}

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

.client-item {
  padding: 1.5rem 1rem;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.3s ease, color 0.3s ease;
}

.client-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
}

.clients-note {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.4);
  font-style: italic;
}

/* --- Contact --- */
.contact {
  padding: 8rem 0;
  position: relative;
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
}

.contact-info h3 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--black);
}

.contact-info > p {
  font-size: 1rem;
  color: var(--dark-gray);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-detail .icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--off-white);
  border: 1px solid var(--light-gray);
  color: var(--accent);
  flex-shrink: 0;
  font-size: 1.1rem;
}

.contact-detail .text h4 {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--mid-gray);
  margin-bottom: 0.3rem;
}

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

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--mid-gray);
}

.form-group input,
.form-group textarea {
  padding: 1rem 1.2rem;
  background: var(--off-white);
  border: 1px solid var(--light-gray);
  color: var(--black);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.3s ease;
  resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--mid-gray);
}

.form-group textarea {
  min-height: 150px;
}

.contact-form .btn-submit {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.1rem 2.5rem;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.contact-form .btn-submit:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

/* --- Footer --- */
.footer {
  padding: 4rem 0 2rem;
  background: var(--accent);
  color: var(--white);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 4rem;
  flex-wrap: wrap;
  gap: 3rem;
}

.footer-brand-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  display: inline-block;
  position: relative;
  margin-bottom: 1rem;
  cursor: default;
}

.footer-brand-name::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--highlight);
  transition: width 0.8s var(--transition);
}

.footer-brand-name.underline-visible::after {
  width: 100%;
}

.footer-brand p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
  max-width: 350px;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 4rem;
}

.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--white);
  margin-bottom: 1.2rem;
}

.footer-col a {
  display: block;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 0.7rem;
  transition: color 0.3s ease;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-cert {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.footer-cert img {
  height: 40px;
  opacity: 0.8;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.3);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.3);
  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  color: var(--white);
}

/* --- Service Detail Page --- */
.service-hero {
  padding: 10rem 0 5rem;
  background: var(--accent-dark);
  color: var(--white);
  position: relative;
}

.service-hero .section-label {
  color: rgba(255, 255, 255, 0.5);
}

.service-hero .section-label::before {
  background: rgba(255, 255, 255, 0.3);
}

.service-hero .section-title {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.service-hero p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.65);
  max-width: 650px;
  line-height: 1.8;
}

.service-hero .back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 2rem;
  transition: color 0.3s ease;
}

.service-hero .back-link:hover {
  color: var(--white);
}

.service-detail {
  padding: 6rem 0;
  background: var(--white);
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.service-detail-grid.single {
  grid-template-columns: 1fr;
  max-width: 800px;
}

.service-block {
  padding: 2.5rem;
  background: var(--off-white);
  border-left: 3px solid var(--accent);
  transition: transform 0.3s ease;
}

.service-block:hover {
  transform: translateX(6px);
}

.service-block h3 {
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
  color: var(--black);
}

.service-block p {
  font-size: 0.92rem;
  color: var(--dark-gray);
  line-height: 1.7;
  margin-bottom: 0.8rem;
}

.service-block p:last-child {
  margin-bottom: 0;
}

.service-block ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-block ul li {
  font-size: 0.88rem;
  color: var(--dark-gray);
  line-height: 1.6;
  padding: 0.4rem 0;
  padding-left: 1.2rem;
  position: relative;
}

.service-block ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
}

.service-cta {
  padding: 5rem 0;
  background: var(--off-white);
  text-align: center;
}

.service-cta h3 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 1rem;
}

.service-cta p {
  font-size: 1rem;
  color: var(--dark-gray);
  margin-bottom: 2rem;
}

.service-cta .btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.1rem 2.5rem;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
  text-decoration: none;
}

.service-cta .btn-submit:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

/* FAQ Section */
.service-faq {
  margin: 4rem 0 2rem;
  padding: 2.5rem;
  background: var(--off-white);
  border-radius: 12px;
}

.service-faq h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 2rem;
}

.faq-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding: 1.2rem 0;
}

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

.faq-item h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 0.5rem;
}

.faq-item p {
  font-size: 0.95rem;
  color: var(--dark-gray);
  line-height: 1.7;
}

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

/* --- Mobile Nav Overlay --- */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.mobile-nav.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav a {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--black);
  transition: color 0.3s ease;
}

.mobile-nav a:hover {
  color: var(--accent);
}

/* --- Responsive --- */
@media (max-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .clients-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1024px) {
  .cert-content,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-stats {
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 10vw, 4.5rem);
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  .hero-stat {
    width: calc(50% - 0.75rem);
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 2.5rem;
    min-height: auto;
  }

  .footer-links {
    gap: 2rem;
  }

  .footer-top {
    flex-direction: column;
  }

  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .btn-primary, .btn-secondary {
    width: 100%;
    justify-content: center;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}
