/* ===== Variables ===== */
:root {
  --navy: #0b2a4a;
  --navy-light: #123a63;
  --navy-lighter: #1c4d84;
  --accent: #f2994a;
  --accent-dark: #d97e2e;
  --gray-light: #f5f7fa;
  --gray-100: #eef1f5;
  --gray: #6b7280;
  --dark-text: #1f2937;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(11, 42, 74, 0.08);
  --shadow-lg: 0 20px 40px rgba(11, 42, 74, 0.12);
  --transition: 0.25s ease;
  --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--dark-text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: "Poppins", "Inter", sans-serif;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
}

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

ul {
  list-style: none;
}

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

button {
  font-family: inherit;
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 90px 0;
}

.section-tag {
  display: inline-block;
  color: var(--accent-dark);
  background: rgba(242, 153, 74, 0.12);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.section-subtitle {
  color: var(--gray);
  max-width: 640px;
  font-size: 1.05rem;
}

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

.section-header .section-subtitle {
  margin: 0 auto;
}

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

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(242, 153, 74, 0.35);
}

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

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

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

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

.btn-navy:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(11, 42, 74, 0.08);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(11, 42, 74, 0.08);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 34px;
  width: auto;
}

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

.nav-links a {
  font-weight: 500;
  color: var(--navy);
  position: relative;
  padding: 6px 0;
  transition: color var(--transition);
}

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

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-dark);
}

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 20px;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.lang-switch a {
  color: var(--gray);
  transition: color var(--transition);
}

.lang-switch a:hover {
  color: var(--accent-dark);
}

.lang-switch .lang-current {
  color: var(--navy);
}

.lang-switch a::after,
.lang-switch .lang-current::after {
  content: "/";
  margin-left: 6px;
  color: var(--gray-100);
}

.lang-switch > :last-child::after {
  content: "";
  margin: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
}

.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: 100px 0 80px;
  text-align: center;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -0.01em;
  max-width: 720px;
  margin: 0 auto 20px;
}

.hero p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 560px;
  margin: 0 auto 34px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ===== Cards / Services ===== */
.grid {
  display: grid;
  gap: 28px;
}

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

.card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.card .icon-box {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy), var(--navy-lighter));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card .icon-box svg {
  width: 28px;
  height: 28px;
  color: var(--accent);
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.card p {
  color: var(--gray);
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.card .card-link {
  font-weight: 600;
  color: var(--accent-dark);
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ===== CTA band ===== */
.cta-band {
  background: linear-gradient(120deg, var(--navy), var(--navy-lighter));
  color: var(--white);
  padding: 70px 0;
  border-radius: var(--radius);
  margin: 0 24px;
}

.cta-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  max-width: 1150px;
}

.cta-band h2 {
  color: var(--white);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  margin-bottom: 8px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.75);
}

/* ===== About page ===== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.split-visual {
  position: relative;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--navy), var(--navy-lighter));
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.split-visual svg {
  width: 45%;
  color: rgba(255, 255, 255, 0.9);
}

.split-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 75% 15%, rgba(242, 153, 74, 0.35), transparent 55%);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.value-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.value-item .dot {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(242, 153, 74, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.value-item .dot svg {
  width: 20px;
  height: 20px;
  color: var(--accent-dark);
}

.value-item h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.value-item p {
  color: var(--gray);
  font-size: 0.9rem;
}

/* ===== Services page detail ===== */
.service-detail {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 28px;
  padding: 40px 0;
  border-bottom: 1px solid var(--gray-100);
}

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

.service-detail .icon-box {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--navy), var(--navy-lighter));
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-detail .icon-box svg {
  width: 34px;
  height: 34px;
  color: var(--accent);
}

.service-detail h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.service-detail p {
  color: var(--gray);
  margin-bottom: 16px;
  max-width: 720px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-list span {
  background: var(--gray-light);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
}

/* ===== Process steps ===== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}

.process-step {
  position: relative;
  padding: 30px 22px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
}

.process-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: "Poppins", sans-serif;
  font-size: 1.8rem;
  color: rgba(11, 42, 74, 0.12);
  font-weight: 700;
  display: block;
  margin-bottom: 10px;
}

.process-step h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.process-step p {
  color: var(--gray);
  font-size: 0.9rem;
}

/* ===== Contact page ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
}

.contact-info-card {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 40px 32px;
}

.contact-info-card h3 {
  color: var(--white);
  margin-bottom: 6px;
}

.contact-info-card > p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 30px;
  font-size: 0.95rem;
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 26px;
}

.contact-item .dot {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(242, 153, 74, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item .dot svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

.contact-item h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 3px;
}

.contact-item p, .contact-item a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.social-row {
  display: flex;
  gap: 12px;
  margin-top: 30px;
}

.social-row a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.social-row a:hover {
  background: var(--accent);
}

.social-row svg {
  width: 18px;
  height: 18px;
  color: var(--white);
}

.form-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}

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

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

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--gray-100);
  border-radius: 8px;
  background: var(--gray-light);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--dark-text);
  transition: border-color var(--transition), background var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--white);
}

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

.form-note {
  font-size: 0.85rem;
  color: var(--gray);
  margin-top: 6px;
}

.form-success {
  display: none;
  background: rgba(46, 160, 67, 0.1);
  border: 1px solid rgba(46, 160, 67, 0.3);
  color: #1e7e34;
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 0.9rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.form-success.show {
  display: block;
}

.form-success.form-error {
  background: rgba(220, 53, 69, 0.1);
  border-color: rgba(220, 53, 69, 0.3);
  color: #b02a37;
}

.map-placeholder {
  margin-top: 50px;
  height: 320px;
  border-radius: var(--radius);
  background: var(--gray-light);
  border: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  color: var(--gray);
}

.map-placeholder svg {
  width: 40px;
  height: 40px;
  color: var(--accent-dark);
}

/* ===== Footer ===== */
.site-footer {
  background: #081d33;
  color: rgba(255, 255, 255, 0.7);
  padding: 70px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid .logo {
  margin-bottom: 16px;
}

.footer-grid .logo-img {
  height: 30px;
  filter: brightness(0) invert(1);
}

.footer-grid p {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 320px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 20px;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

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

.footer-social a:hover {
  background: var(--accent);
}

.footer-social svg {
  width: 16px;
  height: 16px;
  color: var(--white);
}

/* ===== Page hero (inner pages) ===== */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: 70px 0;
  text-align: center;
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  letter-spacing: -0.015em;
  margin-bottom: 12px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== Reveal animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-premium), transform 0.8s var(--ease-premium);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.grid > .reveal:nth-child(1) { transition-delay: 0s; }
.grid > .reveal:nth-child(2) { transition-delay: 0.08s; }
.grid > .reveal:nth-child(3) { transition-delay: 0.16s; }
.grid > .reveal:nth-child(4) { transition-delay: 0.24s; }

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 18px;
    box-shadow: var(--shadow);
    transform: translateY(-150%);
    opacity: 0;
    transition: transform var(--transition), opacity var(--transition);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
  }

  .nav-toggle { display: flex; }

  section { padding: 60px 0; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band .container { flex-direction: column; text-align: center; }
  .process-grid { grid-template-columns: 1fr; }
}
