:root {
  --navy: #18392b;
  --navy2: #295243;
  --gold: #c2a878;
  --gold2: #e3d5b8;
  --white: #fefcf8;
  --beige: #f5f1e8;
  --muted: #6f746d;
  --shadow: 0 20px 55px rgba(24, 57, 43, 0.14);
  --radius: 16px;
  --font-head: "Playfair Display", serif;
  --font-body: "Inter", sans-serif;
  --font-mono: "JetBrains Mono", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--navy);
  background: var(--white);
  font-family: var(--font-body);
}

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

main {
  width: 100%;
  overflow: hidden;
}

main .container {
  width: min(1180px, calc(100% - 40px));
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 0;
  background: transparent;
}

.section {
  padding: 85px 0;
}

.beige {
  background: var(--beige);
}

/* HERO */
.about-hero {
  position: relative;
  padding: 90px 0 85px;
  color: var(--white);
  background:
    radial-gradient(
      circle at 80% 20%,
      rgba(194, 168, 120, 0.14),
      transparent 35%
    ),
    linear-gradient(135deg, var(--navy), var(--navy2));
}

.about-hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}

.about-hero-text,
.about-hero-image,
.about-content,
.about-image {
  min-width: 0;
}

.about-hero-text h1 {
  margin: 0 0 22px;
  max-width: 680px;
  color: var(--white);
  font-family: var(--font-head);
  font-size: clamp(44px, 5vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -1.5px;
}

.about-hero-text h1 span {
  display: block;
  color: var(--gold);
}

.about-hero-text > p:not(.section-label) {
  margin: 0;
  max-width: 620px;
  color: rgba(254, 252, 248, 0.84);
  font-size: 16px !important;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.section-label {
  margin: 0 0 14px;
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.about-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.about-buttons .btn {
  min-width: 165px;
  padding: 13px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.btn-gold {
  border: 1px solid var(--gold);
  color: var(--navy);
  background: var(--gold);
}

.btn-gold:hover {
  border-color: var(--gold2);
  color: var(--navy);
  background: var(--gold2);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.38);
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
}

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

.about-hero-image img {
  width: 100%;
  height: clamp(430px, 48vw, 600px);
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* WHO WE ARE */
.about-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(36px, 5vw, 64px);
}

.about-image img {
  width: 100%;
  height: clamp(420px, 43vw, 500px);
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-content h2,
.section-heading h2 {
  margin: 0 0 22px;
  color: var(--navy);
  font-family: var(--font-head);
  font-size: clamp(34px, 4vw, 42px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.7px;
  overflow-wrap: anywhere;
}

.about-content p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

/* Business / New Units boxes */
#new-old {
  margin: 42px auto 0;
}

#new-old .row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px !important;
  margin: 0;
}

#new-old .border-dena-hai-baas {
  width: 100%;
  max-width: none;
  margin: 0;
}

.border-dena-hai-baas {
  padding: 28px 22px;
  border: 2px solid var(--gold);
  border-radius: 16px;
  text-align: center;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.border-dena-hai-baas:hover {
  transform: translateY(-7px);
  box-shadow: 0 14px 30px rgba(24, 57, 43, 0.1);
}

.border-dena-hai-baas h3 {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 1.5rem;
  font-weight: 700;
}

.border-dena-hai-baas p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.section center {
  display: block;
  width: min(900px, calc(100% - 40px));
  margin: 18px auto 0;
}

.section center p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.simple-link {
  display: inline-block;
  margin-top: 6px;
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
  transition: 0.25s ease;
}

.simple-link:hover {
  color: var(--gold);
  transform: translateX(4px);
}

/* SECTION TITLE */
.section-heading {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

/* MISSION */
.mission-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.mission-card {
  min-height: 280px;
  padding: 36px 32px;
  border: 1px solid rgba(24, 57, 43, 0.1);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 34px rgba(24, 57, 43, 0.08);
  text-align: center;
}

.mission-card span,
.value-card span {
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--navy);
  background: var(--gold2);
}

.mission-card span {
  width: 48px;
  height: 48px;
  margin: 0 auto 18px;
}

.mission-card span svg {
  width: 24px;
  height: 24px;
}

.mission-card h3 {
  margin: 0 0 12px;
  color: var(--navy);
  font-family: var(--font-head);
  font-size: 29px;
  font-weight: 800;
}

.mission-card p {
  max-width: 470px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

/* VALUES */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.value-card {
  display: flex;
  min-width: 0;
  min-height: 255px;
  padding: 28px 24px;
  flex-direction: column;
  align-items: center;
  border: 1px solid rgba(24, 57, 43, 0.1);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(24, 57, 43, 0.07);
  text-align: center;
  transition: 0.25s ease;
}

.value-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
}

.value-card span {
  width: 60px;
  height: 60px;
  margin: 0 auto 18px;
  flex: 0 0 60px;
}

.value-card span svg {
  width: 28px !important;
  height: 28px;
  color: var(--navy);
}

.value-card h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.value-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

/* FLOATING BUTTONS */
.float-call,
.float-whatsapp,
.back-top {
  position: fixed;
  right: 22px;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  z-index: 40;
  border: 0;
  border-radius: 50%;
}

.float-call {
  bottom: 88px;
  background-color: #c9d2dc;
}

.float-whatsapp {
  bottom: 146px;
  background: transparent;
}

.back-top {
  bottom: 30px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
}

.back-top.show {
  opacity: 1;
  visibility: visible;
}

/* REVEAL */
.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-up {
  transform: translateY(45px);
}

.reveal-left {
  transform: translateX(-45px);
}

.reveal-right {
  transform: translateX(45px);
}

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

/* SMALL DESKTOP / TABLET */
@media (max-width: 1100px) {
  .values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 992px) {
  main .container {
    width: min(100% - 32px, 760px);
  }

  .about-hero {
    padding: 120px 0 70px;
  }

  .about-hero-content,
  .about-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .about-hero-image img {
    height: min(620px, 72vw);
  }

  .about-image {
    max-width: 650px;
    margin-inline: auto;
  }

  .about-image img {
    height: min(560px, 70vw);
  }
}

/* MOBILE */
@media (max-width: 768px) {
  main .container {
    width: calc(100% - 28px);
  }

  .section {
    padding: 62px 0;
  }

  .about-hero {
    padding: 105px 0 58px;
  }

  .about-hero-content,
  .about-grid {
    gap: 32px;
  }

  .about-hero-text h1 {
    margin-bottom: 18px;
    font-size: clamp(38px, 11vw, 52px);
    letter-spacing: -0.8px;
  }

  .about-hero-text > p:not(.section-label),
  .about-content p,
  .mission-card p {
    font-size: 15px !important;
    line-height: 1.72;
  }

  .section-label {
    font-size: 10px;
    letter-spacing: 1.2px;
  }

  .about-hero-image img,
  .about-image img {
    height: auto;
    max-height: 560px;
    aspect-ratio: 4 / 5;
  }

  .about-content h2,
  .section-heading h2 {
    font-size: clamp(31px, 8vw, 40px);
  }

  #new-old .row,
  .mission-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .mission-card,
  .value-card {
    min-height: auto;
  }

  .section-heading {
    margin-bottom: 30px;
  }
}

@media (max-width: 550px) {
  main .container {
    width: calc(100% - 24px);
  }

  .section {
    padding: 54px 0;
  }

  .about-hero {
    padding: 96px 0 50px;
  }

  .about-buttons {
    flex-direction: column;
  }

  .about-buttons .btn {
    width: 100%;
    min-width: 0;
  }

  .about-hero-image img,
  .about-image img {
    width: 100%;
    max-height: 480px;
    aspect-ratio: 4 / 5;
  }

  .mission-card,
  .value-card,
  .border-dena-hai-baas {
    padding: 24px 18px;
  }

  .mission-card h3 {
    font-size: 25px;
  }

  .value-card h3 {
    font-size: 18px;
  }

  .float-call,
  .float-whatsapp,
  .back-top {
    right: 14px;
    width: 46px;
    height: 46px;
  }

  .float-call {
    bottom: 78px;
  }

  .float-whatsapp {
    bottom: 132px;
  }

  .back-top {
    bottom: 24px;
  }
}

@media (max-width: 360px) {
  .about-hero-text h1 {
    font-size: 36px;
  }

  .about-content h2,
  .section-heading h2 {
    font-size: 29px;
  }

  .about-hero-text > p:not(.section-label),
  .about-content p,
  .mission-card p,
  .value-card p {
    font-size: 14px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
