:root {
  --navy: #2f3370;
  --gray-light: #e8e8e8;
  --lavender: #d6d6e3;
  --orange: #fc5e33;
  --red: #d93535;
  --text: #1a1a1a;

  --radius-sm: 10px;
  --radius-md: 18px;

  --container: 1150px;
  --pad-desktop: 64px;
  --pad-mobile: 40px;

  /* Motion tokens */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);

  --dur-fast: 160ms;
  --dur-mid: 260ms;
  --dur-slow: 420ms;

  --shadow-soft: 0 8px 20px rgba(0, 0, 0, 0.12);
  --shadow-lift: 0 18px 36px rgba(0, 0, 0, 0.18);
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
}

/* Colors */
.text-navy {
  color: var(--navy);
}

.text-orange {
  color: var(--orange);
}

/* Scroll reveal (lightweight) */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity var(--dur-slow) var(--ease-out),
    transform var(--dur-slow) var(--ease-out);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Slight stagger helper (optional) */
.reveal[data-delay] {
  transition-delay: var(--delay, 0ms);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@font-face {
  font-family: 'Horizon';
  src: url('./assets/fonts/Horizon-Font/Horizon.woff2') format('woff2');
}

.heading-font {
  font-family: 'Horizon', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: 3.2px;
}

@font-face {
  font-family: "Nunito Sans";
  src: url("./assets/fonts/Nunito_Sans/NunitoSans-VariableFont_YTLC\,opsz\,wdth\,wght.ttf") format("woff2");
  font-display: swap;
}

.nunito-sans-regular {
  font-family: "Nunito Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings:
    "wdth" 100,
    "YTLC" 500;
}

.nunito-sans-regular-mono {
  font-family: "Nunito Sans", monospace;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings:
    "wdth" 100,
    "YTLC" 500;
  letter-spacing: 1.4px;
}

@media screen and (max-width: 768px) {
  .nunito-sans-regular,
  .nunito-sans-regular-mono {
    font-size: 16px;
  }

  .heading-font {
    font-size: 20px;
    letter-spacing: 2.4px;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 140px;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* NAV */
.navbar {
  position: sticky;
  top: 0;
  background: var(--navy);
  z-index: 100;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 120px;
}

.logo {
  font-weight: 700;
  color: white;
  font-size: 24px;
  letter-spacing: 1px;
}

.nav-menu {
  display: flex;
  gap: 24px;
}

.nav-menu a {
  color: white;
  position: relative;
  transition: opacity var(--dur-fast) var(--ease-out);

  font-size: 20px;
  letter-spacing: 2.2px;
  font-weight: bold;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-mid) var(--ease-out);
}

.nav-menu a:hover::after,
.nav-menu a:focus-visible::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.lang-toggle {
  display: flex;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 4px;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.lang-option {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  padding: 6px 12px;
  border-radius: 16px;
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.3s ease;
  font-family: "Nunito Sans", sans-serif;
}

.lang-option:hover {
  color: white;
}

.lang-option.active {
  background: var(--orange);
  color: white;
  box-shadow: 0 2px 8px rgba(252, 94, 51, 0.4);
}

.hamburger {
  display: none;
}

/* HERO (match mockup 50/50) */
.hero {
  background: var(--navy);
  padding: var(--pad-desktop) 0;
}

.hero-inner {
  /* display: grid; */
  /* grid-template-columns: 1fr 1fr; */
  align-items: center;
  gap: 0;
}

/* left half wrapper */
.hero-stage {
  display: flex;
  justify-content: flex-start;
}

/* visual box that has inner padding from hero edges */
.hero-visual {
  position: relative;
  width: 100%;
  height: 520px;
  margin-left: 8px; /* subtle like mockup */
  border-radius: var(--radius-md);
  padding: 18px; /* padding inside hero area */
  transition:
    transform var(--dur-slow) var(--ease-out),
    box-shadow var(--dur-slow) var(--ease-out);
}

.hero-visual:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

/* abstract image sits inside with rounded corners */
.abstract-placeholder {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-md);
  background:
    radial-gradient(120% 120% at 20% 35%, rgba(252, 94, 51, 0.95) 0%, rgba(252, 94, 51, 0) 55%),
    radial-gradient(120% 120% at 70% 60%, rgba(136, 227, 255, 0.85) 0%, rgba(136, 227, 255, 0) 55%),
    radial-gradient(120% 120% at 85% 20%, rgba(252, 94, 51, 0.85) 0%, rgba(252, 94, 51, 0) 55%),
    linear-gradient(135deg, rgba(18, 20, 55, 0.15), rgba(255, 255, 255, 0.06));
  filter: saturate(1.05);
}

/* overlay text: bottom-middle, slightly outside the image area */
.hero-overlay {
  position: absolute;
  left: 50%;
  bottom: -30px;          /* makes the big text sit “on the floor” */
  transform: translateX(-50%);
  text-align: center;
  width: calc(100% - 24px);
  pointer-events: none;
}

.hero-small {
  margin: 0 0 6px 0;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 3.2px;
  font-size: 23px;
}

.hero-big {
  margin: 0;
  font-size: clamp(42px, 5vw, 50px);
  line-height: 0.95;
  letter-spacing: 2px;
  color: var(--orange);
  text-shadow: 0 10px 18px rgba(0, 0, 0, 0.22);
  animation: heroTextIn 700ms var(--ease-out) both;

  background: var(--navy);
  display: inline-block;
  padding: 24px;
  border-radius: var(--radius-md);
}

@keyframes heroTextIn {
  from {
    transform: translateY(14px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* right half = negative space */
.hero-space {
  /* min-height: 320px; */
}

/* Responsive: stack on mobile (keep composition) */
@media (max-width: 768px) {
  .hero {
    padding: var(--pad-mobile) 0 56px; /* extra bottom for overlay */
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .hero-stage {
    justify-content: center;
  }

  .hero-space {
    /* display: none; */
  }

  .hero-visual {
    width: min(560px, 100%);
    height: 300px;
    margin-left: 0;
  }

  .hero-overlay {
    bottom: -16px;
  }

  .hero-big {
    font-size: 32px;
    padding: 16px;
  }
}

/* SECTIONS */
.section {
  padding: var(--pad-desktop) 0;
}

.light {
  background: var(--gray-light);
}

.lavender {
  background: var(--lavender);
}

.dark {
  background: var(--navy);
}

.section-title {
  text-align: center;
  margin-bottom: 24px;
}

.section h2,
.section h3 {
  color: var(--navy);
  text-align: center;
}

.section h2{
  font-size: 32px;
}

.section h3{
  font-size: 20px;
}


.section-title.white {
  color: white;
}

.section-subtitle {
  text-transform: uppercase;
  font-weight: 700;
  font-size: 16px;
  color: var(--orange);
  letter-spacing: 2.4px;
  margin-bottom: 12px;
  text-align: center;
}

@media (max-width: 768px) {
  .section h2 {
    font-size: 28px;
  }
}

/* ABOUT */
.about-text {
  max-width: 720px;
  margin: auto;
  display: grid;
  gap: 16px;
  margin-bottom: 32px;
  text-align: center;
}

.about-text p {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
  color: #757576;
}

.about-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 38px;
}

.about-card {
  background: #D6D6E3;
  border-bottom-left-radius: var(--radius-md);
  border-bottom-right-radius: var(--radius-md);
  padding: 24px;
  transition:
    transform var(--dur-mid) var(--ease-out),
    box-shadow var(--dur-mid) var(--ease-out);

  display: flex;
  flex-direction: row;
  gap: 12px;
}

.about-card-text {
  margin-left: 12px;
  color: var(--navy);
}

.about-card h4 {
  font-size: 20px;
  letter-spacing: 1.2px;
  margin: 0 0 12px 0;
}

.about-card p {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 16px;
}

.about-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
}

/* SERVICES */
.services-grid {
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin-top: 32px;
  min-height: 450px;
}

.service-card {
  background: var(--lavender);
  border-radius: 0 0 999px 999px;
  padding: 20px;
  cursor: pointer;
  transition:
    transform var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-fast) var(--ease-out),
    background var(--dur-fast) var(--ease-out),
    height var(--dur-slow) var(--ease-in-out);
  flex: 1;
  position: relative;
  align-self: flex-start;
  height: 380px;
}

@media (min-width: 769px) {
  .service-card:hover:not(.active) {
    box-shadow: var(--shadow-soft);
    height: 400px;
  }
}

.service-card:active {
  transform: translateY(-1px) scale(0.99);
}

.service-card.active {
  outline: 2px solid var(--orange);
  background: var(--navy);
  height: 450px;
}

.service-card h3 {
  transition: color var(--dur-slow) var(--ease-out),
    font-size var(--dur-slow) var(--ease-out);
}

.service-card.active h3 {
  color: white;
  font-size: 24px;
}

.service-card .service-img {
  width:100%;
  height:auto;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  margin-bottom: 30px;
  bottom: 0;
  position: absolute;
  left: 50%;
  width: 80%;
  transform: translate(-50%, 0);
}

.service-detail {
  margin-top: 2rem;
  padding: 0 4rem;

  overflow: hidden;
  transition:
    max-height var(--dur-slow) var(--ease-in-out),
    opacity var(--dur-mid) var(--ease-out);
}

.service-detail p {
  margin-top: 0;
  margin-bottom: 12px;
}

.service-detail-inner {
  background: var(--navy);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  padding: 24px 72px;
  box-shadow: var(--shadow-soft);
  animation: detailIn 500ms var(--ease-out);
  transform-origin: top center;

  display: flex;
  flex-direction: row;
  column-gap: 24px;

  color: #FFFFFF;
}

.service-detail-inner.closing {
  animation: detailOut 300ms var(--ease-in-out) forwards;
  pointer-events: none;
}

.service-detail-inner > div {
  flex: 1;
}

.service-detail-features ul {
  padding-left: 20px;
  margin: 0;
}

.service-detail-features li {
  margin-bottom: 4px;
  font-size: 17px;
  letter-spacing: 1.4px;
}

@keyframes detailIn {
  from {
    transform: translateY(-20px) scale(0.96);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

@keyframes detailOut {
  from {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
  to {
    transform: translateY(-20px) scale(0.96);
    opacity: 0;
  }
}

@media (max-width: 768px) {
  .services-grid {
    flex-direction: column;
    min-height: fit-content;
  }

  .service-card {
    height: unset;
    flex: unset;
    align-self: center;
    background: var(--gray-light);
    padding: 8px 16px;
    border-radius: 7px;
    width: 100%;
    text-align: left;
  }

  .service-card h3 {
    margin: 0;
    position: relative;
    color: var(--navy);
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .service-card h3::after {
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    border-right: 3px solid var(--orange);
    border-bottom: 3px solid var(--orange);
    transform: rotate(45deg);
    margin-left: 12px;
    margin-bottom: 3px;
    transition: transform var(--dur-fast) var(--ease-out);
    transform-origin: center;
  }

  .service-card.active h3::after {
    transform: rotate(225deg);
  }

  .service-card.active h3 {
    color: #FFFFFF;
    font-size: 20px;
  }

  .service-card .service-img {
    display: none;
  }

  .service-card:hover {
    box-shadow: unset;
  }

  .service-card:active {
    transform: translateY(-1px) scale(0.99);
  }

  .service-card.active {
    outline: unset;
    background: var(--navy);
    height: unset;
  }

  .service-detail {
    margin-top: 16px;
    padding: 0;
  }

  .service-detail-inner {
    flex-direction: column;
    padding: 24px;
    border: 4px solid var(--orange);
  }

  .service-detail-features {
    margin-top: 16px;
  }
}

/* CTA */
.cta {
  background-image: url('./assets/images/cta-bg.webp');
  background-size: cover;
  background-position: center;
  padding: var(--pad-desktop) 20px;
}

.cta-box {
  background: white;
  border-radius: var(--radius-md);
  max-width: 1100px;
  margin: auto;
  display: flex;
  gap: 20px;
  padding: 48px;
}

.cta-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  text-align: left;
  gap: 12px;
  flex: 1;
}

.cta-content h3 {
  margin: 0 0 12px 0;
  font-size: 28px;
  color: var(--navy);
}

.btn-cta {
  background: var(--orange);
  color: white;
  font-weight: 700;
  border: 2px solid white;
  padding: 12px 32px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  box-shadow: 1px 4px 8px 2px rgba(0, 0, 0, 0.15);
  letter-spacing: 0.8px;
  
  transition:
    transform var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-fast) var(--ease-out),
    background var(--dur-fast) var(--ease-out);
}

.btn-cta:hover {
  transform: translateY(-2px);
  /* box-shadow: 0 10px 22px rgba(252, 94, 51, 0.45); */
}

.btn-cta:active {
  transform: translateY(0);
  box-shadow: 0 6px 14px rgba(252, 94, 51, 0.35);
}

@media (max-width: 768px) {
  .cta-box {
    flex-direction: column;
    padding: 32px;
    text-align: center;
  }

  .cta-content {
    align-items: center;
    text-align: center;
  }

  .cta-content h3 {
    font-size: 24px;
  }

  .btn-cta {
    width: 100%;
    padding: 16px;
  }

  .cta-image {
    overflow: hidden;
  }

  .cta-image img {
    width: 100%;
    transform: scale(1.1);
  }
}

/* CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.contact-info {
  padding-right: 20px;
}

.contact-info h2 {
  text-align: left;
  font-size: 42px;
  margin-bottom: 32px;
  line-height: 1.1;
  color: var(--navy);
}

.contact-intro {
  font-size: 18px;
  margin-bottom: 24px;
  color: var(--text);
  font-weight: 500;
}
.contact-separator {
  width: 60px;
  height: 4px;
  background: var(--orange);
  margin-bottom: 32px;
  border-radius: 2px;
}

.contact-item {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-item a {
  line-height: 0;
}

.contact-item h3 {
  text-align: left;
  margin: 0 0 6px 0;
  font-size: 18px;
  color: var(--navy);
}

.contact-info p, .contact-info .contact-consultation {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-info p {
  font-size: 16px;
  margin: 0;
  color: #565656;
  font-weight: 500;
}

.contact-icon {
  font-size: 28px;
  width: 60px;
  height: 60px;
  background: var(--navy);
  display: grid;
  place-items: center;
  border-radius: 7px;
  transition:
    transform var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-fast) var(--ease-out);
  box-shadow: var(--shadow-soft);
}

.contact-consultation {
  background: var(--navy);
  padding: 16px;
  border-radius: var(--radius-sm);
  color: white;
}

.contact-icon:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
} 

.contact-form {
  background: white;
  padding: 40px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lift);
  border: 1px solid rgba(0,0,0,0.05);
}

.contact-form label {
  display: block;
  margin-bottom: 20px;
  font-weight: 800;
  color: var(--navy);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 8px;
  padding: 16px;
  border: 2px solid var(--gray-light);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 16px;
  transition: all var(--dur-fast) var(--ease-out);
  background: #f8f8f8;
  color: var(--navy);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--orange);
  background: white;
  box-shadow: 0 0 0 4px rgba(252, 94, 51, 0.1);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.btn-submit {
  background: var(--navy);
  color: white;
  border: none;
  padding: 18px 32px;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  width: 100%;
  transition: all var(--dur-fast) var(--ease-out);
  margin-top: 12px;
}

.btn-submit:hover {
  background: var(--orange);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(252, 94, 51, 0.3);
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .contact-info h2 {
    text-align: center;
  }
  
  .contact-info p {
    justify-content: center;
  }

  .contact-info {
    padding: 0;
    text-align: center;
  }

  .contact-separator {
    margin: 0 auto 32px auto;
  }

  .contact-item {
    align-items: center;
    flex-direction: column;
  }

  .contact-icon {
    width: 80px;
    height: 80px;
  }

  .contact-item h3 {
    text-align: center;
  }
}

/* IG */
.ig-link {
  display: block;
  text-align: center;
  margin-bottom: 32px;
  font-size: 20px;
  color: var(--navy);
  text-decoration: underline;
}

.ig-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.ig-item {
  background: white;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  
  position: relative;
  overflow: hidden;
  transition: transform var(--dur-fast) var(--ease-out);
}

.ig-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(47, 51, 112, 0.6);
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 24 24' fill='white' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zm0-2.163c-3.259 0-3.667.014-4.947.072-4.358.2-6.78 2.618-6.98 6.98-.059 1.281-.073 1.689-.073 4.948 0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98-1.281-.059-1.69-.073-4.949-.073zm0 5.838c-3.403 0-6.162 2.759-6.162 6.162s2.759 6.163 6.162 6.163 6.162-2.759 6.162-6.163c0-3.403-2.759-6.162-6.162-6.162zm0 10.162c-2.209 0-4-1.79-4-4 0-2.209 1.791-4 4-4s4 1.791 4 4c0 2.21-1.791 4-4 4zm6.406-11.845c-.796 0-1.441.645-1.441 1.44s.645 1.44 1.441 1.44c.795 0 1.439-.645 1.439-1.44s-.644-1.44-1.439-1.44z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 48px;
  opacity: 0;
  transition: opacity var(--dur-fast) var(--ease-out);
}

.ig-item:hover {
  transform: scale(1.03);
}

.ig-item:hover::after {
  opacity: 1;
}

.ig-item > img {  
  width: 100%;
  transition: transform var(--dur-slow) var(--ease-out);
}

.ig-item:hover > img {
  transform: scale(1.1);
}

/* BLOG */
.blog {
  background: linear-gradient(180deg, #f3f3f7 0%, #ffffff 55%, #f3f3f7 100%);
}

.blog-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.blog-lede {
  max-width: 520px;
  margin: 0;
  color: #5a5a5a;
  font-size: 18px;
  line-height: 1.6;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.blog-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition:
    transform var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out);
  display: flex;
  flex-direction: column;
  min-height: 340px;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: rgba(47, 51, 112, 0.14);
}

.blog-card.active {
  border-color: var(--orange);
  box-shadow: var(--shadow-lift);
}

.blog-card--placeholder {
  pointer-events: none;
}

.blog-cover {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, rgba(252, 94, 51, 0.28), rgba(47, 51, 112, 0.22));
  background-size: cover;
  background-position: center;
  position: relative;
}

.blog-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.3) 100%);
}

.blog-cover.placeholder {
  background: repeating-linear-gradient(45deg, #d6d6e3, #d6d6e3 10px, #f0f0f5 10px, #f0f0f5 20px);
}

.blog-card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  font-size: 14px;
  color: rgba(26, 26, 26, 0.65);
}

.blog-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.blog-card h3 {
  margin: 0;
  font-size: 20px;
  color: var(--navy);
}

.blog-excerpt {
  margin: 0;
  color: #4a4a4a;
  line-height: 1.5;
}

.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.tag {
  background: var(--lavender);
  color: var(--navy);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
}

.blog-read {
  margin-top: 8px;
  align-self: flex-start;
  background: var(--navy);
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 0.6px;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}

.blog-read:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

.blog-read:active {
  transform: translateY(0);
}

.blog-detail {
  margin-top: 32px;
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-lift);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.blog-detail h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 26px;
  color: var(--navy);
}

.blog-detail .blog-meta {
  margin-bottom: 12px;
  color: rgba(26, 26, 26, 0.72);
}

.blog-body p {
  margin: 0 0 14px 0;
  color: #3c3c3c;
  line-height: 1.7;
}

.blog-body ul {
  margin: 0 0 14px 20px;
  padding: 0;
  color: #3c3c3c;
  line-height: 1.6;
}

.blog-body li {
  margin-bottom: 6px;
}

.blog-body h2, .blog-body h3 {
  color: var(--navy);
  margin: 18px 0 10px;
}

.blog-cta-inline {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--navy);
}

.blog-cta-inline button {
  background: var(--orange);
  color: white;
  border: none;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 800;
  letter-spacing: 0.6px;
  box-shadow: var(--shadow-soft);
  transition: transform var(--dur-fast) var(--ease-out);
}

.blog-cta-inline button:hover {
  transform: translateY(-1px);
}

.blog-empty {
  text-align: center;
  color: #4a4a4a;
  margin: 0;
}

@media (max-width: 900px) {
  .blog-header {
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .blog-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .blog-lede {
    font-size: 16px;
  }
}

/* FOOTER */
.footer {
  background: white;
  padding: 60px 60px 0;
}

.footer-box {
  background: var(--navy);
  color: white;
  text-align: center;
  padding: 48px 32px 32px;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.footer .logo {
  margin-bottom: 24px;
}

.footer .badge {
  margin-top: 24px;
}

.footer .social-media {
  display: flex;
  gap: 120px;
  justify-content: center;
  margin-top: 80px;
  margin-bottom: 80px;
}

.footer .social-media a {
  color: white;
  transition: opacity var(--dur-fast) var(--ease-out);
}

.footer .social-media a:hover {
  opacity: 0.75;
}

.footer .brand-slogan {
  margin-top: 24px;
  font-size: 18px;
  letter-spacing: 3.2px;
  color: rgba(255, 255, 255, 0.75);
}

.footer .smiley {
  display: inline-block;
  margin-top: 4px;
  margin-bottom: 30px;
  font-size: 32px;
  pointer-events: none;
  user-select: none;
}

.footer .copyright {
  display: inline-block;
  margin-top: 24px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

.badge {
  background: var(--orange);
  padding: 4px 10px;
  border-radius: 6px;
}

@media (max-width: 768px) {
  .footer {
    padding: 40px 20px 0;
  }

  .footer .social-media {
    gap: 40px;
    margin-top: 40px;
    margin-bottom: 40px;
  }

  .footer .brand-slogan {
    font-size: 16px;
  }
}

/* MOBILE */
@media (max-width: 768px) {
  html {
    scroll-padding-top: 100px;
  }

  .nav-inner {
    height: 80px;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--navy);
    flex-direction: column;
    align-items: center;
    padding: 32px 0;
    gap: 24px;
    
    /* Animation state */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--dur-mid) var(--ease-out);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    border-top: 1px solid rgba(255,255,255,0.1);
  }

  .nav-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .hamburger {
    display: block;
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    padding: 8px;
    line-height: 1;
  }

  .about-cards,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}


/* PORTFOLIO SLIDER (center + peek next + swipe) */
.slider {
  position: relative;
  margin-top: 28px;
}

.slides {
  display: flex;
  gap: 18px;

  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;

  /* trick biar slide pertama bisa "center" */
  padding: 10px 18px 18px;
  padding-left: 15%;
  padding-right: 6%;

  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.slides::-webkit-scrollbar {
  display: none;
}

.slide {
  flex: 0 0 70%; /* <= ini bikin next slide “ngintip” */
  scroll-snap-align: center;

  background: rgba(214, 214, 227, 0.95);
  border-radius: var(--radius-sm);
  padding: 18px;

  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.18);

  transition:
    transform var(--dur-mid) var(--ease-out),
    box-shadow var(--dur-mid) var(--ease-out),
    opacity var(--dur-mid) var(--ease-out);
}

.slide:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: var(--shadow-lift);
}

.slide:focus-within {
  outline: 2px solid var(--orange);
}

.slide h3 {
  margin: 0 0 10px;
  font-size: 14px;
  text-align: center;
  color: var(--navy);
  font-weight: 700;
}

.slide .thumb {
  height: 280px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(252, 94, 51, 0.35), rgba(214, 214, 227, 0.35));
  border: 1px solid rgba(47, 51, 112, 0.14);
  margin-bottom: 12px;
}

.slide a {
  display: inline-block;
  font-size: 12px;
  color: var(--navy);
  text-decoration: underline;
  opacity: 0.9;
}

.slide p {
  font-size: 12px;
  color: rgba(26, 26, 26, 0.75);
  margin: 10px 0 0;
}

/* Dots */
.slider-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  padding-top: 14px;
}
.dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
}
.dot.active {
  background: rgba(255, 255, 255, 0.95);
}

/* Arrows (desktop preferred) */
.slider-arrow {
  position: absolute;
  top: 46%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.14);
  color: white;
  cursor: pointer;
  display: none; /* default hidden on mobile */
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
}
.slider-arrow.prev { left: 6px; }
.slider-arrow.next { right: 6px; }

@media (min-width: 900px) {
  .slider-arrow {
    display: inline-flex;
  }
}

/* Mobile tuning */
@media (max-width: 768px) {
  .slides {
    padding-left: 10%;
    padding-right: 10%;
  }
  .slide {
    flex-basis: 82%;
  }
}
