/* ========================================
   FinEDA v2 — DataExpert-inspired Design
   Premium Corporate Consultancy
   ======================================== */

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

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

body {
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  color: #0B2240;
  background: #fff;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.4s;
}

img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  width: 82%;
  max-width: 1400px;
  margin: 0 auto;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', 'Crimson Text', Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
  color: #0B2240;
}

h1 { font-size: 3.2rem; }
h2 { font-size: 2.8rem; }
h3 { font-size: 1.6rem; }
h4 { font-size: 1.2rem; }

p {
  font-size: 1rem;
  line-height: 1.8;
}

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: 0.4s;
  background: transparent;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100px;
}

.header-logo img {
  height: 70px;
  transition: 0.4s;
}

.header-logo .logo-dark { display: none; }
.header-logo .logo-light { display: block; }

.header.scrolled {
  background: #fff;
  box-shadow: 0 1px 0 rgba(11,34,64,0.08);
}

.header.scrolled .logo-dark { display: block; }
.header.scrolled .logo-light { display: none; }

.header-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

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

.header-nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #fff;
  position: relative;
  padding: 8px 0;
}

.header.scrolled .header-nav-links a {
  color: #0B2240;
}

.header-nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: #C4A96A;
  transition: 0.4s;
}

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

.lang-toggle {
  display: flex;
  gap: 0;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 2px;
  overflow: hidden;
}

.header.scrolled .lang-toggle {
  border-color: #0B2240;
}

.lang-toggle button {
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  font-size: 0.72rem;
  font-weight: 600;
  font-family: 'Inter', Arial, sans-serif;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  cursor: pointer;
  transition: 0.4s;
}

.header.scrolled .lang-toggle button {
  color: rgba(11,34,64,0.4);
}

.lang-toggle button.active {
  background: #fff;
  color: #0B2240;
}

.header.scrolled .lang-toggle button.active {
  background: #0B2240;
  color: #fff;
}

/* Hamburger */
.hamburger {
  display: none;
  width: 30px;
  height: 20px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 101;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: 0.4s;
}

.header.scrolled .hamburger span {
  background: #0B2240;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* --- Hero --- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  background: #0B2240;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 34, 64, 0.55);
  z-index: 1;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

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

.hero-line {
  width: 60px;
  height: 2px;
  background: #C4A96A;
  margin-bottom: 28px;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  animation: lineGrow 0.8s 0.3s forwards;
}

.hero h1 {
  color: #fff;
  font-size: 3rem;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s 0.5s forwards;
}

.hero-desc {
  color: rgba(255,255,255,0.65);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 560px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s 0.7s forwards;
}

.hero-actions {
  display: flex;
  gap: 16px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s 0.9s forwards;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  animation: fadeIn 1s 1.2s forwards;
}

.hero-scroll-indicator span {
  font-size: 0.65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

.scroll-bar {
  width: 1px;
  height: 50px;
  position: relative;
  background: rgba(255,255,255,0.1);
  overflow: hidden;
}

.scroll-bar::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: #C4A96A;
  animation: scrollDown 2s infinite;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0 32px;
  line-height: 52px;
  border: none;
  cursor: pointer;
  transition: 0.4s;
  letter-spacing: 0.02em;
}

.btn-arrow::after {
  content: '\2192';
  transition: 0.4s;
  font-size: 1.1rem;
}

.btn-arrow:hover::after {
  transform: translateX(5px);
}

.btn-primary {
  background: #C4A96A;
  color: #0B2240;
}

.btn-primary:hover {
  background: #D4BC82;
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
}

.btn-outline-light:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.06);
}

.btn-navy {
  background: #0B2240;
  color: #fff;
}

.btn-navy:hover {
  background: #14365e;
}

.btn-outline-dark {
  background: transparent;
  color: #0B2240;
  border: 1px solid #0B2240;
}

.btn-outline-dark:hover {
  background: #0B2240;
  color: #fff;
}

/* --- Section --- */
.section {
  padding: 100px 0;
}

.section-gray {
  background: #F3F4F6;
}

.section-navy {
  background: #0B2240;
}

.section-label {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #C4A96A;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.section-label::before {
  content: '';
  width: 30px;
  height: 1.5px;
  background: #C4A96A;
}

.section-title {
  margin-bottom: 20px;
}

.section-desc {
  color: #677186;
  font-size: 1.05rem;
  max-width: 540px;
  line-height: 1.8;
}

.accent-line {
  width: 50px;
  height: 2px;
  background: #E1DACD;
  margin-top: 24px;
}

/* --- Stats Bar --- */
.stats-bar {
  background: #fff;
  border-top: 1px solid #E5E6EA;
  border-bottom: 1px solid #E5E6EA;
  padding: 60px 0;
}

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

.stat-item {
  text-align: center;
  position: relative;
  padding: 10px 20px;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 50px;
  background: #E1DACD;
}

.stat-number {
  font-family: 'Crimson Text', 'Playfair Display', Georgia, serif;
  font-size: 3.8rem;
  font-weight: 400;
  color: #0B2240;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.82rem;
  color: #989EAE;
  letter-spacing: 0.04em;
}

/* --- Services Grid --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.service-card {
  padding: 48px 40px;
  border: 1px solid #E5E6EA;
  border-right: none;
  position: relative;
  transition: 0.4s;
  cursor: default;
}

.service-card:nth-child(3n) {
  border-right: 1px solid #E5E6EA;
}

.service-card:nth-child(n+4) {
  border-top: none;
}

/* 5-card layout: last 2 cards span wider */
.services-grid:has(.service-card:nth-child(5):last-child) .service-card:nth-child(4) {
  border-right: none;
}

.services-grid:has(.service-card:nth-child(5):last-child) .service-card:nth-child(5) {
  border-right: 1px solid #E5E6EA;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: #C4A96A;
  transition: 0.4s;
}

.service-card:hover {
  background: #FAFBFC;
}

.service-card:hover::after {
  width: 100%;
}

.service-card-number {
  font-family: 'Crimson Text', Georgia, serif;
  font-size: 2.4rem;
  color: #E1DACD;
  font-weight: 400;
  margin-bottom: 20px;
  line-height: 1;
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 14px;
  line-height: 1.3;
}

.service-card p {
  color: #677186;
  font-size: 0.92rem;
  line-height: 1.75;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #0B2240;
  letter-spacing: 0.04em;
}

.service-card-link::after {
  content: '\2192';
  transition: 0.4s;
}

.service-card:hover .service-card-link::after {
  transform: translateX(5px);
}

/* --- About / Two Column --- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.two-col-image {
  position: relative;
}

.two-col-image img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

.two-col-image-border {
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 60%;
  height: 60%;
  border: 1.5px solid #E1DACD;
  z-index: -1;
}

.two-col-text .section-label {
  margin-bottom: 16px;
}

.two-col-text h2 {
  margin-bottom: 24px;
}

.two-col-text p {
  color: #677186;
  margin-bottom: 18px;
  font-size: 0.98rem;
  line-height: 1.85;
}

.feature-list {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feature-list-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.92rem;
  font-weight: 500;
  color: #0B2240;
}

.feature-list-item::before {
  content: '';
  width: 20px;
  height: 1.5px;
  background: #C4A96A;
  flex-shrink: 0;
}

/* --- Approach / Process --- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 60px;
}

.process-step {
  padding: 48px 32px;
  position: relative;
  border-left: 1px solid rgba(255,255,255,0.08);
}

.process-step:first-child {
  border-left: none;
}

.process-number {
  font-family: 'Crimson Text', Georgia, serif;
  font-size: 4rem;
  color: rgba(196, 169, 106, 0.2);
  font-weight: 400;
  line-height: 1;
  margin-bottom: 24px;
}

.process-step h3 {
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.process-step p {
  color: rgba(255,255,255,0.5);
  font-size: 0.88rem;
  line-height: 1.75;
}

.process-line {
  width: 30px;
  height: 1.5px;
  background: #C4A96A;
  margin-bottom: 20px;
}

/* --- CTA Banner --- */
.cta-banner {
  background: #0B2240;
  padding: 80px 0;
}

.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-banner h2 {
  color: #fff;
  font-size: 2.2rem;
  max-width: 500px;
}

.cta-banner p {
  color: rgba(255,255,255,0.5);
  margin-top: 12px;
  font-size: 0.95rem;
}

/* --- Contact --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 0;
}

.contact-info-panel {
  background: #0B2240;
  padding: 60px 48px;
  color: #fff;
}

.contact-info-panel h3 {
  color: #fff;
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.contact-info-panel > p {
  color: rgba(255,255,255,0.5);
  font-size: 0.92rem;
  margin-bottom: 48px;
}

.contact-detail {
  display: flex;
  gap: 20px;
  margin-bottom: 32px;
  align-items: flex-start;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-icon svg {
  width: 18px;
  height: 18px;
  stroke: #C4A96A;
}

.contact-detail-text h4 {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 6px;
}

.contact-detail-text p,
.contact-detail-text a {
  color: #CBCDD5;
  font-size: 0.95rem;
}

.contact-detail-text a:hover {
  color: #C4A96A;
}

.contact-form-panel {
  background: #F3F4F6;
  padding: 60px 48px;
}

.contact-form-panel h3 {
  font-size: 1.5rem;
  margin-bottom: 32px;
}

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

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

.form-group label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #677186;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #E5E6EA;
  background: #fff;
  font-size: 0.9rem;
  font-family: 'Inter', Arial, sans-serif;
  color: #0B2240;
  transition: 0.4s;
  outline: none;
  -webkit-appearance: none;
  border-radius: 0;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: #0B2240;
}

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

.btn-submit {
  width: 100%;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 16px;
  background: #0B2240;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: 0.4s;
  letter-spacing: 0.04em;
}

.btn-submit:hover {
  background: #14365e;
}

/* --- Page Header (inner pages) --- */
.page-hero {
  height: 400px;
  background: #0B2240;
  display: flex;
  align-items: flex-end;
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
  background-image: url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=1920&q=80');
  background-size: cover;
  background-position: center;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(11, 34, 64, 0.75);
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(135deg, transparent 40%, rgba(196,169,106,0.04) 100%);
  z-index: 1;
}

.page-hero-content {
  position: relative;
  z-index: 2;
}

.page-hero .section-label {
  color: #C4A96A;
  margin-bottom: 16px;
}

.page-hero h1 {
  color: #fff;
  font-size: 2.8rem;
  margin-bottom: 12px;
}

.page-hero p {
  color: rgba(255,255,255,0.5);
  font-size: 1rem;
  max-width: 480px;
}

/* --- About Page: Story --- */
.story-section {
  padding: 100px 0;
}

.story-content {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 70px;
  align-items: start;
}

.founder-card {
  position: relative;
  text-align: center;
}

.founder-photo {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 4px solid #E1DACD;
  box-shadow: 0 8px 30px rgba(11, 34, 64, 0.15);
}

.founder-photo-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, #0B2240, #14365e);
  display: flex;
  align-items: center;
  justify-content: center;
}

.founder-photo-placeholder svg {
  width: 80px;
  height: 80px;
  stroke: rgba(255,255,255,0.15);
}

.founder-card-info {
  padding: 24px 0 0;
}

.founder-card-info h3 {
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.founder-card-info p {
  color: #989EAE;
  font-size: 0.85rem;
  font-style: italic;
}

.story-text .section-label {
  margin-bottom: 16px;
}

.story-text h2 {
  margin-bottom: 28px;
}

.story-text p {
  color: #677186;
  margin-bottom: 20px;
  font-size: 0.95rem;
  line-height: 1.85;
}

/* Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 80px;
}

.value-card {
  padding: 48px 36px;
  border: 1px solid #E5E6EA;
  border-right: none;
  text-align: center;
  transition: 0.4s;
}

.value-card:last-child {
  border-right: 1px solid #E5E6EA;
}

.value-card:hover {
  background: #FAFBFC;
}

.value-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-icon svg {
  width: 32px;
  height: 32px;
  stroke: #C4A96A;
  stroke-width: 1.5;
}

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

.value-card p {
  color: #677186;
  font-size: 0.88rem;
  line-height: 1.75;
}

/* --- Services Page Detail --- */
.service-detail-section {
  padding: 100px 0;
}

.service-detail-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  margin-bottom: 0;
  border-bottom: 1px solid #E5E6EA;
}

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

.service-detail-row:nth-child(even) .service-detail-content {
  order: 2;
}

.service-detail-row:nth-child(even) .service-detail-visual {
  order: 1;
}

.service-detail-content {
  padding: 60px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-detail-num {
  font-family: 'Crimson Text', Georgia, serif;
  font-size: 3.5rem;
  color: #E1DACD;
  font-weight: 400;
  line-height: 1;
  margin-bottom: 20px;
}

.service-detail-content h3 {
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.service-detail-content > p {
  color: #677186;
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 24px;
}

.service-checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: #0B2240;
  font-weight: 500;
}

.service-checklist li::before {
  content: '';
  width: 16px;
  height: 1.5px;
  background: #C4A96A;
  flex-shrink: 0;
}

.service-detail-visual {
  background: #F3F4F6;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  min-height: 350px;
  background-size: cover;
  background-position: center;
}

.service-detail-visual-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 34, 64, 0.06);
  transition: 0.4s;
}

.service-detail-row:hover .service-detail-visual-overlay {
  background: rgba(11, 34, 64, 0.12);
}

/* --- Footer --- */
.footer {
  background: #0B2240;
  color: #CBCDD5;
  padding: 70px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 50px;
}

.footer-brand img {
  height: 36px;
  margin-bottom: 20px;
  opacity: 0.9;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.75;
  color: rgba(203,205,213,0.7);
  max-width: 280px;
}

.footer-col h4 {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 24px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 0.88rem;
  color: rgba(203,205,213,0.7);
}

.footer-col a:hover {
  color: #C4A96A;
}

.footer-col p {
  font-size: 0.88rem;
  color: rgba(203,205,213,0.7);
  margin-bottom: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: rgba(203,205,213,0.5);
}

/* --- Animations --- */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  to { opacity: 1; }
}

@keyframes lineGrow {
  to { opacity: 1; transform: scaleX(1); }
}

@keyframes scrollDown {
  0% { top: -100%; }
  100% { top: 100%; }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  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; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* --- Pages SPA --- */
[data-page] { display: none; }
[data-page].active { display: block; }
.page-enter { animation: pageFade 0.4s ease; }
@keyframes pageFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* --- Responsive --- */
@media (max-width: 1400px) {
  html { font-size: 16px; }
}

@media (max-width: 1200px) {
  html { font-size: 15px; }

  .hamburger { display: flex; }

  .header-nav {
    position: fixed;
    top: 0;
    left: -320px;
    width: 320px;
    height: 100vh;
    background: #0B2240;
    flex-direction: column;
    justify-content: center;
    padding: 60px 40px;
    transition: 0.4s;
    gap: 32px;
  }

  .header-nav.open { left: 0; }

  .header-nav-links {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }

  .header-nav-links a {
    color: #fff !important;
    font-size: 1.1rem;
  }

  .lang-toggle {
    border-color: rgba(255,255,255,0.2);
  }

  .lang-toggle button {
    color: rgba(255,255,255,0.5);
  }

  .lang-toggle button.active {
    background: #fff;
    color: #0B2240;
  }

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

  .service-card:nth-child(2n) {
    border-right: 1px solid #E5E6EA;
  }
  .service-card:nth-child(3) {
    border-right: none;
  }
  .service-card:nth-child(3),
  .service-card:nth-child(4) {
    border-top: none;
  }

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

  .process-step {
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

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

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

  .service-detail-row:nth-child(even) .service-detail-content { order: 1; }
  .service-detail-row:nth-child(even) .service-detail-visual { order: 2; }

  .service-detail-visual { min-height: 200px; }
}

@media (max-width: 768px) {
  html { font-size: 16px; }

  .container { width: 90%; }

  h1 { font-size: 2.2rem; }
  h2 { font-size: 2rem; }

  .hero { height: 100vh; min-height: 500px; }
  .hero h1 { font-size: 2.2rem; }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .stat-item:not(:last-child)::after { display: none; }

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

  .service-card {
    border-right: 1px solid #E5E6EA !important;
    border-top: none;
  }
  .service-card:first-child { border-top: 1px solid #E5E6EA; }

  .two-col {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .process-step { border-left: none; }

  .cta-banner-inner {
    flex-direction: column;
    text-align: center;
  }

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

  .contact-info-panel,
  .contact-form-panel {
    padding: 48px 32px;
  }

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

  .story-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .story-content .founder-card {
    max-width: 100%;
  }

  .founder-photo {
    width: 250px;
    height: 250px;
  }

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

  .value-card {
    border-right: 1px solid #E5E6EA !important;
    border-top: none;
  }
  .value-card:first-child { border-top: 1px solid #E5E6EA; }

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

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

  .page-hero {
    height: 320px;
    padding-bottom: 48px;
  }

  .page-hero h1 { font-size: 2rem; }

  .section { padding: 70px 0; }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    justify-content: center;
  }

  .service-detail-content {
    padding: 40px 24px;
  }
}

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

  .hero h1 { font-size: 1.8rem; }
}
