/* ── SIMPELCLOUD.EU — STYLESHEET ───────────────────────────────
   Palette:
   --mint:    #2EB88A  headers, logo, accents
   --forest:  #1A3C34  buttons, CTA, dark surfaces
   --graph:   #374151  body text
   --mist:    #F4FEFA  page background
   --frost:   #E6F4EF  cards, blocks
   --border:  #C8E6DA  subtle borders
──────────────────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,300;0,400;0,500;0,700;1,400&family=DM+Mono:wght@400;500&display=swap');

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

:root {
  --mint:   #2EB88A;
  --forest: #1A3C34;
  --graph:  #374151;
  --mist:   #F4FEFA;
  --frost:  #E6F4EF;
  --border: #C8E6DA;
  --white:  #FFFFFF;
  --gray:   #6B7280;
  --font:   'DM Sans', sans-serif;
  --mono:   'DM Mono', monospace;
  --radius: 6px;
  --max:    860px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--mist);
  color: var(--graph);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── LAYOUT ─────────────────────────────────────────── */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 5rem 0;
}

/* ── NAV ────────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--mist);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
}

nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--mint);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-logo span {
  color: var(--forest);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--graph);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--mint); }

.nav-links a.active { color: var(--mint); }

/* ── HERO ────────────────────────────────────────────── */
.hero {
  padding: 7rem 0 6rem;
  border-bottom: 1px solid var(--border);
}

.hero-label {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--mint);
  background: var(--frost);
  border: 1px solid var(--border);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--forest);
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  max-width: 700px;
}

.hero h1 em {
  font-style: normal;
  color: var(--mint);
}

.hero p {
  font-size: 1.15rem;
  color: var(--gray);
  max-width: 560px;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

/* ── BUTTONS ─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--forest);
  color: var(--white);
}

.btn-primary:hover {
  background: #142d27;
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--graph);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--mint);
  color: var(--mint);
}

/* ── SECTION HEADER ──────────────────────────────────── */
.section-label {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--mint);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  display: block;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--forest);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-sub {
  color: var(--gray);
  font-size: 1.05rem;
  max-width: 560px;
  line-height: 1.7;
}

/* ── SERVICES ────────────────────────────────────────── */
.services {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--mist);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px;
  height: 100%;
  background: var(--mint);
}

.service-card:hover {
  border-color: var(--mint);
  transform: translateY(-2px);
}

.service-tag {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--mint);
  margin-bottom: 0.75rem;
  display: block;
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--forest);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.service-price {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--graph);
  font-weight: 500;
}

/* ── ABOUT ───────────────────────────────────────────── */
.about-inner {
  max-width: 640px;
}

.about-text p {
  color: var(--gray);
  margin-bottom: 1rem;
  line-height: 1.75;
}

.about-stack {
  background: var(--frost);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}

.about-stack h4 {
  font-size: 0.8rem;
  font-family: var(--mono);
  color: var(--mint);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.stack-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
  color: var(--graph);
}

.stack-item:last-child { border-bottom: none; }

.stack-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  flex-shrink: 0;
}

/* ── CONTACT SECTION (index) ─────────────────────────── */
.cta-section {
  background: var(--forest);
  border-radius: var(--radius);
  padding: 3.5rem;
  text-align: center;
  margin: 5rem 0;
}

.cta-section h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.cta-section p {
  color: var(--frost);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.cta-section .btn-primary {
  background: var(--mint);
  color: var(--forest);
  font-weight: 700;
}

.cta-section .btn-primary:hover {
  background: #27a47b;
}

/* ── CONTACT PAGE ────────────────────────────────────── */
.contact-hero {
  padding: 5rem 0 3rem;
  border-bottom: 1px solid var(--border);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 5rem;
  padding: 5rem 0;
  align-items: start;
}

.contact-info h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--forest);
  margin-bottom: 0.5rem;
}

.contact-info p, .contact-info a {
  color: var(--gray);
  font-size: 0.95rem;
  text-decoration: none;
  line-height: 1.7;
}

.contact-info a:hover { color: var(--mint); }

.contact-info-block {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}

.contact-info-block:first-child { padding-top: 0; }

.email-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--mint) !important;
  font-family: var(--mono);
  font-size: 0.9rem !important;
  font-weight: 500;
  margin-top: 0.25rem;
}

/* ── FORM ────────────────────────────────────────────── */
.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--forest);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--mist);
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--graph);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--mint);
  box-shadow: 0 0 0 3px rgba(46,184,138,0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%232EB88A' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-note {
  font-size: 0.82rem;
  color: var(--gray);
  margin-top: 1rem;
  line-height: 1.6;
}

.form-note a {
  color: var(--mint);
}

.btn-submit {
  width: 100%;
  justify-content: center;
  padding: 0.9rem;
  font-size: 1rem;
  background: var(--forest);
  color: var(--white);
  margin-top: 0.5rem;
}

.btn-submit:hover {
  background: #142d27;
}

/* ── SUCCESS / ERROR MESSAGES ────────────────────────── */
.form-message {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
  display: none;
}

.form-message.success {
  background: var(--frost);
  border: 1px solid var(--mint);
  color: var(--forest);
  display: block;
}

.form-message.error {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #991b1b;
  display: block;
}

/* ── FOOTER ──────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
}

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

.footer-logo {
  font-weight: 700;
  color: var(--mint);
  font-size: 1.1rem;
  text-decoration: none;
}

.footer-logo span { color: var(--forest); }

footer p {
  font-size: 0.85rem;
  color: var(--gray);
}

footer a {
  color: var(--mint);
  text-decoration: none;
  font-size: 0.85rem;
}

footer a:hover { text-decoration: underline; }

/* ── LANGUAGE SWITCHER ───────────────────────────────── */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--mono);
  font-size: 0.8rem;
}

.lang-switch span {
  color: var(--border);
}

.lang {
  color: var(--gray);
  text-decoration: none;
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
  transition: color 0.2s;
}

.lang:hover { color: var(--mint); }

.lang.active {
  color: var(--mint);
  font-weight: 700;
}

/* ── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 720px) {
  .about-inner,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .nav-links { display: none; }

  .cta-section { padding: 2.5rem 1.5rem; }

  .contact-form { padding: 1.75rem; }

  section { padding: 3.5rem 0; }
}

/* ── WHY PAGE ────────────────────────────────────────── */
.why-hero {
  padding: 5rem 0 3rem;
  border-bottom: 1px solid var(--border);
}

.why-sections {
  padding: 5rem 0;
}

.why-block {
  display: grid;
  grid-template-columns: 1fr 2.2fr;
  gap: 3rem;
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.why-block:last-child {
  border-bottom: none;
}

.why-number {
  font-family: var(--mono);
  font-size: 3.5rem;
  font-weight: 500;
  color: var(--border);
  line-height: 1;
  padding-top: 0.25rem;
}

.why-block h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--forest);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  line-height: 1.25;
}

.why-block p {
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 1rem;
  font-size: 1.02rem;
}

.why-block p:last-child {
  margin-bottom: 0;
}

.why-block strong {
  color: var(--graph);
  font-weight: 500;
}

.why-pull {
  background: var(--frost);
  border-left: 3px solid var(--mint);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.25rem 0;
  font-size: 1rem;
  color: var(--forest);
  line-height: 1.7;
  font-style: italic;
}

.why-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--mint);
  background: var(--frost);
  border: 1px solid var(--border);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
}

@media (max-width: 720px) {
  .why-block {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .why-number {
    font-size: 2rem;
  }
}
