/* DESIGN SYSTEM: Italian Espresso / Warm Minimalism */
:root {
  --latte: #f9f5f0; /* Main BG */
  --white: #ffffff;
  --espresso: #3b2f2f; /* Main Text/Dark */
  --terra: #c05621; /* Accent 1 */
  --olive: #556b2f; /* Accent 2 */
  --sand: #e6dcc8; /* Secondary BG */

  --font-head: "Lora", serif;
  --font-body: "Lato", sans-serif;

  --radius: 12px;
  --shadow: 0 10px 30px rgba(59, 47, 47, 0.08);

  --container: 1100px;
  --pad: 24px;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--latte);
  color: var(--espresso);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

/* UTILS */
a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}
ul {
  list-style: none;
}
img {
  width: 100%;
  display: block;
  object-fit: cover;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.2;
  color: var(--espresso);
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.section {
  padding: 100px 0;
}
.center {
  text-align: center;
}
.narrow {
  max-width: 800px;
  margin: 0 auto;
}

/* BUTTONS */
.btn-primary {
  display: inline-block;
  padding: 15px 35px;
  background: var(--espresso);
  color: var(--latte);
  border-radius: 30px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  transition: 0.3s;
  box-shadow: var(--shadow);
}
.btn-primary:hover {
  background: var(--terra);
  transform: translateY(-2px);
}

.btn-terra {
  display: inline-block;
  padding: 10px 25px;
  background: var(--terra);
  color: var(--white);
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: 0.3s;
}
.btn-terra:hover {
  background: var(--espresso);
}

.btn-text {
  display: inline-block;
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 600;
  color: var(--espresso);
  border-bottom: 1px solid var(--terra);
}
.btn-text:hover {
  color: var(--terra);
  padding-right: 5px;
}

.btn-submit {
  width: 100%;
  padding: 15px;
  background: var(--espresso);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: 0.3s;
}
.btn-submit:hover {
  background: var(--terra);
}

/* HEADER */
.warm-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(249, 245, 240, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(59, 47, 47, 0.1);
}
.h-flex {
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--espresso);
  letter-spacing: 1px;
}

.desktop-nav {
  display: flex;
  gap: 30px;
}
.desktop-nav a {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--espresso);
  opacity: 0.8;
}
.desktop-nav a:hover {
  opacity: 1;
  color: var(--terra);
}

.h-act {
  display: flex;
  align-items: center;
  gap: 15px;
}
.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
}
.line {
  width: 30px;
  height: 2px;
  background: var(--espresso);
}

/* MOBILE DRAWER */
.mob-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  background: var(--latte);
  z-index: 200;
  transform: translateX(100%);
  transition: 0.4s ease;
  padding: 30px;
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
}
.mob-drawer.active {
  transform: translateX(0);
}
.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
}
#closeMob {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--espresso);
  cursor: pointer;
}
.drawer-links a {
  display: block;
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-family: var(--font-head);
  color: var(--espresso);
  border-bottom: 1px solid rgba(59, 47, 47, 0.1);
  padding-bottom: 10px;
}
.drawer-foot {
  margin-top: 50px;
  color: var(--terra);
  font-weight: 700;
}

/* HERO */
.hero-warm {
  padding-top: 150px;
  padding-bottom: 80px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.label-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--terra);
  border: 1px solid var(--terra);
  padding: 5px 15px;
  border-radius: 50px;
  margin-bottom: 25px;
  font-weight: 700;
  letter-spacing: 1px;
}
.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 25px;
}
.italic-accent {
  font-style: italic;
  color: var(--terra);
  font-family: var(--font-head);
}
.hero-desc {
  font-size: 1.15rem;
  color: #555;
  margin-bottom: 40px;
  max-width: 500px;
}
.hero-btns {
  display: flex;
  gap: 20px;
  align-items: center;
}

.img-arch {
  position: relative;
  border-radius: 200px 200px 0 0;
  overflow: hidden;
  height: 500px;
  width: 100%;
  box-shadow: var(--shadow);
}
.img-arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.float-card {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  padding: 15px 25px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  white-space: nowrap;
}
.float-card i {
  color: var(--terra);
}
.float-card strong {
  display: block;
  font-size: 1rem;
  color: var(--espresso);
}
.float-card span {
  font-size: 0.8rem;
  color: #777;
}

/* TICKER */
.ticker-wrapper {
  background: var(--espresso);
  color: var(--latte);
  padding: 15px 0;
  overflow: hidden;
}
.ticker-track {
  white-space: nowrap;
  font-family: var(--font-head);
  font-style: italic;
  font-size: 1.1rem;
  animation: scroll 30s linear infinite;
}
.sep {
  color: var(--terra);
  margin: 0 30px;
}
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* PHILOSOPHY */
.sub-head {
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--terra);
  display: block;
  margin-bottom: 10px;
  font-weight: 700;
}
.section-philosophy h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
.lead-text {
  font-size: 1.2rem;
  margin-bottom: 60px;
  color: #555;
  font-style: italic;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.phil-item {
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius);
  text-align: left;
  box-shadow: var(--shadow);
  transition: 0.3s;
}
.phil-item:hover {
  transform: translateY(-5px);
}
.pi-icon {
  width: 50px;
  height: 50px;
  background: var(--sand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--espresso);
  margin-bottom: 20px;
}
.phil-item h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.phil-item p {
  font-size: 0.95rem;
  color: #666;
}

/* PRACTICES (CARDS) */
.section-practices {
  background: var(--white);
}
.sec-header {
  text-align: center;
  margin-bottom: 60px;
}
.sec-header h3 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}
.sec-header p {
  color: #666;
  font-size: 1.1rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.warm-card {
  background: var(--latte);
  border-radius: var(--radius);
  overflow: hidden;
  transition: 0.3s;
  box-shadow: var(--shadow);
}
.warm-card:hover {
  transform: translateY(-5px);
}
.wc-img {
  height: 200px;
}
.wc-body {
  padding: 30px;
}
.wc-body h4 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}
.wc-body p {
  margin-bottom: 20px;
  color: #666;
  font-size: 0.95rem;
  line-height: 1.5;
}
.wc-link {
  font-weight: 700;
  color: var(--terra);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

/* BLOG */
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 800px;
  margin: 40px auto 0;
}
.blog-item {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  border-bottom: 1px solid #ddd;
  padding-bottom: 30px;
}
.bi-date {
  width: 120px;
  flex-shrink: 0;
  font-size: 0.9rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding-top: 5px;
}
.bi-content h4 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}
.bi-content p {
  color: #555;
  margin-bottom: 15px;
}
.read-more {
  font-family: var(--font-head);
  font-style: italic;
  color: var(--terra);
}

/* FAQ */
.accordion {
  margin-top: 40px;
}
.acc-item {
  border-bottom: 1px solid rgba(59, 47, 47, 0.1);
}
.acc-btn {
  width: 100%;
  text-align: left;
  padding: 25px 0;
  background: none;
  border: none;
  font-size: 1.2rem;
  font-family: var(--font-head);
  color: var(--espresso);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  transition: 0.3s;
}
.acc-btn:hover {
  color: var(--terra);
}
.acc-btn::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--terra);
}
.acc-btn.active::after {
  content: "-";
}
.acc-body {
  max-height: 0;
  overflow: hidden;
  transition: 0.3s;
}
.acc-body p {
  padding-bottom: 25px;
  color: #666;
}

/* CONTACT FORM */
.form-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 50px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  box-shadow: var(--shadow);
}
.fb-left h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
.fb-left p {
  margin-bottom: 40px;
  color: #666;
}
.contacts-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cl-item {
  display: flex;
  gap: 15px;
  align-items: center;
  font-size: 1.1rem;
  color: var(--espresso);
}
.cl-item i {
  color: var(--terra);
}

.warm-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.inp-field label {
  display: block;
  font-size: 0.85rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.inp-field input {
  width: 100%;
  padding: 15px;
  background: var(--latte);
  border: 1px solid transparent;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--espresso);
}
.inp-field input:focus {
  outline: none;
  border-color: var(--terra);
  background: var(--white);
}
.chk-field {
  display: flex;
  gap: 10px;
  font-size: 0.9rem;
  align-items: start;
  color: #666;
}
.chk-field a {
  color: var(--terra);
  text-decoration: underline;
}

/* FOOTER */
.warm-footer {
  background: var(--espresso);
  color: var(--latte);
  padding: 80px 0 20px;
}
.f-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 50px;
}
.f-logo {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  display: block;
  letter-spacing: 1px;
}
.f-col p {
  color: #aaa;
}
.f-col h5 {
  font-size: 0.9rem;
  color: var(--terra);
  margin-bottom: 20px;
  letter-spacing: 1px;
}
.f-col a {
  display: block;
  color: #ccc;
  margin-bottom: 10px;
  font-size: 0.95rem;
}
.f-col a:hover {
  color: var(--white);
  transform: translateX(5px);
}

.f-btm {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  font-size: 0.85rem;
  color: #666;
}

/* COOKIE */
.cookie-toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 320px;
  background: var(--white);
  padding: 25px;
  border-radius: var(--radius);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  display: none;
  flex-direction: column;
  gap: 20px;
  z-index: 500;
}
.ct-text {
  font-size: 0.95rem;
  color: var(--espresso);
}
#acceptCookie {
  background: var(--terra);
  color: var(--white);
  border: none;
  padding: 10px;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .desktop-nav,
  .btn-terra {
    display: none;
  }
  .burger {
    display: flex;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-content {
    text-align: center;
  }
  .hero-btns {
    justify-content: center;
  }
  .img-arch {
    height: 400px;
  }

  .grid-3,
  .cards-grid {
    grid-template-columns: 1fr;
  }

  .form-box {
    grid-template-columns: 1fr;
  }

  .f-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 600px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .fb-left h2 {
    font-size: 1.5rem;
  }
  .blog-item {
    flex-direction: column;
    gap: 10px;
  }
  .cookie-toast {
    width: 90%;
    left: 5%;
    bottom: 10px;
  }
}

.pages {
  padding: 120px 0;
}

.pages-wrap {
  max-width: 1000px;
  padding: 0 20px;
  margin: 0 auto 20px;
}

.pages h1 {
  font-size: 40px;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 40px;
  margin-top: 40px;
  text-align: center;
}

.text-wrapper {
  background: #f8fafc;
  padding: 50px 40px;
  border-radius: 20px;
  line-height: 1.8;
}

.text-wrapper h2 {
  font-size: 28px;
  font-weight: 700;
  color: #1e293b;
  margin-top: 40px;
  margin-bottom: 15px;
  border-bottom: 2px solid rgba(99, 102, 241, 0.2);
  padding-bottom: 5px;
}

.text-wrapper h3 {
  color: #000000;
  margin-bottom: 20px;
}

.text-wrapper p {
  color: #64748b;
  margin-bottom: 20px;
}

.text-wrapper ul {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.text-wrapper ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 15px;
  color: #1e293b;
}

.text-wrapper ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  font-size: 20px;
  line-height: 1;
  color: var(--primary);
  top: 0;
}

.text-wrapper strong {
  color: var(--color-error);
}

.text-wrapper a {
  color: #001eff;
  text-decoration: underline;
  font-weight: 600;
}

.text-wrapper ol {
  display: flex;
  flex-direction: column;
  padding: 20px;
  color: #000000;
}

.margin {
  margin: 120px 0 50px;
  font-size: 40px;
  color: var(--ink);
}

@media (max-width: 768px) {
  .pages {
    padding: 100px 0 60px;
  }
  .pages h1 {
    font-size: 20px;
    margin-bottom: 30px;
  }
  .text-wrapper {
    padding: 30px 20px;
  }
  .text-wrapper h2 {
    font-size: 24px !important;
    margin-top: 30px;
  }
  .margin {
    font-size: 28px;
  }
}
