/* KELTHRA USA - Main stylesheet
   Edit colors in :root. Image and video paths are in index.html. */


:root {
  --green:#62a830;
  --green-dark:#397d31;
  --lime:#a2d86a;
  --ink:#343434;
  --muted:#5d6667;
  --pale:#f3f8f0;
  --white:#ffffff;
  --line:#dce7d7;}


* {
  box-sizing:border-box}

html {
  scroll-behavior:smooth;
  scroll-padding-top:85px}

body {
  margin:0;
  font:16px/1.65 Arial,Helvetica;
  color:var(--ink);
  background:white}

a {
  color:inherit}

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

button {
  font:inherit}

h1,h2,h3,p {
  margin-top:0}

h1,h2,h3 {
  line-height:1.15}

h2 {
  font-size:clamp(30px,4vw,47px);
  letter-spacing:-.035em}

h3 {
  font-size:23px}

p {
  color:var(--muted)}

.container {
  width:min(1160px,88%);
  margin:auto}

.section {
  padding:95px 0}

.eyebrow {
  font-size:12px;
  font-weight:700;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--green-dark);
  margin-bottom:15px}

.lead {
  font-size:18px;
  max-width:760px}

.btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:47px;
  padding:12px 23px;
  text-decoration:none;
  font-size:13px;
  font-weight:700;
  letter-spacing:.04em;
  background:var(--green);
  color:#152314;
  border:1px solid var(--green);
  transition:.2s}

.btn:hover {
  background:var(--green-dark)}

.btn-outline {
  background:transparent;
  color:var(--ink);
  border-color:var(--green-dark)}

.btn-outline:hover {
  background:var(--pale)}


header {
  position:sticky;
  top:0;
  z-index:20;
  background:var(--ink);
  border-bottom:3px solid var(--green)}

.header-inner {
  min-height:79px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px}

.brand {
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  color:#fff;
  font-size:25px;
  font-weight:800;
  letter-spacing:.045em}

.brand img {
  max-height:49px;
  max-width:175px}

.brand .wordmark {
  display:none}

.brand img:not([src]) {
  display:none}

.brand:has(img:not([src])) .wordmark {
  display:block}

nav {
  display:flex;
  gap:26px;
  align-items:center}

nav a {
  color:#fff;
  text-decoration:none;
  font-size:13px;
  font-weight:700}

nav a:hover {
  color:var(--lime)}

.menu-toggle {
  display:none;
  background:transparent;
  border:1px solid #65716a;
  color:white;
  padding:8px 12px;
  cursor:pointer}


.hero {
  position:relative;
  isolation:isolate;
  min-height:650px;
  display:flex;
  align-items:center;
  background:#202729;
  overflow:hidden}

.hero video {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:-2
}

.hero:before {
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  background:linear-gradient(90deg,rgba(23,30,27,.93),rgba(23,30,27,.76) 54%,rgba(23,30,27,.35))}

.hero-content {
  padding:110px 0}

.hero .eyebrow {
  color:var(--lime)}

.hero h1 {
  color:white;
  font-size:clamp(42px,5.5vw,72px);
  max-width:850px;
  letter-spacing:-.045em;
  margin-bottom:20px}

.hero h1 span {
  color:var(--lime)}

.hero p {
  color:#e3eae3;
  font-size:18px;
  max-width:670px}

.hero-actions {
  display:flex;
  gap:13px;
  flex-wrap:wrap;
  margin-top:30px}

.hero .btn-outline {
  color:white;
  border-color:#a6b6a7}

.hero .btn-outline:hover {
  color:var(--ink)}


.intro {
  background:var(--pale)}

.two-col {
  display:grid;
  grid-template-columns:1fr;
  gap:80px;
  align-items:center}

.intro-mark {
  background:var(--ink);
  min-height:360px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
  padding:48px;
  position:relative;
  overflow:hidden}

.intro-mark:before,.intro-mark:after {
  content:"";
  position:absolute;
  border:25px solid var(--green);
  border-radius:50%;
  width:410px;
  height:410px;
  left:-310px;
  top:-80px}

.intro-mark:after {
  width:340px;
  height:340px;
  border-color:var(--lime);
  left:-280px;
  top:-40px}

.intro-mark strong {
  color:white;
  font-size:clamp(35px,5vw,58px);
  letter-spacing:.02em;
  z-index:1}

.intro-mark span {
  color:var(--lime);
  font-size:14px;
  letter-spacing:.16em;
  z-index:1}

.intro-mark img {
  max-width:260px;
  max-height:110px;
  z-index:1}

.intro-mark img+strong {
  display:none}

.intro-mark img:not([src]) {
  display:none}

.intro-mark img:not([src])+strong {
  display:block}


.services {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
  margin-top:38px}

.service {
  border-top:3px solid var(--green);
  background:var(--pale);
  padding:25px 22px}

.service h3 {
  font-size:19px;
  margin-bottom:10px}

.service p {
  font-size:14px;
  margin-bottom:0}

.industries {
  background:var(--ink)}

.industries h2,.industries .lead {
  color:#fff}

.industries .eyebrow {
  color:var(--lime)}

.industry-grid {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:15px;
  margin-top:35px}

.industry {
  padding:30px 23px;
  border:1px solid #53605a;
  background:#303a35}

.industry .num {
  color:var(--lime);
  font-size:12px;
  font-weight:700;
  letter-spacing:.1em}

.industry h3 {
  color:white;
  font-size:20px;
  margin:18px 0 8px}

.industry p {
  color:#d4ddd5;
  font-size:14px;
  margin:0}


.products-intro {
  text-align:center;
  padding-bottom:22px}

.products-intro .lead {
  margin-left:auto;
  margin-right:auto}

.product {
  padding:78px 0;
  border-bottom:1px solid var(--line)}

.product:nth-of-type(even) {
  background:var(--ink)}

.product-layout {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:70px;
  align-items:center}

.product:nth-of-type(even) .product-layout .product-copy {
  order:-1}

.product h2 {
  margin-bottom:19px}

.product-copy p {
  max-width:540px}

.product-copy .btn {
  margin-top:14px}

.gallery {
  min-width:0}

.gallery-main {
  height:355px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#ffffff;
  border:1px solid var(--line);
  padding:20px}

.gallery-main img {
  width:100%;
  height:100%;
  object-fit:contain}

.gallery-thumbs {
  display:flex;
  gap:9px;
  margin-top:11px;
  overflow-x:auto}

.gallery-thumbs button {
  width:78px;
  height:67px;
  flex:0 0 78px;
  border:2px solid var(--line);
  background:#fff;
  padding:4px;
  cursor:pointer}

.gallery-thumbs button.active,.gallery-thumbs button:focus-visible {
  border-color:var(--green-dark)}

.gallery-thumbs img {
  width:100%;
  height:100%;
  object-fit:contain}

.image-placeholder {
  height:100%;
  width:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:20px;
  color:#6d7d70;
  background:linear-gradient(135deg,#f0f6ec,#fff);
  font-weight:700}

.gallery-main img.is-missing {
  display:none}

.gallery-main img.is-missing+.image-placeholder {
  display:flex}

.image-placeholder {
  display:none}


.contact {
  background:var(--pale)}

.contact-grid {
  display:grid;
  grid-template-columns:1.2fr 1fr;
  gap:80px}

.contact-details {
  border-left:3px solid var(--green);
  padding-left:25px}

.contact-details a {
  color:var(--green-dark);
  text-decoration:none}

.contact-details a:hover {
  text-decoration:underline}

.contact-details p {
  margin-bottom:12px}

.contact-details strong {
  color:var(--ink)}

footer {
  background:var(--ink);
  color:#d6e0d8;
  padding:28px 0}

footer .container {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  flex-wrap:wrap}

footer p {
  color:#c6d0c7;
  margin:0;
  font-size:13px}

footer a {
  color:var(--lime);
  text-decoration:none}


@media(max-width:900px) {
  nav {
  gap:13px}

.two-col,.product-layout,.contact-grid {
  gap:38px}

.services,.industry-grid {
  grid-template-columns:repeat(2,1fr)}

}


@media(max-width:700px) {
  .section {
  padding:65px 0}

.header-inner {
  min-height:72px}

.menu-toggle {
  display:block}

nav {
  display:none;
  position:absolute;
  left:0;
  right:0;
  top:100%;
  padding:20px 6%;
  background:var(--ink);
  flex-direction:column;
  align-items:flex-start;
  gap:17px}

nav.open {
  display:flex}

.hero {
  min-height:570px}

.hero-content {
  padding:85px 0}

.hero p {
  font-size:16px}

.two-col,.product-layout,.contact-grid {
  grid-template-columns:1fr}

.intro-mark {
  min-height:240px}

.services,.industry-grid {
  grid-template-columns:1fr}

.product {
  padding:55px 0}

.product:nth-of-type(even) .product-layout .product-copy {
  order:initial}

.gallery-main {
  height:270px}

}


@media(prefers-reduced-motion:reduce) {
  html {
  scroll-behavior:auto}

.hero video {
  display:none}

}



/* Fallback text when a product image is not available */


/* ============================================================
   KELTHRA VISUAL REFRESH - edit this section for visual styling
   Brand-inspired animated green ribbons, no external libraries
   ============================================================ */
:root { --green:#69b344; --green-dark:#397b30; --lime:#b0e57b; --ink:#252b2a; --pale:#f5f8f3; }
body {font-family:Arial,Helvetica,sans-serif;}
.container {width:min(1220px,88%);}
header {background:#222a27ed;backdrop-filter:blur(16px);border-bottom:1px solid rgba(164,219,120,.25);}
nav a {font-size:12px;letter-spacing:.08em;text-transform:uppercase;transition:color .2s;}
nav a:last-child {border:1px solid var(--green);padding:11px 18px;border-radius:30px;}
.hero {min-height:min(820px,94vh);background:#14221d;}
.hero:before {z-index:-1;background:linear-gradient(90deg,rgba(14,24,20,.96) 0%,rgba(16,27,21,.82) 47%,rgba(12,27,19,.35) 100%);}
.hero video {z-index:-2;filter:saturate(.8);}
.hero-content {position:relative;z-index:3;padding:130px 0 175px;}
.hero .eyebrow {font-size:11px;letter-spacing:.23em;color:#b3ed85;}
.hero h1 {font-size:clamp(48px,6.7vw,98px);line-height:1.03;letter-spacing:-.055em;max-width:940px;margin:24px 0 27px;}
.hero h1 span {display:block;color:#a9e375;}
.hero p {font-size:clamp(16px,1.5vw,20px);max-width:650px;line-height:1.75;color:#edf5eb;}
.btn {border-radius:30px;padding:14px 27px;min-height:52px;transition:transform .25s,background .25s,box-shadow .25s;}
.btn:hover {transform:translateY(-3px);box-shadow:0 9px 24px rgba(25,75,29,.2);}
.hero .btn {background:var(--green);color:#142419;}
.hero .btn-outline {background:rgba(255,255,255,.06);color:#fff;border-color:rgba(255,255,255,.65);}
.hero .btn-outline:hover {background:#fff;color:#142419;}
.hero-wave {position:absolute;z-index:0;right:-12%;top:-16%;width:57%;height:140%;pointer-events:none;transform:rotate(16deg);opacity:.82;filter:drop-shadow(-16px 12px 26px rgba(0,0,0,.15));}
.wave-ribbon {position:absolute;top:-5%;height:112%;border-radius:50%;transform-origin:50% 50%;animation:waveFloat 9s ease-in-out infinite alternate;}
.wave-ribbon-1 {right:0;width:70%;border-left:clamp(35px,5vw,90px) solid rgba(116,194,73,.86);transform:rotate(-15deg);}
.wave-ribbon-2 {right:10%;width:63%;border-left:clamp(28px,4vw,72px) solid rgba(159,220,103,.75);animation-delay:-3s;}
.wave-ribbon-3 {right:23%;width:58%;border-left:clamp(20px,3vw,55px) solid rgba(74,145,54,.85);animation-delay:-6s;}
@keyframes waveFloat {from {translate:0 -13px;scale:1 1;} to {translate:-22px 24px;scale:1.06 1.025;}}
.hero-bottom-wave {position:absolute;z-index:2;bottom:-1px;left:0;width:100%;height:105px;pointer-events:none;}
.hero-bottom-wave svg {width:100%;height:100%;display:block;}
.section {padding:112px 0;}
h2 {font-size:clamp(34px,4.6vw,62px);letter-spacing:-.048em;line-height:1.08;}
.eyebrow {letter-spacing:.2em;}
.intro {background:var(--pale);}
.intro-mark {min-height:430px;border-radius:6px;background:radial-gradient(circle at 85% 20%,#36483a,#242b29 68%);box-shadow:0 25px 55px rgba(25,45,29,.14);}
.intro-mark:before,.intro-mark:after {display:none;}
.brand-waves {position:absolute;inset:0;overflow:hidden;pointer-events:none;}
.brand-waves span {position:absolute;width:85%;height:145%;top:-20%;left:-62%;border:24px solid #75bd4c;border-radius:50%;animation:waveFloat 8s ease-in-out infinite alternate;}
.brand-waves span:nth-child(2) {left:-54%;border-color:#a2d46a;animation-delay:-2s;}
.brand-waves span:nth-child(3) {left:-46%;border-color:#528f39;animation-delay:-4s;}
.brand-waves span:nth-child(4) {left:-38%;border-color:#b9e486;animation-delay:-6s;}
.intro-mark img,.intro-mark strong,.intro-mark>span {position:relative;z-index:2;}
.service {border:1px solid #e4eae1;border-top:4px solid var(--green);border-radius:5px;padding:32px 24px;transition:transform .25s,box-shadow .25s;}
.service:hover {transform:translateY(-7px);box-shadow:0 20px 40px rgba(40,74,35,.1);}
.industries {position:relative;background:radial-gradient(circle at 100% 0%,#39583b,#252d29 60%);}
.industry {border:1px solid rgba(178,224,153,.2);background:rgba(255,255,255,.035);border-radius:5px;transition:background .25s,transform .25s;}
.industry:hover {background:rgba(110,178,78,.13);transform:translateY(-5px);}
.products-intro {padding-top:110px;padding-bottom:35px;}
.product {padding:100px 0;}
.product:nth-of-type(even) {background:var(--pale);}
.product-number {display:inline-block;font-size:11px;letter-spacing:.18em;color:var(--green-dark);font-weight:bold;margin-bottom:20px;}
.product h2 {font-size:clamp(48px,6vw,82px);}
.gallery-main {height:420px;border:1px solid #e4e9e1;border-radius:8px;background:linear-gradient(135deg,#fff,#f8fbf7);box-shadow:0 20px 45px rgba(27,54,27,.06);overflow:hidden;}
.gallery-main img {transition:transform .4s ease;}
.gallery-main:hover img {transform:scale(1.035);}
.gallery-thumbs button {border-radius:4px;overflow:hidden;}
.contact {background:linear-gradient(135deg,#e9f3e3,#fff);}
.contact-details {border-radius:8px;box-shadow:0 15px 45px rgba(29,58,29,.08);}
@media(max-width:900px) {.hero-wave {right:-35%;width:90%;opacity:.43;} .hero {min-height:690px;} .hero-content {padding:110px 0 155px;}}
@media(max-width:650px) {.hero-wave {right:-75%;width:140%;opacity:.24;} .hero {min-height:670px;} .hero-content {padding:90px 0 145px;} .hero h1 {font-size:clamp(43px,10vw,61px);} .hero-bottom-wave {height:60px;} .section {padding:72px 0;} .intro-mark {min-height:310px;} .gallery-main {height:300px;} nav a:last-child {border:0;padding:0;} }
@media(prefers-reduced-motion:reduce) {.wave-ribbon,.brand-waves span {animation:none;} .service,.industry,.btn,.gallery-main img {transition:none;} }


/* ==============================================================
   ORIGINAL KELTHRA WAVE + FLOATING CIRCLES
   Uses images/onda.png provided by Kelthra. The image itself
   remains unchanged; its movement is a subtle CSS animation.
   ============================================================= */
.hero { isolation:isolate; overflow:hidden; }
.hero-wave { display:none !important; }
.hero-art {
  position:absolute; z-index:1; left:-1%; bottom:-4px;
  width:103%; height:72%; pointer-events:none;
  animation:kelthraWaveDrift 12s ease-in-out infinite alternate;
}
.hero-art img { display:block; width:100%; height:100%; object-fit:fill; }
.hero-particles {position:absolute;inset:0;z-index:2;overflow:hidden;pointer-events:none;}
.particle {
  position:absolute;display:block;width:12px;height:12px;
  border-radius:50%;border:1px solid rgba(182,240,134,.7);
  background:rgba(143,210,91,.35);box-shadow:0 0 20px rgba(140,225,94,.32);
  bottom:-40px;animation:kelthraParticleRise 13s linear infinite;
}
.p1 {left:5%;width:8px;height:8px;animation-delay:-2s;animation-duration:15s;}
.p2 {left:14%;width:16px;height:16px;animation-delay:-8s;animation-duration:18s;}
.p3 {left:27%;width:6px;height:6px;animation-delay:-5s;animation-duration:12s;}
.p4 {left:36%;width:11px;height:11px;animation-delay:-11s;animation-duration:19s;}
.p5 {left:48%;width:18px;height:18px;animation-delay:-3s;animation-duration:17s;}
.p6 {left:59%;width:7px;height:7px;animation-delay:-10s;animation-duration:14s;}
.p7 {left:68%;width:13px;height:13px;animation-delay:-6s;animation-duration:20s;}
.p8 {left:79%;width:8px;height:8px;animation-delay:-1s;animation-duration:16s;}
.p9 {left:88%;width:17px;height:17px;animation-delay:-9s;animation-duration:21s;}
.p10 {left:95%;width:5px;height:5px;animation-delay:-4s;animation-duration:13s;}
.p11 {left:43%;width:5px;height:5px;animation-delay:-14s;animation-duration:22s;}
.p12 {left:73%;width:6px;height:6px;animation-delay:-15s;animation-duration:18s;}
@keyframes kelthraWaveDrift {
  from {transform:translate3d(-1%,0,0) scale(1.015);}
  to {transform:translate3d(1%,8px,0) scale(1.035);}
}
@keyframes kelthraParticleRise {
  0% {transform:translate3d(0,0,0) scale(.6);opacity:0;}
  12% {opacity:.85;}
  70% {opacity:.65;}
  100% {transform:translate3d(35px,-900px,0) scale(1.35);opacity:0;}
}
/* Keep the headline clear, while the wave anchors the lower hero. */
.hero-content {z-index:3;padding-bottom:clamp(220px,24vw,310px);}
.hero-bottom-wave {display:none;}
@media(max-width:900px) {
  .hero-art {height:52%;width:145%;left:-15%;}
  .hero-content {padding-bottom:260px;}
}
@media(max-width:650px) {
  .hero-art {height:34%;width:200%;left:-30%;}
  .hero-content {padding-bottom:190px;}
  .particle {opacity:.6;}
}
@media(prefers-reduced-motion:reduce) {
  .hero-art,.particle {animation:none!important;}
  .particle {display:none;}
}

/* FIX LOGO HEADER */

header .brand {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 100;
    flex-shrink: 0;
}

header .brand img {
    display: block !important;
    width: 180px !important;
    height: auto !important;
    max-height: 65px;
    opacity: 1 !important;
    visibility: visible !important;
    object-fit: contain;
}

header .wordmark {
    color: #ffffff;
    font-family: Arial, sans-serif;
    font-weight: bold;
}


/* SFONDO IMMAGINE - ABOUT KELTHRA */

.intro-mark {
    position: relative;
    overflow: hidden;

    background:
        linear-gradient(
            rgba(15, 30, 22, 0.45),
            rgba(15, 30, 22, 0.45)
        ),
        url("../images/Kelthra-background.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* MANTIENE LOGO E TESTI IN PRIMO PIANO */

.intro-mark > img,
.intro-mark > strong,
.intro-mark > span {
    position: relative;
    z-index: 2;
}

/* MANTIENE LE ONDE SOPRA LO SFONDO */

.intro-mark .brand-waves {
    position: absolute;
    z-index: 1;
}

/* MOVIMENTO LEGGERO DELLO SFONDO */

.intro-mark {
    animation: backgroundMove 18s ease-in-out infinite alternate;
}

@keyframes backgroundMove {
    from {
        background-position: 45% center;
    }

    to {
        background-position: 55% center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .intro-mark {
        animation: none;
    }
}

/* TITOLI PICCOLI DELLE SEZIONI */

.product-number {
    color: #202326 !important;
}

/* ==================================
   BOTTONI KELTHRA
   NERI CON HOVER VERDE
================================== */

/* STATO NORMALE */

.btn,
.button,
.kh-button,
.kh-kronoa-link {
    background-color: #202326 !important;
    color: #ffffff !important;
    border: 2px solid #202326 !important;

    transition: background-color 0.3s ease,
                border-color 0.3s ease,
                color 0.3s ease,
                transform 0.3s ease;
}

/* PASSAGGIO DEL MOUSE */

.btn:hover,
.button:hover,
.kh-button:hover,
.kh-kronoa-link:hover {
    background-color: #62A830 !important;
    color: #ffffff !important;
    border-color: #62A830 !important;

    transform: translateY(-3px);
}

/* ALLINEAMENTO LOGO KELTHRA */

.intro-mark img {
    position: relative;
    left: -20px;
}
/* BOTTONE SPECIALE VERDE */

a.btn.btn-special {
    background: #62A830 !important;
    color: #ffffff !important;
    border-color: #62A830 !important;
}

/* HOVER BIANCO */

a.btn.btn-special:hover {
    background: #ffffff !important;
    color: #343434 !important;
    border-color: #ffffff !important;
}

/* LOGHI BRAND NELLE SEZIONI PRODOTTI */

.product-brand {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 25px;
}

.product-brand-logo {
    display: block;
    width: auto;
    max-width: 200px;
    max-height: 85px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

/* LEGGERO MOVIMENTO AL PASSAGGIO DEL MOUSE */

.product-brand-logo:hover {
    transform: scale(1.05);
}

/* VERSIONE MOBILE */

@media (max-width: 768px) {
    .product-brand-logo {
        max-width: 150px;
        max-height: 65px;
    }
}
/* Video responsive per smartphone */

@media screen and (max-width: 768px) {

    .hero video {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

}
/* Nascondi le onde di About solo su smartphone */

@media screen and (max-width: 768px) {

    .intro-mark::before,
    .intro-mark::after,
    .intro-mark .brand-waves {
        display: none;
    }

}
