/* ════════════════════════════════════════════════════
   MDG IT SERVICES — Main Stylesheet
   Professional Corporate Design System
   ════════════════════════════════════════════════════ */

/* ── CSS Variables ───────────────────────────────── */
:root {
  /* Brand Colors */
  --navy-900: #0d1f33;
  --navy-800: #1a3a5c;
  --navy-700: #2c5f8a;
  --navy-600: #3574a5;
  --navy-500: #4da6e8;
  --navy-400: #7bbff0;
  --navy-100: #dceefb;
  --navy-50:  #eef6fd;
  
  /* Accent */
  --accent: #4da6e8;
  --accent-hover: #3a96db;
  --accent-glow: rgba(77, 166, 232, 0.25);
  
  /* Neutrals */
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  
  /* Semantic */
  --success: #10b981;
  --error: #ef4444;
  --warning: #f59e0b;
  
  /* Typography */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  
  /* Spacing */
  --section-py: clamp(4rem, 8vw, 7rem);
  --container-px: clamp(1.25rem, 4vw, 2rem);
  --container-max: 1200px;
  
  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: 0.3s var(--ease-out);
  
  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
  
  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-700);
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

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

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

/* ── Typography ────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--navy-800);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }

.section__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}

.section__label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--navy-500);
  margin-bottom: 0.75rem;
  position: relative;
  padding-left: 2.5rem;
}
.section__label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 2rem;
  height: 2px;
  background: var(--navy-500);
}

.section__title {
  margin-bottom: 1rem;
}

.section__desc {
  color: var(--gray-500);
  font-size: 1.05rem;
  line-height: 1.8;
}

/* ── Buttons ────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--navy-800);
  color: var(--white);
  border: 2px solid var(--navy-800);
}
.btn--primary:hover {
  background: var(--navy-700);
  border-color: var(--navy-700);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--accent {
  background: var(--accent);
  color: var(--white);
  border: 2px solid var(--accent);
}
.btn--accent:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-glow);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
}
.btn--outline:hover {
  background: var(--white);
  color: var(--navy-800);
  border-color: var(--white);
}

.btn--outline-dark {
  background: transparent;
  color: var(--navy-800);
  border: 2px solid var(--navy-800);
}
.btn--outline-dark:hover {
  background: var(--navy-800);
  color: var(--white);
}

.btn--sm {
  padding: 0.6rem 1.4rem;
  font-size: 0.8rem;
}

/* ══════════════════════════════════════════════════
   NAVIGATION
   ══════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.4s var(--ease-out);
  background: transparent;
}

.nav--scrolled {
  background: rgba(13, 31, 51, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.6rem 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.2);
}

.nav__container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo img {
  height: 45px;
  width: auto;
  transition: var(--transition);
}
.nav--scrolled .nav__logo img { height: 38px; }

.nav__menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav__link {
  padding: 0.5rem 0.85rem;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  letter-spacing: 0.3px;
}
.nav__link:hover,
.nav__link--active {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}

.nav__lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
  transition: var(--transition);
}
.nav__lang-btn:hover {
  background: var(--white);
  color: var(--navy-800);
  border-color: var(--white);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}
.nav__toggle span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ══════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 40%, var(--navy-700) 100%);
  overflow: hidden;
}

.hero__bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image: 
    radial-gradient(circle at 20% 80%, var(--accent) 1px, transparent 1px),
    radial-gradient(circle at 80% 20%, var(--accent) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, var(--accent) 0.5px, transparent 0.5px);
  background-size: 60px 60px, 80px 80px, 40px 40px;
}

.hero__glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.12;
  pointer-events: none;
}
.hero__glow--1 {
  background: var(--accent);
  top: -200px;
  right: -100px;
}
.hero__glow--2 {
  background: var(--navy-500);
  bottom: -200px;
  left: -100px;
  opacity: 0.08;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 8rem 0 5rem;
}

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(77, 166, 232, 0.12);
  border: 1px solid rgba(77, 166, 232, 0.25);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy-400);
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s var(--ease-out) both;
}

.hero__title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s var(--ease-out) 0.15s both;
}
.hero__title span {
  background: linear-gradient(135deg, var(--navy-400), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__desc {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 540px;
  animation: fadeInUp 0.8s var(--ease-out) 0.3s both;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  animation: fadeInUp 0.8s var(--ease-out) 0.45s both;
}

.hero__stats {
  display: flex;
  gap: 3rem;
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  animation: fadeInUp 0.8s var(--ease-out) 0.6s both;
}

.hero__stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.hero__stat-number span {
  color: var(--accent);
}

.hero__stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-top: 0.3rem;
}

/* ══════════════════════════════════════════════════
   SERVICE CARDS (Home)
   ══════════════════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  transition: all 0.4s var(--ease-out);
  border: 1px solid var(--gray-200);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy-800), var(--accent));
  transform: scaleX(0);
  transition: transform 0.4s var(--ease-out);
  transform-origin: left;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}
.service-card:hover::before {
  transform: scaleX(1);
}

.service-card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  background: var(--navy-50);
  color: var(--navy-700);
  transition: var(--transition);
}
.service-card:hover .service-card__icon {
  background: var(--navy-800);
  color: var(--white);
}

.service-card__title {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.service-card__desc {
  font-size: 0.92rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy-700);
  transition: var(--transition);
}
.service-card__link:hover {
  color: var(--accent);
  gap: 0.7rem;
}

/* ══════════════════════════════════════════════════
   ABOUT PREVIEW (Home)
   ══════════════════════════════════════════════════ */
.about-preview {
  background: var(--gray-50);
}

.about-preview__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-preview__image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--gray-200);
}
.about-preview__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-preview__image-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: var(--navy-800);
  color: var(--white);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
}
.about-preview__image-badge strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
}
.about-preview__image-badge span {
  font-size: 0.8rem;
  opacity: 0.8;
}

.about-preview__content h2 {
  margin-bottom: 1.5rem;
}

.about-preview__text {
  color: var(--gray-600);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.about-preview__values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.about-value {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.about-value__icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy-50);
  color: var(--navy-700);
  font-size: 0.85rem;
  flex-shrink: 0;
}

.about-value__text {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-800);
}

/* ══════════════════════════════════════════════════
   CLIENTS LOGO STRIP
   ══════════════════════════════════════════════════ */
.clients-strip {
  background: var(--white);
  overflow: hidden;
}

.clients-strip__title {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 2rem;
}

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

.clients-track__item {
  flex: 0 0 auto;
  padding: 0 2.5rem;
  display: flex;
  align-items: center;
  height: 60px;
}

.clients-track__item img {
  max-height: 40px;
  width: auto;
  filter: grayscale(100%);
  opacity: 0.5;
  transition: all 0.4s var(--ease-out);
}
.clients-track__item img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

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

/* ══════════════════════════════════════════════════
   CTA BANNER
   ══════════════════════════════════════════════════ */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  position: relative;
  overflow: hidden;
}

.cta-banner__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: radial-gradient(var(--accent) 1px, transparent 1px);
  background-size: 30px 30px;
}

.cta-banner__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta-banner__content h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-banner__content p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.cta-banner__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ══════════════════════════════════════════════════
   CONTACT FORM (Quick / Full)
   ══════════════════════════════════════════════════ */
.contact-quick {
  background: var(--gray-50);
}

.contact-quick__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.contact-info__item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-info__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy-800);
  color: var(--white);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-info__text h4 {
  color: var(--gray-800);
  margin-bottom: 0.2rem;
}

.contact-info__text p,
.contact-info__text a {
  color: var(--gray-500);
  font-size: 0.95rem;
}
.contact-info__text a:hover {
  color: var(--accent);
}

.form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}

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

.form__group {
  margin-bottom: 1.25rem;
}

.form__label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 0.4rem;
}

.form__input,
.form__select,
.form__textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--gray-800);
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  outline: none;
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  border-color: var(--navy-500);
  background: var(--white);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form__textarea {
  min-height: 120px;
  resize: vertical;
}

.form__submit {
  width: 100%;
  margin-top: 0.5rem;
}

.form__msg {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  display: none;
}
.form__msg--success {
  display: block;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}
.form__msg--error {
  display: block;
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* ══════════════════════════════════════════════════
   ABOUT PAGE
   ══════════════════════════════════════════════════ */
.page-hero {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-800));
  padding: 10rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: radial-gradient(var(--accent) 1px, transparent 1px);
  background-size: 40px 40px;
}

.page-hero h1 {
  color: var(--white);
  position: relative;
  z-index: 1;
}
.page-hero p {
  color: rgba(255,255,255,0.7);
  max-width: 600px;
  margin: 1rem auto 0;
  position: relative;
  z-index: 1;
}

.mission-vision {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.mv-card {
  padding: 2.5rem 2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  text-align: center;
  transition: all 0.4s var(--ease-out);
}
.mv-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.mv-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: var(--navy-50);
  color: var(--navy-700);
  margin: 0 auto 1.5rem;
}

.mv-card h3 {
  margin-bottom: 1rem;
}

.mv-card p {
  color: var(--gray-500);
  font-size: 0.95rem;
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

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

.team-card__photo {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 1rem;
  background: var(--gray-200);
}
.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.team-card:hover .team-card__photo img {
  transform: scale(1.05);
}

.team-card__name {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--gray-800);
}

.team-card__role {
  font-size: 0.85rem;
  color: var(--gray-500);
}

/* ══════════════════════════════════════════════════
   SERVICES PAGE
   ══════════════════════════════════════════════════ */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem 0;
  border-bottom: 1px solid var(--gray-200);
}
.service-detail:nth-child(even) {
  direction: rtl;
}
.service-detail:nth-child(even) > * {
  direction: ltr;
}
.service-detail:last-child {
  border-bottom: none;
}

.service-detail__visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--gray-200);
}
.service-detail__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-detail__number {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 800;
  color: var(--navy-100);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.service-detail__content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-detail__content p {
  color: var(--gray-600);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.service-detail__features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.service-detail__feature {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.8rem;
  background: var(--navy-50);
  color: var(--navy-700);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
}
.service-detail__feature i {
  font-size: 0.7rem;
  color: var(--accent);
}

/* ══════════════════════════════════════════════════
   CLIENTS PAGE
   ══════════════════════════════════════════════════ */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.5rem;
}

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  aspect-ratio: 16/10;
  transition: all 0.4s var(--ease-out);
}
.client-logo:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.client-logo img {
  max-height: 50px;
  max-width: 140px;
  width: auto;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: var(--transition);
}
.client-logo:hover img {
  filter: grayscale(0);
  opacity: 1;
}

/* ══════════════════════════════════════════════════
   CONTACT PAGE
   ══════════════════════════════════════════════════ */
.contact-full__grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
}

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

.contact-cta-card {
  padding: 2rem;
  border-radius: var(--radius-md);
  background: var(--navy-800);
  color: var(--white);
}
.contact-cta-card h4 {
  color: var(--white);
  margin-bottom: 0.5rem;
}
.contact-cta-card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1rem;
}

.map-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16/9;
  border: 1px solid var(--gray-200);
}
.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ══════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════ */
.footer {
  background: var(--navy-900);
  color: rgba(255,255,255,0.7);
  padding: 5rem 0 0;
  position: relative;
}

.footer__wave {
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  color: var(--white);
  line-height: 0;
}
.footer__wave svg {
  width: 100%;
  height: 60px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer__logo {
  height: auto;
  max-width: 180px;
  margin-bottom: 1rem;
}

.footer__tagline {
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.footer__location {
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.footer__nav ul li,
.footer__contact ul li {
  margin-bottom: 0.6rem;
}

.footer__nav a,
.footer__contact a {
  font-size: 0.88rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.footer__nav a:hover,
.footer__contact a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
}

.footer__bottom-links a {
  transition: var(--transition);
}
.footer__bottom-links a:hover {
  color: var(--white);
}

/* ══════════════════════════════════════════════════
   WHATSAPP FLOAT
   ══════════════════════════════════════════════════ */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all 0.3s var(--ease-out);
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float__tooltip {
  position: absolute;
  right: 70px;
  white-space: nowrap;
  background: var(--white);
  color: var(--gray-800);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 500;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  transform: translateX(8px);
}
.whatsapp-float:hover .whatsapp-float__tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ══════════════════════════════════════════════════
   BACK TO TOP
   ══════════════════════════════════════════════════ */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 6rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy-800);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  box-shadow: var(--shadow-md);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s var(--ease-out);
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--accent);
  transform: translateY(-3px);
}

/* ══════════════════════════════════════════════════
   ANIMATIONS
   ══════════════════════════════════════════════════ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s var(--ease-out);
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s var(--ease-out);
}
.stagger.visible > *:nth-child(1) { transition-delay: 0.05s; }
.stagger.visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger.visible > *:nth-child(3) { transition-delay: 0.15s; }
.stagger.visible > *:nth-child(4) { transition-delay: 0.2s; }
.stagger.visible > *:nth-child(5) { transition-delay: 0.25s; }
.stagger.visible > *:nth-child(6) { transition-delay: 0.3s; }
.stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .mission-vision { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav__toggle { display: flex; }
  
  .nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--navy-900);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    gap: 0.25rem;
    transition: right 0.4s var(--ease-out);
    box-shadow: -10px 0 40px rgba(0,0,0,0.3);
  }
  .nav__menu.active { right: 0; }
  
  .nav__link {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
  }
  
  .nav__toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .nav__toggle.active span:nth-child(2) { opacity: 0; }
  .nav__toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
  
  .hero__content { padding: 7rem 0 3rem; }
  .hero__stats { gap: 1.5rem; flex-wrap: wrap; }
  .hero__stat-number { font-size: 2rem; }
  
  .services-grid { grid-template-columns: 1fr; }
  .about-preview__grid { grid-template-columns: 1fr; gap: 2rem; }
  .contact-quick__grid { grid-template-columns: 1fr; }
  .contact-full__grid { grid-template-columns: 1fr; }
  .service-detail { grid-template-columns: 1fr; gap: 2rem; }
  .service-detail:nth-child(even) { direction: ltr; }
  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .about-preview__values { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: 1fr 1fr; }
}

/* ══════════════════════════════════════════════════
   PRINT STYLES
   ══════════════════════════════════════════════════ */
@media print {
  .nav, .whatsapp-float, .back-to-top, .cta-banner { display: none !important; }
  .hero { min-height: auto; padding: 2rem 0; }
  body { color: #000; font-size: 12pt; }
}
