/* ========================================
   FELPORT CAPITAL — STYLESHEET
   ======================================== */

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

:root {
  /* Primary */
  --navy:      #003358;
  --navy-hover:#1A5276;
  /* Accent */
  --gold:      #C5A96A;
  /* Neutrals */
  --charcoal:  #2C3E50;
  --dark-gray: #5D6D7E;
  --mid-gray:  #5D6D7E;
  --soft-gray: #85929E;
  --border:    #D5D8DC;
  --light-gray:#F2F3F4;
  --off-white: #F8F9F9;
  --white:     #FFFFFF;

  --serif:     'Cormorant Garamond', 'Georgia', serif;
  --sans:      'Inter', -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;

  --container: 1120px;
  --gap:       clamp(2rem, 5vw, 4rem);
}

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

body {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--white);
}

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

ul { list-style: none; }

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

/* --- CONTAINER --- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

/* --- NAVIGATION --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255, 0);
  backdrop-filter: blur(0px);
  transition: background 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}

.nav.scrolled {
  background: rgba(255,255,255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

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

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

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

.nav-links {
  display: flex;
  gap: 2.25rem;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--dark-gray);
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--navy);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--navy);
}

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

.nav-lang {
  margin-left: 0.75rem;
  padding-left: 1.5rem;
  border-left: 1px solid var(--border);
}

.nav-lang a {
  font-weight: 500;
  letter-spacing: 0.06em;
}

.nav-lang a::after {
  display: none;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--navy);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.active span:first-child {
  transform: translateY(3.25px) rotate(45deg);
}

.nav-toggle.active span:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}

/* --- HERO --- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding: 120px 0 80px;
  background: var(--off-white);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  align-items: center;
}

.hero-content {
  max-width: 580px;
}

.hero-image {
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 1s ease 0.6s forwards;
}

.hero-image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
  filter: saturate(0.85) contrast(1.02);
}

.hero-headline {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.5rem, 5.5vw, 3.5rem);
  line-height: 1.12;
  color: var(--navy);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.8s ease 0.2s forwards;
}

.hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.75;
  color: var(--dark-gray);
  margin-bottom: 2.5rem;
  max-width: 600px;
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.8s ease 0.4s forwards;
}

.hero-line {
  position: absolute;
  bottom: 0;
  left: clamp(1.25rem, 4vw, 2.5rem);
  right: clamp(1.25rem, 4vw, 2.5rem);
  height: 1px;
  background: var(--border);
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- BUTTON --- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 36px;
  border: 1.5px solid var(--navy);
  color: var(--navy);
  background: transparent;
  cursor: pointer;
  transition: background 0.35s ease, color 0.35s ease;
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.8s ease 0.55s forwards;
}

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

.btn-light {
  border-color: var(--white);
  color: var(--white);
  opacity: 1;
  transform: none;
  animation: none;
}

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

/* --- SECTIONS --- */
.section {
  padding: clamp(4rem, 8vw, 6rem) 0;
}

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

.section-label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--soft-gray);
  margin-bottom: 2rem;
}

.section-label-light {
  color: rgba(255,255,255,0.45);
}

.section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  align-items: start;
}

.section-heading {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  line-height: 1.25;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.section-heading-light {
  color: var(--white);
}

.section-body p {
  color: var(--dark-gray);
  margin-bottom: 1.25rem;
}

.section-body p:last-child {
  margin-bottom: 0;
}

.section-dark .section-body p {
  color: rgba(255,255,255,0.7);
}

/* --- ABOUT SECTION --- */
.about-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  align-items: center;
  margin-bottom: 3.5rem;
}

.about-text p {
  color: var(--dark-gray);
  margin-top: 1.25rem;
  line-height: 1.8;
}

.about-image {
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

.about-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

.about-pillar {
  text-align: left;
}

.pillar-number {
  font-family: var(--serif);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.about-pillar h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.about-pillar p {
  font-size: 0.95rem;
  color: var(--dark-gray);
  line-height: 1.7;
}

/* --- SECTION IMAGES --- */
.section-left {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.section-image {
  overflow: hidden;
}

.section-image img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.section-image-wide {
  overflow: hidden;
  margin-bottom: 2.5rem;
}

.section-image-wide img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}

/* --- DIVIDER --- */
.divider {
  border: none;
  height: 1px;
  background: var(--border);
}

/* --- INVESTMENT FOCUS --- */
.focus-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  align-items: center;
  margin-bottom: 3.5rem;
}

.focus-image {
  overflow: hidden;
}

.focus-image img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

.focus-text p {
  color: var(--dark-gray);
  margin-top: 1.25rem;
  line-height: 1.8;
}

.focus-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

.focus-card {
  padding: 2rem;
  background: var(--off-white);
}

.focus-card-label {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.focus-card-items {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.focus-card-item {
  font-size: 0.95rem;
  color: var(--dark-gray);
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
}

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

.focus-card-detail {
  color: var(--mid-gray);
  font-size: 0.85rem;
}

.focus-other {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

.focus-other-label {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

.focus-other-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.focus-other-item {
  font-size: 0.95rem;
  color: var(--dark-gray);
  line-height: 1.6;
  padding-top: 1rem;
  border-top: 2px solid var(--gold);
}

.focus-transaction {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

.focus-transaction-label {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

.focus-transaction-items {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}

.focus-transaction-item {
  font-size: 0.95rem;
  color: var(--dark-gray);
  line-height: 1.6;
  padding-top: 1rem;
  border-top: 2px solid var(--gold);
}

/* --- APPROACH --- */
.approach-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.approach-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border);
}

.approach-item:first-child {
  padding-top: 0;
}

.approach-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.approach-number {
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gold);
  padding-top: 0.15rem;
  flex-shrink: 0;
  width: 2rem;
}

.approach-item h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 0.45rem;
}

.approach-item p {
  font-size: 0.95rem;
  color: var(--dark-gray);
  margin-bottom: 0;
}

/* --- CONTACT --- */
.contact-left {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-image {
  overflow: hidden;
}

.contact-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  opacity: 0.9;
}

.contact-intro {
  margin-bottom: 2.5rem !important;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 300;
  color: var(--white);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 14px 16px;
  transition: border-color 0.3s ease, background 0.3s ease;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.25);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.09);
}

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

.contact-email {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.5);
}

.contact-email a {
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,0.3);
  transition: border-color 0.3s ease;
}

.contact-email a:hover {
  border-color: var(--white);
}

/* --- FOOTER --- */
.footer {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 2rem 0;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-logo-img {
  height: 42px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-location {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

/* --- SCROLL REVEAL --- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    font-size: 1.1rem;
  }

  .about-header {
    grid-template-columns: 1fr;
  }

  .about-image img {
    height: 260px;
  }

  .about-pillars {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-image img {
    height: 320px;
  }

  .section-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .section-image img {
    height: 220px;
  }

  .section-image-wide img {
    height: 240px;
  }

  .focus-header {
    grid-template-columns: 1fr;
  }

  .focus-image img {
    height: 260px;
  }

  .focus-cards {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .focus-other-items {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .focus-transaction-items {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .focus-columns {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-inner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .footer-brand {
    flex-direction: column;
    gap: 0.35rem;
  }
}
