/* =====================================
   Tokens
===================================== */
:root{
  --maxw: 1100px;

  --accent-red: #D32F2F;
  --accent-blue: #5B7A91;

  --text-dark: #1E1E1E;
  --text-gray: #333333;
  --text-inverse: #FFFFFF;

  --bg-header: #FFFFFF;
  --bg-hero: #F0F2F4;
  --bg-what: #FFFFFF;
  --bg-why: #EDEDED;
  --bg-footer: #1E1E1E;

  --why-divider: #999999;

  --gap: 24px;
  --radius: 10px;
  --nav-h: 80px;
}

/* =====================================
   Base
===================================== */
*{ box-sizing: border-box; }
html, body{ margin: 0; padding: 0; height: 100%; }

body{
  font-family: Helvetica, Arial, sans-serif;
  background: var(--bg-hero);
  color: var(--text-dark);
  line-height: 1.5;
  padding-top: var(--nav-h);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

main{ flex: 1 0 auto; }
img{ max-width: 100%; height: auto; display: block; }
.wrap{ max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gap); }

h1, h2, h3{ margin: 0 0 .75rem; line-height: 1.25; }
h1{ font-size: clamp(1.8rem, 3.2vw, 2.8rem); }
h2{ font-size: clamp(1.5rem, 2.6vw, 2rem); }
h3{ font-size: clamp(1.2rem, 2.2vw, 1.5rem); }

/* Skip link */
.skip-link{
  position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus{
  left: var(--gap); top: 8px; width: auto; height: auto; padding: 8px 12px;
  background: #000; color: #fff; border-radius: 8px; z-index: 1001;
}

/* =====================================
   Navbar
===================================== */
.navbar{
  position: fixed; inset: 0 0 auto 0;
  min-height: var(--nav-h);
  background: #fff;
  z-index: 1000;
  display: flex; flex-direction: column;
}
.nav-inner{
  height: calc(var(--nav-h) - 2px);
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 0 var(--gap);
}
.nav-logo img{ height: 60px; width: auto; min-width: 120px; }

.nav-actions{
  display: flex; align-items: center; justify-content: flex-end;
  gap: 12px; min-width: 300px;
}
.nav-btn{
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 10px;
  border-radius: 10px;
  background: transparent;
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 600; font-size: 1.2rem;
}
.nav-btn .nav-icon{ color: var(--accent-red); }
.nav-btn:hover{ background: #f5f6f7; }
.nav-border{ height: 2px; background: #e0e0e0; }

.nav-toggle{
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.hamburger{
  display: none; align-items: center; gap: 6px;
  padding: 8px 12px; border-radius: 8px; cursor: pointer;
  user-select: none; color: var(--text-dark);
}
.hamburger .material-icons{ color: var(--accent-red); }
.hamburger:hover{ background: #f5f6f7; }
.hamburger-text{ font-weight: 600; }

.nav-drawer{
  overflow: hidden; max-height: 0; padding: 0 var(--gap);
  background: #fff; border-top: 1px solid #e0e0e0;
  transition: max-height .25s ease, padding .25s ease;
}
.drawer-link{
  display: flex; align-items: center; gap: 8px;
  padding: 10px 6px; border-radius: 8px;
  text-decoration: none; color: var(--text-dark);
}
.drawer-link:hover{ background: #f5f6f7; }
.nav-drawer .material-icons{ color: var(--accent-red); }

.hamburger:focus-visible,
.drawer-link:focus-visible,
.nav-btn:focus-visible{
  outline: 2px solid var(--accent-blue);
  outline-offset: 2px;
  border-radius: 8px;
}

/* Navbar: responsive */
@media (max-width: 679.98px){
  .nav-actions{ display: none; }
  .hamburger{ display: flex; }
  .nav-inner{ justify-content: space-between; }
  .nav-toggle:checked ~ .nav-drawer{ max-height: 70vh; padding: 8px var(--gap); }
  .nav-logo img{ height: 60px; width: auto; min-width: 120px; }
}
@media (min-width: 680px){
  .hamburger, .nav-drawer{ display: none; }
  .nav-actions{ display: flex; }
}
@media (prefers-reduced-motion: reduce){
  .nav-drawer{ transition: none; }
}

/* =====================================
   Hero
===================================== */
.hero{
  background: var(--bg-hero);
  color: var(--text-dark);
  text-align: center;
  padding: 80px 0;
}
.hero .wrap{ max-width: none; }
.hero h1{ font-weight: 700; line-height: 1.2; margin: 0 0 1rem; width: 100%; }
.hero p{
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  margin: 0 auto 32px; max-width: var(--maxw); padding: 0 var(--gap);
}

/* Modern button */
.button{
  --btn-bg: var(--accent-blue);
  --btn-fg: var(--text-inverse);
  --btn-radius: var(--radius);
  --btn-shadow: 0 6px 14px rgba(0,0,0,.12);
  --btn-shadow-hover: 0 10px 20px rgba(0,0,0,.14);

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  min-height: 44px;
  padding: 12px 24px;
  border: 0;
  border-radius: var(--btn-radius);

  font-weight: 700;
  font-size: clamp(1rem, 2vw, 1.05rem);
  line-height: 1;
  color: var(--btn-fg);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(0,0,0,.06)) , var(--btn-bg);
  box-shadow: var(--btn-shadow);
  text-decoration: none;
  cursor: pointer;
  user-select: none;

  transition: transform .15s ease, box-shadow .2s ease, filter .2s ease, opacity .2s ease;
  will-change: transform;
}
.button:hover{
  transform: translateY(-1px);
  box-shadow: var(--btn-shadow-hover);
  filter: brightness(1.03);
}
.button:active{
  transform: translateY(0);
  box-shadow: var(--btn-shadow);
  filter: brightness(.98);
}
.button:focus-visible{
  outline: 2px solid var(--accent-blue);
  outline-offset: 3px;
}
.button[disabled],
.button.is-loading{
  opacity: .7;
  cursor: not-allowed;
  transform: none;
  box-shadow: var(--btn-shadow);
}
/* Loading spinner */
.button.is-loading{ position: relative; color: transparent; }
.button.is-loading::after{
  content: "";
  position: absolute;
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.55);
  border-top-color: rgba(255,255,255,1);
  animation: scd-spin .8s linear infinite;
}
@keyframes scd-spin{ to{ transform: rotate(360deg); } }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  .button,
  .button:hover,
  .button:active{
    transition: none;
    transform: none;
    filter: none;
  }
}

/* =====================================
   What We Do
===================================== */
.what{ background: var(--bg-what); padding: 60px 0; }
.what .section-title{ text-align: center; margin-bottom: var(--gap); color: var(--text-gray); }

.what-grid{
  display: grid; gap: var(--gap);
  grid-template-columns: 1fr; align-items: stretch;
}
@media (min-width: 680px){
  .what-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.card{
  background: #fff; border: 2px solid var(--accent-blue); border-radius: var(--radius);
  padding: var(--gap); display: flex; flex-direction: column; align-items: center; text-align: center; color: var(--text-gray);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover{ transform: translateY(-4px); box-shadow: 0 4px 10px rgba(0,0,0,.08); }
.card img{ max-width: 60%; max-height: 160px; margin: 6px auto 14px; object-fit: contain; }
.card h3{ font-weight: 700; margin: 4px 0 10px; }
.card ul{ list-style: disc; padding-left: 22px; margin: 0 auto; text-align: left; max-width: 560px; }

/* =====================================
   Why
===================================== */
.why{ background: var(--bg-why); padding: 60px 0; }
.why .section-title{ text-align: center; margin-bottom: var(--gap); color: var(--text-dark); }

.why-list{
  position: relative;
  border-left: 2px solid var(--why-divider);
  padding-left: 28px;
}
.why-list h3{
  font-weight: 700; color: var(--text-dark);
  margin: 28px 0 10px;
  position: relative;
}
.why-list h3:first-of-type{ margin-top: 4px; }
.why-list h3::before{
  content: "+";
  position: absolute; left: -22px; top: .1em;
  color: var(--accent-red); font-weight: 700; line-height: 1;
}
.why-list p{
  margin: 0;
  color: var(--text-dark);
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  padding-bottom: 20px;
  border-bottom: 1px solid var(--why-divider);
}
.why-list p:last-of-type{ border-bottom: 0; padding-bottom: 0; }

@media (max-width: 679.98px){
  .why-list{ border-left: 0; padding-left: 18px; }
  .why-list h3::before{ left: -14px; }
  .why-list h3{ margin: 24px 0 8px; }
  .why-list p{ padding-bottom: 16px; }
}

/* =====================================
   Footer
===================================== */
.footer{ background: var(--bg-footer); color: var(--text-inverse); padding: 40px 0; }

.footer-inner{
  max-width: 1600px; margin: 0 auto; padding: 0 var(--gap);
  display: flex; justify-content: space-between; align-items: flex-start; gap: var(--gap); flex-wrap: wrap;
}
.footer-content{ flex: 1 1 300px; min-width: 250px; }
.footer-content p{ margin: 0 0 12px 0; line-height: 1.5; }
.footer-content a{ color: var(--text-inverse); text-decoration: underline; }
.footer-content a:hover{ color: var(--accent-blue); }

.footer-badges{
  display: flex; align-items: center; gap: 12px; flex-shrink: 0; flex-wrap: wrap;
}
.footer-badges .badge{
  display: inline-flex; align-items: center; justify-content: center;
  width: 90px; height: 90px; border-radius: 10px;
}
.footer-badges img{
  width: 90px; height: 90px; object-fit: contain;
  transition: transform .2s ease;
}
.footer-badges img[alt*="Gold"]{ transform: scale(0.96); }
.footer-badges img:hover{ transform: scale(1.05); }

.footer-description{
  max-width: 1600px; margin: 12px auto 0; padding: 0 var(--gap);
}
.footer-description p{ margin: 0; line-height: 1.5; }

.footer-legal{
  max-width: 1600px; margin: 20px auto 0; padding: 0 var(--gap);
  border-top: 1px solid rgba(255,255,255,.15);
  text-align: center;
}
.footer-legal small{
  display: block; color: rgba(255,255,255,.65);
  font-size: .9rem; padding-top: 12px; letter-spacing: .2px;
}

/* =====================================
   About
===================================== */
.about{ background: var(--bg-hero); color: var(--text-dark); padding: 60px 0; }
.about h2{ text-align: center; margin-bottom: var(--gap); }
.about p{ font-size: clamp(1rem, 2.2vw, 1.25rem); margin-bottom: 1.5rem; }
.about .signature{ text-align: right; font-weight: bold; font-style: italic; margin-top: 8px; }

/* =====================================
   Contact
===================================== */
.contact{ background: var(--bg-what); padding: 60px 0; }
.contact .section-title{ text-align: center; margin-bottom: var(--gap); color: var(--text-gray); }

.contact-panels{ display: grid; grid-template-columns: 1fr; gap: var(--gap); }
@media (min-width: 680px){
  .contact-panels{ grid-template-columns: 1fr 1fr; }
}

.contact-card{
  background: #fff; border: 2px solid var(--accent-blue); border-radius: var(--radius);
  padding: var(--gap); color: var(--text-gray);
}
.contact-card h3{ margin: 0 0 10px; }

.contact-list{ margin: 0; padding-left: 0; list-style: none; }
.contact-list li{ margin: 6px 0; }
.contact-list a{
  color: var(--text-gray); text-decoration: none;
  transition: color .2s ease, text-decoration-color .2s ease;
}
.contact-list a:hover,
.contact-list a:focus{
  color: var(--accent-blue);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
}

.contact-form label{ display: block; font-weight: 600; margin: 10px 0 6px; }
.contact-form input,
.contact-form textarea{
  width: 100%; padding: 10px 12px;
  border: 1px solid #d6d9dc; border-radius: 8px; font: inherit;
}
.contact-form input:focus,
.contact-form textarea:focus{
  outline: 2px solid var(--accent-blue); outline-offset: 2px;
}

.contact .button{ margin-top: 12px; }
.form-note{ font-size: .95rem; margin: 10px 0 0; color: #555; }
