:root{
  --gold:#b8892d;
  --gold-light:#e8c878;
  --brown:#3a2b20;
  --white:#ffffff;
}

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

html{
  scroll-behavior:smooth;
  overflow-x:hidden;
}

body{
  font-family:"Yu Mincho","Hiragino Mincho ProN",serif;
  color:var(--brown);
  background:
    linear-gradient(rgba(255,255,255,.80),rgba(255,250,245,.94)),
    url("../images/image.jpg");
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  line-height:1.9;
  overflow-x:hidden;
}

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

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

/* HEADER */
header{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  z-index:999;
  background:rgba(255,255,255,.88);
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(184,137,45,.22);
}

.navbar{
  width:min(1180px,94%);
  margin:auto;
  padding:12px 0;
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.logo-area{
  display:flex;
  align-items:center;
  gap:15px;
}

.logo-area img{
  height:56px;
  width:auto;
}

.company-name{
  display:flex;
  flex-direction:column;
  line-height:1;
}

.brand{
  font-family:"Cormorant Garamond",serif;
  font-size:34px;
  color:var(--gold);
  letter-spacing:.1em;
  font-weight:400;
}

.corp{
  font-family:"Cormorant Garamond",serif;
  font-size:11px;
  color:#8f7442;
  letter-spacing:.42em;
  margin-top:7px;
}

.nav-menu{
  display:flex;
  gap:28px;
  list-style:none;
  font-family:"Cormorant Garamond",serif;
  font-size:16px;
  letter-spacing:.14em;
}

.nav-menu li{
  position:relative;
}

.nav-menu li::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-6px;
  width:0;
  height:1px;
  background:var(--gold);
  transition:.3s;
}

.nav-menu li:hover::after{
  width:100%;
}

/* HOME */
.hero{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:140px 18px 70px;
}

.hero-inner{
  width:min(880px,92%);
  background:rgba(255,255,255,.72);
  border:1px solid rgba(184,137,45,.28);
  box-shadow:0 25px 70px rgba(120,90,40,.14);
  padding:58px 40px;
  border-radius:34px;
}

.hero-logo{
  width:320px;
  max-width:78%;
  margin:0 auto 28px;
}

.hero h1{
  font-family:"Cormorant Garamond",serif;
  font-size:18px;
  letter-spacing:.22em;
  color:var(--gold);
  font-weight:400;
  line-height:1.6;
  margin-bottom:28px;
}

.hero p{
  font-size:18px;
  line-height:2.15;
  margin-bottom:34px;
  text-align:center;
}

.btn{
  display:inline-block;
  padding:14px 44px;
  border-radius:999px;
  background:linear-gradient(135deg,var(--gold),var(--gold-light));
  color:#fff;
  letter-spacing:.16em;
  font-size:14px;
  border:none;
  cursor:pointer;
  box-shadow:0 12px 28px rgba(184,137,45,.32);
  font-family:inherit;
}

/* COMMON */
.page-hero{
  width:min(1120px,92%);
  margin:150px auto 54px;
  padding:76px 24px;
  text-align:center;
  background:rgba(255,255,255,.72);
  border:1px solid rgba(184,137,45,.25);
  border-radius:34px;
  box-shadow:0 20px 60px rgba(150,120,80,.1);
}

.page-hero h1{
  font-family:"Cormorant Garamond",serif;
  font-size:42px;
  letter-spacing:.16em;
  color:var(--gold);
  font-weight:400;
  margin-bottom:12px;
}

.page-hero p{
  font-size:16px;
}

.content{
  width:min(1120px,92%);
  margin:0 auto 72px;
  padding:70px 36px;
  background:rgba(255,255,255,.78);
  border-radius:34px;
  border:1px solid rgba(184,137,45,.2);
  box-shadow:0 20px 60px rgba(150,120,80,.09);
}

.section-title{
  text-align:center;
  margin-bottom:46px;
}

.section-title span{
  display:block;
  font-size:13px;
  color:var(--gold);
  letter-spacing:.3em;
  margin-bottom:10px;
}

.section-title h2{
  font-size:30px;
  letter-spacing:.1em;
  font-weight:400;
  display:inline-block;
  position:relative;
  padding-bottom:18px;
  line-height:1.45;
}

.section-title h2::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:0;
  transform:translateX(-50%);
  width:88px;
  height:1px;
  background:linear-gradient(90deg,transparent,var(--gold),transparent);
}

/* NORMAL CARDS */
.cards{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}

.card{
  background:rgba(255,255,255,.91);
  padding:32px 24px;
  border-radius:24px;
  border:1px solid rgba(184,137,45,.22);
  text-align:center;
}

.card h3{
  font-family:"Cormorant Garamond",serif;
  color:var(--gold);
  font-size:25px;
  font-weight:500;
  margin-bottom:16px;
}

.card p,
.center-text{
  font-size:16px;
  line-height:2;
  text-align:center;
}

/* PRODUCT */
.product-cards{
  display:grid !important;
  grid-template-columns:repeat(5,1fr);
  gap:14px;
  width:100%;
}

.product-card{
  display:flex !important;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  min-height:190px;
  padding:24px 12px;
  background:rgba(255,255,255,.92);
  border-radius:22px;
  border:1px solid rgba(184,137,45,.22);
  text-align:center;
}

.product-card h3{
  display:flex !important;
  align-items:center;
  justify-content:center;
  gap:7px;
  color:var(--gold);
  font-family:"Cormorant Garamond",serif;
  font-size:18px;
  font-weight:500;
  line-height:1.3;
  margin-bottom:16px;
  white-space:nowrap;
}

.product-card p{
  font-size:13px;
  line-height:1.85;
  text-align:center;
  margin:0;
}

.diamond{
  font-size:17px;
  line-height:1;
}

.moon{
  color:#f5f0ea;
  text-shadow:0 0 1px #b8892d,0 0 8px rgba(255,255,255,.9);
}

.emerald{
  color:#2fa86d;
}

.rose{
  color:#ff7eb6;
}

.citrine{
  color:#d4af37;
}

.onyx{
  color:#1f1f1f;
}

/* FLOW */
.flow{
  display:grid;
  gap:20px;
}

.flow-item{
  display:flex;
  gap:22px;
  align-items:flex-start;
  background:rgba(255,255,255,.91);
  padding:24px;
  border-radius:24px;
  border:1px solid rgba(184,137,45,.2);
}

.num{
  min-width:48px;
  height:48px;
  border-radius:50%;
  background:linear-gradient(135deg,var(--gold),var(--gold-light));
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:19px;
  font-family:"Cormorant Garamond",serif;
}

.flow-item h3{
  color:var(--gold);
  margin-bottom:6px;
  font-size:21px;
  font-weight:400;
}

.flow-item p{
  font-size:15.5px;
  line-height:2;
}

/* COMPANY */
.about{
  display:grid;
  grid-template-columns:1fr 1.15fr;
  gap:40px;
  align-items:center;
}

.profile-img{
  width:100%;
  border-radius:30px;
  border:8px solid #fff;
  box-shadow:0 18px 45px rgba(100,70,30,.18);
}

.gold-title{
  color:var(--gold);
  font-size:25px;
  margin-bottom:18px;
  font-weight:400;
}

.about p{
  font-size:16px;
  line-height:2.1;
  margin-bottom:14px;
}

table{
  width:100%;
  border-collapse:collapse;
  background:rgba(255,255,255,.86);
  border-radius:20px;
  overflow:hidden;
}

th,td{
  padding:16px 18px;
  border-bottom:1px solid rgba(184,137,45,.18);
  text-align:left;
  font-size:15px;
}

th{
  width:30%;
  color:var(--gold);
  font-weight:400;
}

/* CONTACT */
form{
  max-width:720px;
  margin:auto;
  display:grid;
  gap:18px;
}

input,textarea{
  width:100%;
  padding:16px;
  border-radius:16px;
  border:1px solid rgba(184,137,45,.35);
  background:rgba(255,255,255,.9);
  font-family:inherit;
  font-size:15px;
}

textarea{
  min-height:160px;
  resize:vertical;
}

footer{
  text-align:center;
  padding:46px 20px;
  background:rgba(255,255,255,.82);
  border-top:1px solid rgba(184,137,45,.22);
  color:#7a5b2a;
  letter-spacing:.08em;
}

.fade{
  opacity:0;
  transform:translateY(28px);
  transition:1s ease;
}

.fade.show{
  opacity:1;
  transform:none;
}

/* TABLET */
@media(max-width:1050px){
  .product-cards{
    grid-template-columns:repeat(2,1fr) !important;
  }

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

/* SMARTPHONE */
@media(max-width:768px){

  body{
    background-attachment:scroll;
  }

  header{
    position:relative;
  }

  .navbar{
    width:100%;
    padding:15px 14px 12px;
    flex-direction:column;
    gap:12px;
  }

  .logo-area{
    justify-content:center;
    gap:8px;
  }

  .logo-area img{
    height:38px;
  }

  .brand{
    font-size:25px;
    letter-spacing:.12em;
  }

  .corp{
    font-size:8px;
    letter-spacing:.3em;
  }

  .nav-menu{
    width:100%;
    justify-content:center;
    gap:0;
    font-size:12px;
    letter-spacing:.07em;
    border-top:1px solid rgba(184,137,45,.18);
    padding-top:11px;
  }

  .nav-menu li{
    padding:0 6px;
  }

  .hero{
    min-height:auto;
    padding:30px 0 38px;
  }

  .hero-inner,
  .page-hero,
  .content{
    width:calc(100% - 28px);
    max-width:100%;
    border-radius:26px;
  }

  .hero-inner{
    padding:40px 18px;
  }

  .hero-logo{
    width:168px;
    max-width:68%;
    margin-bottom:24px;
  }

  .hero h1{
    font-size:11px !important;
    letter-spacing:.18em !important;
    line-height:1.8;
    margin-bottom:26px;
    white-space:nowrap;
  }

  .hero p{
    font-size:14.5px;
    line-height:2.1;
    max-width:280px;
    margin:0 auto 30px;
    text-align:center;
  }

  .btn{
    width:100%;
    max-width:300px;
    padding:14px 18px;
    text-align:center;
  }

  .page-hero{
    margin:26px auto 34px;
    padding:46px 16px;
  }

  .page-hero h1{
    font-size:30px;
    letter-spacing:.12em;
  }

  .page-hero p{
    font-size:14px;
  }

  .content{
    margin:0 auto 44px;
    padding:42px 16px;
  }

  .section-title{
    margin-bottom:32px;
  }

  .section-title span{
    font-size:11px;
    letter-spacing:.22em;
  }

  .section-title h2{
    font-size:22px;
    letter-spacing:.06em;
    line-height:1.55;
  }

  .product-cards{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:16px;
  }

  .product-card{
    display:flex !important;
    width:100%;
    min-height:auto;
    padding:26px 18px;
    border-radius:22px;
    background:rgba(255,255,255,.92);
    border:1px solid rgba(184,137,45,.22);
  }

  .product-card h3{
    display:flex !important;
    font-size:22px;
    gap:8px;
    margin-bottom:12px;
    color:var(--gold);
    text-align:center;
  }

  .product-card p{
    font-size:14.5px;
    line-height:2;
    max-width:290px;
    margin:auto;
    text-align:center;
  }

  .diamond{
    font-size:18px;
  }

  .card{
    padding:28px 18px;
  }

  .card h3{
    font-size:23px;
  }

  .card p,
  .center-text{
    font-size:14.5px;
    line-height:2;
  }

  .flow-item{
    flex-direction:column;
    gap:14px;
    padding:22px 18px;
    border-radius:22px;
  }

  .flow-item h3{
    font-size:20px;
  }

  .flow-item p{
    font-size:14.5px;
    line-height:2;
  }

  .num{
    width:46px;
    height:46px;
    min-width:46px;
  }

  .about{
    grid-template-columns:1fr;
    gap:26px;
  }

  .gold-title{
    text-align:center;
    font-size:22px;
  }

  .about p{
    font-size:14.5px;
    line-height:2.05;
  }

  table,
  tbody,
  tr,
  th,
  td{
    display:block;
    width:100%;
  }

  tr{
    padding:13px 0;
    border-bottom:1px solid rgba(184,137,45,.2);
  }

  th,td{
    border-bottom:none;
    padding:5px 14px;
    font-size:14px;
  }

  input,textarea{
    font-size:16px;
  }

  footer{
    padding:34px 18px;
    font-size:13px;
  }
}

/* SMALL PHONE */
@media(max-width:390px){

  .nav-menu{
    font-size:11px;
  }

  .nav-menu li{
    padding:0 5px;
  }

  .hero h1{
    font-size:10px !important;
    letter-spacing:.16em !important;
  }

  .section-title h2{
    font-size:21px;
  }

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