/*
Theme Name: Creatify
Theme URI: https://templatesjungle.com/
Author: TemplatesJungle
Author URI: https://templatesjungle.com/
Description: Creatify is specially designed product packaged for agencies by TemplatesJungle.
Version: 1.1
*/

/*--------------------------------------------------------------
/** 1. Base Styles
--------------------------------------------------------------*/
*, *::before, *::after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
:root {
  --color-primary: #0F2D24;
  --color-secondary: #4A2F22;
  --color-ivory: #F5F0E6;
  --color-ivory-deep: #EBE3D4;
  --color-text: #2B2B2B;
  --color-muted: #6F6A63;
  --color-line: rgba(15, 45, 36, 0.14);
  --color-gray-box: rgba(20, 141, 62, 0.452);
}
@font-face {
  font-family: "Jost";
  src: url("fonts/googlefont/Jost-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("fonts/googlefont/Jost-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("fonts/googlefont/Jost-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("fonts/googlefont/Jost-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
body {
  font-family: "Jost", Verdana, sans-serif;
  font-weight: 300;
  font-size: 16px;
  color: var(--color-text);
  background: var(--color-ivory);
}
body.no-scroll {
    overflow: hidden;
    padding-right: var(--scrollbar-w, 0px);
}
body.no-scroll #header-wrap.is-sticky header#header {
    padding-right: var(--scrollbar-w, 0px);
}
a {
  font-weight: 400;
  color: var(--color-muted);
  text-decoration: none;
  transition: color 0.25s ease;
}
.btn-accent:hover {
  background-color: var(--color-secondary);
}
.btn-accent:hover{
    color: var(--color-ivory);
}
ul, ol {
  margin-top: 0;
  margin-bottom: 10px;
  margin-left: 0;
  padding: 0;
  list-style: none;
}
ul ul,
ol ul,
ul ol,
ol ol {
  margin-top: 5px;
  margin-bottom: 0;
}
ul li, ol li {
  margin-bottom: 5px;
  outline: 0;
}
ul li a:hover{
  color: var(--color-primary);
}
ul li:last-child,
ol li:last-child {
  margin-bottom: 0;
}
dl {
  margin-top: 0;
  margin-bottom: 2rem;
}
dt,
dd {
  line-height: 1.42857143;
}
dt {
  font-weight: bold;
}
dd {
  margin-left: 0;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  outline: 0;
}
button {
  transition: all 0.3s ease;
}
figure {
  margin: 0;
}
img {
  display: inline-block;
  border: 0;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
#projects,
#architecture-sprint,
#procedure,
#nuestro-equipo,
#faq,
#price-table,
#latest-blog,
#association-with,
#footer,
#footer-bottom {
  content-visibility: auto;
  contain-intrinsic-size: 1px 800px;
}
section[id] {
  scroll-margin-top: clamp(92px, 11vh, 142px);
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
::selection {
  background: rgba(0,0,0,0.8);
  color: #fff;
  text-shadow: none;
}
::-moz-selection {
  background: rgba(0,0,0,0.8);
  color: #fff;
  text-shadow: none;
}
::-webkit-input-placeholder {
  color: #EDEBE4; /* WebKit browsers */
  -webkit-transition: color .2s;
  transition: color .2s;
}
::-moz-placeholder {
  color: #053634; /* Mozilla Firefox 19+ */
  -webkit-transition: color .2s;
  transition: color .2s;
}
:-ms-input-placeholder {
  color: #053634;/* Internet Explorer 10+ */
  -webkit-transition: color .2s;
  transition: color .2s;
}
::placeholder {
  color: #053634;
  -webkit-transition: color .2s;
  transition: color .2s;
}

/* - Floating & Alignment
------------------------------------------------------------- */
.align-left {
  float: left;
  text-align: left;
}
.align-right {
  float: right;
  text-align: right;
}
.align-center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  justify-content: center;
}

/*--------------------------------------------------------------
/** 3. Typography
--------------------------------------------------------------*/

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
  line-height: 1.2;
  color: var(--color-primary);
}
h1.light, .h1, h2.light, .h2, h3.light, .h3, h4.light, .h4, h5.light, .h5, h6.light, .h6 {
  color: #fff;
}
h1, h2, h3 {
  margin: 0 0 25px;
}
h5, h6 {
  letter-spacing: 1px;
}
h1, .h1 {
  font-size: 2.5em;
  line-height: 1.4;
}
h2, .h2 {
  font-size: 1.5em;
  line-height: 1.4;
}
h3, .h3 {
  font-size: 1.4em;
  line-height: 1.4;
}
h4, .h4 {
  font-size: 1.1em;
  line-height: 1.4;
}
h5, .h5 {
  font-size: .83em;
  line-height: 1.25;
}
h6, .h6 {
  font-size: .67em;
  line-height: 1.1;
}
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
  font-weight: inherit;
  color: inherit;
  text-decoration: none;
}
p {
   margin: 0 0 20px 0;
   line-height: 2;
}
p:empty {
  display: none;
}
small {
  font-size: 85%;
}
mark {
  background-color: #fcf8e3;
  padding: 0.28rem;
}
dfn, cite, em, i {
  font-style: italic;
}
code, kbd, var {
  font-size: 14px;
}
code {
  background-color: #f9f2f4;
}
abbr {
  border-bottom: 0.1px dotted #666;
  cursor: help;
}


/*--------------------------------------------------------------
This is main CSS file that contains custom style rules used in this template
--------------------------------------------------------------*/

/* - Button
------------------------------------------------------------- */

button {
    font-size: 1em;
    font-weight: 600;
    border: none;
    height: 65px;
    cursor: pointer;
    background: transparent;
}
.btn-wrap {
    margin-top: 70px;
}
.btn-wrap a {
    font-weight: 500;
    text-transform: uppercase;
}
.btn-normal {
    color: #fff;
}
.btn-accent {
    background-color: var(--color-primary);
    color: #fff;
    padding: 20px 32px;
    border-radius: 8px;
    border: 1px solid transparent;
    display: inline-block;
    text-align: center;
    line-height: 1.4;
}
.btn-pill {
    border-radius: 50px;
}
.btn-outline-accent {
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    padding: 20px 35px;
    border-radius: 8px;
    display: inline-block;
    text-align: center;
    line-height: 1.4;
}
.btn-outline-accent:hover {
    background-color: var(--color-primary);
    color: #fff;
}
.btn-outline-light {
    border: 1px solid #fff;
    color: #fff;
    padding: 30px 50px;
}
.btn-outline-light:hover {
    background-color: #fff;
    color: var(--color-primary);
}
.btn-accent-arrow {
    color: var(--color-primary);
}
.btn-light-arrow {
    color: #fff;
}
.btn-wrap i.icon {
    transition: 0.5s ease-out;
    font-size: 9px;
    padding-left: 10px;
}
.btn-wrap:hover i.icon {
    padding-left: 20px;
}
.button-box {
    margin: 0 40px;
    width: 20%;
    display: flex;
    align-items: center;
}
i.icon.icon-ns-arrow-right {
    font-size: 11px;
    padding-left: 10px;
}


/*--- Button Hover Effect
-----------------------------------------------*/

.btn-hvr-effect {
  position: relative;
  margin: auto;
  padding: 0 22px;
  transition: all .2s ease;
  margin: 0;
  }
.btn-hvr-effect:before {
    content: "";
    position: absolute;
    top: -10px;
    right: 5px;
    display: block;
    border-radius: 28px;
    background: rgba(74, 47, 34, 0.18);
    width: 35px;
    height: 35px;
    transition: all .3s ease;
  }
.btn-hvr-effect:hover:before {
    width: 100%;
  }
.btn-hvr-effect span {
    position: relative;
    font-size: 18px;
  }
.btn-hvr-effect:hover span,
.btn-hvr-effect:hover i.icon {
      color: var(--color-primary);
   }
.btn-hvr-effect i.icon {
    position: relative;
    top: 0;
    margin-left: 10px;
    fill: none;
    transform: translateX(-5px);
    transition: all .3s ease;
    }
.btn-hvr-effect i.icon:active {
    transform: scale(.96);
  }


/*--- Image Dimension
-----------------------------------------------*/
img.single-image {
    width: 100%;
    height: 700px;
    object-fit: cover;
    border-radius: 15px;
}
img.review-image {
    width: 96px;
    border-radius: 50%;
    border: 5px solid #fff;
    box-shadow: -2px 1px 29px -9px rgb(0 0 0 / 20%);
    -webkit-box-shadow: -2px 1px 29px -9px rgb(0 0 0 / 20%);
    -moz-box-shadow: -2px 1px 29px -9px rgba(0,0,0,0.2);
}
img.post-image {
    width: 100%;
    height: 297px;
    object-fit: cover;
}
img.project-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}
img.association-image {
    height: 31px;
}
a,
.icon-box,
.project-style,
#latest-blog article,
#price-table .column,
#association-with img,
button,
.btn-accent,
.btn-outline-accent {
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.icon-box:hover,
.project-style:hover,
#latest-blog article:hover,
#price-table .column:hover {
    transform: translateY(-4px);
}


/*--- Image hover Effect
-----------------------------------------------*/
.image-hvr-effect {
    display: flex;
    overflow: hidden;
    cursor: pointer;
}
.image-hvr-effect img {
    transform: scale(1);
    will-change: transform;
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 0;
}
.image-hvr-effect:hover img {
    transform: scale(1.2);
}

/*--- Image Hover Effect Grayscale
-----------------------------------------------*/
.hvr-grayscale:hover img {
  filter: grayscale(100%);
  cursor: pointer;
}

/*--- Pattern Overlay
-----------------------------------------------*/
.pattern-overlay {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.pattern-overlay:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    background:
      linear-gradient(var(--color-gray-box), var(--color-gray-box)) 8% 20% / 160px 95px no-repeat,
      linear-gradient(var(--color-gray-box), var(--color-gray-box)) 78% 15% / 140px 78px no-repeat,
      linear-gradient(var(--color-gray-box), var(--color-gray-box)) 20% 74% / 190px 115px no-repeat,
      linear-gradient(var(--color-gray-box), var(--color-gray-box)) 82% 70% / 165px 96px no-repeat,
      repeating-linear-gradient(0deg, transparent 0 49px, rgba(15, 45, 36, 0.04) 49px 50px),
      repeating-linear-gradient(90deg, transparent 0 49px, rgba(15, 45, 36, 0.04) 49px 50px);
}
.pattern-overlay:after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.35s ease;
    background:
      radial-gradient(390px circle at var(--mx, 50%) var(--my, 50%), rgba(40, 110, 65, 0.16), transparent 65%),
      repeating-linear-gradient(110deg, rgba(40, 110, 65, 0.12) 0 1px, transparent 1px 36px),
      repeating-linear-gradient(20deg, rgba(40, 110, 65, 0.08) 0 1px, transparent 1px 42px);
    filter: blur(0.6px);
}
.pattern-overlay:hover:after {
    opacity: 0.55;
}

/*--- Section Title
-----------------------------------------------*/
h2.section-subtitle {
    font-family: "Cormorant SC", Georgia, serif;
    font-size: 1.6em;
    font-weight: 400;
    line-height: 1;
}
h2.section-subtitle.liner {
    position: relative;
    padding-left: 30px;
}
h2.section-subtitle.liner:before {
    content: "";
    position: absolute;
    top: 8px;
    left: 0;
    width: 22px;
    border-bottom: 3px solid var(--color-secondary);
}
.section-title {
    font-family: "Jost", Georgia, serif;
    font-size: 2.6em;
    font-weight: 600;
    line-height: 1.5;
    text-transform: capitalize;
}
.section-kicker {
    margin: 0 0 12px;
    font-size: 0.78rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-secondary);
    font-weight: 500;
}
.section-lead {
    margin: 18px auto 0;
    max-width: 760px;
    color: var(--color-muted);
}

/* Service Card Toggle Default */
.service-toggle-btn {
    display: none;
}
.service-toggle-label {
    display: inline-block;
}
.service-toggle-icon {
    display: none;
}
.service-card-details {
    display: block;
}

/*----- Grid Layout
--------------------------------------------------------------*/
.container {
    max-width: 1421px;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}
.row {
    display:-ms-flexbox;
    display:flex;
    -ms-flex-wrap:wrap;
    flex-wrap:wrap;
    margin-right: -15px;
    margin-left: -15px;
}
.inner-content {
    width: 100%;
    padding: 0 20px;
}
.grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;   
}
 
/* - Main Navigation
------------------------------------------------------------- */
#header-wrap {
    position: relative;
    z-index: 40;
    min-height: clamp(86px, 9vw, 138px);
}
header#header {
    padding: 14px 0;
    background-color: var(--color-ivory);
    opacity: 1;
    will-change: transform, opacity;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease, box-shadow 0.35s ease, background-color 0.35s ease;
}
#header-wrap.is-sticky header#header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    transform: translateY(-118%);
    opacity: 0;
    background: rgba(245, 240, 230, 0.94);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 28px rgba(15, 45, 36, 0.12);
}
#header-wrap.is-sticky.is-visible header#header {
    transform: translateY(0);
    opacity: 1;
}
header#header .grid {
    align-items: center;
}
.main-logo img {
    width: clamp(74px, 7.5vw, 110px);
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
}
header#header ul.menu-list {
    display: flex;
    margin: 0;
    padding: 0;
    align-items: center;
}
header#header ul.menu-list li.menu-item {
    margin: 0;
    position: relative;
}
nav#navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0;
    gap: 26px;
}
@media only screen and (min-width: 1181px) {
  nav#navbar {
      padding: 8px 10px 8px 14px;
      border-radius: 999px;
      border: 1px solid rgba(15, 45, 36, 0.14);
      background: rgba(245, 240, 230, 0.76);
      box-shadow: 0 10px 26px rgba(15, 45, 36, 0.08);
      backdrop-filter: blur(8px);
  }
}
#navbar .main-menu {
    margin-right: 0;
    display: flex;
    align-items: center;
}
.main-menu ul.menu-list a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 400;
    color: var(--color-muted);
    padding: 0 25px;
    transition: color 0.25s ease, background-color 0.25s ease;
}
.main-menu ul.menu-list a:hover {
    color: var(--color-primary);
    background: rgba(15, 45, 36, 0.06);
}
.main-menu ul.menu-list li.menu-item::after {
    content: "";
    position: absolute;
    left: 26px;
    right: 26px;
    bottom: -9px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(74, 47, 34, 0.82), rgba(15, 45, 36, 0.7));
    transform: scaleX(0.2);
    transform-origin: center;
    opacity: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
}
.main-menu ul.menu-list li.menu-item.active::after {
    transform: scaleX(1);
    opacity: 1;
}
.main-menu ul.menu-list li.menu-item.active > a.nav-link,
.main-menu ul.menu-list li.menu-item > a.nav-link[aria-current="page"] {
    color: var(--color-primary);
    background: rgba(15, 45, 36, 0.08);
}
.main-menu .hamburger {
    display: none;
    position: relative;
}
.main-menu .hamburger .bar {
    position: absolute;
    left: 50%;
    display: block;
    width: 20px;
    height: 2px;
    margin: 0;
    border-radius: 999px;
    -webkit-transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), top 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), top 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
    background-color: currentColor;
    transform: translateX(-50%);
    transform-origin: center;
}
.main-menu .hamburger .bar:nth-child(1) {
    top: 14px;
}
.main-menu .hamburger .bar:nth-child(2) {
    top: 21px;
}
.main-menu .hamburger .bar:nth-child(3) {
    top: 28px;
}
#navbar .btn-hvr-effect {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid rgba(15, 45, 36, 0.28);
    background: transparent;
    color: var(--color-primary);
    line-height: 1;
}
#navbar .btn-hvr-effect:before {
    display: none;
}
#navbar .btn-hvr-effect span {
    font-size: 14px;
    letter-spacing: 0.03em;
}
#navbar .btn-hvr-effect i.icon {
    top: auto;
    margin-left: 8px;
    transform: none;
    font-size: 11px;
    padding-left: 0;
}
#navbar .btn-hvr-effect:hover {
    background: var(--color-primary);
    color: #fff;
    box-shadow: 0 8px 18px rgba(15, 45, 36, 0.2);
}
#navbar .btn-hvr-effect:hover i.icon {
    color: inherit;
}
#navbar .btn-hvr-effect:hover span {
    color: inherit;
}

@media only screen and (max-width: 1180px) {
    #navbar .btn-hvr-effect {
      display: none;
    }
    .main-logo {
      margin: 0;
    }
    nav#navbar {
        justify-content: flex-end;
        gap: 0;
    }
    .main-menu {
        position: relative;
    }
    .main-menu ul.menu-list {
        position: absolute;
        top: calc(100% + 14px);
        right: 0;
        width: min(340px, calc(100vw - 32px));
        flex-direction: column;
        text-align: left;
        padding: 10px;
        border-radius: 18px;
        border: 1px solid rgba(15, 45, 36, 0.12);
        background:
          radial-gradient(120px 120px at 85% -8%, rgba(74, 47, 34, 0.16), transparent 62%),
          rgba(245, 240, 230, 0.98);
        box-shadow: 0 24px 46px rgba(15, 45, 36, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.6);
        backdrop-filter: blur(10px);
        z-index: 50;
        max-height: calc(100vh - 120px);
        overflow-y: auto;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px) scale(0.98);
        pointer-events: none;
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
        margin: 0;
    }
    .main-menu .menu-list.responsive {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
        pointer-events: auto;
    }
    .main-menu .menu-list li.menu-item {
       margin-bottom: 0;
    }
    .main-menu .menu-list li.menu-item + li.menu-item {
       margin-top: 4px;
    }
    .main-menu ul.menu-list a,
    #navbar .menu-list.responsive a {
      font-size: 16px;
      font-weight: 500;
      color: var(--color-primary);
      border-bottom: none;
      display: block;
      padding: 12px 14px;
      border-radius: 12px;
      letter-spacing: 0.01em;
    }
    #navbar .menu-list.responsive a:hover {
      color: var(--color-primary);
      background: rgba(15, 45, 36, 0.08);
    }
    .main-menu .menu-list.responsive li.menu-item::after {
      display: none;
    }
    .main-menu .menu-list.responsive li.menu-item.active > a.nav-link,
    .main-menu .menu-list.responsive li.menu-item > a.nav-link[aria-current="page"] {
      background: rgba(15, 45, 36, 0.14);
      box-shadow: inset 0 0 0 1px rgba(15, 45, 36, 0.12);
    }
    .main-menu .hamburger {
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 44px;
        height: 44px;
        border-radius: 50%;
        border: 1px solid rgba(15, 45, 36, 0.18);
        background: rgba(245, 240, 230, 0.98);
        color: var(--color-primary);
        padding: 0;
        z-index: 60;
        cursor: pointer;
        overflow: visible;
        transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
    }
    .main-menu .hamburger:focus-visible {
        outline: 2px solid rgba(15, 45, 36, 0.4);
        outline-offset: 3px;
    }
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
        transform: translateX(-50%) scaleX(0.5);
    }

    .hamburger.active .bar:nth-child(1) {
        top: 21px;
        transform: translateX(-50%) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        top: 21px;
        transform: translateX(-50%) rotate(-45deg);
    }
    .hamburger.active {
        background: var(--color-primary);
        border-color: var(--color-primary);
        color: #fff;
    }
 }

@media only screen and (max-width: 750px) {
  #header-wrap {
      min-height: 86px;
  }
  header#header {
      padding: 10px 0;
  }
  .main-logo img {
      width: 66px;
  }
  .main-menu ul.menu-list {
      width: min(320px, calc(100vw - 20px));
  }
}

/*----- Billboard
--------------------------------------------------------------*/
#billboard {
    background-color: var(--color-ivory);
    overflow: hidden;
}
#billboard .main-banner {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: none;
    min-height: min(88vh, 880px);
    margin: 0;
    padding: 110px 80px 120px;
    position: relative;
    --mx: 50%;
    --my: 50%;
}
#billboard .banner-content {
    width: min(860px, 100%);
    padding-top: 0;
    margin-right: 0;
    text-align: center;
    position: relative;
    z-index: 2;
}
.banner-content .banner-title {
    font-size: clamp(2.2em, 4.2vw, 4em);
    line-height: 1.2;
    font-weight: 600;
    color: var(--color-primary);
}
.banner-content .hero-kicker {
    margin: 0 auto 18px;
    max-width: 760px;
    color: var(--color-secondary);
    font-size: 0.8rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 500;
}
.banner-content > p:not(.hero-kicker) {
    margin: 0 auto 55px;
    max-width: 760px;
    color: var(--color-muted);
}
.banner-content p.hero-kicker {
    margin: 0 auto 18px;
    max-width: 760px;
    color: var(--color-secondary);
}
.hero-cta-group {
    margin-top: 0;
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}
.scroll-indicator {
    position: absolute;
    bottom: 34px;
    left: 50%;
    transform: translateX(-50%);
    border: 1px solid rgba(15, 45, 36, 0.28);
    border-radius: 999px;
    padding: 12px 18px;
    min-width: 44px;
    height: auto;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-primary);
    background: rgba(245, 240, 230, 0.88);
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    line-height: 1;
}
.scroll-indicator span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.scroll-indicator::after {
    content: "";
    position: relative;
    width: 8px;
    height: 8px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    animation: indicator-bob 1.2s ease-in-out infinite;
    flex: 0 0 auto;
}
.scroll-indicator:hover {
    background: var(--color-primary);
    color: #fff;
    transform: translateX(-50%) translateY(-2px);
}
@keyframes indicator-bob {
    0% { transform: translateY(-2px) rotate(45deg); opacity: 0.8; }
    50% { transform: translateY(1px) rotate(45deg); opacity: 1; }
    100% { transform: translateY(-2px) rotate(45deg); opacity: 0.8; }
}

@media only screen and (max-width: 1370px) {
  #billboard .main-banner {
      padding: 90px 50px 120px;
  }
}
@media only screen and (max-width: 1200px) {
  #billboard .main-banner {
      min-height: auto;
      padding: 85px 40px;
  }
}
@media only screen and (max-width: 1080px) {
  #billboard .main-banner {
      padding: 80px 34px;
  }
}
@media only screen and (max-width: 820px) {
  #billboard .main-banner {
      padding: 75px 24px 95px;
  }
  .scroll-indicator {
      display: none;
  }
}
@media only screen and (max-width: 630px) {
  #billboard .main-banner {
      padding: 58px 18px 82px;
  }
  .banner-content .banner-title {
      font-size: 2.4em;
  }
}
@media only screen and (max-width: 500px) {
  #billboard .main-banner {
      width: 100%;
  }
  .hero-cta-group .btn-accent,
  .hero-cta-group .btn-outline-accent {
      width: 100%;
      text-align: center;
  }
}



/*----- About Section
--------------------------------------------------------------*/
#about {
    padding: 130px 65px;
    background: var(--color-ivory-deep);
}
#about figure {
    width: 45%;
    margin-right: 85px;
}
#about .detail-entry {
    width: 45%;
    margin-top: 100px;
}
#about .detail-entry .detail-wrap {
    width: 85%;
}

@media only screen and (max-width: 1040px) {
  #about figure {
      width: 90%;
      margin-right: 0;
  }
  #about img.single-image {
      height: 500px;
  }
  #about .detail-entry {
      width: 90%;
  }
}

@media only screen and (max-width: 767px) {
}

@media only screen and (max-width: 620px) {
  #about {
      padding: 130px 0;
  }
}

/*----- Services Section
--------------------------------------------------------------*/
#services {
    padding: 165px 0;
    background:
      radial-gradient(500px 280px at 90% 10%, rgba(74, 47, 34, 0.08), transparent 72%),
      linear-gradient(180deg, #f7f2e9 0%, #efe7d9 100%);
    position: relative;
    overflow: hidden;
}
#services .service-content {
    width: min(1100px, 100%);
    margin: 0 auto;
}
#services .services-intro {
    width: min(760px, 100%);
    margin: 0 auto 68px;
    text-align: center;
}
#services .services-intro .section-header {
    width: 100%;
}
#services .services-intro .section-kicker {
    display: inline-block;
}
#services .services-intro .section-lead {
    margin: 20px auto 0;
    max-width: 62ch;
}
#services .services-stack {
    display: flex;
    flex-direction: column;
    gap: 34px;
}
#services .service-card {
    --service-accent-rgb: 74, 47, 34;
    position: relative;
    border-radius: 28px;
    border: 1px solid rgba(15, 45, 36, 0.14);
    background:
      linear-gradient(130deg, rgba(255, 255, 255, 0.95), rgba(245, 240, 230, 0.8));
    box-shadow: 0 18px 40px rgba(15, 45, 36, 0.1);
    padding: 60px 50px 55px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    isolation: isolate;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}
#services .service-card:nth-child(1) {
    --service-accent-rgb: 74, 47, 34;
}
#services .service-card:nth-child(2) {
    --service-accent-rgb: 15, 70, 56;
}
#services .service-card:nth-child(3) {
    --service-accent-rgb: 130, 92, 30;
}
#services .service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(var(--service-accent-rgb), 0.14), rgba(var(--service-accent-rgb), 0.04) 45%, transparent 78%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
    z-index: 1;
}
#services .service-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 180px;
    height: 3px;
    background: linear-gradient(90deg, rgba(var(--service-accent-rgb), 0.98), rgba(var(--service-accent-rgb), 0.35));
    opacity: 0.8;
    transition: width 0.35s ease, opacity 0.35s ease;
    z-index: 2;
}
#services .service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(15, 45, 36, 0.24);
    box-shadow: 0 24px 52px rgba(15, 45, 36, 0.16);
}
#services .service-card:focus-within {
    transform: translateY(-6px);
    border-color: rgba(15, 45, 36, 0.24);
    box-shadow: 0 24px 52px rgba(15, 45, 36, 0.16);
}
#services .service-card:hover::before {
    opacity: 1;
}
#services .service-card:focus-within::before {
    opacity: 1;
}
#services .service-card:hover::after {
    width: 100%;
    opacity: 1;
}
#services .service-card:focus-within::after {
    width: 100%;
    opacity: 1;
}
.service-watermark {
    position: absolute;
    right: -10px;
    top: -20px;
    font-size: 14rem;
    font-weight: 800;
    line-height: 1;
    color: var(--color-primary);
    opacity: 0.04;
    z-index: 0;
    pointer-events: none;
    font-family: "Jost", sans-serif;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
#services .service-card:hover .service-watermark {
    opacity: 0.07;
    transform: translateX(-10px);
}
#services .service-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    position: relative;
    z-index: 2;
}
#services .service-card-number {
    order: 2;
    margin: 0;
    margin-left: auto;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgb(var(--service-accent-rgb));
    line-height: 1.2;
    font-weight: 700;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid rgba(var(--service-accent-rgb), 0.35);
    background: rgba(var(--service-accent-rgb), 0.08);
    display: inline-block;
    transition: background-color 0.28s ease, border-color 0.28s ease, transform 0.28s ease;
}
#services .service-card:hover .service-card-number,
#services .service-card:focus-within .service-card-number {
    background: rgba(var(--service-accent-rgb), 0.15);
    border-color: rgba(var(--service-accent-rgb), 0.52);
    transform: translateY(-1px);
}
#services .service-card-title {
    order: 1;
    flex: 1 1 auto;
    margin: 0;
    font-size: clamp(1.8rem, 2.8vw, 2.4rem);
    line-height: 1.2;
    color: var(--color-primary);
    max-width: 24ch;
}
#services .service-card-body {
    margin-top: 35px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 74ch;
    position: relative;
    z-index: 2;
}
#services .service-card-description {
    margin: 0;
    color: var(--color-muted);
    line-height: 1.75;
}
#services .service-card-description.is-lead {
    color: var(--color-primary);
    font-weight: 500;
    line-height: 1.65;
}
#services .service-card-result {
    margin: 0;
    padding: 14px 16px 14px 18px;
    border-left: 3px solid rgba(var(--service-accent-rgb), 0.7);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.58);
    color: var(--color-primary);
}
#services .service-card-result strong {
    color: var(--color-primary);
}
#services .service-case-title {
    margin: 32px 0 14px;
    font-size: 0.82rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-primary);
}
#services .service-case-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 26px;
    margin: 0;
    padding: 0;
}
#services .service-case-list li {
    position: relative;
    margin: 0;
    padding-left: 18px;
    color: var(--color-primary);
    line-height: 1.58;
}
#services .service-case-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(var(--service-accent-rgb), 0.65);
}

@media only screen and (max-width: 1140px) {
  #services {
      padding: 142px 0;
  }
}

@media only screen and (max-width: 1040px) {
  #services {
      padding: 120px 0;
  }
  #services .service-card {
      padding: 50px 40px 45px;
      border-radius: 24px;
  }
}

@media only screen and (max-width: 860px) {
  #services .services-stack {
      gap: 20px;
  }
  #services .service-card {
      padding: 30px 26px 28px;
      border-radius: 18px;
  }
  #services .service-card-top {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      grid-template-areas:
          "title toggle"
          "number number";
      align-items: start;
      gap: 10px 14px;
  }
  #services .service-card-number {
      grid-area: number;
      order: 0;
      margin-left: 0;
      display: inline-block;
      font-size: 0.68rem;
      padding: 6px 11px;
  }
  #services .service-card-title {
      grid-area: title;
      font-size: clamp(1.34rem, 5.4vw, 1.68rem);
      margin: 0;
      max-width: 100%;
      text-align: left;
  }
  #services .service-card-body {
      margin-top: 0;
      max-width: 100%;
      gap: 16px;
  }
  #services .service-case-title {
      margin-top: 24px;
  }
  #services .service-case-list {
      grid-template-columns: 1fr;
      gap: 9px;
  }

  /* Service Card Toggle Styles */
  #services .service-card.is-collapsible .service-toggle-btn {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      grid-area: toggle;
      border: 1px solid rgba(15, 45, 36, 0.25);
      background: rgba(255, 255, 255, 0.72);
      color: var(--color-primary);
      border-radius: 999px;
      padding: 6px 10px;
      line-height: 1;
      font-size: 0.68rem;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      font-weight: 700;
      cursor: pointer;
      transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
  }
  #services .service-card.is-collapsible .service-toggle-btn:hover {
      background: rgba(255, 255, 255, 0.92);
      border-color: rgba(15, 45, 36, 0.42);
  }
  #services .service-card.is-collapsible .service-toggle-btn:focus-visible {
      outline: 2px solid rgba(15, 45, 36, 0.48);
      outline-offset: 2px;
  }
  #services .service-toggle-label {
      white-space: nowrap;
  }
  #services .service-toggle-icon {
      display: block !important;
      width: 18px;
      height: 18px;
      position: relative;
      border: 1px solid currentColor;
      border-radius: 50%;
      flex-shrink: 0;
  }
  #services .service-toggle-icon::before,
  #services .service-toggle-icon::after {
      content: '';
      position: absolute;
      background-color: currentColor;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  }
  #services .service-toggle-icon::before {
      width: 8px;
      height: 2px;
  }
  #services .service-toggle-icon::after {
      width: 2px;
      height: 8px;
  }

  #services .service-card.is-collapsible.active .service-toggle-icon::after {
      transform: translate(-50%, -50%) rotate(90deg);
  }

  #services .service-card.is-collapsible .service-card-details {
      max-height: 0;
      overflow: hidden;
      opacity: 0;
      margin-top: 0;
      transition: max-height 0.52s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease, margin-top 0.35s ease;
  }

  #services .service-card.is-collapsible.active .service-card-details {
      max-height: 1400px;
      opacity: 1;
      margin-top: 16px;
  }

  #services .service-card.is-collapsible.active .service-toggle-btn {
      background: rgba(15, 45, 36, 0.1);
      border-color: rgba(15, 45, 36, 0.38);
  }
}

@media only screen and (max-width: 620px) {
  #services {
      padding: 92px 0;
  }
  #services .services-intro {
      margin-bottom: 42px;
  }
  #services .service-card {
      padding: 35px 25px 30px;
      border-radius: 18px;
  }
  #services .service-card-body {
      margin-top: 16px;
      gap: 16px;
  }
  #services .service-card.is-collapsible .service-card-body {
      margin-top: 0;
  }
  #services .service-card.is-collapsible .service-toggle-btn {
      gap: 8px;
      padding: 6px 9px;
      font-size: 0.64rem;
  }
  #services .service-card-description {
      font-size: 0.98rem;
      line-height: 1.7;
  }
  #services .service-card-description.is-lead {
      font-size: 1.03rem;
      line-height: 1.62;
  }
  #services .service-case-title {
      margin: 30px 0 12px;
  }
  #services .service-card-result {
      padding: 12px 14px 12px 16px;
      font-size: 0.96rem;
      line-height: 1.6;
  }
  #services .service-case-list li {
      line-height: 1.54;
  }
}

/*----- Architecture Sprint Section
--------------------------------------------------------------*/
#architecture-sprint {
    padding: 110px 0;
    background:
      radial-gradient(460px 260px at 12% 12%, rgba(15, 70, 56, 0.08), transparent 72%),
      linear-gradient(180deg, #f1e9dc 0%, #f8f3ea 100%);
}
#architecture-sprint .architecture-sprint-shell {
    width: min(980px, 100%);
    margin: 0 auto;
}
#architecture-sprint .section-header {
    margin-bottom: 44px;
}
#architecture-sprint .section-kicker {
    display: inline-block;
}
#architecture-sprint .section-lead {
    max-width: 860px;
}
#architecture-sprint .architecture-sprint-content {
    margin-top: 30px;
}
#architecture-sprint .architecture-sprint-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 18px;
}
#architecture-sprint .architecture-sprint-list li {
    padding: 10px 0 10px 28px;
    color: var(--color-muted);
    line-height: 1.62;
    position: relative;
    border-bottom: 1px solid rgba(15, 45, 36, 0.08);
}
#architecture-sprint .architecture-sprint-list li:last-child {
    border-bottom: none;
}
#architecture-sprint .architecture-sprint-list li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 20px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
}
#architecture-sprint .btn-wrap {
    margin-top: 32px;
    text-align: center;
}

@media only screen and (max-width: 900px) {
  #architecture-sprint .architecture-sprint-list {
      grid-template-columns: 1fr;
  }
}

@media only screen and (max-width: 620px) {
  #architecture-sprint {
      padding: 86px 0;
  }
  #architecture-sprint .architecture-sprint-list li {
      padding: 12px 0 12px 24px;
  }
  #architecture-sprint .architecture-sprint-list li::before {
      left: 0;
      top: 21px;
  }
}

/*----- Projects Section
--------------------------------------------------------------*/
#projects {
    background-color: var(--color-ivory);
    padding: 130px 0;
    position: relative;
    overflow: clip;
}
#projects .grid {
    justify-content: start;
    align-items: end;
}
#projects .project-style {
    width: 32%;
    margin-right: 25px;
}
#projects .project-style:last-child {
    margin-right: 0;
}
#projects .project-grid.slick-initialized .project-style {
    margin-right: 0;
    padding: 0 20px;
}
#projects .project-grid.slick-initialized {
    margin: 0 -20px;
}
#projects .project-style figcaption {
    display: flex;
    background: #fff;
    padding: 30px 20px;
    justify-content: space-between;
    align-items: center;
}
#projects .project-style:hover figcaption {
    cursor: pointer;
    background: var(--color-ivory);
}
#projects .project-style h3 {
    font-size: 1.2em;
    text-transform: capitalize;
    margin: 0;
}
#projects .category-title {
    font-size: 15px;
}

#projects .slick-dots li button:before {
    font-size: 40px;
}
.tab-content .grid {
    padding-bottom: 60px;
    position: relative;
}
#projects .tabs {
    justify-content: center;
    margin-bottom: 40px;
    margin-left: 250px;
}
#projects .tabs .tab {
    padding-right: 30px;
    color: #8d867d;
    cursor: pointer;
    border: none;
    background: none;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background-color 0.22s ease, color 0.22s ease;
}
#projects .tabs .tab.active,
#projects .tabs .tab:focus-visible {
    color: var(--color-ivory);
    background: var(--color-primary);
    box-shadow: 0 8px 20px rgba(15,45,36,0.12);
}
#projects .tabs .tab:hover {
    color: var(--color-ivory);
    background: var(--color-primary);
    box-shadow: 0 8px 20px rgba(15,45,36,0.08);
}

#projects .slick-arrow {
    position: absolute;
    top: calc(50% - 16px);
    transform: translateY(-50%);
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1.5px solid var(--color-line);
    border-radius: 50%;
    background: rgba(245, 240, 230, 0.85);
    color: var(--color-primary);
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
    padding: 0;
    font-size: 0;
    line-height: 0;
}
#projects .slick-arrow:hover,
#projects .slick-arrow:focus {
    background: var(--color-primary);
    color: var(--color-ivory);
    border-color: var(--color-primary);
    outline: none;
}
#projects .slick-prev {
    left: -24px;
}
#projects .slick-next {
    right: -24px;
}

.slick-dots li.slick-active button:before {
    outline: 2px solid #D7D7D7;
    border-radius: 50%;
}

@media only screen and (max-width: 1500px) {
  #projects .slick-prev {
      left: 0;
  }
  #projects .slick-next {
      right: 0;
  }
  #projects .slick-arrow {
      width: 42px;
      height: 42px;
      background: rgba(245, 240, 230, 0.92);
  }
}

@media only screen and (max-width: 1400px) {
  #projects .project-style h3 {
      font-size: 1em;
  }
}

@media only screen and (max-width: 1300px) {
  #projects .tabs {
      margin-left: 50px;
  }
}

@media only screen and (max-width: 1200px) {
  .project-grid .slick-slide img {
      width: 100%;
  }
}

@media only screen and (max-width: 900px) {
  .project-grid img.project-image {
      height: auto;
  }
}

@media only screen and (max-width: 780px) {
  #projects .tabs {
      margin-left: 0;
  }
  #projects .tabs .tab {
      font-size: 15px;
      color: #fff;
      background: var(--color-primary);
      padding: 10px;
      margin-right: 10px;
      margin-bottom: 6px;
      border-radius: 10px;
      border: none;
  }
  #projects .tabs .tab.active {
      background: var(--color-secondary);
  }
  #projects .tabs .tab:focus-visible {
      outline: 2px solid #fff;
      outline-offset: 2px;
  }
}

/*----- Procedure Section (Timeline)
--------------------------------------------------------------*/
#procedure {
    padding: 130px 0;
    content-visibility: visible;
    contain-intrinsic-size: auto;
    background:
      radial-gradient(460px 260px at 10% 0, rgba(74, 47, 34, 0.09), transparent 72%),
      linear-gradient(180deg, #efe7d9 0%, #f7f2e9 100%);
}
#procedure .section-header {
    width: min(820px, 100%);
    margin: 0 auto 60px;
}

/* Timeline Container */
.timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 0;
}

/* Central Line */
.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(15, 45, 36, 0.1);
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%; /* JS will animate this */
    background: linear-gradient(180deg, rgba(74, 47, 34, 0.9), var(--color-primary));
    box-shadow: 0 0 12px rgba(15, 45, 36, 0.2);
    transition: height 0.1s linear;
}

/* Timeline Items */
.timeline-item {
    display: flex;
    justify-content: center; /* Centered relative to container */
    padding-bottom: 60px;
    position: relative;
    width: 100%;
    --timeline-delay: 0ms;
    --timeline-accent-rgb: 74, 47, 34;
}
.timeline-item:nth-child(3n+2) {
    --timeline-accent-rgb: 15, 70, 56;
}
.timeline-item:nth-child(3n+3) {
    --timeline-accent-rgb: 130, 92, 30;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse; /* Flip for alternating layout */
}

/* Timeline Content */
.timeline-content {
    width: 45%; /* Half width minus gap */
    background: #fff;
    padding: 35px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(15, 45, 36, 0.05);
    border: 1px solid rgba(15, 45, 36, 0.08);
    position: relative;
    z-index: 2;
    overflow: hidden;
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
    will-change: transform, opacity, filter;
    transition:
        opacity 1.05s cubic-bezier(0.22, 1, 0.36, 1),
        transform 1.05s cubic-bezier(0.22, 1, 0.36, 1),
        filter 1.05s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}
.timeline-content::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, rgba(var(--timeline-accent-rgb), 0.9), rgba(var(--timeline-accent-rgb), 0.25));
    z-index: 0;
}
.timeline-content > * {
    position: relative;
    z-index: 1;
}

/* Progressive Enhancement: Only hide if JS is active */
.timeline-container.js-active.is-enhanced .timeline-item:nth-child(odd) .timeline-content {
    opacity: 0;
    transform: translate3d(-56px, 0, 0) scale(0.985);
    filter: blur(6px);
}
.timeline-container.js-active.is-enhanced .timeline-item:nth-child(even) .timeline-content {
    opacity: 0;
    transform: translate3d(56px, 0, 0) scale(0.985);
    filter: blur(6px);
}

.timeline-container.js-active.is-enhanced:not(.is-ready) .timeline-content {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
}

/* Add margin to separate from center line */
.timeline-item:nth-child(odd) .timeline-content {
    margin-right: auto;
    margin-left: 0;
}
.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
    margin-right: 0;
}

/* Active State (Scroll Triggered) */
.timeline-container.js-active.is-enhanced .timeline-item.visible .timeline-content {
    opacity: 1 !important;
    transform: translate3d(0, 0, 0) !important;
    filter: blur(0) !important;
    transition-delay: var(--timeline-delay);
    border-color: rgba(15, 45, 36, 0.14);
    box-shadow: 0 18px 42px rgba(15, 45, 36, 0.14);
}

/* Marker (Dot) */
.timeline-marker {
    position: absolute;
    left: 50%;
    top: 35px; /* Align with content top */
    transform: translateX(-50%) scale(0.7);
    width: 16px;
    height: 16px;
    background: #fff;
    border: 3px solid var(--color-primary);
    border-radius: 50%;
    z-index: 3;
    opacity: 0.4;
    transition:
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.7s cubic-bezier(0.22, 1, 0.36, 1),
        background-color 0.7s ease,
        opacity 0.7s ease;
}

.timeline-container.js-active.is-enhanced .timeline-item .timeline-marker {
    opacity: 0;
    transform: translateX(-50%) scale(0.55);
}

.timeline-container.js-active.is-enhanced:not(.is-ready) .timeline-item .timeline-marker {
    opacity: 1;
    transform: translateX(-50%) scale(1);
}

.timeline-item.visible .timeline-marker {
    background: var(--color-primary);
    opacity: 1;
    transform: translateX(-50%) scale(1.15);
    box-shadow: 0 0 0 6px rgba(15, 45, 36, 0.1);
    transition-delay: calc(var(--timeline-delay) + 160ms);
}

/* Content Typography */
.timeline-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.timeline-tags .tag {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    color: rgb(var(--timeline-accent-rgb));
    border: 1px solid rgba(var(--timeline-accent-rgb), 0.22);
    background: rgba(var(--timeline-accent-rgb), 0.08);
    padding: 6px 14px;
    border-radius: 50px;
}

.timeline-title {
    font-size: 1.45rem;
    margin: 0 0 12px;
    color: var(--color-primary);
    font-weight: 600;
}

.timeline-summary {
    color: var(--color-muted);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 15px;
}

.timeline-list {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid rgba(15, 45, 36, 0.08);
    padding-top: 15px;
}

.timeline-list li {
    font-size: 0.92rem;
    color: var(--color-muted);
    position: relative;
    padding-left: 20px;
    margin-bottom: 6px;
}

.timeline-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-secondary);
    opacity: 0.6;
}

/* Responsive (Mobile) */
@media only screen and (max-width: 850px) {
    .timeline-line {
        left: 30px; /* Move line to left */
        transform: none;
    }
    
    .timeline-item {
        flex-direction: column; /* Stack normally */
        padding-left: 60px; /* Space for line */
        padding-bottom: 40px;
    }
    
    .timeline-item:nth-child(even) {
        flex-direction: column; /* Reset even items */
    }
    
    .timeline-content {
        width: 100%; /* Full width */
        margin: 0 !important; /* Reset margins */
    }
    
    .timeline-marker {
        left: 30px; /* Align with line */
        transform: translateX(-50%);
    }
    
    .timeline-item.visible .timeline-marker {
        transform: translateX(-50%) scale(1.1);
    }

    /* Reset animation to vertical for mobile */
    .timeline-container.js-active.is-enhanced .timeline-item:nth-child(odd) .timeline-content,
    .timeline-container.js-active.is-enhanced .timeline-item:nth-child(even) .timeline-content {
        transform: translateY(34px) scale(0.99);
        opacity: 0;
        filter: blur(6px);
    }
    .timeline-container.js-active.is-enhanced .timeline-item.visible .timeline-content {
        transform: translateY(0) scale(1) !important;
        opacity: 1 !important;
        filter: blur(0) !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .timeline-content,
    .timeline-marker,
    .timeline-progress {
        transition: none !important;
    }

    .timeline-container.js-active.is-enhanced .timeline-item:nth-child(odd) .timeline-content,
    .timeline-container.js-active.is-enhanced .timeline-item:nth-child(even) .timeline-content {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
    }

    .timeline-container.js-active.is-enhanced .timeline-item .timeline-marker,
    .timeline-item.visible .timeline-marker {
        opacity: 1 !important;
        transform: translateX(-50%) scale(1) !important;
        box-shadow: none !important;
    }

    #services .service-card,
    #services .service-card::before,
    #services .service-card::after,
    #services .service-card-number,
    #latest-blog article.column,
    #latest-blog .image-hvr-effect img,
    #latest-blog .post-title a,
    #latest-blog .categories,
    #latest-blog .post-cta::after {
        transition: none !important;
    }

    #services .service-card:hover,
    #services .service-card:focus-within,
    #latest-blog article.column:hover {
        transform: none !important;
    }
}


/*----- Nuestro Equipo Section
--------------------------------------------------------------*/
#nuestro-equipo {
    padding: 130px 0;
    background:
      radial-gradient(460px 260px at 90% 10%, rgba(74, 47, 34, 0.08), transparent 72%),
      linear-gradient(180deg, #f7f2e9 0%, #efe7d9 100%);
    overflow: hidden;
}
#nuestro-equipo .section-header {
    margin-bottom: 72px;
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}
.team-card {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(15, 45, 36, 0.12);
    border-radius: 28px;
    padding: 44px 40px;
    box-shadow: 0 18px 46px rgba(15, 45, 36, 0.09);
    position: relative;
    overflow: hidden;
    transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.38s ease, border-color 0.38s ease;
}
.team-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    opacity: 0.75;
}
.team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 58px rgba(15, 45, 36, 0.15);
    border-color: rgba(15, 45, 36, 0.22);
}
.team-card-avatar {
    flex-shrink: 0;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.06em;
    box-shadow: 0 8px 22px rgba(15, 45, 36, 0.22);
    margin-top: 4px;
}
.team-card-body {
    flex: 1 1 auto;
    min-width: 0;
}
.team-card-name {
    font-size: 1.55rem;
    font-weight: 700;
    margin: 0 0 6px;
    color: var(--color-primary);
}
.team-card-role {
    font-size: 0.76rem;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--color-secondary);
    font-weight: 600;
    margin: 0 0 18px;
    line-height: 1.55;
}
.team-card-bio {
    font-size: 0.97rem;
    line-height: 1.78;
    color: var(--color-muted);
    margin: 0 0 24px;
}
.team-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.team-card-tags span {
    font-size: 0.71rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--color-primary);
    border: 1px solid rgba(15, 45, 36, 0.28);
    background: rgba(15, 45, 36, 0.06);
    padding: 5px 12px;
    border-radius: 999px;
    transition: background-color 0.25s ease, border-color 0.25s ease;
}
.team-card:hover .team-card-tags span {
    background: rgba(15, 45, 36, 0.1);
    border-color: rgba(15, 45, 36, 0.36);
}

@media only screen and (max-width: 960px) {
  .team-grid {
      grid-template-columns: 1fr;
      gap: 24px;
      max-width: 680px;
  }
}

@media only screen and (max-width: 620px) {
  #nuestro-equipo {
      padding: 92px 0;
  }
  #nuestro-equipo .section-header {
      margin-bottom: 48px;
  }
  .team-card {
      flex-direction: column;
      gap: 22px;
      padding: 30px 24px;
      border-radius: 20px;
  }
  .team-card-avatar {
      width: 72px;
      height: 72px;
      font-size: 1.15rem;
  }
  .team-card-name {
      font-size: 1.35rem;
  }
}

/* WhatsApp footer link */
.footer-whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary);
    transition: color 0.25s ease;
}
.footer-whatsapp-link:hover {
    color: #25D366;
}
#footer-bottom .social-links li {
    padding-left: 0;
}


/*----- Affordable Price Section
--------------------------------------------------------------*/
#price-table {
    padding-bottom: 80px;
}
#price-table .column {
    width: 32%;
    padding: 85px 100px;
    box-shadow: -2px 1px 29px -9px rgb(0 0 0 / 20%);
    -webkit-box-shadow: -2px 1px 29px -9px rgb(0 0 0 / 20%);
    -moz-box-shadow: -2px 1px 29px -9px rgba(0,0,0,0.2);
}
#price-table .column:hover {
    cursor: pointer;
    background: #fcf8ef;
}
#price-table .category-title {
    font-size: 1.5em;
    font-weight: 600;
}
#price-table i.icon {
    font-size: 4em;
    color: #EDBD0E;
    background: #FEF6DB;
    border-radius: 50%;
    width: 162px;
    height: 162px;
    justify-content: center;
    display: flex;
    align-items: center;
    margin: 30px auto;
}
#price-table .price strong {
    font-size: 4.2em;
}
#price-table .price {
    display: flex;
    justify-content: center;
    align-items: baseline;
    margin: 35px 0 60px;
}
#price-table sup {
    font-size: 1.2em;
    top: -1.5em;  
}
#price-table ul li {
    padding-bottom: 20px;
    margin-bottom:20px;
    border-bottom: 1px solid #F8F8F8;
}

@media only screen and (max-width: 1280px) {
  #price-table .column {
      padding: 85px 30px;
  }
}

@media only screen and (max-width: 980px) {
  #price-table .column {
      width: 50%;
  }
}

@media only screen and (max-width: 767px) {
  #price-table .column {
      width: 80%;
  }
}

/*----- Blog Section
--------------------------------------------------------------*/

#latest-blog {
    margin: 108px 0;
    padding: 36px 0 12px;
    background:
      radial-gradient(360px 210px at 90% 0, rgba(74, 47, 34, 0.08), transparent 72%),
      linear-gradient(180deg, #f7f2e9 0%, #f2eadc 100%);
}
#latest-blog .grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    justify-content: center;
    gap: 28px;
}
#latest-blog article.column {
    width: auto;
    grid-column: span 4;
    display: flex;
    flex-direction: column;
    border-radius: 24px;
    border: 1px solid rgba(15, 45, 36, 0.12);
    background: rgba(255, 255, 255, 0.92);
    overflow: hidden;
    box-shadow: 0 14px 32px rgba(15, 45, 36, 0.08);
    transform: translateY(0);
}
#latest-blog article.column.is-featured {
    grid-column: span 8;
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr);
}
#latest-blog article.column.is-featured figure,
#latest-blog article.column.is-featured .image-hvr-effect {
    height: 100%;
}
#latest-blog article.column.is-featured .image-hvr-effect img {
    height: 100%;
    aspect-ratio: auto;
}
#latest-blog article.column.is-featured .post-item {
    justify-content: center;
}
#latest-blog article.column figure {
    margin: 0;
    position: relative;
}
#latest-blog article.column figure::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 38%;
    background: linear-gradient(180deg, rgba(15, 45, 36, 0), rgba(15, 45, 36, 0.22));
    pointer-events: none;
}
#latest-blog .image-hvr-effect {
    display: block;
}
#latest-blog .image-hvr-effect img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transform: scale(1);
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
#latest-blog article.column:hover .image-hvr-effect img {
    transform: scale(1.08);
}
#latest-blog article.column:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 46px rgba(15, 45, 36, 0.16);
    border-color: rgba(15, 45, 36, 0.2);
}
#latest-blog .section-header {
    margin-bottom: 40px;
}
#latest-blog .meta-tag {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 18px;
}
#latest-blog .meta-date {
    padding: 6px 10px;
    margin: 0;
    border-radius: 999px;
    border: 1px solid rgba(15, 45, 36, 0.18);
    color: var(--color-primary);
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1;
    background: rgba(15, 45, 36, 0.05);
}
#latest-blog .categories {
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(74, 47, 34, 0.24);
    color: var(--color-secondary);
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1;
    background: rgba(74, 47, 34, 0.08);
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
#latest-blog .meta-date:before {
    display: none;
}
#latest-blog .post-item {
    padding: 28px 26px 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
#latest-blog .post-excerpt {
    margin: 0;
    color: var(--color-muted);
    line-height: 1.68;
}
#latest-blog .post-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 4px;
}
#latest-blog .post-reading-time {
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(15, 45, 36, 0.72);
}
#latest-blog .post-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--color-primary);
}
#latest-blog .post-cta::after {
    content: "\2192";
    transition: transform 0.3s ease;
}
#latest-blog article.column:hover .post-cta::after {
    transform: translateX(3px);
}
#latest-blog .post-title {
    margin: 0;
    font-size: clamp(1.24rem, 2vw, 1.42rem);
    line-height: 1.35;
}
#latest-blog .post-title a {
    color: var(--color-primary);
    background-image: linear-gradient(currentColor, currentColor);
    background-repeat: no-repeat;
    background-size: 0% 1.5px;
    background-position: 0 100%;
    transition: color 0.28s ease, background-size 0.28s ease;
}
#latest-blog article.column:hover .post-title a {
    color: var(--color-secondary);
    background-size: 100% 1.5px;
}
#latest-blog article.column:hover .categories {
    background: rgba(74, 47, 34, 0.14);
    border-color: rgba(74, 47, 34, 0.34);
}

@media only screen and (max-width: 999px) {
  #latest-blog .grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  #latest-blog article.column {
      grid-column: span 1;
  }
  #latest-blog article.column.is-featured {
      grid-column: 1 / -1;
  }
}

@media only screen and (max-width: 699px) {
  #latest-blog {
      margin: 92px 0;
      padding-top: 28px;
  }
  #latest-blog .grid {
      grid-template-columns: 1fr;
      gap: 20px;
  }
  #latest-blog article.column {
      grid-column: 1 / -1;
      border-radius: 18px;
  }
  #latest-blog article.column.is-featured {
      grid-template-columns: 1fr;
  }
  #latest-blog .post-item {
      padding: 22px 20px 24px;
  }
}

/*----- Association Section
--------------------------------------------------------------*/
#association-with {
    padding: 100px 0;
}
#association-with img {
    opacity: 20%;
    cursor: pointer;
    margin: 30px; 
}
#association-with img:hover {
    opacity: 100%;
}


/*----- Association Section
--------------------------------------------------------------*/
#contact-whatsapp {
    background-color: var(--color-ivory);
    padding: 0 0 24px;
}
#contact-whatsapp .contact-whatsapp-shell {
    border: 1px solid var(--color-line);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(245, 240, 230, 0.95), rgba(235, 227, 212, 0.92));
    padding: 36px;
}
#contact-whatsapp .contact-whatsapp-header {
    max-width: 760px;
    margin-bottom: 22px;
}
#contact-whatsapp .section-title {
    margin: 0;
    font-size: clamp(1.4rem, 2.3vw, 2.1rem);
    line-height: 1.35;
}
#contact-whatsapp .contact-whatsapp-form {
    display: flex;
    gap: 14px;
    align-items: center;
}
#contact-whatsapp .contact-whatsapp-form input {
    flex: 1;
    height: 62px;
    min-height: 62px;
    border: 1px solid rgba(15, 45, 36, 0.22);
    border-radius: 10px;
    padding: 0 18px;
    background: rgba(255, 255, 255, 0.75);
    color: var(--color-primary);
    font-size: 1rem;
    font-family: inherit;
    -webkit-appearance: none;
    appearance: none;
}
#contact-whatsapp .contact-whatsapp-form input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(15, 45, 36, 0.12);
}
#contact-whatsapp .contact-whatsapp-form .btn-accent {
    min-width: 160px;
    height: 62px;
    padding: 0 28px;
}

@media only screen and (max-width: 780px) {
  #contact-whatsapp .contact-whatsapp-shell {
      padding: 24px 20px;
      border-radius: 14px;
  }
  #contact-whatsapp .contact-whatsapp-form {
      flex-direction: column;
      align-items: stretch;
  }
  #contact-whatsapp .contact-whatsapp-form input {
      width: 100%;
      height: auto;
      min-height: 56px;
      padding: 18px 16px;
      font-size: 1rem;
  }
  #contact-whatsapp .contact-whatsapp-form .btn-accent {
      width: 100%;
      min-width: 0;
  }
}

/*----- Association Section
--------------------------------------------------------------*/
#footer {
    background-color: var(--color-ivory);
    padding: 130px 0;
}
#footer .container {
    max-width: 1200px;
}
#footer ul.menu-list li {
    margin-bottom: 20px;
    outline: 0;
}
#footer .footer-menu {
    width: 16%;
}
#footer strong {
    font-weight: 800;
    display: block;
    padding-bottom: 5px;
}
#footer .footer-item {
    width: 40%;
    margin-left: 300px;
}
#footer .footer-item h2 {
    font-size: 3.4em;
}

#footer-bottom {
    border-top: 1px solid #E7EBF1;
    background: #f7f9fd;
    padding-top: 60px;
}
#footer-bottom ul {
    display: flex;
}
#footer-bottom li {
    padding-left: 10px;
}

@media only screen and (max-width: 1140px) {
  #footer .footer-item {
      margin-left: 100px;
  }
}

@media only screen and (max-width: 800px) {
  #footer .footer-menu {
      width: 50%;
      margin-bottom: 30px;
  }
  #footer .footer-item {
      width: 80%;
      margin-left: 10px;
  }
  #footer .footer-item h2 {
      font-size: 2.4em;
  }
}


@media only screen and (max-width: 500px) {
  #footer-bottom .grid {
      justify-content: center;
  }
  #footer-bottom p {
      text-align: center;
  }
}

/*--------------------------------------------------------------
/** FAQ Section
--------------------------------------------------------------*/
#faq {
  padding: 80px 0;
}
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}
.faq-item {
  border: 1px solid var(--color-line);
  border-radius: 12px;
  margin-bottom: 16px;
  background: #fff;
  overflow: hidden;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.faq-item:hover {
  border-color: rgba(15, 45, 36, 0.28);
  box-shadow: 0 4px 16px rgba(15, 45, 36, 0.06);
}
.faq-item[open] {
  border-color: var(--color-primary);
  box-shadow: 0 6px 24px rgba(15, 45, 36, 0.1);
}
.faq-question {
  font-family: "Jost", Verdana, sans-serif;
  font-size: 1.12em;
  font-weight: 500;
  color: var(--color-primary);
  padding: 22px 56px 22px 28px;
  cursor: pointer;
  list-style: none;
  position: relative;
  line-height: 1.5;
  user-select: none;
}
.faq-question::-webkit-details-marker {
  display: none;
}
.faq-question::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  font-weight: 300;
  color: var(--color-muted);
  transition: transform 0.3s ease, color 0.3s ease;
}
.faq-item[open] .faq-question::after {
  content: "−";
  color: var(--color-primary);
}
.faq-answer {
  padding: 0 28px 24px;
  color: var(--color-muted);
  line-height: 1.8;
  animation: faqFadeIn 0.3s ease;
}
.faq-answer p {
  margin: 0;
}
@keyframes faqFadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media only screen and (max-width: 768px) {
  #faq {
    padding: 50px 0;
  }
  .faq-question {
    font-size: 1em;
    padding: 18px 48px 18px 20px;
  }
  .faq-answer {
    padding: 0 20px 20px;
  }
}

/*--------------------------------------------------------------
/** Service Pages
--------------------------------------------------------------*/

/* ── Hero ── */
.service-page-hero {
  position: relative;
  padding: 160px 0 80px;
  background: linear-gradient(165deg, var(--color-primary) 0%, #1a4d3e 45%, #0a2e22 100%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.service-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.06;
  background:
    repeating-linear-gradient(0deg, transparent 0 59px, rgba(255,255,255,0.3) 59px 60px),
    repeating-linear-gradient(90deg, transparent 0 59px, rgba(255,255,255,0.3) 59px 60px);
}
.service-page-hero::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 80px;
  z-index: 1;
  background: linear-gradient(to top, var(--color-ivory), transparent);
  pointer-events: none;
}
.service-page-hero .inner-content {
  position: relative;
  z-index: 2;
}

/* ── Breadcrumbs ── */
.service-breadcrumbs {
  margin-bottom: 36px;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.5);
}
.service-breadcrumbs a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-bottom: 1px;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.service-breadcrumbs a:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}
.service-breadcrumbs span {
  margin: 0 10px;
  opacity: 0.35;
}

/* ── Hero content ── */
.service-hero-content {
  max-width: 780px;
}
.service-hero-content .section-kicker {
  color: rgba(255,255,255,0.55);
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  margin-bottom: 16px;
  position: relative;
  padding-left: 36px;
}
.service-hero-content .section-kicker::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 2px;
  background: var(--color-secondary);
}
.service-hero-content .section-title {
  color: #fff;
  margin-bottom: 24px;
  font-size: 2.8em;
  line-height: 1.25;
  text-transform: none;
  letter-spacing: -0.01em;
}
.service-hero-content .section-lead {
  color: rgba(255,255,255,0.72);
  max-width: 680px;
  font-size: 1.08em;
  line-height: 1.85;
  margin: 0;
}
.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.service-page-hero .btn-accent {
  background: #fff;
  color: var(--color-primary);
  font-weight: 600;
  border: 1px solid transparent;
}
.service-page-hero .btn-accent:hover {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}
.service-page-hero .btn-outline-accent {
  border-color: rgba(255,255,255,0.35);
  color: rgba(255,255,255,0.9);
}
.service-page-hero .btn-outline-accent:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
  color: #fff;
}

/* ── Body ── */
.service-page-body {
  padding: 72px 0 100px;
}
.service-page-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 72px;
  align-items: start;
}

/* ── Main content ── */
.service-page-main h2 {
  margin-top: 56px;
  margin-bottom: 18px;
  font-size: 1.55em;
  font-weight: 600;
  color: var(--color-primary);
  position: relative;
  padding-bottom: 14px;
}
.service-page-main h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--color-secondary), rgba(74, 47, 34, 0.2));
}
.service-page-main h2:first-child {
  margin-top: 0;
}
.service-page-main p {
  color: var(--color-muted);
  line-height: 1.95;
  font-size: 1.02em;
}

/* ── Tech list ── */
.service-tech-list {
  padding-left: 0;
  list-style: none;
  margin: 20px 0;
}
.service-tech-list li {
  position: relative;
  padding: 10px 0 10px 32px;
  margin-bottom: 4px;
  color: var(--color-muted);
  line-height: 1.75;
  border-bottom: 1px solid rgba(15, 45, 36, 0.06);
  transition: background-color 0.2s ease;
}
.service-tech-list li:last-child {
  border-bottom: none;
}
.service-tech-list li:hover {
  background-color: rgba(15, 45, 36, 0.02);
}
.service-tech-list li::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 18px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  opacity: 0.7;
}

/* ── Process cards ── */
.service-process-list {
  margin: 28px 0;
  counter-reset: process-step;
}
.service-process-item {
  position: relative;
  padding: 32px 36px 32px 36px;
  margin-bottom: 20px;
  background: #fff;
  border: 1px solid var(--color-line);
  border-left: 4px solid var(--color-primary);
  border-radius: 0 14px 14px 0;
  transition: transform 0.3s ease, box-shadow 0.35s ease, border-color 0.3s ease;
  counter-increment: process-step;
}
.service-process-item::before {
  content: counter(process-step, decimal-leading-zero);
  position: absolute;
  top: 28px;
  right: 28px;
  font-family: "Jost", sans-serif;
  font-size: 2.4em;
  font-weight: 700;
  color: rgba(15, 45, 36, 0.05);
  line-height: 1;
  pointer-events: none;
}
.service-process-item:hover {
  transform: translateY(-3px);
  border-color: rgba(15, 45, 36, 0.22);
  border-left-color: var(--color-secondary);
  box-shadow:
    0 12px 32px rgba(15, 45, 36, 0.08),
    0 2px 6px rgba(15, 45, 36, 0.04);
}
.service-process-item h3 {
  font-size: 1.12em;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.service-process-item p {
  margin: 0;
  font-size: 0.94em;
  line-height: 1.85;
}

/* ── Sidebar ── */
.service-page-sidebar {
  position: sticky;
  top: 140px;
}
.service-sidebar-card {
  padding: 32px;
  margin-bottom: 28px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(15, 45, 36, 0.1);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(15, 45, 36, 0.04);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.service-sidebar-card:hover {
  box-shadow: 0 8px 32px rgba(15, 45, 36, 0.08);
  transform: translateY(-2px);
}
.service-sidebar-card:first-child {
  background: linear-gradient(160deg, var(--color-primary) 0%, #1a4d3e 100%);
  border: none;
  color: #fff;
}
.service-sidebar-card:first-child h3 {
  color: #fff;
}
.service-sidebar-card:first-child p {
  color: rgba(255,255,255,0.75);
}
.service-sidebar-card:first-child .btn-accent {
  background: #fff;
  color: var(--color-primary);
  font-weight: 600;
}
.service-sidebar-card:first-child .btn-accent:hover {
  background: rgba(255,255,255,0.88);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.service-sidebar-card h3 {
  font-size: 1.15em;
  font-weight: 600;
  margin: 0 0 14px;
  color: var(--color-primary);
  letter-spacing: -0.01em;
}
.service-sidebar-card p {
  font-size: 0.92em;
  color: var(--color-muted);
  margin-bottom: 22px;
  line-height: 1.7;
}
.service-sidebar-card ul {
  padding: 0;
  list-style: none;
}
.service-sidebar-card ul li {
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--color-line);
}
.service-sidebar-card ul li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.service-sidebar-card ul li a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95em;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s ease, gap 0.25s ease;
}
.service-sidebar-card ul li a::before {
  content: "→";
  font-size: 0.85em;
  color: var(--color-secondary);
  transition: transform 0.25s ease;
}
.service-sidebar-card ul li a:hover {
  color: var(--color-secondary);
  gap: 12px;
}
.service-sidebar-card ul li a:hover::before {
  transform: translateX(2px);
}

/* ── CTA section ── */
.service-page-cta {
  position: relative;
  padding: 100px 0;
  background: linear-gradient(165deg, var(--color-primary) 0%, #1a4d3e 50%, #0a2e22 100%);
  color: #fff;
  overflow: hidden;
}
.service-page-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.04;
  background:
    repeating-linear-gradient(0deg, transparent 0 59px, rgba(255,255,255,0.3) 59px 60px),
    repeating-linear-gradient(90deg, transparent 0 59px, rgba(255,255,255,0.3) 59px 60px);
}
.service-page-cta .section-title {
  color: #fff;
  position: relative;
  z-index: 1;
}
.service-page-cta .section-lead {
  color: rgba(255,255,255,0.7);
  position: relative;
  z-index: 1;
}
.service-page-cta .btn-wrap {
  position: relative;
  z-index: 1;
}
.service-page-cta .btn-accent {
  background: #fff;
  color: var(--color-primary);
  font-weight: 600;
  padding: 22px 40px;
  font-size: 1.05em;
  border: 1px solid transparent;
  transition: all 0.3s ease;
}
.service-page-cta .btn-accent:hover {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* ── Responsive ── */
@media only screen and (max-width: 960px) {
  .service-page-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .service-page-sidebar {
    position: static;
  }
  .service-page-hero {
    padding: 130px 0 60px;
  }
  .service-hero-content .section-title {
    font-size: 2.2em;
  }
}
@media only screen and (max-width: 600px) {
  .service-page-hero {
    padding: 110px 0 50px;
  }
  .service-hero-content .section-title {
    font-size: 1.8em;
  }
  .service-hero-content .section-lead {
    font-size: 0.98em;
  }
  .service-process-item {
    padding: 22px 20px;
  }
  .service-process-item::before {
    font-size: 1.8em;
    top: 18px;
    right: 16px;
  }
  .service-page-main h2 {
    font-size: 1.3em;
    margin-top: 40px;
  }
  .service-sidebar-card {
    padding: 24px;
  }
  .hero-cta-group {
    flex-direction: column;
  }
  .hero-cta-group .btn-accent,
  .hero-cta-group .btn-outline-accent {
    text-align: center;
  }
  .service-page-cta {
    padding: 64px 0;
  }
}
