/* ==========================================================
   Ibyiza Solutions — shared stylesheet
   Simple, clean, dark industrial style. No heavy gradients,
   no glow effects, no complex animation.
   ========================================================== */

:root{
  --bg:        #0b1220;
  --bg-alt:    #0e1626;
  --panel:     #111a2b;
  --line:      #223047;

  --text:      #eef2f7;
  --text-dim:  #aab4c4;
  --text-mute: #74839a;

  --accent:    #3ab4e0;
  --accent-dark: #1c6f8f;

  --radius: 8px;
  --maxw: 1140px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  margin: 0;
  background: var(--bg);
  color: var(--text-dim);
  font-family: var(--font);
  line-height: 1.6;
  font-size: 16px;
}

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

h1, h2, h3, h4{
  color: var(--text);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 14px;
}

p{ margin: 0 0 14px; }
ul{ margin: 0; padding: 0; }

.container{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

section{ padding: 64px 0; }
@media (max-width: 700px){ section{ padding: 44px 0; } }

.section-tag{
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.section-head{ max-width: 680px; margin: 0 0 34px; }
.section-head p{ color: var(--text-dim); font-size: 1.02rem; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.skip-link{
  position: absolute;
  left: 10px; top: -50px;
  background: var(--accent);
  color: #04141d;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 6px;
  z-index: 999;
  transition: top .15s ease;
}
.skip-link:focus{ top: 10px; }

/* ============ BUTTONS ============ */
.btn{
  display: inline-block;
  padding: 13px 24px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary{ background: var(--accent); color: #04141d; }
.btn-primary:hover{ background: #57c3e6; }
.btn-secondary{ background: transparent; color: var(--text); border-color: var(--line); }
.btn-secondary:hover{ border-color: var(--accent); color: var(--accent); }
.btn-block{ display: block; width: 100%; text-align: center; }
.btn-row{ display: flex; flex-wrap: wrap; gap: 12px; }

/* ============ HEADER / NAV ============ */
.site-header{
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(10, 16, 28, 0.96);
  border-bottom: 1px solid var(--line);
}
.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
}
.brand{ display: flex; align-items: center; gap: 10px; }
.brand img{ height: 34px; width: auto; }
.brand-name{ color: var(--text); font-weight: 700; font-size: 1.05rem; }

.site-nav{
  display: flex;
  align-items: center;
  gap: 4px;
}
.site-nav a{
  color: var(--text-dim);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 10px 12px;
  border-radius: 6px;
}
.site-nav a:hover{ color: var(--text); background: var(--panel); }
.site-nav a[aria-current="page"]{ color: var(--accent); }
.nav-cta{
  margin-left: 8px;
  background: var(--accent);
  color: #04141d !important;
  padding: 10px 16px;
}
.nav-cta:hover{ background: #57c3e6; color: #04141d !important; }

.nav-toggle{
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 6px;
  width: 40px; height: 38px;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span{
  display: block;
  width: 18px; height: 2px;
  background: var(--text);
  margin: 0 auto;
}

@media (max-width: 860px){
  .nav-toggle{ display: flex; }
  .site-nav{
    position: absolute;
    top: 66px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--line);
    padding: 8px;
    display: none;
  }
  .site-nav.open{ display: flex; }
  .site-nav a{ padding: 13px 14px; }
  .nav-cta{ margin-left: 0; text-align: center; }
}

/* ============ HERO ============ */
.hero{
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-alt);
}
.hero h1{
  font-size: clamp(2rem, 4.5vw, 2.9rem);
  max-width: 760px;
}
.hero-desc{
  max-width: 620px;
  font-size: 1.08rem;
  color: var(--text-dim);
  margin-bottom: 26px;
}

.page-hero{
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
  background: var(--bg-alt);
}
.page-hero h1{ font-size: clamp(1.8rem, 4vw, 2.4rem); }
.page-hero p{ max-width: 640px; color: var(--text-dim); font-size: 1.02rem; margin-bottom: 0; }

/* ============ CARDS / GRID ============ */
.grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}
.grid-3{ grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card{
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.card h3{ font-size: 1.08rem; margin-bottom: 8px; }
.card p{ color: var(--text-dim); font-size: 0.95rem; margin-bottom: 0; }

.check-list{ list-style: none; margin: 0 0 14px; }
.check-list li{
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: var(--text-dim);
}
.check-list li::before{
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

/* ============ STEPS ============ */
.steps{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}
.step-num{
  width: 40px; height: 40px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 14px;
}
.step h3{ font-size: 1.02rem; margin-bottom: 6px; }
.step p{ font-size: 0.92rem; color: var(--text-dim); margin-bottom: 0; }

/* ============ INDUSTRY TAGS ============ */
.tag-grid{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tag-chip{
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 18px;
  color: var(--text);
  font-weight: 600;
  font-size: 0.92rem;
  background: var(--panel);
}
.note-italic{ font-size: 0.88rem; color: var(--text-mute); font-style: italic; margin-top: 16px; }

/* ============ SERVICE BLOCKS (services.html) ============ */
.service-block{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  margin-bottom: 20px;
  background: var(--panel);
}
.service-block h2{ font-size: 1.3rem; margin-bottom: 10px; }
.service-block .lede{ color: var(--text-dim); margin-bottom: 20px; }
.service-cols{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 640px){ .service-cols{ grid-template-columns: 1fr; } }
.service-cols h4{
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-mute);
  margin-bottom: 10px;
}

/* ============ INDUSTRY BLOCKS (industries.html) ============ */
.industry-block{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  margin-bottom: 16px;
  background: var(--panel);
}
.industry-block h2{ font-size: 1.15rem; margin-bottom: 10px; }

/* ============ PROJECT CARDS ============ */
.project-card{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  background: var(--panel);
}
.project-card h2{ font-size: 1.2rem; margin-bottom: 4px; }
.project-tag{
  display: inline-block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin-bottom: 14px;
}
.project-row{ border-top: 1px solid var(--line); padding-top: 12px; margin-top: 12px; }
.project-row h4{
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-mute);
  margin-bottom: 6px;
}
.project-row p{ font-size: 0.93rem; margin-bottom: 0; }

/* ============ ABOUT ============ */
.about-approach{
  border-left: 2px solid var(--accent);
  padding-left: 18px;
  margin: 22px 0;
}
.about-approach p{ margin-bottom: 10px; color: var(--text); font-weight: 600; }
.about-statement{
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  font-size: 1.05rem;
  color: var(--text);
  font-weight: 600;
  margin-top: 22px;
}

/* ============ CONTACT ============ */
.contact-grid{
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
}
@media (max-width: 860px){ .contact-grid{ grid-template-columns: 1fr; } }

.contact-method{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
  color: var(--text);
}
.contact-method:hover{ color: var(--accent); }
.contact-method small{
  display: block;
  font-weight: 400;
  color: var(--text-mute);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-panel{
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.form-row{ margin-bottom: 16px; }
.form-row label{
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dim);
  margin-bottom: 6px;
}
.form-row input, .form-row textarea{
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 11px 12px;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.95rem;
}
.form-row textarea{ min-height: 100px; resize: vertical; }
.form-row input:focus, .form-row textarea:focus{ border-color: var(--accent); }
.form-note{ font-size: 0.82rem; color: var(--text-mute); margin-top: 10px; }

/* ============ CTA BAND ============ */
.cta-band{
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.cta-band h2{ margin-bottom: 10px; }
.cta-band p{ max-width: 560px; margin: 0 auto 24px; }

/* ============ FOOTER ============ */
.site-footer{
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  padding: 40px 0 24px;
}
.footer-inner{ text-align: center; }
.footer-brand{
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin-bottom: 8px;
}
.footer-brand img{ height: 28px; }
.footer-brand span{ color: var(--text); font-weight: 700; }
.footer-tagline{ font-size: 0.9rem; color: var(--text-mute); margin-bottom: 20px; }
.footer-links{
  display: flex; flex-wrap: wrap; justify-content: center; gap: 18px;
  margin-bottom: 18px;
  font-size: 0.9rem;
}
.footer-links a:hover{ color: var(--accent); }
.footer-contact{
  display: flex; flex-wrap: wrap; justify-content: center; gap: 18px;
  margin-bottom: 18px;
  font-size: 0.9rem;
}
.footer-contact a:hover{ color: var(--accent); }
.footer-copy{ font-size: 0.82rem; color: var(--text-mute); margin: 0; }

/* ============ WHATSAPP ============ */
.whatsapp-btn{
  position: fixed;
  bottom: 18px; right: 18px;
  background: #25d366;
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.35);
  z-index: 400;
}
