/* ============================================================
   PJDC, PLS. CSP — Website Styles
   ============================================================ */

/* ===== CSS Variables ===== */
:root {
  --primary:        #0d2137;
  --primary-light:  #1a3a5c;
  --primary-dark:   #070f1a;
  --accent:         #e55a00;
  --accent-hover:   #c94f00;
  --accent-light:   #ff7a2f;
  --white:          #ffffff;
  --off-white:      #f5f7fa;
  --gray-100:       #f8f9fa;
  --gray-200:       #e9ecef;
  --gray-400:       #ced4da;
  --gray-600:       #6c757d;
  --text:           #1e293b;
  --text-muted:     #64748b;

  --shadow-sm:  0 1px 4px rgba(0, 0, 0, 0.08);
  --shadow-md:  0 4px 16px rgba(0, 0, 0, 0.10);
  --shadow-lg:  0 8px 32px rgba(0, 0, 0, 0.15);
  --shadow-xl:  0 16px 48px rgba(0, 0, 0, 0.20);

  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;
  --radius-xl:  24px;

  --transition: all 0.3s ease;

  --nav-height: 70px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  background: var(--white);
}

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

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

ul { list-style: none; }

/* ===== Typography ===== */
h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary);
}

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
h4 { font-size: 1rem; font-weight: 700; }

p { color: var(--text-muted); line-height: 1.75; }

/* ===== Layout ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5.5rem 0;
}

.section-alt {
  background: var(--off-white);
}

/* ===== Section Headers ===== */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-tag {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.85rem;
}

.section-header h2 {
  margin-bottom: 0.85rem;
}

.section-header p {
  max-width: 580px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-md);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.3px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
  line-height: 1;
}

.btn-lg {
  padding: 0.95rem 2.25rem;
  font-size: 0.95rem;
}

.btn-accent {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.btn-accent:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(229, 90, 0, 0.35);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.65);
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2);
}

.btn-submit {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  margin-top: 0.5rem;
}

/* ===== Scroll Reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  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; }

/* ===== Animate fade up (hero) ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-fade-up {
  animation: fadeUp 0.9s ease forwards;
}

/* ================================================================
   NAVBAR
   ================================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  background: transparent;
  transition: background 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
}

.navbar.scrolled {
  background: var(--primary);
  padding: 0.6rem 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

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

.nav-brand { display: flex; align-items: center; }

.nav-logo {
  height: 52px;
  width: auto;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.3));
  transition: var(--transition);
}

.navbar:not(.scrolled) .nav-logo {
  filter: brightness(1.15) drop-shadow(0 1px 3px rgba(0,0,0,0.5));
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

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

.nav-link {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
  padding: 0.45rem 0.8rem;
  border-radius: var(--radius-sm);
  position: relative;
  letter-spacing: 0.2px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 65%;
}

.nav-cta {
  padding: 0.55rem 1.25rem;
  font-size: 0.825rem;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.lang-link,
.lang-divider {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.lang-link {
  color: rgba(255, 255, 255, 0.72);
}

.lang-link:hover,
.lang-link.is-active {
  color: var(--white);
}

.lang-link.is-active {
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

.lang-divider {
  color: rgba(255, 255, 255, 0.35);
}

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

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}

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

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

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

/* Nav overlay (mobile) */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 900;
  backdrop-filter: blur(2px);
}

.nav-overlay.visible {
  display: block;
}

/* ================================================================
   HERO
   ================================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/field-survey-dock-rainbow.jpg');
  background-size: cover;
  background-position: center 40%;
  transform: scale(1.03);
  transition: transform 8s ease;
}

.hero:hover .hero-bg {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(7, 15, 26, 0.93) 0%,
    rgba(13, 33, 55, 0.82) 45%,
    rgba(13, 33, 55, 0.60) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 7rem;
  padding-bottom: 7rem;
}

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

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent-light);
  border: 1px solid rgba(229, 90, 0, 0.5);
  border-radius: 100px;
  padding: 0.4rem 1rem;
  margin-bottom: 1.5rem;
}

.hero-title {
  color: var(--white);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.text-accent { color: var(--accent-light); }

.hero-subtitle {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 580px;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.1rem;
  animation: scrollBounce 2.5s ease infinite;
  transition: color 0.3s ease;
}

.hero-scroll-indicator:hover {
  color: var(--accent-light);
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ================================================================
   STATS BAR
   ================================================================ */
.stats-bar {
  background: var(--primary);
  padding: 2.75rem 0;
  border-top: 3px solid var(--accent);
}

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

.stat-item {
  text-align: center;
  padding: 1.25rem 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

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

.stat-icon {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 0.5rem;
}

.stat-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--accent-light);
  line-height: 1;
  display: inline;
}

.stat-plus {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent-light);
  line-height: 1;
}

.stat-label {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.55);
}

/* ================================================================
   ABOUT
   ================================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-content h3 {
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
  color: var(--primary);
}

.about-content p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

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

.about-highlights {
  margin-top: 1.75rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}

.highlight-item i {
  color: var(--accent);
  font-size: 0.9rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  grid-template-rows: auto auto;
  gap: 0.75rem;
}

.gallery-main {
  grid-column: 1;
  grid-row: 1 / 3;
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}

.gallery-sm {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.gallery-sm:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

/* ================================================================
   SERVICES
   ================================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-md);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  position: relative;
  overflow: hidden;
}

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

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

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

.service-icon {
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, rgba(229, 90, 0, 0.1), rgba(255, 122, 47, 0.15));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
}

.service-icon i {
  font-size: 1.4rem;
  color: var(--accent);
  transition: var(--transition);
}

.service-card:hover .service-icon i {
  color: var(--white);
}

.service-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
  color: var(--primary);
}

.service-card p {
  font-size: 0.9rem;
  line-height: 1.72;
}

.services-cta {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.services-cta p {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-muted);
}

/* ================================================================
   PROJECTS
   ================================================================ */
.project-filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2.75rem;
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  border: 2px solid var(--gray-200);
  background: transparent;
  border-radius: 100px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-muted);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(229, 90, 0, 0.3);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.project-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.project-card.hidden {
  display: none;
}

.project-img {
  height: 170px;
  position: relative;
  overflow: hidden;
}

.project-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 0.85rem 1rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, transparent 70%);
}

.project-cat {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 0.25rem 0.65rem;
  border-radius: 100px;
}

.project-info {
  padding: 1.15rem 1.25rem;
}

.project-info h4 {
  font-size: 0.9rem;
  color: var(--primary);
  margin-bottom: 0.3rem;
  line-height: 1.4;
}

.project-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ================================================================
   CONTACT
   ================================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 0.85rem;
  color: var(--primary);
}

.contact-info > p {
  margin-bottom: 2rem;
  line-height: 1.75;
}

.info-cards {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 2rem;
  padding: 1rem 0 0.25rem 1.25rem;
}

.info-cards::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0.25rem;
  left: 20px;
  width: 1px;
  background:
    linear-gradient(
      180deg,
      rgba(229, 90, 0, 0) 0%,
      rgba(229, 90, 0, 0.35) 10%,
      rgba(13, 33, 55, 0.12) 100%
    );
}

.info-card {
  position: relative;
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: start;
  gap: 1rem;
  padding: 0 0 1.15rem 0;
  border-bottom: 1px solid rgba(13, 33, 55, 0.08);
  transition: transform 0.25s ease;
}

.info-card:hover {
  transform: translateX(4px);
}

.info-card:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.info-icon {
  width: 42px;
  height: 42px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.75));
  border: 1px solid rgba(229, 90, 0, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 10px 20px rgba(13, 33, 55, 0.08);
  position: relative;
  z-index: 1;
}

.info-icon i {
  color: var(--accent);
  font-size: 0.95rem;
}

.info-copy {
  padding-top: 0.15rem;
}

.info-copy strong {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.info-copy span,
.info-copy a {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.info-copy a:hover {
  color: var(--accent);
}

.contact-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.contact-img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.contact-img:hover img {
  transform: scale(1.05);
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-xl);
}

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

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

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

.form-group label {
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--text);
  font-family: 'Montserrat', sans-serif;
}

.required { color: var(--accent); }

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-family: 'Open Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  appearance: none;
  -webkit-appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2364748b' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.6;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(229, 90, 0, 0.12);
}

.form-group input.invalid,
.form-group textarea.invalid {
  border-color: #ef4444;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}

.form-message {
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  display: none;
  line-height: 1.5;
}

.form-message.success {
  display: block;
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #6ee7b7;
}

.form-message.error {
  display: block;
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
  background: var(--primary-dark);
  padding: 4.5rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 3.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
  height: 58px;
  margin-bottom: 1.25rem;
  filter: brightness(1.1);
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.8;
  margin-bottom: 1.75rem;
}

.social-links {
  display: flex;
  gap: 0.6rem;
}

.social-link {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(229, 90, 0, 0.35);
}

.footer-nav h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-nav a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s, padding-left 0.2s;
  display: inline-flex;
  align-items: center;
}

.footer-nav a:hover {
  color: var(--accent-light);
  padding-left: 4px;
}

.footer-contact h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  list-style: none;
}

.footer-contact li {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}

.footer-contact li i {
  color: var(--accent);
  margin-top: 0.2em;
  flex-shrink: 0;
  width: 14px;
  text-align: center;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s;
}

.footer-contact a:hover {
  color: var(--accent-light);
}

.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.3);
  line-height: 1;
}

/* ================================================================
   BACK TO TOP
   ================================================================ */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(229, 90, 0, 0.4);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.back-to-top:hover {
  background: var(--accent-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(229, 90, 0, 0.5);
}

/* ================================================================
   RESPONSIVE — Tablet (≤ 1024px)
   ================================================================ */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .gallery-main { height: 320px; }
  .gallery-sm   { height: 150px; }

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

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

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* ================================================================
   RESPONSIVE — Mobile (≤ 768px)
   ================================================================ */
@media (max-width: 768px) {
  :root { --nav-height: 64px; }

  .section { padding: 4rem 0; }

  /* Nav */
  .hamburger { display: flex; }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(300px, 80vw);
    height: 100vh;
    background: var(--primary);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    gap: 0;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.4);
    overflow-y: auto;
  }

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

  .nav-links {
    flex-direction: column;
    width: 100%;
    gap: 0;
    margin-bottom: 1.5rem;
  }

  .nav-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.9rem;
  }

  .nav-link {
    width: 100%;
    padding: 0.85rem 0.5rem;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
  }

  .nav-link::after { display: none; }

  .language-switch {
    justify-content: center;
    width: 100%;
  }

  .nav-cta { width: 100%; justify-content: center; }

  /* Stats */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-right: 1px solid rgba(255,255,255,0.08); }
  .stat-item:nth-child(1),
  .stat-item:nth-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 1.5rem;
  }

  /* About */
  .about-highlights {
    grid-template-columns: 1fr;
  }

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

  .gallery-main {
    grid-row: auto;
    height: 220px;
    grid-column: 1 / -1;
  }

  .gallery-sm { height: 150px; }

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

  /* Projects */
  .projects-grid { grid-template-columns: 1fr; }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .info-cards {
    padding-left: 1rem;
  }

  .info-cards::before {
    left: 18px;
  }

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

  .contact-form-wrapper {
    padding: 1.75rem;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  /* Back to top */
  .back-to-top {
    bottom: 1.25rem;
    right: 1.25rem;
  }
}

/* ================================================================
   RESPONSIVE — Small Mobile (≤ 480px)
   ================================================================ */
@media (max-width: 480px) {
  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .stat-number { font-size: 2.25rem; }

  .info-card {
    grid-template-columns: 38px 1fr;
    gap: 0.85rem;
  }

  .info-icon {
    width: 38px;
    height: 38px;
  }

  .info-copy span,
  .info-copy a {
    font-size: 0.95rem;
  }

  .contact-form-wrapper { padding: 1.25rem; }
}

/* ================================================================
   ACCESSIBILITY — Reduced Motion
   ================================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-bg {
    transform: none !important;
  }
}
