@import url('https://fonts.googleapis.com/css2?family=Farro:wght@300;400;500;700&display=swap');

/* --- CASCADE LAYERS --- */
@layer reset, base, layout, components, subpages, utility;

@layer reset {

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

  html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
  }

  body {
    min-height: 100vh;
    text-rendering: optimizeSpeed;
    line-height: 1.6;
    background-color: var(--color-white);
    color: var(--color-charcoal);
    overflow-x: hidden;
  }

  img,
  picture,
  video {
    display: block;
    max-width: 100%;
    height: auto;
  }

  a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  button,
  input,
  textarea,
  select {
    font: inherit;
    background: none;
    border: none;
    outline: none;
  }

  ul,
  ol {
    list-style: none;
  }
}

@layer base {
  :root {
    /* Design Tokens - Colors */
    --color-charcoal: #1a1a1a;
    --color-white: #ffffff;
    --color-beige: #FAF9F6;
    /* Warm off-white beige background */
    --color-border-subtle: rgba(26, 26, 26, 0.08);
    --color-border-white: rgba(255, 255, 255, 0.15);

    /* Brand Accent Colors */
    --color-accent: #04507c;
    /* Astaş Blue Color Gamut */
    --color-accent-hover: #033f62;
    --color-accent-light: #73bcf3;
    /* High-contrast light blue for dark backgrounds */
    --color-accent-translucent: rgba(4, 80, 124, 0.12);

    /* Typography - Unified to Farro only */
    --font-serif: "Farro", sans-serif;
    --font-sans: "Farro", sans-serif;
  }

  body {
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 300;
    background-color: var(--color-white);
    background-image: radial-gradient(circle at 100% 0%, rgba(4, 80, 124, 0.03) 0%, transparent 40%),
      radial-gradient(circle at 0% 100%, rgba(4, 80, 124, 0.02) 0%, transparent 30%);
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-family: var(--font-serif);
    font-weight: 500;
    line-height: 1.25;
    color: var(--color-charcoal);
  }

  h1 {
    font-size: clamp(2.4rem, 1.8rem + 3.5vw, 2.8rem);
    letter-spacing: -0.5px;
  }

  h2 {
    font-size: clamp(2rem, 1.4rem + 2.5vw, 1.8rem);
    letter-spacing: -0.2px;
  }

  h3 {
    font-size: clamp(1.5rem, 1.1rem + 1.8vw, 1.4rem);
  }

  h4 {
    font-size: clamp(1.2rem, 1rem + 1vw, 1.2rem);
  }
}

@layer layout {

  /* Containers */
  .al-container {
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
    padding-inline: 4rem;
  }

  @media (max-width: 960px) {
    .al-container {
      padding-inline: 1.5rem;
    }
  }

  .al-row {
    display: flex;
    flex-wrap: wrap;
    margin: -1rem;
  }

  .al-col {
    padding: 1rem;
    width: 100%;
  }

  /* Column widths matching balanced proportions */
  @media (min-width: 960px) {
    .al-col-2-5 {
      width: 40%;
    }

    .al-col-3-5 {
      width: 60%;
    }

    .al-col-1-3 {
      width: 33.333%;
    }

    .al-col-1-2 {
      width: 50%;
    }

    .al-col-1-4 {
      width: 25%;
    }
  }

  .section-padding {
    padding-block: 7.5rem;
  }

  @media (max-width: 768px) {
    .section-padding {
      padding-block: 4.5rem;
    }
  }
}

@layer components {

  /* --- PREMIUM HEADER & MEGA MENU dropdown --- */
  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .site-header.scrolled,
  .site-header:hover {
    background-color: var(--color-white);
    height: 100px;
    border-bottom: 1px solid var(--color-border-subtle);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
  }

  .header-container {
    max-width: 100%;
    width: 100%;
    margin-inline: auto;
    padding-inline: 4rem;
    height: 100%;
  }

  @media (max-width: 960px) {
    .header-container {
      padding-inline: 1.5rem;
    }
  }

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

  /* Sleek Logo matching Astaş geometric style */
  .logo-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
  }

  .logo-img {
    transition: opacity 0.4s ease;
  }

  .logo-white {
    opacity: 1;
  }

  .logo-dark {
    opacity: 0;
    position: absolute;
  }

  .site-header.scrolled .logo-white,
  .site-header:hover .logo-white {
    opacity: 0;
    position: absolute;
  }

  .site-header.scrolled .logo-dark,
  .site-header:hover .logo-dark {
    opacity: 1;
    position: static;
  }

  .logo-icon {
    width: 42px;
    height: 42px;
    background-color: var(--color-accent);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(4, 80, 124, 0.2);
    transition: all 0.4s;
  }

  .logo-wrapper:hover .logo-icon {
    background-color: var(--color-charcoal);
  }

  .logo-text-col {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
  }

  .logo-title {
    font-family: var(--font-sans);
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: var(--color-white);
    text-transform: uppercase;
    transition: color 0.4s;
  }

  .logo-title span {
    font-weight: 300;
    color: var(--color-accent-light);
    transition: color 0.4s;
  }

  .site-header.scrolled .logo-title span,
  .site-header:hover .logo-title span {
    color: var(--color-accent);
  }

  .logo-subtitle {
    font-family: var(--font-sans);
    font-size: 0.68rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: rgba(255, 255, 255, 0.75);
    margin-top: 1px;
    transition: color 0.4s;
  }

  .site-header.scrolled .logo-title,
  .site-header:hover .logo-title {
    color: var(--color-charcoal);
  }

  .site-header.scrolled .logo-subtitle,
  .site-header:hover .logo-subtitle {
    color: rgba(26, 26, 26, 0.6);
  }

  /* Navigation items and drop-down parent */
  .nav-links {
    display: none;
    align-items: center;
    gap: 2.2rem;
    height: 100%;
  }

  @media (min-width: 1024px) {
    .nav-links {
      display: flex;
    }
  }

  .nav-item-dropdown {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
  }

  .nav-item {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--color-white);
    padding-block: 0.5rem;
    letter-spacing: 0.3px;
    position: relative;
  }

  .nav-item::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent-light);
    transition: width 0.3s ease, background-color 0.4s;
  }

  .site-header.scrolled .nav-item::after,
  .site-header:hover .nav-item::after {
    background-color: var(--color-accent);
  }

  .nav-item-dropdown:hover .nav-item::after,
  .nav-item.active::after {
    width: 100%;
  }

  .site-header.scrolled .nav-item,
  .site-header:hover .nav-item {
    color: var(--color-charcoal);
  }

  .nav-item-dropdown:hover .nav-item {
    color: var(--color-accent) !important;
  }

  /* --- ASTAŞ MEGA MENU PANEL --- */
  .mega-menu {
    position: fixed;
    top: 110px;
    left: 0;
    width: 100%;
    background-color: var(--color-white);
    border-bottom: 1px solid var(--color-border-subtle);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    pointer-events: none;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 99;
    padding-block: 3.5rem;
  }

  .site-header.scrolled .mega-menu,
  .site-header:hover .mega-menu {
    top: 100px;
  }

  .nav-item-dropdown:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .mega-menu-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
  }

  .mega-menu-cols {
    display: flex;
    gap: 4.5rem;
    flex: 1;
  }

  .mega-menu-col {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
  }

  .mega-title {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
    font-weight: 500;
  }

  .mega-menu-col a:not(.mega-title) {
    font-size: 0.95rem;
    color: rgba(26, 26, 26, 0.7);
    font-weight: 300;
  }

  .mega-menu-col a:not(.mega-title):hover {
    color: var(--color-accent);
    transform: translateX(4px);
  }

  /* Mega menu right side featured visual cards */
  .mega-menu-featured {
    display: flex;
    gap: 1.5rem;
  }

  .featured-card {
    position: relative;
    width: 250px;
    height: 160px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--color-border-subtle);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  }

  .featured-card-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s;
  }

  .featured-card:hover .featured-card-img {
    transform: scale(1.05);
  }

  .featured-card-overlay {
    position: absolute;
    inset: 0;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(180deg, rgba(26, 26, 26, 0.1) 0%, rgba(26, 26, 26, 0.85) 100%);
    color: var(--color-white);
  }

  .featured-tag {
    font-size: 0.65rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-accent-light);
  }

  .featured-title {
    font-size: 0.95rem;
    color: var(--color-white);
    line-height: 1.25;
    margin-bottom: 0.25rem;
  }

  .featured-link {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.8);
  }

  .featured-link:hover {
    color: var(--color-accent-light);
  }

  /* Header actions */
  .nav-actions {
    display: flex;
    align-items: center;
    gap: 1.2rem;
  }

  .btn-header-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background-color: var(--color-accent);
    color: var(--color-white) !important;
    padding: 0.7rem 1.6rem;
    font-size: 0.88rem;
    font-weight: 500;
    border-radius: 50px;
    /* Pill-shaped */
    box-shadow: 0 4px 15px rgba(4, 80, 124, 0.2);
    transition: all 0.3s;
  }

  .btn-header-cta:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(4, 80, 124, 0.3);
  }

  @media (max-width: 1023px) {
    .btn-header-cta {
      display: none;
    }
  }

  .lang-switcher {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
  }

  .lang-switcher:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
  }

  .search-toggle-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
  }

  .search-toggle-btn:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
  }

  .site-header.scrolled .lang-switcher,
  .site-header.scrolled .search-toggle-btn,
  .site-header:hover .lang-switcher,
  .site-header:hover .search-toggle-btn {
    border-color: var(--color-border-subtle);
    color: var(--color-charcoal);
  }

  .site-header.scrolled .lang-switcher:hover,
  .site-header.scrolled .search-toggle-btn:hover,
  .site-header:hover .lang-switcher:hover,
  .site-header:hover .search-toggle-btn:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
  }

  /* Mobile burger menu */
  .mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 16px;
    cursor: pointer;
    z-index: 1010;
  }

  .mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-white);
    transition: all 0.3s ease;
  }

  .site-header.scrolled .mobile-menu-toggle span,
  .site-header:hover .mobile-menu-toggle span {
    background-color: var(--color-charcoal);
  }

  @media (min-width: 1024px) {
    .mobile-menu-toggle {
      display: none;
    }
  }

  /* Mobile menu panel */
  .mobile-nav-panel {
    position: fixed;
    inset: 0;
    background-color: var(--color-charcoal);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 2rem;
    padding: 7rem 2rem 4rem 2rem;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .mobile-nav-panel.active {
    opacity: 1;
    visibility: visible;
  }

  /* When mobile menu is open, header must match dark overlay */
  .site-header.mobile-menu-open,
  .site-header.mobile-menu-open.scrolled,
  .site-header.mobile-menu-open:hover {
    background-color: var(--color-charcoal);
    border-bottom-color: transparent;
    box-shadow: none;
  }

  .site-header.mobile-menu-open .logo-white {
    opacity: 1;
    position: static;
  }

  .site-header.mobile-menu-open .logo-dark {
    opacity: 0;
    position: absolute;
  }

  .site-header.mobile-menu-open .lang-switcher,
  .site-header.mobile-menu-open .search-toggle-btn {
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--color-white);
  }

  .mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    background-color: var(--color-white) !important;
  }

  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    background-color: var(--color-white) !important;
  }

  .mobile-list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    max-width: 480px;
    padding: 0 0.5rem;
  }

  .mobile-list li {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .mobile-list>li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .mobile-list>li>a.mobile-item {
    display: block;
    width: 100%;
    padding: 1.1rem 0.5rem;
    text-align: left;
  }

  .mobile-nav-parent-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1.1rem 0.5rem;
  }

  .mobile-nav-parent-row>a.mobile-item {
    text-align: left;
    flex-grow: 1;
  }

  .mobile-item {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.95);
    transition: color 0.3s ease;
  }

  .mobile-item:hover,
  .mobile-item.active {
    color: var(--color-accent-light);
  }

  .mobile-submenu-toggle-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    padding: 0.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, color 0.3s ease;
    border-radius: 4px;
  }

  .mobile-submenu-toggle-btn:hover {
    color: var(--color-accent-light);
  }

  .mobile-nav-item-has-children.active>.mobile-nav-parent-row .mobile-submenu-toggle-btn {
    transform: rotate(180deg);
    color: var(--color-accent-light);
  }

  .mobile-submenu {
    width: 100%;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, margin-top 0.35s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
    padding-left: 1.5rem;
    margin-top: 0;
    border-left: 2px solid rgba(255, 255, 255, 0.05);
  }

  .mobile-nav-item-has-children.active .mobile-submenu {
    max-height: 480px;
    opacity: 1;
    margin-top: 0.2rem;
    margin-bottom: 1.2rem;
  }

  .submenu-group-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.35);
    margin-top: 0.8rem;
    font-weight: 600;
    list-style: none;
    text-align: left;
    width: 100%;
  }

  .submenu-group-title:first-child {
    margin-top: 0.4rem;
  }

  .mobile-subitem {
    font-family: var(--font-sans);
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s ease;
    font-weight: 300;
    text-align: left;
    display: block;
    width: 100%;
    padding: 0.2rem 0;
  }

  .mobile-subitem:hover {
    color: var(--color-accent-light);
  }

  /* --- ASTAŞ HERO SLIDER (100vh) --- */
  .hero-slider-section {
    position: relative;
    height: 100vh;
    min-height: 650px;
    overflow: hidden;
    background-color: var(--color-charcoal);
  }

  .hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94), visibility 1.2s;
    z-index: 1;
  }

  .hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
  }

  .hero-slide-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.04);
    transition: transform 7s ease;
  }

  .hero-slide.active .hero-slide-bg {
    transform: scale(1);
  }

  .hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(111deg, rgba(26, 26, 26, 0.85) 0%, rgba(26, 26, 26, 0.2) 100%),
      linear-gradient(360deg, rgba(26, 26, 26, 0.5) 0%, transparent 40%);
    z-index: 1;
  }

  .hero-slide-container {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    z-index: 2;
  }

  .hero-text-panel {
    max-width: 820px;
    color: var(--color-white);
  }

  .hero-subtitle {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
  }

  .hero-subtitle::before {
    content: "";
    width: 35px;
    height: 1.5px;
    background-color: var(--color-accent);
  }

  .hero-title {
    color: var(--color-white);
    line-height: 1.15;
    margin-bottom: 1.8rem;
    opacity: 0;
    transform: translateY(30px);
  }

  .hero-slide.active .hero-title {
    animation: slideUp 0.8s 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  .hero-desc {
    font-size: 1.08rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2.5rem;
    max-width: 600px;
    opacity: 0;
    transform: translateY(30px);
  }

  .hero-slide.active .hero-desc {
    animation: slideUp 0.8s 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  .hero-actions-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    opacity: 0;
    transform: translateY(30px);
  }

  .hero-slide.active .hero-actions-row {
    animation: slideUp 0.8s 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  /* Decorative thin lines overlaying background */
  .hero-lines-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    opacity: 0.25;
  }

  /* Slider Navigation Arrows bottom right */
  .hero-nav-arrows {
    position: absolute;
    bottom: 4.5rem;
    right: 5rem;
    display: flex;
    gap: 1.2rem;
    z-index: 10;
  }

  @media (max-width: 768px) {
    .hero-nav-arrows {
      right: 1.5rem;
      bottom: 2.5rem;
    }
  }

  .hero-arrow-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--color-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
  }

  .hero-arrow-btn:hover {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
  }

  .arrow-icon-small {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 2.5;
    fill: none;
  }

  /* Outline white button used on dark hero slider */
  .btn-outline-white {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--color-white);
    padding: 0.85rem 1.8rem;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
  }

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

  .btn-active-white {
    background-color: var(--color-white);
    color: var(--color-charcoal);
    border-color: var(--color-white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  }

  .btn-active-white:hover {
    background-color: var(--color-accent);
    color: var(--color-white);
    border-color: var(--color-accent);
  }

  /* Play Button circle */
  .play-btn-circle {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background-color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    margin-left: 0.25rem;
  }

  /* --- ASTAŞ SUB BANNER STRIP --- */
  .al-sub-banner {
    background-color: var(--color-beige);
    padding-block: 5.5rem;
    border-bottom: 1px solid var(--color-border-subtle);
  }

  .al-sub-banner-text {
    font-family: var(--font-serif);
    font-size: clamp(1.4rem, 1.1rem + 1.5vw, 2.5rem);
    text-align: center;
    line-height: 1.45;
    color: var(--color-charcoal);
    max-width: 1200px;
    margin-inline: auto;
  }

  .al-sub-banner-text b {
    color: var(--color-accent);
    font-weight: 500;
  }

  /* --- ASTAŞ CARDS GRID --- */
  .al-cards-section {
    background-color: var(--color-white);
    background-image: radial-gradient(circle at 100% 50%, rgba(4, 80, 124, 0.015) 0%, transparent 40%);
  }

  .astas-card {
    position: relative;
    height: 480px;
    width: 100%;
    background-color: var(--color-beige);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--color-border-subtle);
    box-shadow: 0 4px 20px rgba(26, 26, 26, 0.01);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .astas-card-sm {
    height: 228px;
  }

  .astas-card-panel {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .astas-card:hover .astas-card-panel {
    transform: scale(1.06);
  }

  .astas-card-overlay {
    position: absolute;
    inset: 0;
    padding: 2.8rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(180deg, rgba(26, 26, 26, 0.15) 0%, rgba(26, 26, 26, 0.75) 100%);
    color: var(--color-white);
    z-index: 2;
  }

  /* Hover glow overlay */
  .astas-card-overlay::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(305deg, rgba(4, 80, 124, 0) 15%, rgba(4, 80, 124, 0.22) 90%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
  }

  .astas-card:hover .astas-card-overlay::before {
    opacity: 1;
  }

  .astas-card-title {
    font-family: var(--font-serif);
    font-size: 1.7rem;
    color: var(--color-white);
    line-height: 1.35;
  }

  .astas-card-info-bottom {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .astas-card-subtitle {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-accent-light);
  }

  .astas-card-desc {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    max-width: 90%;
  }

  /* Link text style inside cards bottom-left */
  .more-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--color-white);
  }

  .more-link svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    stroke-width: 2.5;
    fill: none;
    transition: transform 0.3s;
  }

  .astas-card:hover .more-link svg {
    transform: translate(2px, -2px);
  }

  .astas-card:hover .more-link {
    color: var(--color-accent-light);
  }

  /* Helper to gap stack columns */
  .al-stack-row-gap {
    display: flex;
    flex-direction: column;
    gap: 24px;
    /* matches height math */
  }

  /* Online katalog specific card with custom SVGs */
  .astas-card-graphic {
    background-color: var(--color-accent);
    border: none;
  }

  .astas-card-graphic-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.15;
    z-index: 1;
  }

  .astas-card-graphic .astas-card-overlay {
    background: linear-gradient(180deg, rgba(4, 80, 124, 0.25) 0%, rgba(4, 80, 124, 0.95) 100%);
  }

  /* --- ASTAŞ FAALİYET ALANLARI CARD SLIDER --- */
  .faaliyet-carousel-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }

  .faaliyet-slider {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .faaliyet-slide {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    position: relative;
  }

  /* Indicator dots placed at the bottom right corner of the right card */
  .faaliyet-nav-dots {
    position: absolute;
    bottom: 2.8rem;
    right: 2.8rem;
    display: flex;
    gap: 0.5rem;
    z-index: 10;
  }

  .faaliyet-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: all 0.3s;
  }

  .faaliyet-dot.active {
    background-color: var(--color-accent);
    width: 18px;
    border-radius: 4px;
  }

  /* Slider navigate arrows bottom-right inside card */
  .faaliyet-arrow-nav {
    position: absolute;
    bottom: 2.8rem;
    right: 8rem;
    display: flex;
    gap: 0.6rem;
    z-index: 10;
  }

  .faaliyet-arrow-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
  }

  .faaliyet-arrow-btn:hover {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
  }

  /* --- GÜNCEL GELİŞMELER & SAYISAL GÖSTERGELER --- */
  .home-news-stats-section {
    background-color: var(--color-white);
    border-top: 1px solid var(--color-border-subtle);
  }

  .news-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-border-subtle);
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(26, 26, 26, 0.01);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(26, 26, 26, 0.04);
    border-color: var(--color-accent);
  }

  .news-img-wrapper {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
  }

  .news-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .news-card:hover .news-img {
    transform: scale(1.05);
  }

  .news-category {
    position: absolute;
    top: 1.2rem;
    left: 1.2rem;
    background-color: var(--color-accent);
    color: var(--color-white);
    padding: 0.4rem 0.8rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 4px;
    z-index: 2;
  }

  .news-body {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
  }

  .news-meta {
    margin-bottom: 0.6rem;
  }

  .news-date {
    font-size: 0.8rem;
    color: rgba(26, 26, 26, 0.45);
    font-weight: 500;
  }

  .news-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.4;
    color: var(--color-charcoal);
    margin-bottom: 0.8rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .news-desc {
    font-size: 0.9rem;
    color: rgba(26, 26, 26, 0.55);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .news-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--color-accent);
    text-transform: uppercase;
    transition: color 0.3s;
    margin-top: auto;
  }

  .news-link svg {
    width: 12px;
    height: 12px;
    stroke: currentColor;
    stroke-width: 2.5;
    fill: none;
    transition: transform 0.3s;
  }

  .news-card:hover .news-link svg {
    transform: translate(2px, -2px);
  }

  .news-card:hover .news-link {
    color: var(--color-accent-hover);
  }

  /* Right Stats Panel */
  .stats-sidebar-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background-color: var(--color-beige);
    border: 1px solid var(--color-border-subtle);
    border-radius: 12px;
    padding: 1.5rem 1.8rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .stats-sidebar-item:hover {
    transform: translateX(6px);
    border-color: var(--color-accent);
    background-color: var(--color-white);
    box-shadow: 0 10px 30px rgba(4, 80, 124, 0.03);
  }

  .stats-sidebar-number {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 1.8rem + 1vw, 2.8rem);
    color: var(--color-accent);
    line-height: 1;
    font-weight: 700;
    min-width: 90px;
    flex-shrink: 0;
  }

  .stats-sidebar-content {
    flex-grow: 1;
  }

  .stats-sidebar-title {
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-charcoal);
    margin-bottom: 0.25rem;
  }

  .stats-sidebar-desc {
    font-size: 0.85rem;
    color: rgba(26, 26, 26, 0.55);
    line-height: 1.4;
  }

  /* --- REFERENCES STRIP --- */
  .al-ref-section {
    background-color: var(--color-beige);
    border-bottom: 1px solid var(--color-border-subtle);
    padding-block: 4.5rem;
    overflow: hidden;
  }

  .al-ref-title {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: rgba(26, 26, 26, 0.35);
    text-align: center;
    margin-bottom: 3rem;
  }

  /* Infinite scrolling marquee */
  .al-ref-container {
    display: flex;
    width: max-content;
    animation: marquee-scroll 30s linear infinite;
  }

  .al-ref-section:hover .al-ref-container {
    animation-play-state: paused;
  }

  .al-ref-track {
    display: flex;
    align-items: center;
    gap: 0;
  }

  .al-ref-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 3.5rem;
    border-right: 1px solid var(--color-border-subtle);
    transition: all 0.4s;
    cursor: default;
    white-space: nowrap;
  }

  .al-ref-card:hover {
    background-color: rgba(4, 80, 124, 0.04);
  }

  .al-ref-text {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: rgba(26, 26, 26, 0.3);
    text-transform: uppercase;
    transition: color 0.4s;
  }

  .al-ref-card:hover .al-ref-text {
    color: var(--color-accent);
  }

  @keyframes marquee-scroll {
    0% {
      transform: translateX(0);
    }

    100% {
      transform: translateX(-50%);
    }
  }

  /* --- OPEN CORPORATE FOOTER --- */
  .site-footer {
    background-color: var(--color-beige);
    padding-block: 6rem 4rem;
    color: var(--color-charcoal);
    border-top: 1px solid var(--color-border-subtle);
  }

  /* Slogan bar at top of footer */
  .footer-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--color-border-subtle);
    padding-bottom: 3.5rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
    gap: 2rem;
  }

  .footer-slogan {
    font-family: var(--font-serif);
    font-size: 1.45rem;
    color: var(--color-charcoal);
    max-width: 600px;
    line-height: 1.4;
  }

  .footer-social-links {
    display: flex;
    gap: 0.8rem;
  }

  .footer-social-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: var(--color-white);
    border: 1px solid var(--color-border-subtle);
    color: var(--color-charcoal);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
  }

  .footer-social-btn:hover {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-white);
    transform: translateY(-2px);
  }

  /* Grid details */
  .footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 3.5rem;
    margin-bottom: 4.5rem;
  }

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

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

  .footer-logo-title {
    font-family: var(--font-sans);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: var(--color-charcoal);
    text-transform: uppercase;
    margin-bottom: 1.25rem;
  }

  .footer-logo-title span {
    font-weight: 300;
    color: var(--color-accent);
  }

  .footer-widget-title {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--color-charcoal);
    margin-bottom: 1.75rem;
    font-weight: 500;
  }

  .footer-links-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
  }

  .footer-links-list a {
    font-size: 0.95rem;
    color: rgba(26, 26, 26, 0.7);
    font-weight: 300;
  }

  .footer-links-list a:hover {
    color: var(--color-accent);
    transform: translateX(4px);
  }

  .footer-contact-row {
    display: flex;
    gap: 0.85rem;
    margin-bottom: 1rem;
    align-items: flex-start;
  }

  .footer-contact-icon {
    color: var(--color-accent);
    flex-shrink: 0;
    margin-top: 3px;
  }

  /* Accordion panels for footer menu links */
  .footer-accordion-item {
    border-bottom: 1px solid var(--color-border-subtle);
    padding-block: 0.85rem;
  }

  .footer-accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 0.98rem;
    font-weight: 500;
    color: var(--color-charcoal);
  }

  .footer-accordion-icon {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    stroke-width: 2.5;
    fill: none;
    transition: transform 0.3s;
  }

  .footer-accordion-item.active .footer-accordion-icon {
    transform: rotate(180deg);
  }

  .footer-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .footer-accordion-content ul {
    padding-top: 0.75rem;
    padding-bottom: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
  }

  .footer-accordion-content ul a {
    font-size: 0.9rem;
    color: rgba(26, 26, 26, 0.65);
    font-weight: 300;
  }

  .footer-accordion-content ul a:hover {
    color: var(--color-accent);
  }

  /* Bottom Bar */
  .footer-bottom-row {
    border-top: 1px solid var(--color-border-subtle);
    padding-top: 2rem;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    font-size: 0.88rem;
    color: rgba(26, 26, 26, 0.55);
    gap: 1rem;
  }

  .footer-bottom-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
  }

  .footer-bottom-left a:hover {
    color: var(--color-accent);
  }

  .footer-bottom-center {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .footer-bottom-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }

  .scroll-to-top-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--color-white);
    border: 1px solid var(--color-border-subtle);
    color: var(--color-charcoal);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    transition: all 0.3s;
  }

  .scroll-to-top-btn:hover {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-white);
    transform: translateY(-2px);
  }
}

@layer subpages {

  /* --- SUBPAGES PREMIUM DETAILS --- */
  .inner-hero {
    position: relative;
    height: 50vh;
    min-height: 380px;
    background-color: var(--color-charcoal);
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 110px;
  }

  .inner-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .inner-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(26, 26, 26, 0.85) 0%, rgba(26, 26, 26, 0.65) 100%);
    z-index: 1;
  }

  .inner-hero-title {
    color: var(--color-white);
    font-size: clamp(2.2rem, 1.8rem + 2.5vw, 4rem);
    margin-bottom: 0.8rem;
  }

  .breadcrumbs {
    display: flex;
    gap: 0.5rem;
    font-size: 0.88rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.5px;
    text-transform: uppercase;
  }

  .breadcrumbs a:hover {
    color: var(--color-accent);
  }

  /* Asymmetric Capsule layout for Images */
  .mask-capsule-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
  }

  .mask-capsule {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16/11;
    border: 1px solid var(--color-border-subtle);
    box-shadow: 0 15px 35px rgba(26, 26, 26, 0.03);
    z-index: 2;
  }

  .mask-capsule img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* Colored geometry block offset behind capsule mask */
  .mask-bg-offset {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    background-color: var(--color-accent-translucent);
    z-index: 1;
    transition: all 0.3s ease;
  }

  .mask-bg-offset-left {
    top: -1.5rem;
    left: -1.5rem;
    right: auto;
  }

  .mask-bg-offset-right {
    top: -1.5rem;
    right: -1.5rem;
    left: auto;
  }

  .mask-bg-offset-coral {
    background-color: rgba(4, 80, 124, 0.08);
  }

  .mask-bg-offset-dark {
    background-color: rgba(26, 26, 26, 0.04);
  }

  /* Service Row Section for alternating rows with backgrounds */
  .service-row-section {
    padding-block: 5.5rem;
  }

  .service-row-section .subpage-grid-row {
    padding-block: 0;
    border-bottom: none;
  }

  /* Alternating rows grid */
  .subpage-grid-row {
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
    padding-block: 6.5rem;
    border-bottom: 1px solid var(--color-border-subtle);
  }

  .subpage-grid-row:last-child {
    border-bottom: none;
  }

  @media (max-width: 768px) {
    .service-row-section {
      padding-block: 3.5rem;
    }

    .mask-bg-offset-left {
      top: -0.85rem;
      left: -0.85rem;
    }

    .mask-bg-offset-right {
      top: -0.85rem;
      right: -0.85rem;
    }
  }

  @media (min-width: 960px) {
    .subpage-grid-row {
      flex-direction: row;
      align-items: center;
      gap: 6.5rem;
    }

    .subpage-grid-row>div {
      flex: 1;
    }

    .subpage-grid-row>div:first-child {
      padding-right: 3.5rem;
      padding-left: 0;
    }

    .subpage-grid-row.alternate>div:first-child {
      padding-left: 3.5rem;
      padding-right: 0;
      order: 2;
    }
  }

  /* Stats subpage cards grid */
  .subpage-stats-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-border-subtle);
    border-radius: 20px;
    padding: 3.5rem 2.5rem;
    text-align: center;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.015);
    transition: all 0.4s;
  }

  .subpage-stats-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.03);
    border-color: var(--color-accent);
  }

  .subpage-stats-num {
    font-family: var(--font-serif);
    font-size: 3.8rem;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 0.8rem;
  }

  .subpage-stats-label {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-charcoal);
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  /* Service detail components */
  .service-detail-title {
    font-family: var(--font-serif);
    font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.4rem);
    line-height: 1.25;
    color: var(--color-charcoal);
    margin-bottom: 1.5rem;
  }

  .service-detail-desc {
    color: rgba(26, 26, 26, 0.65);
    line-height: 1.85;
    font-size: 0.96rem;
    margin-bottom: 2rem;
  }

  .service-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
  }

  .service-list-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--color-charcoal);
  }

  .service-list-icon {
    flex-shrink: 0;
    color: var(--color-accent);
  }

  /* Forms minimal styling */
  .form-group {
    margin-bottom: 1.5rem;
  }

  .form-label {
    display: block;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--color-charcoal);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
  }

  .form-control {
    width: 100%;
    border: 1px solid var(--color-border-subtle);
    background-color: var(--color-beige);
    padding: 1.1rem 1.35rem;
    font-size: 0.95rem;
    color: var(--color-charcoal);
    border-radius: 8px;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .form-control:hover {
    border-color: rgba(26, 26, 26, 0.16);
  }

  .form-control:focus {
    border-color: var(--color-accent);
    background-color: var(--color-white);
    box-shadow: 0 8px 25px rgba(4, 80, 124, 0.08);
    transform: translateY(-2px);
    outline: none;
  }

  textarea.form-control {
    resize: vertical;
    min-height: 140px;
  }

  /* --- CONTACT PAGE PREMIUM COMPONENTS --- */

  /* Quick Contact Cards Strip */
  .contact-quick-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: -4rem;
    position: relative;
    z-index: 10;
  }

  @media (max-width: 960px) {
    .contact-quick-strip {
      grid-template-columns: repeat(2, 1fr);
      margin-top: -3rem;
    }
  }

  @media (max-width: 600px) {
    .contact-quick-strip {
      grid-template-columns: 1fr;
      margin-top: -2.5rem;
    }
  }

  .contact-quick-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-border-subtle);
    padding: 2rem 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    box-shadow: 0 8px 30px rgba(26, 26, 26, 0.03);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .contact-quick-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(4, 80, 124, 0.06);
    border-color: var(--color-accent);
  }

  .contact-quick-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--color-accent) 0%, #033f62 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    flex-shrink: 0;
    transition: all 0.3s;
  }

  .contact-quick-card:hover .contact-quick-icon {
    transform: scale(1.08);
    box-shadow: 0 6px 18px rgba(4, 80, 124, 0.2);
  }

  .contact-quick-label {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-accent);
    margin-bottom: 0.35rem;
  }

  .contact-quick-value {
    font-size: 0.95rem;
    color: var(--color-charcoal);
    line-height: 1.5;
    font-weight: 400;
  }

  .contact-quick-value a {
    color: var(--color-charcoal);
  }

  .contact-quick-value a:hover {
    color: var(--color-accent);
  }

  /* Contact Info Panel — dark sidebar */
  .contact-info-panel {
    background: linear-gradient(135deg, var(--color-accent) 0%, #032b43 100%);
    color: var(--color-white);
    padding: 3.5rem;
    box-shadow: 0 10px 30px rgba(4, 80, 124, 0.03);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
  }

  .contact-info-panel::before {
    content: "";
    position: absolute;
    top: -30%;
    right: -30%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(115, 188, 243, 0.08) 0%, transparent 70%);
    pointer-events: none;
  }

  .contact-info-panel:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(4, 80, 124, 0.15);
  }

  .contact-info-title {
    font-family: var(--font-serif);
    font-size: 1.9rem;
    font-weight: 500;
    margin-bottom: 2.2rem;
    color: var(--color-white);
    position: relative;
    padding-bottom: 0.75rem;
  }

  .contact-info-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--color-accent-light);
  }

  .contact-info-title--dark {
    color: var(--color-charcoal);
  }

  .contact-info-title--dark::after {
    background-color: var(--color-accent);
  }

  .contact-detail-card {
    margin-bottom: 2.2rem;
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    transition: all 0.3s;
  }

  .contact-detail-card:last-child {
    margin-bottom: 0;
  }

  .contact-detail-card:hover .contact-card-icon {
    background-color: var(--color-accent-light);
    color: var(--color-accent);
    transform: scale(1.1);
  }

  .contact-card-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent-light);
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .contact-card-content h4 {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.4rem;
    color: var(--color-accent-light);
  }

  .contact-card-content p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    font-size: 0.95rem;
    font-weight: 300;
  }

  /* Social icons row inside info panel */
  .contact-social-row {
    display: flex;
    gap: 0.7rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .contact-social-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
  }

  .contact-social-btn:hover {
    background-color: var(--color-accent-light);
    border-color: var(--color-accent-light);
    color: var(--color-accent);
    transform: translateY(-2px);
  }

  /* Premium Form Panel */
  .contact-form-panel {
    background-color: var(--color-white);
    padding: 3.5rem;
    height: 100%;
  }

  @media (max-width: 768px) {
    .contact-form-panel {
      padding: 2rem 0;
    }
  }

  .contact-form-subtitle {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-accent);
    margin-bottom: 0.6rem;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
  }

  .contact-form-subtitle::before {
    content: "";
    width: 24px;
    height: 2px;
    background-color: var(--color-accent);
  }

  .contact-form-heading {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 500;
    color: var(--color-charcoal);
    margin-bottom: 0.8rem;
    line-height: 1.3;
  }

  .contact-form-desc {
    font-size: 0.95rem;
    color: rgba(26, 26, 26, 0.55);
    line-height: 1.65;
    margin-bottom: 2.5rem;
    max-width: 540px;
  }

  /* Form row 2-col */
  .form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
  }

  @media (max-width: 600px) {
    .form-row-2 {
      grid-template-columns: 1fr;
    }
  }

  /* Select arrow styling */
  .form-select-wrap {
    position: relative;
  }

  .form-select-wrap::after {
    content: "";
    position: absolute;
    right: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid rgba(26, 26, 26, 0.35);
    pointer-events: none;
  }

  select.form-control {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 2.5rem;
    cursor: pointer;
  }

  /* Submit button enhanced */
  .btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    background: linear-gradient(135deg, var(--color-accent) 0%, #033f62 100%);
    color: var(--color-white);
    padding: 1rem 2.2rem;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(4, 80, 124, 0.15);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(4, 80, 124, 0.25);
    background: linear-gradient(135deg, #033f62 0%, var(--color-accent) 100%);
  }

  .btn-submit svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    stroke-width: 2.5;
    fill: none;
    transition: transform 0.3s;
  }

  .btn-submit:hover svg {
    transform: translate(2px, -2px);
  }

  /* Contact form + info flex wrapper */
  .contact-main-wrapper {
    display: flex;
    border: 1px solid var(--color-border-subtle);
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(26, 26, 26, 0.025);
  }

  .contact-main-wrapper>.contact-info-panel {
    flex: 0 0 380px;
  }

  .contact-main-wrapper>.contact-form-panel {
    flex: 1;
  }

  @media (max-width: 960px) {
    .contact-main-wrapper {
      flex-direction: column;
    }

    .contact-main-wrapper>.contact-info-panel {
      flex: none;
    }
  }

  /* Offices Grid */
  .offices-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  @media (max-width: 960px) {
    .offices-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

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

  .office-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-border-subtle);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
  }

  .office-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background-color: var(--color-accent);
    transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .office-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(26, 26, 26, 0.04);
    border-color: var(--color-accent);
  }

  .office-card:hover::before {
    height: 100%;
  }

  .office-card-title {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--color-charcoal);
  }

  .office-card-type {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-accent);
  }

  .office-card-detail {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    font-size: 0.9rem;
    color: rgba(26, 26, 26, 0.6);
    line-height: 1.5;
  }

  .office-card-detail svg {
    flex-shrink: 0;
    color: var(--color-accent);
    margin-top: 2px;
  }

  /* FAQ Section */
  .contact-faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
  }

  @media (max-width: 960px) {
    .contact-faq-grid {
      grid-template-columns: 1fr;
      gap: 3rem;
    }
  }

  .faq-item {
    border-bottom: 1px solid var(--color-border-subtle);
  }

  .faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    cursor: pointer;
    transition: color 0.3s;
  }

  .faq-header:hover {
    color: var(--color-accent);
  }

  .faq-question {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--color-charcoal);
    padding-right: 1.5rem;
    transition: color 0.3s;
  }

  .faq-header:hover .faq-question {
    color: var(--color-accent);
  }

  .faq-toggle-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--color-border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s;
    color: var(--color-charcoal);
  }

  .faq-item.active .faq-toggle-icon {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-white);
    transform: rotate(180deg);
  }

  .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .faq-answer-inner {
    padding-bottom: 1.5rem;
    font-size: 0.95rem;
    color: rgba(26, 26, 26, 0.6);
    line-height: 1.7;
  }

  /* Working hours sidebar */
  .working-hours-panel {
    background-color: var(--color-beige);
    border: 1px solid var(--color-border-subtle);
    padding: 2.5rem;
  }

  .hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--color-border-subtle);
  }

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

  .hours-day {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-charcoal);
  }

  .hours-time {
    font-size: 0.95rem;
    color: rgba(26, 26, 26, 0.55);
    font-weight: 300;
  }

  .hours-time.closed {
    color: rgba(220, 38, 38, 0.7);
    font-weight: 500;
  }

  /* CTA Banner */
  .contact-cta-banner {
    background: linear-gradient(135deg, var(--color-accent) 0%, #032b43 100%);
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
  }

  .contact-cta-banner::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -20%;
    width: 50%;
    height: 200%;
    background: radial-gradient(circle, rgba(115, 188, 243, 0.06) 0%, transparent 60%);
    pointer-events: none;
  }

  .contact-cta-banner::after {
    content: "";
    position: absolute;
    bottom: -50%;
    right: -10%;
    width: 40%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
  }

  .cta-banner-subtitle {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-accent-light);
    margin-bottom: 1rem;
  }

  .cta-banner-title {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 1.4rem + 2vw, 2.8rem);
    font-weight: 500;
    color: var(--color-white);
    margin-bottom: 2rem;
    line-height: 1.3;
    max-width: 700px;
    margin-inline: auto;
  }

  .btn-cta-light {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    background-color: var(--color-white);
    color: var(--color-accent);
    padding: 1rem 2.2rem;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  }

  .btn-cta-light:hover {
    background-color: var(--color-charcoal);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  }

  .btn-cta-light svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    stroke-width: 2.5;
    fill: none;
    transition: transform 0.3s;
  }

  .btn-cta-light:hover svg {
    transform: translate(2px, -2px);
  }

  /* Map */
  .map-container {
    width: 100%;
    height: 500px;
    border: 1px solid var(--color-border-subtle);
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(26, 26, 26, 0.04);
    transition: all 0.4s ease;
  }

  .map-container:hover {
    box-shadow: 0 25px 50px rgba(26, 26, 26, 0.08);
    border-color: rgba(4, 80, 124, 0.15);
  }

  .map-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  /* Section header styles for contact page */
  .section-label {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-accent);
    margin-bottom: 0.6rem;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
  }

  .section-label::before {
    content: "";
    width: 24px;
    height: 2px;
    background-color: var(--color-accent);
  }

  .section-heading {
    font-family: var(--font-serif);
    font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.2rem);
    font-weight: 500;
    color: var(--color-charcoal);
    line-height: 1.3;
  }

  .section-desc {
    font-size: 0.95rem;
    color: rgba(26, 26, 26, 0.55);
    line-height: 1.65;
    max-width: 540px;
    margin-top: 0.6rem;
  }
}

@layer utility {
  .u-relative {
    position: relative;
  }

  .u-z-index-10 {
    z-index: 10;
  }

  .text-center {
    text-align: center;
  }

  .margin-bottom-2 {
    margin-bottom: 2rem;
  }

  .overflow-hidden {
    overflow: hidden;
  }
}

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

/* Search Full-Screen Overlay — Premium Corporate Style */
.search-overlay-bar {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(10, 10, 10, 0.96);
  z-index: 2000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 20vh;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s;
}

.search-overlay-bar.active {
  opacity: 1;
  visibility: visible;
}

.search-wrapper-inner {
  width: 100%;
  max-width: 720px;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}

.search-form {
  display: flex;
  align-items: center;
  width: 100%;
  position: relative;
}

.search-input {
  width: 100%;
  font-family: var(--font-sans);
  font-size: clamp(1.2rem, 0.9rem + 1.5vw, 1.8rem);
  font-weight: 300;
  color: var(--color-white);
  padding: 1.2rem 3rem 1.2rem 0;
  border: none;
  border-bottom: 2px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  letter-spacing: 0.5px;
  transition: border-color 0.3s;
}

.search-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.search-input:focus {
  border-color: var(--color-accent);
  outline: none;
}

.search-submit-btn {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  transition: color 0.3s;
}

.search-submit-btn:hover {
  color: var(--color-accent);
}

.search-close-btn {
  position: fixed;
  top: 2.5rem;
  right: 3rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--color-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  background: transparent;
}

.search-close-btn:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: rotate(90deg);
}

/* --- SCROLL REVEAL ANIMATIONS --- */
.reveal-on-scroll {
  opacity: 0;
  will-change: transform, opacity;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-fade {
  transform: scale(0.97);
}

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

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

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

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* Stagger animation delays for cards and lists */
.delay-100 {
  transition-delay: 100ms;
}

.delay-200 {
  transition-delay: 200ms;
}

.delay-300 {
  transition-delay: 300ms;
}

.delay-400 {
  transition-delay: 400ms;
}

.delay-500 {
  transition-delay: 500ms;
}

/* --- LIVE SEARCH RESULTS PANEL (Integrated with input) --- */
.search-results-panel {
  width: 100%;
  margin-top: 0;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: none;
  padding: 1rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 400px;
  overflow-y: auto;
}

.search-results-panel.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Custom scrollbar for results */
.search-results-panel::-webkit-scrollbar {
  width: 4px;
}

.search-results-panel::-webkit-scrollbar-track {
  background: transparent;
}

.search-results-panel::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 2px;
}

.search-results-title {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 0.5rem;
  font-weight: 600;
  text-align: left;
  padding: 0.5rem 1.2rem 0;
}

.search-results-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.search-results-list li a {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.75rem 1.2rem;
  background: transparent;
  transition: background 0.2s;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  border-left: 3px solid transparent;
}

.search-results-list li a:hover {
  background: rgba(255, 255, 255, 0.04);
  border-left-color: var(--color-accent);
  color: var(--color-white);
}

.search-result-category {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent-light);
  font-weight: 600;
}

.search-result-title {
  font-size: 1rem;
  font-family: var(--font-serif);
  font-weight: 500;
}

.search-result-desc {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 300;
}

.search-no-results {
  display: none;
  text-align: center;
  padding: 2rem 1.2rem;
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.9rem;
}