/* ===== CERAMICS STUDIO — Глина ===== */
:root {
  --clay: #C67B5C;
  --clay-dark: #8B4513;
  --terracotta: #D4845A;
  --sand: #F5EDE4;
  --cream: #FAF6F0;
  --charcoal: #3C3530;
  --text: #4A423B;
  --text-light: #8A8178;
  --white: #FFFFFF;
  --radius: 14px;
  --radius-sm: 8px;
  --transition: 0.25s ease;
  --header-height: 72px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); }
body {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { font-family: 'Cormorant Garamond', serif; font-weight: 500; line-height: 1.15; color: var(--charcoal); }
h1 { font-size: clamp(2.8rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.25rem; }
.eyebrow { font-family: 'Lato', sans-serif; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--clay); margin-bottom: 12px; }
.section-sub { font-size: 1.05rem; color: var(--text-light); margin-bottom: 40px; max-width: 680px; line-height: 1.65; }

/* ===== LAYOUT ===== */
.container { width: min(1140px, calc(100% - 40px)); margin: 0 auto; }
.section { padding: 90px 0; }
.section--tint { background: var(--white); }

/* ===== HEADER ===== */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 246, 240, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(0,0,0,.06);
  height: var(--header-height);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  width: min(1140px, calc(100% - 40px)); height: 100%; margin: 0 auto;
}
.header__brand { display: flex; align-items: center; gap: 10px; }
.header__logo {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--clay); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 700;
}
.header__name { display: flex; flex-direction: column; line-height: 1.2; }
.header__name strong { font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; }
.header__name small { font-size: .7rem; color: var(--text-light); text-transform: uppercase; letter-spacing: .08em; }
.header__nav { display: flex; gap: 28px; }
.header__nav a { font-size: .9rem; color: var(--text); transition: color var(--transition); }
.header__nav a:hover { color: var(--clay); }
.header__cta { font-size: .85rem; padding: 10px 22px; }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-block; background: var(--charcoal); color: #fff;
  padding: 14px 32px; border-radius: var(--radius-sm);
  font-family: 'Lato', sans-serif; font-size: .95rem; font-weight: 700;
  transition: background var(--transition), transform var(--transition);
  text-align: center;
}
.btn-primary:hover { background: var(--clay); transform: translateY(-1px); }
.btn-outline {
  display: inline-block; padding: 14px 32px; border-radius: var(--radius-sm);
  font-family: 'Lato', sans-serif; font-size: .95rem; font-weight: 700;
  border: 2px solid var(--charcoal); color: var(--charcoal);
  transition: all var(--transition); text-align: center;
}
.btn-outline:hover { background: var(--charcoal); color: #fff; }
.btn-outline--light { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-outline--light:hover { background: rgba(255,255,255,.15); border-color: #fff; }

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 92vh; display: flex; align-items: center;
  overflow: hidden; background: var(--charcoal);
}
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(60,53,48,.94) 60%, rgba(198,123,92,.3) 100%);
}
.hero__content { position: relative; z-index: 2; max-width: 680px; padding-top: 40px; }
.hero__kicker { font-family: 'Lato', sans-serif; font-size: .88rem; font-weight: 400; color: var(--terracotta); margin-bottom: 20px; letter-spacing: .02em; }
.hero h1 { color: #fff; margin-bottom: 24px; }
.hero__sub { font-size: 1.15rem; line-height: 1.7; color: rgba(255,255,255,.78); margin-bottom: 36px; max-width: 560px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.hero__actions .btn-primary { background: var(--terracotta); }
.hero__actions .btn-primary:hover { background: var(--clay-dark); }
.hero__actions .btn-outline { border-color: rgba(255,255,255,.4); color: #fff; }
.hero__actions .btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.hero__badges { display: flex; gap: 32px; flex-wrap: wrap; }
.hero__badges span { font-size: .85rem; color: rgba(255,255,255,.6); position: relative; padding-left: 16px; }
.hero__badges span::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 6px; height: 6px; border-radius: 50%; background: var(--terracotta); }

/* ===== INTRO ===== */
.intro__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.intro__image img { border-radius: var(--radius); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.intro__text h2 { margin-bottom: 20px; }
.intro__text p { font-size: 1.02rem; line-height: 1.7; color: var(--text); margin-bottom: 16px; }
.intro__cta { margin-top: 28px; }

/* ===== WORKSHOPS ===== */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card { background: var(--cream); border-radius: var(--radius); overflow: hidden; transition: transform var(--transition), box-shadow var(--transition); }
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.08); }
.card__image { height: 220px; overflow: hidden; }
.card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card__image img { transform: scale(1.04); }
.card__image--dark { background: linear-gradient(135deg, var(--charcoal), var(--clay-dark)); display: flex; align-items: center; justify-content: center; }
.card__icon-wrap { width: 72px; height: 72px; border-radius: 50%; background: rgba(255,255,255,.12); display: flex; align-items: center; justify-content: center; color: var(--cream); }
.card h3 { margin: 20px 20px 8px; }
.card p { margin: 0 20px 12px; font-size: .92rem; line-height: 1.6; color: var(--text-light); }
.card__time { display: block; margin: 0 20px 20px; font-size: .85rem; font-weight: 700; color: var(--clay); }

/* ===== GALLERY ===== */
.gallery__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.gallery__item { border-radius: var(--radius-sm); overflow: hidden; cursor: pointer; transition: transform var(--transition); }
.gallery__item:hover { transform: scale(1.015); }
.gallery__item img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }

/* ===== PROCESS ===== */
.process__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.process__step { background: var(--cream); border-radius: var(--radius); padding: 32px 24px; text-align: center; transition: transform var(--transition); }
.process__step:hover { transform: translateY(-4px); }
.process__num {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--clay); color: #fff;
  font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.process__step h3 { margin-bottom: 8px; }
.process__step p { font-size: .9rem; line-height: 1.6; color: var(--text-light); }

/* ===== PRICE ===== */
.price__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.price__card {
  background: var(--cream); border-radius: var(--radius); padding: 32px 24px;
  text-align: center; transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
}
.price__card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.06); }
.price__card--best { background: var(--charcoal); color: #fff; }
.price__card--best h3, .price__card--best .price__amount { color: #fff; }
.price__card--best .price__desc { color: rgba(255,255,255,.7); }
.price__badge {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  background: var(--terracotta); color: #fff; font-size: .72rem; font-weight: 700;
  padding: 4px 14px; border-radius: 20px; white-space: nowrap;
}
.price__card h3 { margin-bottom: 4px; }
.price__amount { font-family: 'Cormorant Garamond', serif; font-size: 2rem; font-weight: 600; color: var(--charcoal); margin: 12px 0 8px; }
.price__desc { font-size: .88rem; line-height: 1.6; color: var(--text-light); }
.price__note { text-align: center; margin-top: 32px; font-size: .92rem; color: var(--text-light); font-style: italic; }

/* ===== TESTIMONIALS ===== */
.testimonials__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial {
  background: var(--cream); border-radius: var(--radius); padding: 28px;
  border-left: 3px solid var(--clay);
}
.testimonial p { font-size: .95rem; line-height: 1.7; color: var(--text); font-style: italic; margin-bottom: 16px; }
.testimonial cite { font-size: .85rem; font-weight: 700; color: var(--charcoal); font-style: normal; }

/* ===== CTA ===== */
.cta-section { padding: 60px 0 80px; }
.cta-card {
  background: linear-gradient(135deg, var(--charcoal), #5D4433);
  border-radius: 20px; padding: 56px; color: #fff; text-align: center;
  position: relative; overflow: hidden;
}
.cta-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 70%, rgba(198,123,92,.2) 0%, transparent 60%);
}
.cta-card .eyebrow { color: var(--terracotta); position: relative; }
.cta-card h2 { color: #fff; margin-bottom: 12px; position: relative; }
.cta-card > p { color: rgba(255,255,255,.75); font-size: 1.05rem; margin-bottom: 32px; position: relative; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-card__contacts { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; margin-bottom: 32px; position: relative; }
.cta-card__contact { display: flex; flex-direction: column; gap: 4px; }
.cta-card__contact strong { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.5); }
.cta-card__contact a, .cta-card__contact span { font-size: 1rem; color: #fff; }
.cta-card__contact a:hover { color: var(--terracotta); }
.cta-card__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; }
.cta-card__actions .btn-primary { background: var(--terracotta); }
.cta-card__actions .btn-primary:hover { background: var(--clay); }

/* ===== FOOTER ===== */
.footer { background: var(--charcoal); color: rgba(255,255,255,.6); padding: 40px 0; font-size: .88rem; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.footer__brand { display: flex; flex-direction: column; }
.footer__brand strong { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; color: #fff; }
.footer__brand span { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; }
.footer__nav { display: flex; gap: 24px; }
.footer__nav a { color: rgba(255,255,255,.5); transition: color var(--transition); }
.footer__nav a:hover { color: var(--terracotta); }

/* ===== LIGHTBOX ===== */
.lightbox { display: none; position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.92); align-items: center; justify-content: center; }
.lightbox.active { display: flex; }
.lightbox__img { max-width: 90vw; max-height: 85vh; border-radius: 4px; }
.lightbox__close { position: absolute; top: 20px; right: 24px; background: none; border: none; color: #fff; font-size: 2rem; cursor: pointer; padding: 8px; line-height: 1; }
.lightbox__prev, .lightbox__next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.15); border: none; color: #fff; font-size: 2rem; cursor: pointer; padding: 16px 12px; border-radius: 4px; transition: background .2s; }
.lightbox__prev:hover, .lightbox__next:hover { background: rgba(255,255,255,.3); }
.lightbox__prev { left: 16px; }
.lightbox__next { right: 16px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .header__nav { display: none; }
  .hero__content { max-width: 100%; }
  .hero__badges { gap: 16px; }
  .intro__grid { grid-template-columns: 1fr; gap: 32px; }
  .cards-grid { grid-template-columns: 1fr; }
  .process__steps { grid-template-columns: repeat(2, 1fr); }
  .price__grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials__grid { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: 1fr; }
  .cta-card { padding: 40px 24px; }
  .cta-card__contacts { gap: 20px; }
  .footer__inner { flex-direction: column; text-align: center; }
  .footer__nav { flex-wrap: wrap; justify-content: center; }
}
@media (max-width: 500px) {
  .hero h1 { font-size: 2.2rem; }
  .process__steps { grid-template-columns: 1fr; }
  .price__grid { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; }
}
