@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root{
  --bg:#f7f3ed;
  --bg-soft:#fcfaf7;
  --panel:#fffdf9;
  --text:#1f1f1f;
  --muted:#625c56;
  --line:#ddd5ca;
  --accent:#7f1d2d;
  --accent-soft:#efe3df;
  --max:1140px;
  --shadow:0 10px 28px rgba(0,0,0,.06);
  --radius:22px;
}

*{
  box-sizing:border-box;
  margin:0;
  padding:0;
}

html, body{
  height:100%;
}

body, button, input, textarea{
  font-family:Optima, Candara, "Noto Sans", sans-serif;
}

body{
  background:var(--bg);
  color:var(--text);
  font-family:'Inter', sans-serif;
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
}

a{
  color:inherit;
  text-decoration:none;
}

img{
  display:block;
  max-width:100%;
}

.container{
  width:min(var(--max), calc(100% - 40px));
  margin:0 auto;
}

/* Header */
.site-header{
  position:sticky;
  top:0;
  z-index:1000;
  background:rgba(32,32,32,.88);
  backdrop-filter:blur(12px);
  border-bottom:1px solid rgba(255,255,255,.08);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:14px 0;
}

.brand{
  display:flex;
  align-items:center;
}

.brand img{
  height:48px;
  width:auto;
  background:none;
  padding:0;
  border-radius:0;
  box-shadow:none;
}

.site-nav{
  display:flex;
  align-items:center;
  gap:22px;
}

.site-nav a{
  position:relative;
  font-size:14px;
  font-weight:500;
  padding:4px 0;
  color:#f3f0ea;
}

.site-nav a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-5px;
  width:0;
  height:2px;
  background:var(--accent);
  transition:width .2s ease;
}

.site-nav a:hover::after{
  width:100%;
}

.nav-toggle{
  display:none;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.06);
  color:#f3f0ea;
  border-radius:12px;
  padding:10px 12px;
  font-size:18px;
  cursor:pointer;
}

.lang{
  display:flex;
  gap:10px;
}

.lang-btn{
  width:44px;
  height:44px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.06);
  font-size:20px;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition:.2s ease;
}

.lang-btn:hover{
  transform:translateY(-1px);
  border-color:var(--accent);
}

.lang-btn.is-active{
  border-color:var(--accent);
  box-shadow:0 0 0 3px rgba(127,29,45,.12);
}

/* Hero */
.hero{
  min-height:82vh;
  display:flex;
  align-items:center;
  position:relative;
  overflow:hidden;
  background:#111;
}

.hero-slide{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  opacity:0;
  transform:scale(1.02);
  transition:opacity 1.4s ease, transform 6s ease;
}

.hero-slide.is-active{
  opacity:1;
  transform:scale(1);
}

.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(to bottom, rgba(20,20,20,.28), rgba(20,20,20,.46));
  z-index:1;
}

.hero-inner{
  position:relative;
  z-index:2;
  color:#fff;
  padding:110px 0 90px;
}

.hero h1{
  font-family:'Cormorant Garamond', serif;
  font-size:clamp(46px, 7vw, 76px);
  line-height:.98;
  font-weight:600;
  margin-bottom:18px;
  max-width:760px;
}

.hero p{
  max-width:760px;
  font-size:clamp(18px, 2.3vw, 22px);
  color:rgba(255,255,255,.94);
}

.hero-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:28px;
}

/* Page hero */
.page-hero{
  position:relative;
  padding:92px 0 72px;
  background-size:cover;
  background-position:center;
  overflow:hidden;
}

.page-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(to bottom, rgba(20,20,20,.26), rgba(20,20,20,.46));
}

.page-hero-inner{
  position:relative;
  color:#fff;
}

.page-hero h1{
  font-family:'Cormorant Garamond', serif;
  font-size:clamp(42px, 5vw, 62px);
  font-weight:600;
  margin-bottom:10px;
}

.page-hero p{
  max-width:760px;
  font-size:18px;
  color:rgba(255,255,255,.94);
}

.page-hero-about{ background-image:url("hero1.JPG"); }
.page-hero-courses{ background-image:url("hero2.JPG"); }
.page-hero-instructors{ background-image:url("hero3.JPG"); }
.page-hero-contact{ background-image:url("hero2.JPG"); }
.page-hero-thanks{ background-image:url("hero1.JPG"); }

/* Sections */
.section{
  padding:84px 0;
}

.section-border{
  border-top:1px solid var(--line);
}

.section h1,
.section h2{
  font-family:'Cormorant Garamond', serif;
  font-weight:600;
  line-height:1.05;
  margin-bottom:16px;
}

.section h1{
  font-size:clamp(38px, 4vw, 54px);
}

.section h2{
  font-size:clamp(30px, 3.2vw, 42px);
}

.section h3{
  font-size:18px;
  font-weight:600;
  margin-bottom:10px;
}

.lead{
  max-width:840px;
  font-size:18px;
  color:var(--muted);
}

.muted{
  color:var(--muted);
}

.grid-3{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(260px, 1fr));
  gap:22px;
  margin-top:34px;
}

.card{
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:24px;
  box-shadow:var(--shadow);
}

.card p{
  color:var(--muted);
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:13px 18px;
  border-radius:999px;
  font-size:14px;
  font-weight:500;
  transition:.2s ease;
  border:none;
  cursor:pointer;
}

.btn-primary{
  background:var(--accent);
  color:#fff;
}

.btn-primary:hover{
  background:#671725;
  transform:translateY(-1px);
}

.btn-secondary{
  background:#fff;
  color:var(--text);
  border:1px solid var(--line);
}

.btn-secondary:hover{
  transform:translateY(-1px);
  border-color:var(--accent);
}

/* Courses */
.course{
  padding-top:34px;
}

.course + .course{
  margin-top:42px;
  border-top:1px solid var(--line);
}

.course-title{
  display:flex;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  align-items:flex-start;
}

.badge{
  border:1px solid var(--line);
  background:#fff;
  color:var(--muted);
  border-radius:999px;
  padding:8px 12px;
  font-size:12px;
  font-weight:500;
}

.two-col{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px;
  margin-top:22px;
}

.clean{
  padding-left:18px;
  color:var(--muted);
}

.clean li{
  margin:8px 0;
}

.callout{
  margin-top:18px;
  border-left:3px solid var(--accent);
  padding:14px 16px;
  background:var(--accent-soft);
  border-radius:12px;
  color:var(--text);
}

/* Instructor cards */
.instructors-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:26px;
  margin-top:28px;
}

.instructor{
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:var(--shadow);
}

.instructor img{
  width:100%;
  height:360px;
  object-fit:cover;
}

.instructor-body{
  padding:24px;
}

.instructor-name{
  font-family:'Cormorant Garamond', serif;
  font-size:40px;
  line-height:1;
  margin-bottom:6px;
}

.instructor-role{
  color:var(--accent);
  font-size:14px;
  font-weight:600;
  margin-bottom:14px;
}

.instructor-body p{
  color:var(--muted);
}

/* Testimonials */
.testimonial{
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:24px;
  box-shadow:var(--shadow);
  max-width:none;
  height:100%;
}

.testimonial-quote{
  font-size:17px;
  color:var(--text);
}

.testimonial-meta{
  margin-top:16px;
  color:var(--muted);
  font-size:14px;
}

/* Newsletter */
.newsletter{
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:28px;
  box-shadow:var(--shadow);
  margin-top:28px;
}

.newsletter-form{
  display:grid;
  grid-template-columns:1fr auto;
  gap:12px;
  margin-top:18px;
  position:relative;
}

.newsletter-form input{
  width:100%;
  padding:14px;
  border:1px solid var(--line);
  border-radius:16px;
  background:#fff;
  color:var(--text);
  font-family:inherit;
  font-size:16px;
}

/* Contact form */
.form{
  max-width:760px;
  margin-top:24px;
}

.form-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}

label{
  display:block;
  margin-top:16px;
  margin-bottom:6px;
  font-size:14px;
  color:var(--muted);
}

input, textarea{
  width:100%;
  padding:14px;
  border:1px solid var(--line);
  border-radius:16px;
  background:#fff;
  color:var(--text);
  font-family:inherit;
  font-size:16px;
}

textarea{
  resize:vertical;
}

.small{
  margin-top:16px;
  color:var(--muted);
  font-size:14px;
}

/* Footer */
.site-footer{
  border-top:1px solid var(--line);
  padding:28px 0;
  margin-top:32px;
}

.footer-inner{
  display:flex;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
  color:var(--muted);
  font-size:14px;
}

/* Cookie banner */
.cookie-banner{
  position:fixed;
  left:18px;
  right:18px;
  bottom:18px;
  z-index:2000;
  background:#fff;
  border:1px solid var(--line);
  border-radius:20px;
  box-shadow:0 16px 40px rgba(0,0,0,.12);
  padding:18px;
  display:none;
}

.cookie-banner.show{
  display:block;
}

.cookie-banner p{
  color:var(--muted);
  font-size:14px;
}

.cookie-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:14px;
}

/* Mobile */
@media (max-width: 980px){
  .nav-toggle{
    display:inline-flex;
  }

  .site-nav{
    display:none;
    width:100%;
    flex-direction:column;
    align-items:flex-start;
    gap:12px;
    border-top:1px solid var(--line);
    padding-top:12px;
  }

  .site-nav.is-open{
    display:flex;
  }

  .header-inner{
    flex-wrap:wrap;
  }

  .grid-3,
  .two-col,
  .instructors-grid,
  .form-row,
  .newsletter-form{
    grid-template-columns:1fr;
  }
}

@media (max-width: 640px){
  .container{
    width:min(var(--max), calc(100% - 24px));
  }

  .hero-inner{
    padding:84px 0 72px;
  }

  .hero-actions{
    width:100%;
  }

  .btn{
    width:100%;
  }

  .page-hero h1{
    font-size:44px;
  }

  .section h1{
    font-size:40px;
  }

  .section h2{
    font-size:34px;
  }

  .instructor-name{
    font-size:34px;
  }

  .instructor img{
    height:300px;
  }
}
