/* ============================================
   ITTRIX — Design System & Global Styles
   Brand: Navy #1C2B4A | Copper #C4785A
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

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

:root {
  --navy: #1C2B4A;
  --navy-dark: #111827;
  --navy-light: #253455;
  --copper: #C4785A;
  --copper-dark: #A85F42;
  --copper-light: #D8997F;
  --white: #FFFFFF;
  --off-white: #F8F9FA;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-400: #9CA3AF;
  --gray-600: #4B5563;
  --gray-800: #1F2937;
  --text: #1C2B4A;
  --text-muted: #6B7280;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .08), 0 1px 2px rgba(0, 0, 0, .05);
  --shadow: 0 4px 16px rgba(28, 43, 74, .10);
  --shadow-lg: 0 12px 40px rgba(28, 43, 74, .15);
  --transition: .25s cubic-bezier(.4, 0, .2, 1);
}

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

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

/* --- Typography --- */
h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.015em;
}

h3 {
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.3;
}

h4 {
  font-size: 1rem;
  font-weight: 600;
}

p {
  line-height: 1.75;
  color: var(--gray-600);
}

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

.section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--copper);
  border-radius: 2px;
}

/* --- Layout --- */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.section-sm {
  padding: 64px 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

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

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: var(--copper);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(196, 120, 90, .35);
}

.btn-primary:hover {
  background: var(--copper-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(196, 120, 90, .4);
}

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

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

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

.btn-outline-dark:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1rem;
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all .4s cubic-bezier(.4, 0, .2, 1);
}

.navbar.scrolled {
  top: 12px;
  left: 16px;
  right: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .55);
  backdrop-filter: blur(24px) saturate(1.8);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  box-shadow:
    0 1px 0 0 rgba(255, 255, 255, .5) inset,
    0 -1px 0 0 rgba(255, 255, 255, .2) inset,
    0 8px 32px rgba(28, 43, 74, .10),
    0 2px 6px rgba(28, 43, 74, .05);
  border: 1px solid rgba(255, 255, 255, .4);
  padding: 10px 0;
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo-img {
  height: 20px;
  width: auto;
  display: block;
  transition: opacity var(--transition);
}

.nav-logo-icon-img {
  height: 32px;
  width: auto;
  display: block;
}

/* Footer sizes */
.footer .nav-logo-icon-img {
  height: 28px;
}

.footer .nav-logo-img {
  height: 18px;
}

/* Default (unscrolled): show dark-bg versions */
.nav-logo-light      { display: none; }
.nav-logo-dark       { display: block; }
.nav-logo-icon-light { display: none; }
.nav-logo-icon-dark  { display: block; }

/* Scrolled: swap to light-bg versions */
.navbar.scrolled .nav-logo-dark       { display: none; }
.navbar.scrolled .nav-logo-light      { display: block; }
.navbar.scrolled .nav-logo-icon-dark  { display: none; }
.navbar.scrolled .nav-logo-icon-light { display: block; }

/* Footer always uses dark-bg logo */

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 500;
  font-size: .95rem;
  color: rgba(255, 255, 255, .85);
  transition: all var(--transition);
}

.navbar.scrolled .nav-links a {
  color: var(--navy);
  text-shadow: 0 1px 6px rgba(0, 0, 0, .15);
}

.nav-links a:hover {
  color: var(--navy);
  background: rgba(255, 255, 255, .12);
}

.navbar.scrolled .nav-links a:hover {
  color: var(--navy);
  background: rgba(255, 255, 255, .15);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-toggle {
  display: flex;
  border-radius: 50px;
  overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, .3);
  font-size: .8rem;
  font-weight: 600;
}

.navbar.scrolled .lang-toggle {
  border-color: rgba(37, 52, 85, .25);
  background: rgba(37, 52, 85, .8);
}

.lang-toggle button {
  padding: 5px 12px;
  cursor: pointer;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, .6);
  transition: all var(--transition);
  font-weight: 600;
  font-size: .8rem;
}

.navbar.scrolled .lang-toggle button {
  color: rgba(255, 255, 255, .6);
}

.lang-toggle button.active {
  background: var(--copper);
  color: var(--white) !important;
}

.navbar .btn-primary {
  padding: 10px 22px;
  font-size: .9rem;
}

/* --- Mobile hamburger --- */
.nav-hamburger {
  display: none;
  width: 36px;
  height: 36px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
  border-radius: 8px;
  transition: background var(--transition);
}

.nav-hamburger:hover {
  background: rgba(255, 255, 255, .12);
}

.navbar.scrolled .nav-hamburger:hover {
  background: rgba(37, 52, 85, .25);
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all .3s ease;
}

.navbar.scrolled .nav-hamburger span {
  background: var(--navy);
}

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

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

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

/* --- Mobile menu overlay --- */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(28, 43, 74, .98);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transition: opacity .3s ease;
}

.mobile-menu.open {
  display: flex;
  opacity: 1;
}

.mobile-menu a {
  font-size: 1.4rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .85);
  padding: 14px 32px;
  border-radius: 12px;
  transition: all var(--transition);
  text-align: center;
}

.mobile-menu a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, .08);
}

.mobile-menu .btn-primary {
  margin-top: 20px;
  font-size: 1.1rem;
  padding: 14px 36px;
  background: var(--copper);
  color: var(--white);
}

.mobile-menu .mobile-lang-toggle {
  display: flex;
  gap: 0;
  border-radius: 50px;
  overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, .3);
  margin-top: 24px;
}

.mobile-menu .mobile-lang-toggle button {
  padding: 8px 20px;
  cursor: pointer;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, .6);
  font-weight: 600;
  font-size: .9rem;
  transition: all var(--transition);
}

.mobile-menu .mobile-lang-toggle button.active {
  background: var(--copper);
  color: var(--white);
}

/* --- Hero --- */
.hero {
  min-height: 100vh;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(196, 120, 90, .18) 0%, transparent 65%),
    radial-gradient(ellipse 50% 50% at 20% 70%, rgba(37, 52, 85, .8) 0%, transparent 70%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(196, 120, 90, .15);
  border: 1px solid rgba(196, 120, 90, .3);
  border-radius: 50px;
  padding: 6px 14px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--copper-light);
  margin-bottom: 28px;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.hero-eyebrow::before {
  content: '✦';
  font-size: .65rem;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 22px;
}

.hero h1 em {
  font-style: normal;
  color: var(--copper);
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, .65);
  max-width: 520px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-tags {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hero-tag {
  position: absolute;
  padding: 8px 16px;
  border-radius: 50px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  font-size: .85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .45);
  white-space: nowrap;
  animation: float 8s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

/* hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, .4);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  z-index: 2;
}

.hero-scroll-dot {
  width: 20px;
  height: 32px;
  border: 1.5px solid rgba(255, 255, 255, .25);
  border-radius: 10px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.hero-scroll-dot::after {
  content: '';
  width: 4px;
  height: 6px;
  background: var(--copper);
  border-radius: 2px;
  animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollDot {

  0%,
  100% {
    transform: translateY(0);
    opacity: 1
  }

  80% {
    transform: translateY(8px);
    opacity: 0
  }
}

/* --- Stats bar --- */
.stats-bar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 28px 0;
}

.stats-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.03em;
  line-height: 1;
}

.stat-number span {
  color: var(--copper);
}

.stat-label {
  font-size: .8rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* --- Services --- */
.services {
  background: var(--off-white);
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
}

.section-header .section-label {
  justify-content: center;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-top: 14px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

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

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

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(196, 120, 90, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  font-size: 1.5rem;
}

.service-card h3 {
  margin-bottom: 10px;
  color: var(--navy);
}

.service-card p {
  font-size: .92rem;
}

/* --- About section --- */
.about {
  background: var(--white);
}

.about-text h2 {
  margin-bottom: 20px;
}

.about-text p {
  margin-bottom: 16px;
  font-size: 1rem;
}

.about-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 36px;
}

.pill {
  padding: 8px 18px;
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 600;
  background: var(--gray-100);
  color: var(--navy);
  border: 1px solid var(--gray-200);
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.about-image-inner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  color: var(--white);
  position: relative;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.about-image-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28, 43, 74, .72) 0%, rgba(28, 43, 74, .35) 55%, rgba(28, 43, 74, .15) 100%);
  z-index: 1;
  pointer-events: none;
}

.about-image-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: .85;
  z-index: 0;
}

.about-image-big-text {
  font-size: 5rem;
  font-weight: 800;
  color: rgba(255, 255, 255, .06);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -.04em;
}

.about-quote {
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.55;
  position: relative;
  z-index: 2;
  color: var(--white);
  text-shadow: 0 1px 6px rgba(0, 0, 0, .4);
}

.about-quote em {
  font-style: normal;
  color: var(--copper);
  text-shadow: 0 1px 8px rgba(196, 120, 90, .4);
}

/* --- Process --- */
.process {
  background: var(--navy);
}

.process .section-header h2,
.process .section-header .section-label {
  color: var(--white);
}

.process .section-header p {
  color: rgba(255, 255, 255, .55);
}

.process .section-label {
  color: var(--copper-light);
}

.process .section-label::before {
  background: var(--copper);
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.process-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 28px;
  padding: 32px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  transition: all var(--transition);
  cursor: default;
}

.process-step:last-child {
  border-bottom: none;
}

.process-step:hover .step-num {
  background: var(--copper);
  color: var(--white);
}

.step-num {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--copper);
  transition: all var(--transition);
  flex-shrink: 0;
  margin-top: 4px;
}

.step-body h3 {
  color: var(--white);
  margin-bottom: 8px;
}

.step-body p {
  color: rgba(255, 255, 255, .55);
  font-size: .93rem;
}

/* --- Cases --- */
.cases {
  background: var(--white);
}

.cases-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.case-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.case-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.case-image {
  height: 220px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}

.case-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(28,43,74,.45) 0%, rgba(37,52,85,.35) 100%);
}

.case-image-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.case-image-text {
  position: relative;
  z-index: 1;
  font-size: 3.5rem;
  font-weight: 800;
  color: rgba(255, 255, 255, .12);
  letter-spacing: -.04em;
}

.case-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  padding: 5px 14px;
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 600;
  background: var(--copper);
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .05em;
}

.case-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.case-body h3 {
  color: var(--navy);
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.case-body p {
  font-size: .9rem;
  flex: 1;
  margin-bottom: 20px;
}

.case-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: .9rem;
  color: var(--copper);
  transition: gap var(--transition);
}

.case-link:hover {
  gap: 10px;
}

.case-more {
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
  border: 2px dashed var(--gray-200);
  color: var(--text-muted);
  font-weight: 600;
  font-size: .95rem;
  text-align: center;
  flex-direction: column;
  gap: 10px;
}

.case-more-icon {
  font-size: 2rem;
}

/* --- CTA Banner --- */
.cta-banner {
  background: var(--copper);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, .12), transparent 60%);
  pointer-events: none;
}

.cta-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-inner h2 {
  color: var(--white);
  margin-bottom: 14px;
}

.cta-inner p {
  color: rgba(255, 255, 255, .8);
  font-size: 1.05rem;
  margin-bottom: 36px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-white {
  background: var(--white);
  color: var(--copper);
  font-weight: 700;
}

.btn-white:hover {
  background: var(--off-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .15);
}

/* --- Founders --- */
.founders {
  background: var(--off-white);
}

.founders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  max-width: 640px;
  margin: 0 auto;
}

.founder-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
  text-align: center;
}

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

.founder-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: top;
  background: var(--gray-200);
}

.founder-img-placeholder {
  width: 100%;
  height: 260px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: rgba(255, 255, 255, .3);
}

.founder-info {
  padding: 24px;
}

.founder-info h3 {
  color: var(--navy);
  margin-bottom: 4px;
}

.founder-info span {
  font-size: .85rem;
  color: var(--copper);
  font-weight: 600;
}

/* --- Contact form --- */
.contact {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}

.contact-info h2 {
  margin-bottom: 16px;
}

.contact-info p {
  margin-bottom: 32px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding: 16px;
  background: var(--off-white);
  border-radius: var(--radius);
}

.contact-detail-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(196, 120, 90, .12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-detail-text {
  font-size: .9rem;
}

.contact-detail-text strong {
  display: block;
  color: var(--navy);
  font-weight: 600;
}

.contact-detail-text span {
  color: var(--text-muted);
}

.hours-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 8px;
}

.hours-row {
  font-size: .82rem;
  color: var(--text-muted);
}

.hours-row strong {
  color: var(--navy);
}

.contact-form {
  background: var(--off-white);
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius);
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  font-family: inherit;
  font-size: .95rem;
  color: var(--text);
  transition: border-color var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--copper);
  box-shadow: 0 0 0 3px rgba(196, 120, 90, .12);
}

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

.form-submit {
  width: 100%;
}

/* --- Footer --- */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 1);
  padding: 64px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-brand .nav-logo {
  color: var(--white);
  margin-bottom: 16px;
  display: inline-flex;
}

.footer-brand p {
  font-size: .9rem;
  line-height: 1.7;
  max-width: 260px;
}

.footer h4 {
  color: var(--white);
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 20px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: .9rem;
  color: rgba(255, 255, 255, .6);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--copper);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: .9rem;
}

.footer-contact-item a {
  color: rgba(255, 255, 255, .6);
  transition: color var(--transition);
}

.footer-contact-item a:hover {
  color: var(--copper);
}

.footer-contact-icon {
  font-size: 1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .82rem;
}

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

/* --- Page Hero (inner pages) --- */
.page-hero {
  background: var(--navy);
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(196, 120, 90, .2), transparent 60%);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 16px;
}

.page-hero p {
  color: rgba(255, 255, 255, .6);
  font-size: 1.1rem;
  max-width: 520px;
}

/* --- Animations --- */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up-delay-1 {
  transition-delay: .1s;
}

.fade-up-delay-2 {
  transition-delay: .2s;
}

.fade-up-delay-3 {
  transition-delay: .3s;
}

.fade-up-delay-4 {
  transition-delay: .4s;
}

.fade-up-delay-5 {
  transition-delay: .5s;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Tablet: spread tags out more */
  .hero-tag {
    font-size: .75rem;
    padding: 6px 14px;
    opacity: .7;
  }
}

@media (max-width: 768px) {

  .grid-2,
  .cases-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

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

  /* Navbar mobile */
  .nav-links {
    display: none !important;
  }

  .nav-right .lang-toggle {
    display: none;
  }

  .nav-right .btn-primary {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  /* Hero mobile */
  .hero {
    padding: 100px 0 60px;
    min-height: auto;
    min-height: 85vh;
  }

  .hero h1 {
    font-size: clamp(1.8rem, 7vw, 2.6rem);
  }

  .hero h1 br {
    display: none;
  }

  .hero-sub {
    font-size: 1rem;
    margin-bottom: 32px;
  }

  /* Hero tags: keep visible but push to background */
  .hero-tags {
    opacity: .4;
  }

  .hero-tag {
    font-size: .7rem;
    padding: 5px 11px;
  }

  .hero-eyebrow {
    font-size: .7rem;
    padding: 5px 12px;
    margin-bottom: 20px;
  }

  .hero-actions {
    gap: 12px;
  }

  .hero-actions .btn-lg {
    padding: 14px 28px;
    font-size: .95rem;
    width: 100%;
    text-align: center;
  }

  .hero-scroll {
    display: none;
  }

  .section {
    padding: 64px 0;
  }

  .stats-inner {
    gap: 28px 48px;
  }
}

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

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  /* Extra-small hero tweaks */
  .hero {
    padding: 90px 0 50px;
  }

  .hero h1 {
    font-size: clamp(1.6rem, 8vw, 2.2rem);
  }

  .hero-content {
    padding-right: 0;
  }

  .hero-sub {
    font-size: .92rem;
  }

  .hero-eyebrow {
    font-size: .65rem;
  }

  /* Tags even more subtle on small phones */
  .hero-tags {
    opacity: .25;
  }

  /* Navbar extra-small */
  .navbar {
    padding: 12px 0;
  }

  .navbar.scrolled {
    top: 8px;
    left: 10px;
    right: 10px;
    border-radius: 14px;
    padding: 8px 0;
  }

  .nav-logo {
    font-size: 1.1rem;
  }

  .nav-logo-icon {
    width: 30px;
    height: 30px;
  }
}