/* Techisland - Smart Spaces */
:root {
  --forest: #173b32;
  --green: #356a48;
  --ink: #213d34;
  --paper: #f8f8f2;
  --white: #ffffff;
  --muted: #65736b;
  --line: #dfe5db;
  --lime: #d4e5ae;
  --font-primary:
    "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  --serif: var(--font-primary);
  --sans: var(--font-primary);
}

* {
  box-sizing: border-box;
}

html {
  font-family: var(--font-primary);
}

body {
  margin: 0;
  font-family: var(--font-primary);
  color: #1e3b30;
  background: #fbfcf8;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

.wrap {
  width: min(1260px, calc(100% - 64px));
  margin: auto;
}

.catalog-hero {
  background: linear-gradient(135deg, #0d2e27 0%, #173f34 100%);
  padding: 42px 0 36px;
  border-bottom: 1px solid var(--line);
}

.catalog-hero .wrap {
  position: relative;
  z-index: 2;
}

.catalog-hero .eyebrow {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 8px;
}

.catalog-hero h1 {
  font-family: var(--font-primary);
  font-size: clamp(45px, 5vw, 72px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.035em;
  max-width: 770px;
  margin: 20px 0 20px;
  color: var(--white);
}

.catalog-hero p {
  font-size: 17px;
  color: var(--white);
  max-width: 620px;
  line-height: 1.75;
  margin: 0;
}

.catalog-hero .catalog-hero-meta {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 30px;
  font-size: 12px;
  color: #f3f5ec;
}

.catalog-hero .catalog-hero-meta span:before {
  content: "\2713";
  margin-right: 8px;
  color: #3e7b50;
}

/* Intro Section */
.intro {
  padding: 32px 0 16px;
}

.intro .eyebrow {
  font-size: 10.5px;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: #527559;
  text-transform: uppercase;
  margin: 0 0 8px;
}

.intro h2 {
  font-family: var(--font-primary);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 600;
  color: #173b32;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin: 0 0 10px;
}

.intro p {
  font-size: 14.5px;
  color: #5a6e60;
  max-width: 740px;
  line-height: 1.6;
  margin: 0;
}

/* Grid & Cards - 2 Columns on desktop, organized & neat */
.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding: 24px 0 64px;
}

.card {
  background: #ffffff;
  border: 1px solid #dce4d8;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
  box-shadow: 0 2px 10px rgba(17, 45, 33, 0.03);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(17, 45, 33, 0.08);
  border-color: #b5c9b1;
}

.card img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
  background: #e4eee8;
}

.body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.body .num {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #4e8b61;
  margin-bottom: 6px;
}

.body h3 {
  font-family: var(--font-primary);
  font-size: 24px;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #173b32;
  margin: 0 0 6px;
}

.body strong {
  font-size: 13.5px;
  font-weight: 600;
  color: #205037;
  line-height: 1.4;
  margin-bottom: 8px;
  display: block;
}

.body p {
  font-size: 13px;
  line-height: 1.55;
  color: #5d6e61;
  margin: 0 0 16px;
}

.credit {
  font-size: 11px;
  color: #829587;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed #e3ebe1;
  letter-spacing: 0.02em;
}

/* Action Buttons */
.actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 14px;
}

.actions a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 4px;
  border: 1px solid #c2d5c0;
  color: #1b4731;
  background: #ffffff;
  text-decoration: none;
  transition: all 0.15s ease;
}

.actions a:hover {
  border-color: #173b32;
  color: #173b32;
  background: #f4f7f2;
}

.actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 10px 18px;
  border-radius: 4px;
  border: 1px solid #173b32;
  color: #ffffff;
  background: #173b32;
  cursor: pointer;
  transition: all 0.15s ease;
}

.actions button:hover {
  background: #255848;
  border-color: #255848;
}

/* Contact / Consultation Section */
.contact {
  background: #eaf1e7;
  border-top: 1px solid #dae5d7;
  padding: 44px 0;
}

.contact .eyebrow {
  font-size: 11px;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: #4e7a57;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.contact h2 {
  font-family: var(--font-primary);
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: #173b32;
  margin: 0 0 12px;
}

.contact p {
  font-size: 15px;
  color: #526757;
  max-width: 680px;
  line-height: 1.6;
  margin: 0 0 24px;
}

.contact button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.06em;
  padding: 14px 26px;
  border-radius: 4px;
  border: none;
  background: #173b32;
  color: #ffffff;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.contact button:hover {
  background: #255848;
  transform: translateY(-1px);
}

.notice {
  font-size: 11.5px;
  line-height: 1.6;
  color: #728475;
  max-width: 780px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid #d5e0d1;
}

/* Modal Dialog */
.modal {
  border: none;
  border-radius: 8px;
  padding: 32px;
  width: min(520px, calc(100% - 32px));
  box-shadow: 0 24px 70px rgba(10, 41, 34, 0.25);
  background: #ffffff;
  position: fixed;
  inset: 0;
  margin: auto;
}

.modal::backdrop {
  background: rgba(14, 38, 30, 0.65);
  backdrop-filter: blur(4px);
}

.modal h2 {
  font-family: var(--font-primary);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #173b32;
  margin: 0 0 6px;
}

.close {
  position: absolute;
  top: 16px;
  right: 16px;
  border: none;
  background: #f0f4ee;
  color: #213d34;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.15s;
}

.close:hover {
  background: #e2e8df;
}

.modal label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #1e3b30;
  margin: 12px 0;
}

.modal input,
.modal select,
.modal textarea {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid #cad6c6;
  border-radius: 4px;
  font-family: var(--font-primary);
  font-size: 14px;
  margin-top: 5px;
  box-sizing: border-box;
}

.modal input:focus,
.modal select:focus,
.modal textarea:focus {
  outline: none;
  border-color: #356a48;
  box-shadow: 0 0 0 3px rgba(53, 106, 72, 0.12);
}

.modal textarea {
  min-height: 65px;
  resize: vertical;
}

.modal .submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.05em;
  background: #173b32;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  width: 100%;
  margin-top: 14px;
  transition: background 0.15s;
}

.modal .submit:hover {
  background: #255848;
}

.modal .fine {
  font-size: 11px;
  color: #748777;
  line-height: 1.5;
  margin-top: 10px;
}

/* Footer */
.footer {
  background: #0a2922;
  color: #dce8df;
  padding: 30px 0;
  font-size: 13px;
}

/* Responsive Media Queries */
@media (max-width: 900px) {
  .grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .card img {
    height: 210px;
  }
}

@media (max-width: 720px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .catalog-hero {
    padding: 34px 0 28px;
  }
}

@media (max-width: 600px) {
  .catalog-hero {
    padding: 38px 0 32px;
  }
  .catalog-hero .catalog-hero-meta {
    gap: 16px;
  }
  .card img {
    height: 180px;
  }
  .body {
    padding: 18px 20px 20px;
  }
  .body h3 {
    font-size: 21px;
  }
  .actions {
    flex-direction: column;
    align-items: stretch;
  }
  .actions a,
  .actions button {
    text-align: center;
    justify-content: center;
  }
}
