/* Home page enhancements (index.html). Loaded after inline Zyro styles. */
@import url("https://fonts.googleapis.com/css2?family=Anton&display=swap");

html,
body {
  margin: 0;
  padding: 0;
}

/* --- Hero: larger title, subline width match, desktop spacing --- */
.ci-hero-headline {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.ci-hero-line1 {
  font-family: "Anton", "Arial Black", Impact, sans-serif;
  font-size: clamp(2.05rem, 4.9vw, 3.5rem);
  line-height: 1.04;
  letter-spacing: 0.01em;
  font-weight: 400;
  text-transform: uppercase;
  white-space: nowrap;
}

.ci-hero-subline {
  font-family: "Anton", "Arial Black", Impact, sans-serif;
  font-weight: 400;
  font-size: clamp(1.02rem, 1.9vw, 1.5rem);
  line-height: 1.12;
  margin-top: 0.55em;
  text-align: center;
  width: 100%;
  max-width: 100%;
  white-space: nowrap;
  overflow: visible;
  text-overflow: clip;
  text-transform: none;
  letter-spacing: 0.015em;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 520px) {
  .ci-hero-subline {
    white-space: nowrap;
  }
}

@media (min-width: 900px) {
  .ci-hero-headline {
    margin-top: clamp(6rem, 18vh, 14rem);
  }
}

/* --- Legacy Hostinger form: hide when our section is present --- */
#hs-local-form {
  display: none !important;
}

.ci-legacy-contact-hidden {
  display: none !important;
}

/* --- New contact section --- */
.ci-contact-section {
  background: #1a1a1a;
  color: #fff;
  padding: clamp(3rem, 8vw, 5.5rem) clamp(1rem, 4vw, 2rem);
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

.ci-contact-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

@media (max-width: 880px) {
  .ci-contact-inner {
    grid-template-columns: 1fr;
  }
}

.ci-contact-intro h2 {
  font-family: "DM Serif Display", Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3rem);
  color: #fff;
  margin: 0 0 1rem;
  line-height: 1.15;
}

.ci-contact-intro p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 400;
}

.ci-contact-form label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
  color: #fff;
}

.ci-contact-form .ci-field {
  margin-bottom: 1rem;
}

.ci-contact-form .ci-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 520px) {
  .ci-contact-form .ci-row {
    grid-template-columns: 1fr;
  }
}

.ci-contact-form input[type="text"],
.ci-contact-form input[type="email"],
.ci-contact-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: none;
  border-radius: 999px;
  padding: 0.85rem 1.1rem;
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
  color: #232526;
}

.ci-contact-form textarea {
  border-radius: 22px;
  min-height: 140px;
  resize: vertical;
}

.ci-contact-form input::placeholder,
.ci-contact-form textarea::placeholder {
  color: #9a9da0;
}

.ci-contact-form button[type="submit"] {
  margin-top: 0.25rem;
  padding: 0.75rem 2.25rem;
  border-radius: 999px;
  border: 2px solid #fff;
  background: #0d0d0d;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  font-family: inherit;
}

.ci-contact-form button[type="submit"]:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.ci-contact-form .ci-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.ci-turnstile-slot {
  height: 0;
  overflow: hidden;
}

#about-tal {
  scroll-margin-top: 96px;
}

#get-in-touch {
  scroll-margin-top: 96px;
}

/* Shared partial mount guards (prevents layout flash). */
[data-include="header"],
[data-include="footer"] {
  display: block;
}

/* Top menu: transparent at top, dissolve to black when scrolling. */
.top-blocks--sticky .block-header .background {
  background-color: transparent !important;
  opacity: 1;
  transition: background-color 320ms ease, opacity 320ms ease;
}

body.ci-nav-scrolled .top-blocks--sticky .block-header .background {
  background-color: rgba(0, 0, 0, 0.94) !important;
}

/* Hero video replacement and text treatment. */
.ci-hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 100%;
  background: #111;
}

.ci-hero-headline {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 14px;
  padding: clamp(0.75rem, 1.5vw, 1.1rem) clamp(1rem, 1.9vw, 1.4rem);
  box-sizing: border-box;
  width: max-content;
  max-width: calc(100% - 16px);
  overflow: visible;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 860px) {
  .ci-hero-line1 {
    font-size: clamp(1.35rem, 5.8vw, 2.25rem);
    line-height: 1.03;
  }

  .ci-hero-subline {
    font-size: clamp(0.82rem, 2.4vw, 1.05rem);
    line-height: 1.12;
    white-space: nowrap;
  }

  .ci-hero-headline {
    width: fit-content;
    padding: clamp(0.65rem, 2.5vw, 0.95rem) clamp(0.85rem, 3.2vw, 1.15rem);
  }
}

/* Tighten footer's extra blank space from legacy empty embeds. */
.block--footer .layout-element__component--GridEmbed:empty {
  display: none !important;
}

.block--footer .block-layout--layout {
  --block-min-height: auto !important;
  --t-block-min-height: auto !important;
  --m-block-min-height: auto !important;
  --small-desktop-block-min-height: auto !important;
  align-content: start !important;
}

.block--footer {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.block--footer .block-layout {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

.block--footer .block-layout--layout,
.block--footer .layout-element {
  align-self: start !important;
}
