/* ===== Hero ===== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  aspect-ratio: 1920 / 900;
  overflow: hidden;
  display: block;
  color: #fff;
  text-align: center;
  background: var(--ink);
}

/* ===== Hero ===== */
.hero-track,
.hero-slide,
.hero-slide-image,
.hero-slide-overlay {
  position: absolute;
  inset: 0;
}

.hero-track {
  overflow: hidden;
}

.hero-slide {
  z-index: 1;
  visibility: hidden;
  opacity: 0;
  transform: translateY(0);

  transition:
    transform 1s cubic-bezier(0.77, 0, 0.175, 1),
    opacity 0.9s ease,
    visibility 0s linear 1s;
}

.hero-slide.is-active {
  z-index: 2;
  visibility: visible;
  opacity: 1;
  transform: translateY(0);

  transition:
    transform 1s cubic-bezier(0.77, 0, 0.175, 1),
    opacity 0.9s ease;
}

.hero-slide-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-slide-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 8s ease;
}

.hero-slide.is-active .hero-slide-image {
  transform: scale(1.08);
}

.hero-slide-overlay {
  background: linear-gradient(
    180deg,
    rgba(35, 38, 45, 0.12),
    rgba(35, 38, 45, 0.65)
  );
}

.hero-content {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 86px 16px 90px;
}

.hero-content h1 {
  max-width: 780px;
  margin: 8px 0 30px;
  font-size: clamp(30px, 4.5vw, 48px);
  line-height: 1.05;
}

.hero-dots {
  position: absolute;
  z-index: 10;
  bottom: 34px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 16px;
  transform: translateX(-50%);
}

.hero-dots button {
  position: relative;
  width: 6px;
  height: 6px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}

.hero-dots button::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid #fff;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.hero-dots button:hover::after,
.hero-dots button.is-active::after {
  opacity: 1;
}

@media (max-width: 992px) {
  .hero {
    height: auto;
  }

  .hero-content {
    padding: 86px 32px 90px;
  }

  .hero-content h1 {
    max-width: 700px;
    font-size: clamp(34px, 6vw, 48px);
  }

  .hero-dots {
    bottom: 28px;
  }
}

@media (max-width: 767px) {
  .hero {
    aspect-ratio: 1;
  }

  .hero-content {
    padding: 80px 24px 80px;
  }

  .hero-content h1 {
    max-width: 100%;
    margin: 8px 0 24px;
    font-size: clamp(32px, 9vw, 44px);
    line-height: 1.08;
  }

  .hero-slide-image {
    background-position: center center;
  }

  .hero-dots {
    bottom: 24px;
    gap: 14px;
  }

  .hero-dots button {
    width: 6px;
    height: 6px;
  }
}

@media (max-width: 576px) {
  .hero-content {
    padding: 70px 20px 70px;
  }

  .hero-content h1 {
    font-size: 16px;
    line-height: 1.1;
    margin-bottom: 20px;
  }

  .button-arrow svg {
    width: 14px;
    height: 14px;
  }

  .hero-dots {
    bottom: 20px;
    gap: 12px;
  }
}

/* ===== Approche ===== */
.intro {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1.25fr;
  align-items: center;
  gap: 24px;
}

.intro h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.1;
}

.stat {
  width: 100%;
  position: relative;
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 2rem;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 10px solid var(--dark);
  border-right: 10px solid var(--dark);
  border-image: linear-gradient(
      to right,
      var(--dark) 0%,
      var(--dark) 25%,
      transparent 25%,
      transparent 75%,
      var(--dark) 75%,
      var(--dark) 100%
    )
    1;
}

.stat-inner {
  width: calc(100% + 20px);
  height: calc(100% + 20px);
  position: absolute;
  top: -10px;
  left: -10px;
  border: 10px solid var(--ink);
  z-index: -1;
  transition: border-color ease 1s;
}

.stat:hover {
  cursor: pointer;
}

.stat:hover .stat-inner {
  border-color: var(--dark);
}

.intro .stat strong {
  display: block;
  font-size: 86px;
  line-height: 0.9;
  color: var(--orange);
}

.intro .stat span {
  display: block;
  margin-top: 10px;
  color: var(--bg);
  font-weight: 500;
}

.intro p:not(.eyebrow) {
  color: var(--muted);
}

.intro .text-link {
  margin-top: 18px;
  background: var(--dark);
}

.intro .text-link:hover {
  background: var(--orange);
}

@media (max-width: 992px) {
  .intro {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .intro h2 {
    font-size: clamp(34px, 6vw, 48px);
  }

  .stat {
    width: 100%;
    padding: 2rem;
    justify-content: center;
  }

  .intro .stat strong {
    font-size: 72px;
  }
}

@media (max-width: 767px) {
  .intro {
    gap: 32px;
  }

  .intro h2 {
    font-size: clamp(32px, 10vw, 44px);
  }

  .stat {
    gap: 10px;
    padding: 2rem;
    border-top-width: 8px;
    border-bottom-width: 8px;
    border-left-width: 8px;
    border-right-width: 8px;
  }

  .stat-inner {
    width: calc(100% + 16px);
    height: calc(100% + 16px);
    top: -8px;
    left: -8px;
    border-width: 8px;
  }

  .intro .stat strong {
    font-size: 60px;
  }

  .intro .stat span {
    font-size: 14px;
  }

  .intro p:not(.eyebrow) {
    font-size: 14px;
  }

  .intro .text-link {
    margin-top: 14px;
  }
}

@media (max-width: 576px) {
  .intro {
    gap: 28px;
  }

  .intro h2 {
    font-size: 32px;
  }

  .stat {
    padding: 1.5rem;
  }

  .intro .stat strong {
    font-size: 50px;
  }

  .intro .stat span {
    font-size: 13px;
  }
}

/* ===== Projects Types ===== */
.project-types {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  width: 100%;
  padding: 30px;
}

.type-card {
  position: relative;
  height: 560px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 34px;
  color: #fff;
}

.type-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.type-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.25));
}

.type-card span,
.type-card small {
  position: relative;
  z-index: 2;
}

.type-card small:hover {
  color: var(--orange);
}

.type-card span {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.18;
}

.type-card small {
  width: fit-content;
  padding-bottom: 6px;
  font-weight: 500;
  text-transform: uppercase;
  border-bottom: 3px solid var(--orange);
}

.type-card:hover img {
  transform: scale(1.03);
  opacity: 0.9;
}

/* ===== Projects ===== */
.projects p {
  font-size: 14px;
  font-weight: 400;
}

.project-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}

.project-feature {
  padding: 2rem;
}

.project-feature-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--shadow);
  transition: all ease 0.5s;
}

.project-feature:hover .project-feature-icon {
  background-color: var(--orange);
}

.project-feature-icon:hover {
  transform: scale(1.1);
}

.project-feature-icon svg {
  width: 68px;
  height: 68px;
}

.project-feature-content h3 {
  font-weight: 500;
}

.project-feature-content p {
  color: var(--muted);
}

@media (max-width: 992px) {
  .project-types {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 24px;
  }

  .type-card {
    height: 480px;
    padding: 28px;
  }

  .type-card span {
    font-size: 22px;
  }

  .project-features {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-feature {
    padding: 1.5rem;
  }

  .project-feature-icon {
    width: 90px;
    height: 90px;
  }

  .project-feature-icon svg {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 768px) {
  .project-types {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px;
  }

  .type-card {
    height: 420px;
    padding: 26px;
  }

  .type-card span {
    font-size: 22px;
  }

  .project-features {
    grid-template-columns: 1fr;
  }

  .project-feature {
    padding: 1.25rem;
  }

  .project-feature-icon {
    width: 90px;
    height: 90px;
  }

  .project-feature-icon svg {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 576px) {
  .project-types {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 15px;
  }

  .type-card {
    height: 360px;
    padding: 22px;
  }

  .type-card span {
    font-size: 20px;
  }

  .type-card small {
    font-size: 11px;
    padding-bottom: 5px;
    border-bottom-width: 2px;
  }

  .project-features {
    grid-template-columns: 1fr;
  }

  .project-feature {
    padding: 1.5rem 1rem;
  }

  .project-feature-icon {
    width: 85px;
    height: 85px;
  }

  .project-feature-icon svg {
    width: 56px;
    height: 56px;
  }

  .project-feature-content h3 {
    font-size: 18px;
  }

  .project-feature-content p {
    font-size: 14px;
  }
}

/* ===== Projects Grid ===== */
.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding: 2rem;
  margin-top: 5rem;
}

.project-grid img {
  width: 100%;
  aspect-ratio: 845 / 600;
  object-fit: contain;
  object-position: top;
}

.project-grid-content {
  padding: 60px;
}

.project-grid-content h2 {
  font-size: 3rem;
  line-height: 1;
  font-weight: 600;
  margin-top: 0;
}

.project-grid-content p {
  color: var(--muted);
}

.project-grid-content a {
  background-color: var(--orange);
  margin-top: 2rem;
}

.project-grid-content a:hover {
  background-color: var(--bg);
  color: var(--orange);
}

/* ===== Projects Grid Responsive ===== */

@media (max-width: 992px) {
  .project-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: 24px;
    margin-top: 4rem;
  }

  .project-grid-content {
    padding: 40px;
  }

  .project-grid-content h2 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .projects {
    text-align: center;
  }

  .project-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 20px;
    margin-top: 3rem;
    text-align: center;
  }

  .project-grid-content {
    padding: 20px;
  }

  .project-grid-content h2 {
    font-size: 2.25rem;
    line-height: 1.05;
  }

  .project-grid .image-container img {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 576px) {
  .project-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 15px;
    margin-top: 2rem;
  }

  .project-grid img {
    aspect-ratio: 845 / 600;
  }

  .project-grid-content {
    padding: 10px;
  }

  .project-grid-content h2 {
    font-size: 2rem;
    line-height: 1.05;
  }

  .project-grid-content p {
    font-size: 14px;
  }

  .project-grid-content a {
    margin-top: 1.5rem;
  }
}

/* ===== Testimonials ===== */
.testimonials {
  background-image: url("https://kallacuisine.com/wp-content/uploads/2022/06/h2-bg02.png");
  background-position: 50% 100%;
  background-repeat: no-repeat;
  width: 100%;
  overflow: hidden;
}

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

.testimonials-title h2 {
  font-size: 3rem;
  line-height: 1.2;
}

.testimonials-viewport {
  width: 100%;
  overflow: hidden;
  padding: 2rem 2rem 4rem;
}

.testimonials-track {
  display: flex;
  gap: 32px;
  width: 100%;
  padding: 0;
  overflow: visible;
  will-change: transform;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  cursor: default;
}

.testimonials-track.is-dragging {
  cursor: default;
}

.testimonial {
  flex: 0 0 calc((100% - 32px) / 2);
  min-width: 0;
  height: fit-content;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  background-color: var(--dark);
  padding: 3rem;
}

.testimonial-content {
  padding: 0;
}

.testimonial-content h3 {
  margin: 0 0 24px;
  font-size: 14px;
  line-height: 1.15;
  font-weight: 500;
  text-transform: uppercase;

  color: var(--orange);
}

.testimonial-content p {
  margin: 0;
  font-size: 18px;
  line-height: 1.8;
  font-weight: 300;
  font-style: italic;
}

.testimonial-caption {
  display: flex;
  flex-direction: column;
  margin-top: 40px;
}

.testimonial-name {
  font-size: 15px;
  line-height: 1.4;
  font-weight: 600;
}

.testimonial-job {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.4;
  opacity: 0.8;
}

@media (max-width: 992px) {
  .testimonials-title h2 {
    font-size: 2.5rem;
  }

  .testimonials-viewport {
    padding: 2rem 1.5rem 3.5rem;
  }

  .testimonials-track {
    gap: 24px;
  }

  .testimonial {
    flex: 0 0 calc((100% - 24px) / 2);
    padding: 2.5rem;
  }

  .testimonial-content h3 {
    font-size: 13px;
    margin-bottom: 20px;
  }

  .testimonial-content p {
    font-size: 16px;
    line-height: 1.7;
  }

  .testimonial-caption {
    margin-top: 32px;
  }

  .testimonial-name {
    font-size: 14px;
  }

  .testimonial-job {
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  .testimonials-title h2 {
    font-size: 2.25rem;
  }

  .testimonials-viewport {
    padding: 1.5rem 1.25rem 3rem;
  }

  .testimonials-track {
    gap: 24px;
  }

  .testimonial {
    flex: 0 0 100%;
    padding: 2.25rem;
  }

  .testimonial-content h3 {
    font-size: 13px;
    margin-bottom: 18px;
  }

  .testimonial-content p {
    font-size: 15px;
    line-height: 1.7;
  }

  .testimonial-caption {
    margin-top: 28px;
  }

  .testimonial-name {
    font-size: 14px;
  }

  .testimonial-job {
    font-size: 13px;
  }
}

@media (max-width: 576px) {
  .testimonials-title h2 {
    font-size: 2rem;
  }

  .testimonials-viewport {
    padding: 1.25rem 1rem 2.5rem;
  }

  .testimonials-track {
    gap: 0;
  }

  .testimonial {
    flex: 0 0 100%;
    padding: 1.75rem;
  }

  .testimonial-content h3 {
    font-size: 12px;
    margin-bottom: 16px;
  }

  .testimonial-content p {
    font-size: 14px;
    line-height: 1.65;
  }

  .testimonial-caption {
    margin-top: 24px;
  }

  .testimonial-name {
    font-size: 13px;
  }

  .testimonial-job {
    font-size: 12px;
  }
}

/* ===== Design ===== */
.section.design {
  padding-top: 0;
  padding-bottom: 0;
  background-color: var(--dark);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.design-content {
  padding: 4rem;
  background-image: url("https://kallacuisine.com/wp-content/uploads/2022/06/h2-bg03.png");
  background-repeat: no-repeat;
  background-size: cover;
}

.design-content h2 {
  font-size: 3rem;
  line-height: 1;
}

.design-text {
  color: var(--muted);
  margin: 2rem 0;
}

.section.design a {
  background-color: var(--orange);
  font-weight: 700;
}

.design-pic img {
  max-width: 100%;
}

@media (max-width: 992px) {
  .section.design {
    grid-template-columns: 1fr 1fr;
  }

  .design-content {
    padding: 3rem;
  }

  .design-content h2 {
    font-size: 2.5rem;
  }

  .design-text {
    margin: 1.5rem 0;
  }

  .design-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

@media (max-width: 768px) {
  .section.design {
    grid-template-columns: 1fr;
  }

  .design-content {
    padding: 3rem 2rem;
    text-align: center;
  }

  .design-content h2 {
    font-size: 2.25rem;
  }

  .design-text {
    margin: 1.5rem 0;
  }

  .design-pic {
    display: none;
  }
}

@media (max-width: 576px) {
  .design-content {
    padding: 2.5rem 1.5rem;
  }

  .design-content h2 {
    font-size: 2rem;
    line-height: 1.05;
  }

  .design-text {
    margin: 1.25rem 0;
    font-size: 14px;
  }

  .section.design a {
    width: 100%;
    max-width: 280px;
  }
}

/* ===== Divider ===== */
section.divider {
  padding: 4rem 2rem;
}

.divider div {
  width: 100%;
  height: 2px;
  background-color: var(--dark);
}

/* ===== Blog Slideshow ===== */
.slide-show {
  overflow: hidden;
  padding: 3rem 2rem;
}

.slide-show h2 {
  font-size: 3rem;
}

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

.blog-slider-viewport {
  width: 100%;
  overflow: hidden;
  margin-top: 56px;
  cursor: default;
}

.blog-slider-track {
  display: flex;
  gap: 40px;
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.blog-card {
  flex: 0 0 calc((100% - 40px) / 2);
  min-width: 0;
}

.blog-card-image {
  display: block;
  width: 100%;
  aspect-ratio: 1.42 / 1;
  overflow: hidden;
}

.blog-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.blog-card-image:hover img {
  transform: scale(1.1);
}

.blog-card-body {
  padding-top: 24px;
}

.blog-card h3 {
  margin: 0;
  line-height: 1.3;
  font-weight: 700;
  font-size: 24px;
}

.blog-card a {
  transition: color 0.3s ease;
}

.blog-card a:hover {
  color: var(--orange);
}

.blog-card p {
  font-size: 16px;
  font-weight: 300;
}

.blog-card span {
  color: var(--bg);
  border-bottom: 2px solid var(--orange);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

.blog-card span:hover {
  color: var(--orange);
}

@media (max-width: 992px) {
  .slide-show {
    padding: 2.5rem 1.5rem;
  }

  .slide-show h2 {
    font-size: 2.5rem;
  }

  .blog-slider-viewport {
    margin-top: 44px;
  }

  .blog-slider-track {
    gap: 28px;
  }

  .blog-card {
    flex: 0 0 calc((100% - 28px) / 2);
  }

  .blog-card-body {
    padding-top: 20px;
  }

  .blog-card h3 {
    font-size: 21px;
  }

  .blog-card p {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .slide-show {
    padding: 2.25rem 1.25rem;
  }

  .slide-show h2 {
    font-size: 2.25rem;
  }

  .blog-slider-viewport {
    margin-top: 36px;
    text-align: center;
  }

  .blog-slider-track {
    gap: 24px;
  }

  .blog-card {
    flex: 0 0 100%;
  }

  .blog-card-image {
    aspect-ratio: 1.42 / 1;
  }

  .blog-card-body {
    padding-top: 18px;
  }

  .blog-card h3 {
    font-size: 20px;
    line-height: 1.3;
  }

  .blog-card p {
    font-size: 14px;
  }

  .blog-card span {
    font-size: 11px;
  }
}

@media (max-width: 576px) {
  .slide-show {
    padding: 2rem 1rem;
  }

  .slide-show h2 {
    font-size: 2rem;
    line-height: 1.15;
  }

  .blog-slider-viewport {
    margin-top: 30px;
  }

  .blog-slider-track {
    gap: 16px;
  }

  .blog-card {
    flex: 0 0 100%;
  }

  .blog-card-image {
    aspect-ratio: 1.35 / 1;
  }

  .blog-card-body {
    padding-top: 16px;
  }

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

  .blog-card p {
    font-size: 13px;
    line-height: 1.6;
  }

  .blog-card span {
    font-size: 10px;
    letter-spacing: 0.8px;
    border-bottom-width: 2px;
  }
}
