﻿:root {
  --main: #1a1a1a;
  --white: #ffffff;
  --primary: #c9a96e;
  --line: #e0e0e0;
  --text: #555555;
  --text-2: #6c757d;
}

.color-primary-2 {
  --primary: #814037;
}

/*---------- Reset css styles ----------- */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  font-family: inherit;
  font-size: 100%;
  font-style: inherit;
  font-weight: inherit;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

/* Elements
-------------------------------------------------------------- */
html {
  margin-right: 0 !important;
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Roboto flex", sans-serif;
  font-size: 14px;
  line-height: 22px;
  font-weight: 400;
  color: var(--main);
  background-color: var(--white);
}

img {
  max-width: 100%;
  height: auto;
  transform: scale(1);
  vertical-align: middle;
  -ms-interpolation-mode: bicubic;
}

.row {
  margin-right: -15px;
  margin-left: -15px;
}

.row > * {
  padding-left: 15px;
  padding-right: 15px;
}

ul,
li {
  list-style-type: none;
  margin-bottom: 0;
  padding-left: 0;
  list-style: none;
}

.container {
  max-width: 1540px;
}

.container {
  width: 100%;
  margin: auto;
}

.container {
  padding-left: 15px;
  padding-right: 15px;
}

.container-full {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0px 15px;
}

textarea,
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"] {
  font-family: "Manrope", sans-serif;
  border: 1px solid var(--line);
  outline: 0;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  font-size: 14px;
  line-height: 24px;
  border-radius: 3px;
  padding: 12px 18px;
  width: 100%;
  background: var(--white);
  color: var(--text-2);
  font-weight: 400;
}

textarea:focus,
input[type="text"]:focus,
input[type="password"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="time"]:focus,
input[type="week"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="color"]:focus {
  border-color: var(--line);
}

textarea::placeholder,
input[type="text"]::placeholder,
input[type="password"]::placeholder,
input[type="datetime"]::placeholder,
input[type="datetime-local"]::placeholder,
input[type="date"]::placeholder,
input[type="month"]::placeholder,
input[type="time"]::placeholder,
input[type="week"]::placeholder,
input[type="number"]::placeholder,
input[type="email"]::placeholder,
input[type="url"]::placeholder,
input[type="search"]::placeholder,
input[type="tel"]::placeholder,
input[type="color"]::placeholder {
  color: var(--text-2);
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

textarea {
  height: 112px;
  resize: none;
}

/* Placeholder color */
::-webkit-input-placeholder {
  color: var(--text-2);
}

:-moz-placeholder {
  color: var(--text-2);
}

::-moz-placeholder {
  color: var(--text-2);
  opacity: 1;
}

/* Since FF19 lowers the opacity of the placeholder by default */
:-ms-input-placeholder {
  color: var(--text-2);
}



/* Preload 
------------------------------------------- */
.preload-wrapper .preload-container {
  display: flex;
}

.preload-container {
  display: none;
  position: relative;
  width: 100%;
  height: 100%;
  background: #ffffff;
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: 99999999999;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.spinner {
  width: 60px;
  height: 60px;
  border: 3px solid transparent;
  border-top: 3px solid var(--line);
  border-radius: 100%;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  animation: spin 1s infinite linear;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

#subscribe-msg {
  color: var(--bs-success);
}

/*-------------- Responsive ----------------- */

.custom-container {
  padding-left: 3%;
  padding-right: 3%;
}

/* ============================================
   AGSOFA – Hero Section
   ============================================ */

.agsofa-hero {
  position: relative;
  width: 100%;
  height: calc(100vh - 170px);
  min-height: 560px;
  overflow: hidden;
  background: #111;
}

.agsofa-hero-swiper {
  width: 100%;
  height: 100%;
}

.agsofa-hero-slide {
  position: relative;
  overflow: hidden;
}

.agsofa-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.06);
  transition: transform 7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.swiper-slide-active .agsofa-hero-bg {
  transform: scale(1);
}

.agsofa-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      105deg,
      rgba(0, 0, 0, 0.68) 0%,
      rgba(0, 0, 0, 0.28) 55%,
      rgba(0, 0, 0, 0.1) 100%
    ),
    linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, transparent 50%);
}

.agsofa-hero-content {
  position: absolute;
  bottom: 120px;
  left: clamp(80px, 12vw, 180px);
  max-width: 640px;
  z-index: 2;
}

.agsofa-hero-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #b8963e;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease 0.1s, transform 0.7s ease 0.1s;
}

.agsofa-hero-title {
  font-size: clamp(28px, 5.5vw, 72px);
  font-weight: 200;
  font-variation-settings: 'wdth' 110, 'opsz' 72;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0 0 22px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease 0.3s, transform 0.8s ease 0.3s;
}

.agsofa-hero-sub {
  font-size: clamp(14px, 1.4vw, 17px);
  font-weight: 300;
  color: rgba(255, 255, 255);
  line-height: 1.6;
  letter-spacing: 0.02em;
  margin: 0 0 36px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease 0.5s, transform 0.7s ease 0.5s;
}

.agsofa-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.7s ease 0.65s,
    transform 0.7s ease 0.65s,
    background 0.3s,
    border-color 0.3s,
    gap 0.3s;
}

.agsofa-hero-btn:hover {
  background: #b8963e;
  border-color: #b8963e;
  color: #fff;
  gap: 16px;
}

.swiper-slide-active .agsofa-hero-eyebrow,
.swiper-slide-active .agsofa-hero-title,
.swiper-slide-active .agsofa-hero-sub,
.swiper-slide-active .agsofa-hero-btn {
  opacity: 1;
  transform: translateY(0);
}

.agsofa-hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  border-radius: 0;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}

.agsofa-hero-nav:hover {
  background: #b8963e;
  border-color: #b8963e;
}

.agsofa-hero-prev { left: clamp(16px, 3vw, 40px); }
.agsofa-hero-next { right: clamp(16px, 3vw, 40px); }

.agsofa-hero-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 clamp(24px, 7vw, 120px) 0;
  height: 56px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.35) 0%, transparent 100%);
}

.agsofa-hero-counter {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.agsofa-hero-cur {
  font-size: 13px;
  font-weight: 300;
  color: #b8963e;
  letter-spacing: 0.08em;
}

.agsofa-hero-sep {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
}

.agsofa-hero-total {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.06em;
}

.agsofa-hero-progress {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  overflow: hidden;
  max-width: 240px;
}

.agsofa-hero-progress-bar {
  height: 100%;
  background: #b8963e;
  width: 0%;
  transition: width 0.05s linear;
}

.agsofa-hero-scroll {
  position: absolute;
  bottom: 60px;
  right: clamp(24px, 4vw, 60px);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.agsofa-hero-scroll-line {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0.6) 100%);
  animation: agsofa-scroll-pulse 2.2s ease-in-out infinite;
}

@keyframes agsofa-scroll-pulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); transform-origin: top; }
  50%       { opacity: 1;   transform: scaleY(1);   transform-origin: top; }
}

.agsofa-hero-scroll-label {
  font-size: 9px;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

@media (min-width: 768px) and (max-width: 1199px) {
  .agsofa-hero { height: 46vh; min-height: 520px; }
}

@media (max-width: 767px) {
  .agsofa-hero { height: 65vh; min-height: 480px; }
  .agsofa-hero-content { bottom: 100px; left: 20px; right: 20px; max-width: none; }
  .agsofa-hero-nav    { display: none; }
  .agsofa-hero-scroll { display: none; }
  .agsofa-hero-footer { padding: 0 20px; }
}

@media (max-width:1499.98px) {
 .ys-page-hero-title{
  padding-top:20px;
 }
}