:root{
  --deep:#083e45;
  --teal:#0c7c82;
  --aqua:#43c7c7;
  --lime:#84c93f;
  --ink:#102326;
  --muted:#6a7c80;
  --bg:#f4fbfb;
  --white:#fff;
  --shadow:0 20px 60px rgba(7,54,62,.14);
  --r:24px;
}

*{box-sizing:border-box}

body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Arial,sans-serif;
  color:var(--ink);
  background:var(--bg);
  line-height:1.55;
}

a{text-decoration:none;color:inherit}
img{max-width:100%;display:block}

.container{
  width:min(1340px,calc(100% - 18px));
  margin:auto;
}

.topbar{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(255,255,255,.86);
  backdrop-filter:blur(18px);
  border-bottom:1px solid rgba(12,124,130,.12);
}

.nav{
  height:82px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  font-weight:900;
}

.brand img{
  width:58px;
  height:58px;
  border-radius:18px;
  object-fit:cover;
  box-shadow:0 10px 30px rgba(12,124,130,.18);
}

.menu{
  display:flex;
  gap:22px;
  align-items:center;
  font-weight:700;
  color:#31575c;
}

.menu a:hover,
.menu a.active{
  color:var(--teal);
}

.actions{
  display:flex;
  gap:10px;
  align-items:center;
}

.lang{
  padding:9px 12px;
  border:1px solid rgba(12,124,130,.16);
  border-radius:999px;
  background:#fff;
}

.instagram-link{
  background:linear-gradient(135deg,#fff,#eefafa);
  color:#0c7c82;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border:0;
  border-radius:999px;
  padding:13px 20px;
  background:linear-gradient(135deg,var(--teal),var(--aqua));
  color:#fff;
  font-weight:800;
  box-shadow:0 14px 30px rgba(12,124,130,.24);
  cursor:pointer;
}

.btn.green{
  background:linear-gradient(135deg,#4aa927,var(--lime));
  box-shadow:0 14px 30px rgba(132,201,63,.25);
}

.burger{
  display:none;
  border:0;
  background:#e9f7f7;
  border-radius:14px;
  padding:12px;
}

/* HERO */

.hero{
  position:relative;
  overflow:hidden;
  min-height:620px;
  display:flex;
  align-items:center;
  background:
    radial-gradient(circle at 80% 20%,rgba(132,201,63,.28),transparent 28%),
    linear-gradient(135deg,#063941,#0b777d 58%,#e9fbf4);
  color:#fff;
}

.hero-video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:.98;
  filter:saturate(.9) contrast(1.05);
  z-index:0;
}

.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(135deg,rgba(6,57,65,.90),rgba(11,119,125,.76),rgba(6,57,65,.70)),
    radial-gradient(circle at 80% 25%,rgba(132,201,63,.30),transparent 30%);
  z-index:1;
}

.hero::after{
  content:"";
  position:absolute;
  inset:auto -10% -35% 45%;
  height:360px;
  background:rgba(255,255,255,.12);
  filter:blur(50px);
  border-radius:50%;
  z-index:1;
}

.hero-grid{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:48px;
  align-items:center;
  padding:76px 0 88px;
}

.eyebrow{
  display:inline-flex;
  border:1px solid rgba(255,255,255,.28);
  padding:8px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.12);
  font-weight:800;
}

.hero h1{
  font-size:clamp(36px,5vw,68px);
  line-height:1.02;
  margin:20px 0;
}

.hero p{
  font-size:19px;
  max-width:650px;
  color:rgba(255,255,255,.88);
}

.hero-card{
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.25);
  border-radius:36px;
  padding:26px;
  box-shadow:var(--shadow);
  backdrop-filter:blur(18px);
}

.hero-card img{
  border-radius:30px;
  width:100%;
  aspect-ratio:1/1;
  object-fit:cover;
}

/* COMMON */

.section{padding:72px 0}

.section-head{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:20px;
  margin-bottom:28px;
}

.section h2{
  font-size:clamp(28px,3vw,44px);
  margin:0;
}

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

.features{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}

.feature,
.card,
.contact-box,
.content-box{
  background:#fff;
  border:1px solid rgba(12,124,130,.10);
  border-radius:var(--r);
  padding:24px;
  box-shadow:var(--shadow);
}

.feature b{font-size:20px}

/* CATALOG */

.catalog-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:22px;
}

.product{
  overflow:hidden;
  padding:0;
}

.product-img{
  height:220px;
  background:linear-gradient(135deg,#e7fbfb,#f6fff0);
  display:flex;
  align-items:center;
  justify-content:center;
}

.product-img img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.pill{
  display:inline-flex;
  padding:7px 11px;
  border-radius:999px;
  background:#eaffdf;
  color:#397b1d;
  font-size:13px;
  font-weight:800;
}

.product-body{padding:22px}

.product h3{
  margin:12px 0 8px;
  font-size:22px;
}

.filters{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom:24px;
}

.filter{
  padding:10px 16px;
  border-radius:999px;
  background:#fff;
  border:1px solid rgba(12,124,130,.15);
  font-weight:800;
}

/* NEWS OLD GRID */

.news-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
}

/* ABOUT */

.about-hero{
  padding:80px 0;
  background:
    radial-gradient(circle at 80% 20%,rgba(132,201,63,.22),transparent 30%),
    linear-gradient(135deg,#063941,#0c7c82);
  color:#fff;
  overflow:hidden;
}

.about-layout{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:36px;
  align-items:center;
}

.about-hero h1{
  font-size:clamp(34px,5vw,58px);
  margin:12px 0;
  line-height:1.05;
}

.about-hero p{
  color:rgba(255,255,255,.88);
  font-size:18px;
}

.about-media{
  position:relative;
  border-radius:34px;
  overflow:hidden;
  box-shadow:0 30px 80px rgba(0,0,0,.22);
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.12);
}

.about-media img,
.about-media video{
  width:100%;
  height:420px;
  object-fit:cover;
}

.about-card-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}

.about-card{
  background:#fff;
  border-radius:28px;
  padding:26px;
  box-shadow:var(--shadow);
  border:1px solid rgba(12,124,130,.10);
}

.about-card span{
  width:52px;
  height:52px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:18px;
  background:linear-gradient(135deg,#e7fbfb,#f2ffe8);
  font-size:26px;
  margin-bottom:16px;
}

.about-text-box{
  background:#fff;
  border-radius:36px;
  padding:40px;
  box-shadow:0 25px 70px rgba(7,54,62,.12);
  border:1px solid rgba(12,124,130,.08);
  max-width:1200px;
  margin:auto;
}

.about-text-box h2{
  font-size:42px;
  margin:0 0 20px;
  color:#083e45;
  text-align:center;
}

.about-text-box p{
  max-width:900px;
  margin:0 auto;
  text-align:center;
  font-size:18px;
  line-height:1.9;
  color:#60757a;
}

.media-block{
  margin:30px auto 0;
  display:flex;
  justify-content:center;
  align-items:center;
  background:linear-gradient(135deg,#f7fbfb,#effafa);
  border-radius:30px;
  padding:22px;
  border:1px solid rgba(12,124,130,.08);
  max-width:760px;
}

.media-block img{
  width:auto;
  max-width:100%;
  max-height:360px;
  border-radius:24px;
  object-fit:contain;
  box-shadow:0 20px 50px rgba(0,0,0,.12);
}

.media-block video{
  width:auto;
  max-width:100%;
  max-height:360px;
  border-radius:24px;
  object-fit:contain;
  background:#000;
  box-shadow:0 20px 50px rgba(0,0,0,.12);
}

/* BLOG / NEWS CARDS */

.post-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
  align-items:start;
}

.post-card{
  background:#fff;
  border-radius:22px;
  overflow:hidden;
  box-shadow:var(--shadow);
  border:1px solid rgba(12,124,130,.10);
  transition:.25s ease;
}

.post-card:hover{
  transform:translateY(-4px);
  box-shadow:0 24px 70px rgba(7,54,62,.18);
}

.post-media{
  min-height:0;
  background:#f4fbfb;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  border-bottom:1px solid rgba(12,124,130,.08);
}

.post-media img{
  width:100%;
  height:auto;
  max-height:260px;
  object-fit:contain;
  background:#f4fbfb;
  display:block;
}

.post-media video{
  width:100%;
  height:auto;
  max-height:260px;
  object-fit:contain;
  background:#000;
  display:block;
}

.post-body{
  padding:18px;
}

.post-date{
  display:inline-flex;
  padding:6px 10px;
  border-radius:999px;
  background:#eaffdf;
  color:#397b1d;
  font-size:12px;
  font-weight:800;
}

.post-body h3{
  margin:10px 0 8px;
  font-size:18px;
  line-height:1.3;
}

.post-body p{
  font-size:14px;
  line-height:1.55;
}

.post-link{
  margin-top:14px;
  display:inline-flex;
  color:var(--teal);
  font-weight:900;
  font-size:14px;
}

.post-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:14px;
}

.post-actions .btn{
  width:100%;
  padding:11px 14px;
  font-size:14px;
}

/* FOOTER */

.footer{
  padding:36px 0;
  background:#062f35;
  color:#dff7f7;
}

/* ADMIN */

.admin-wrap{
  width:min(1280px,calc(100% - 20px));
  margin:34px auto;
}

.admin-card{
  background:#fff;
  border-radius:22px;
  padding:22px;
  box-shadow:var(--shadow);
  margin-bottom:18px;
}

.input,
textarea,
select{
  width:100%;
  padding:12px 14px;
  border:1px solid #d8e8e8;
  border-radius:14px;
  font:inherit;
}

textarea{min-height:90px}

label{
  font-weight:800;
  margin:12px 0 6px;
  display:block;
}

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

.table{
  width:100%;
  border-collapse:collapse;
}

.table td,
.table th{
  padding:12px;
  border-bottom:1px solid #e8f2f2;
  text-align:left;
  vertical-align:top;
}

.admin-tabs{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:15px;
}

.admin-tabs a{
  padding:10px 14px;
  border-radius:999px;
  background:#eefafa;
  font-weight:800;
}

/* ADAPTIVE */

@media(max-width:1200px){
  .post-grid{
    grid-template-columns:repeat(3,1fr);
  }
}

@media(max-width:1100px){
  .catalog-grid{
    grid-template-columns:repeat(3,1fr);
  }
}

@media(max-width:900px){
  .burger{
    display:block;
  }

  .menu{
    display:none;
    position:absolute;
    top:82px;
    left:0;
    right:0;
    background:#fff;
    flex-direction:column;
    padding:20px;
    border-bottom:1px solid #e5f0f0;
  }

  .menu.open{
    display:flex;
  }

  .hero-grid,
  .features,
  .catalog-grid,
  .news-grid,
  .row,
  .about-layout,
  .about-card-grid{
    grid-template-columns:1fr;
  }

  .post-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .hero{
    min-height:auto;
  }

  .hero-grid{
    padding:46px 0;
  }

  .section{
    padding:46px 0;
  }

  .actions .btn{
    display:none;
  }

  .nav{
    height:74px;
  }

  .brand img{
    width:50px;
    height:50px;
  }

  .about-media img,
  .about-media video{
    height:300px;
  }

  .about-text-box{
    padding:30px;
  }

  .about-text-box h2{
    font-size:34px;
  }

  .about-text-box p{
    font-size:16px;
  }

  .media-block{
    max-width:100%;
    padding:16px;
  }

  .media-block img,
  .media-block video{
    max-height:320px;
  }
}

@media(max-width:520px){
  .container{
    width:min(100% - 16px,1340px);
  }

  .nav{
    gap:10px;
  }

  .brand span{
    font-size:14px;
  }

  .lang{
    padding:8px 10px;
    font-size:13px;
  }

  .instagram-link{
    display:none;
  }

  .hero h1{
    font-size:34px;
  }

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

  .hero-card{
    padding:14px;
    border-radius:24px;
  }

  .hero-card img{
    border-radius:20px;
  }

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

  .post-card{
    border-radius:22px;
  }

  .post-body{
    padding:20px;
  }

  .post-body h3{
    font-size:21px;
  }

  .btn{
    width:100%;
    padding:13px 16px;
  }

  .post-actions .btn{
    width:100%;
  }

  .about-text-box{
    padding:24px;
    border-radius:24px;
  }

  .about-text-box h2{
    font-size:28px;
  }

  .media-block{
    border-radius:22px;
    padding:12px;
  }

  .media-block img,
  .media-block video{
    max-height:280px;
    border-radius:18px;
  }
}