/* Self-hosted Alef font (GDPR compliant - no Google Fonts CDN requests) */
@font-face {
  font-family: 'Alef';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/alef-regular-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Alef';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/alef-regular-hebrew.woff2') format('woff2');
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: 'Alef';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/alef-bold-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Alef';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/alef-bold-hebrew.woff2') format('woff2');
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Alef', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: #333;
  background: #EFEFEF;
  -webkit-font-smoothing: antialiased;
}

a {
  color: #a63634;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.header-inner {
  max-width: 1290px;
  margin: 0 auto;
  padding: 12px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 50px;
  width: auto;
}

.nav {
  display: flex;
  list-style: none;
  gap: 24px;
}

.nav a {
  color: #015241;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  padding: 4px 0;
  transition: color 0.2s;
}

.nav a:hover,
.nav a:focus {
  color: #A63635;
  text-decoration: none;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle svg {
  width: 24px;
  height: 18px;
  fill: #333;
}

/* Main content */
.container {
  max-width: 1290px;
  margin: 0 auto;
  padding: 0 30px;
}

.section-spacer {
  height: 100px;
}

.section-spacer-sm {
  height: 50px;
}

/* Section headings */
.section-title {
  text-align: center;
  font-size: 30px;
  font-weight: 700;
  font-style: italic;
  color: #A63635;
}

/* About section */
.about {
  display: grid;
  grid-template-columns: 175px 1fr;
  gap: 30px;
  align-items: start;
}

.about-photo {
  width: 175px;
  height: 175px;
  border-radius: 0;
}

.about-specialties {
  font-style: italic;
  font-weight: 700;
  color: #A63635;
  margin-bottom: 16px;
  font-size: 25px;
}

.about-specialties mark {
  background: none;
  color: inherit;
}

.about-text {
  line-height: 1.7;
  margin-bottom: 16px;
}

.linkedin-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #0077b5;
  border-radius: 4px;
  transition: background 0.2s;
}

.linkedin-link:hover {
  background: #005f8d;
}

.linkedin-link svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}

/* Divider */
.divider {
  width: 40%;
  height: 2px;
  background: #a63634;
  margin: 0 auto;
}

/* Services grid */
.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 50px;
}

.service {
  text-align: center;
  padding: 0 12px;
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 16px;
}

.service-text {
  font-weight: 700;
  font-size: 0.95em;
  line-height: 1.6;
  text-align: justify;
}

/* Contact form */
.contact-form-wrapper {
  max-width: 580px;
  margin: 0 auto;
}

.contact-form label {
  display: block;
  margin-bottom: 16px;
  font-size: 15px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 4px;
  padding: 8px 10px;
  border: 1px solid #ccc;
  border-radius: 3px;
  font-family: 'Alef', sans-serif;
  font-size: 15px;
  transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #a63634;
}

.contact-form textarea {
  min-height: 160px;
  resize: vertical;
}

.contact-form .turnstile-note {
  font-size: 12px;
  color: #666;
  margin-top: 8px;
}

.contact-form button[type="submit"] {
  display: inline-block;
  padding: 10px 28px;
  background: #015241;
  color: #fff;
  border: none;
  border-radius: 3px;
  font-family: 'Alef', sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 8px;
}

.contact-form button[type="submit"]:hover {
  background: #008467;
}

.contact-form button[type="submit"]:disabled {
  background: #999;
  cursor: not-allowed;
}

.form-status {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 3px;
  display: none;
}

.form-status.success {
  display: block;
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #c8e6c9;
}

.form-status.error {
  display: block;
  background: #fbe9e7;
  color: #c62828;
  border: 1px solid #ffccbc;
}

/* Footer */
.footer {
  background: #F2F5F7;
  border-top: 1px solid #e5e5e5;
  padding: 20px 30px;
  text-align: center;
}

.footer h6 {
  font-size: 16px;
  font-weight: 700;
  color: #A63635;
}

.footer a {
  color: #015241;
  text-decoration: underline;
}

.footer a:hover {
  color: #A63635;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  right: 20px;
  max-width: 400px;
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  padding: 16px 20px;
  border-radius: 4px;
  font-size: 14px;
  z-index: 1000;
  line-height: 1.5;
}

.cookie-banner.hidden {
  display: none;
}

.cookie-banner a {
  color: #fff;
  text-decoration: underline;
}

.cookie-banner-btn {
  display: inline-block;
  margin-left: 12px;
  padding: 4px 16px;
  background: #a63634;
  color: #fff;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  font-family: 'Alef', sans-serif;
  font-size: 13px;
}

.cookie-banner-info {
  display: none;
  position: fixed;
  bottom: 80px;
  right: 20px;
  max-width: 400px;
  background: rgba(0, 0, 0, 0.9);
  color: #fff;
  padding: 20px;
  border-radius: 4px;
  font-size: 14px;
  z-index: 1001;
  line-height: 1.5;
}

.cookie-banner-info.visible {
  display: block;
}

.cookie-banner-info a {
  color: #fff;
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 900px) {
  .services {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 16px 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    gap: 12px;
  }

  .nav.open {
    display: flex;
  }

  .header-inner {
    position: relative;
  }

  .about {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .services {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .section-spacer {
    height: 60px;
  }
}
