/* techNico, style.css v2 */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&display=swap');

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

:root {
  --teal:        #1A6B6B;
  --teal-dark:   #124f4f;
  --teal-mid:    #1d7a7a;
  --teal-light:  #E8F2F2;
  --teal-faint:  #f0f7f7;
  --slate:       #2C3A47;
  --body:        #4A5868;
  --muted:       #8A9AAA;
  --border:      #E2E8EC;
  --bg-card:     #F7F8F8;
  --bg-warm:     #fafbfc;
  --white:       #FFFFFF;
  --font:        'DM Sans', system-ui, sans-serif;
  --max-w:       860px;
  --radius:      8px;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--body);
  background: var(--white);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ── Navigation ── */
nav {
  position: sticky;
  top: 0;
  background: var(--teal-dark);
  z-index: 100;
  padding: 14px 0;
}

nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 32px;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-logo img {
  height: 44px;
  width: auto;
  max-width: 160px;
  display: block;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.nav-tagline {
  font-size: 11px;
  font-weight: 400;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.03em;
  line-height: 1;
  padding-left: 2px;
}

.nav-cta {
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.4);
  padding: 7px 18px;
  border-radius: var(--radius);
  transition: background 0.15s, border-color 0.15s;
}

.nav-cta:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.7);
  text-decoration: none;
}

/* ── Hero ── */
.hero {
  background: #1e7a7a;
  padding: 80px 0 88px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(255,255,255,0.05) 0%, transparent 35%),
    radial-gradient(circle at 85% 75%, rgba(255,255,255,0.05) 0%, transparent 35%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 500' preserveAspectRatio='none'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.16' stroke-width='1.5'%3E%3Cpath d='M0 60 H180 V20 H340'/%3E%3Cpath d='M0 140 H100 V180 H260 V120 H420'/%3E%3Cpath d='M650 0 V90 H780'/%3E%3Cpath d='M600 500 V410 H750 V460 H800'/%3E%3Cpath d='M0 420 H140 V460'/%3E%3Ccircle cx='180' cy='20' r='3.5' fill='%23ffffff' fill-opacity='0.35' stroke='none'/%3E%3Ccircle cx='340' cy='20' r='3.5' fill='%23ffffff' fill-opacity='0.35' stroke='none'/%3E%3Ccircle cx='420' cy='120' r='3.5' fill='%23ffffff' fill-opacity='0.35' stroke='none'/%3E%3Ccircle cx='780' cy='90' r='3.5' fill='%23ffffff' fill-opacity='0.35' stroke='none'/%3E%3Ccircle cx='140' cy='460' r='3.5' fill='%23ffffff' fill-opacity='0.35' stroke='none'/%3E%3C/g%3E%3C/svg%3E");
  background-size: cover;
  pointer-events: none;
}

.hero .container,
.hero-container {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 32px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: center;
}

.hero-body {
  margin-top: 32px;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-laptop {
  width: 100%;
  max-width: 420px;
  display: block;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.hero h1 {
  font-size: clamp(24px, 3.4vw, 38px);
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0;
}

.hero h1 em { font-style: normal; }
.hero h1 .c-amber { color: #FAC775; }
.hero h1 .c-coral { color: #F0856B; }
.hero h1 .c-blue  { color: #7DC8F0; }
.hero h1 .c-green { color: #8FD9A8; }
.hero h1 .c-dim   { color: rgba(255,255,255,0.7); }

.hero-intro {
  font-size: 15px;
  color: rgba(255,255,255,0.8);
  line-height: 1.8;
  margin-bottom: 14px;
}

.hero-intro:last-of-type { margin-bottom: 0; }

/* ── Mobile hero grid ── */
@media (max-width: 760px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    order: -1;
    margin-bottom: 16px;
  }
  .hero-laptop { max-width: 280px; }
  .hero-body { margin-top: 24px; }
}

.hero-cta {
  display: inline-block;
  margin-top: 32px;
  font-size: 15px;
  font-weight: 500;
  color: var(--teal);
  background: var(--white);
  padding: 12px 28px;
  border-radius: var(--radius);
  transition: background 0.15s;
}

.hero-cta:hover {
  background: var(--teal-light);
  text-decoration: none;
}

/* ── Sections ── */
section {
  padding: 72px 0;
  border-bottom: 1px solid var(--border);
}

section:last-of-type { border-bottom: none; }

.section-alt { background: var(--teal-faint); }

/* ── Section icons ── */
/* ── Headings with inline icons ── */
h2 {
  font-size: 24px;
  font-weight: 600;
  color: var(--slate);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

h2 i {
  font-size: 20px;
  color: var(--teal);
  flex-shrink: 0;
}

p { margin-bottom: 16px; }
p:last-child { margin-bottom: 0; }

/* ── Services grid ── */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin: 28px 0;
  list-style: none;
  background: var(--white);
}

.services-grid-item {
  font-size: 14px;
  color: var(--body);
  padding: 13px 18px;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.4;
  list-style: none;
  transition: background 0.12s;
}

.services-grid-item:hover { background: var(--teal-faint); }
.services-grid-item:nth-child(2n) { border-right: none; }
.services-grid-item:nth-last-child(-n+2) { border-bottom: none; }

.services-grid-item::before {
  content: '';
  display: block;
  min-width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}

/* ── Trust block ── */
.trust-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--teal);
  border-radius: 0 12px 12px 0;
  padding: 28px 32px;
  margin: 24px 0;
}

.trust-block p {
  font-size: 16px;
  color: var(--body);
  line-height: 1.85;
  margin: 0;
}

.trust-block strong {
  color: var(--slate);
  font-weight: 500;
}

/* ── Carousel ── */
.carousel {
  margin-top: 24px;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 12px;
  transition: transform 0.35s ease;
  width: calc(300% + 24px);
}

.case-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
  flex: 1;
  min-width: 0;
}

.case-icon {
  width: 38px;
  height: 38px;
  background: var(--teal);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--white);
  margin-bottom: 12px;
}

.case-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--slate);
  line-height: 1.4;
  margin-bottom: 8px;
}

.case-body {
  font-size: 13px;
  color: var(--body);
  line-height: 1.7;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
}

.carousel-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--slate);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, border-color 0.15s;
}

.carousel-btn:hover:not(:disabled) {
  background: var(--teal-light);
  border-color: var(--teal);
  color: var(--teal);
}

.carousel-btn:disabled { opacity: 0.3; cursor: default; }

.carousel-dots { display: flex; gap: 6px; align-items: center; }

.carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}

.carousel-dot.active {
  background: var(--teal);
  transform: scale(1.3);
}

/* ── How it works ── */
.how-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 24px 0;
}

.how-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
}

.how-card-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.how-card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--slate);
  margin-bottom: 6px;
}

.how-card-body {
  font-size: 13px;
  color: var(--body);
  line-height: 1.65;
}

/* ── CTA section ── */
.section-cta {
  background: var(--teal-dark);
  border-bottom: none;
}

.section-cta h2 { color: var(--white); }
.section-cta h2 i { color: rgba(255,255,255,0.7); }

.section-cta p { color: rgba(255,255,255,0.75); }

.section-cta .form-note { color: rgba(255,255,255,0.45); }

/* ── CTA button ── */
.btn {
  display: inline-block;
  font-size: 15px;
  font-weight: 500;
  color: var(--teal);
  background: var(--white);
  padding: 13px 28px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background 0.15s;
  font-family: var(--font);
}

.btn:hover {
  background: var(--teal-light);
  text-decoration: none;
  color: var(--teal);
}

/* ── Map ── */
.map-wrap {
  margin: 24px 0 12px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  height: 360px;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  display: block;
}

.map-note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 10px;
}

/* ── Contact form ── */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
  max-width: 560px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 13px;
  font-weight: 500;
  color: var(--slate);
  letter-spacing: 0.01em;
}

.form-group input,
.form-group textarea,
.form-group select {
  font-family: var(--font);
  font-size: 15px;
  color: var(--slate);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 11px 14px;
  transition: border-color 0.15s;
  outline: none;
  width: 100%;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(26,107,107,0.08);
}

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

.form-note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
}

/* ── Page header (contact) ── */
.page-header {
  background: var(--teal);
  padding: 72px 0 56px;
}

.page-header h1 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.page-header p {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  max-width: 520px;
  line-height: 1.8;
}

/* ── Footer ── */
footer {
  background: var(--slate);
  padding: 36px 0;
}

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

.footer-logo img {
  height: 22px;
  width: auto;
  max-width: 120px;
  display: block;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.7;
}

.footer-meta {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

/* ── Mobile ── */
@media (max-width: 600px) {
  section { padding: 52px 0; }
  .hero { padding: 56px 0 56px; }
  .services-grid { grid-template-columns: 1fr; }
  .services-grid-item { border-right: none !important; }
  .services-grid-item:nth-last-child(-n+2) { border-bottom: 1px solid var(--border); }
  .services-grid-item:last-child { border-bottom: none !important; }
  .how-grid { grid-template-columns: 1fr; }
  .map-wrap { height: 260px; }
  .trust-block { padding: 20px 20px 20px 24px; }
  footer .container { flex-direction: column; align-items: flex-start; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* ── Nav links ── */
.nav-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-link {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255,255,255,0.75);
  padding: 7px 14px;
  border-radius: var(--radius);
  transition: color 0.15s, background 0.15s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
  background: rgba(255,255,255,0.1);
  text-decoration: none;
}

/* ── Services page ── */
.service-section {
  padding: 72px 0;
  border-bottom: 1px solid var(--border);
}

.service-section:last-of-type { border-bottom: none; }

.service-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 28px;
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.service-icon i {
  font-size: 24px;
  line-height: 1;
  display: block;
}

.service-icon-amber { background: rgba(250,199,117,0.2); color: #D4920A; }
.service-icon-blue  { background: rgba(100,180,240,0.2); color: #2980B9; }
.service-icon-coral { background: rgba(240,100,60,0.2);  color: #C0392B; }
.service-icon-teal  { background: var(--teal-light);     color: var(--teal); }

.service-header h2 {
  margin-bottom: 4px;
  display: block;
}

.service-tagline {
  font-size: 15px;
  color: var(--muted);
  margin: 0;
  font-style: italic;
}

.service-body p {
  font-size: 15px;
  color: var(--body);
  line-height: 1.8;
  max-width: 640px;
  margin-bottom: 16px;
}

.service-includes {
  margin-top: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px;
  max-width: 640px;
}

.service-includes-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.service-list li {
  font-size: 14px;
  color: var(--body);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.4;
}

.service-list li:nth-last-child(-n+2) { border-bottom: none; }

.service-list li::before {
  content: '';
  display: block;
  min-width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}

/* ── Mobile services ── */
@media (max-width: 600px) {
  .service-header { flex-direction: column; gap: 12px; }
  .service-list { grid-template-columns: 1fr; }
  .service-list li:last-child { border-bottom: none; }
  .service-list li:nth-last-child(-n+2) { border-bottom: 1px solid var(--border); }
  .nav-links { gap: 8px; }
  .nav-link { padding: 6px 10px; font-size: 13px; }
}

/* Experience list */
.experience-list {
  margin: 20px 0 28px;
}

.experience-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.experience-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.experience-tag {
  font-size: 13px;
  font-weight: 500;
  color: var(--slate);
  background: var(--white);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 20px;
}

/* Examples page */
.example-section {
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
}

.example-section:last-of-type { border-bottom: none; }

.example-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  color: var(--teal);
  background: var(--teal-light);
  padding: 5px 14px;
  border-radius: 20px;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}

.example-section h2 {
  margin-bottom: 16px;
}

.example-section p {
  font-size: 15px;
  color: var(--body);
  line-height: 1.8;
  max-width: 680px;
  margin-bottom: 24px;
}

.example-img {
  width: 100%;
  max-width: 720px;
  border-radius: 12px;
  border: 1px solid var(--border);
  display: block;
}

.example-img-screenshot {
  max-width: 320px;
}

.example-img-hero {
  max-width: 100%;
  box-shadow: 0 8px 24px rgba(44,58,71,0.12);
  margin-top: 8px;
}

.example-caption {
  font-size: 13px;
  color: var(--muted);
  margin-top: 10px;
  margin-bottom: 0;
  max-width: 720px;
}

/* View examples link */
.examples-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--teal);
  margin-top: 20px;
}

@media (max-width: 600px) {
  .example-section { padding: 48px 0; }
  .example-img-screenshot { max-width: 100%; }
}
