/* =========================================================
   Calder Eames — site styles
   Recreated from the live Wix site. Desktop layout uses a
   centered 980px content grid with full-bleed image strips.
   ========================================================= */

:root {
  --font-helvetica: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-montserrat: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-avenir: "Avenir Next", "Avenir", "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-futura: "Futura", "Jost", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --color-text: #000;
  --color-bg: #fff;
  --color-accent: #1d67cd;   /* active nav link */
  --color-button: #0057e1;   /* Book Now */
  --color-yellow: #ffc20e;   /* contact panel */
  --color-card: rgba(232, 230, 230, 0.8);
  --color-dark: #0f0f0f;

  --grid: 980px;
  --header-height: 267px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-helvetica);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 8px; top: -60px;
  padding: 10px 16px; background: #fff; color: var(--color-accent);
  border-radius: 24px; z-index: 100; font-size: 14px;
}
.skip-link:focus { top: 8px; }

.container {
  width: 100%;
  max-width: var(--grid);
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 1020px) {
  .container { padding: 0; }
}

/* ---------- Header ---------- */
.site-header {
  position: relative;
  height: var(--header-height);
  background: var(--color-bg);
}
.site-header__inner {
  position: relative;
  max-width: var(--grid);
  height: 100%;
  margin: 0 auto;
}
.site-header__logo {
  position: absolute;
  top: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 147px;
}
.site-header__logo img { width: 147px; height: 147px; }

.site-nav {
  position: absolute;
  top: 60px;
  right: 33px;
}
.site-nav ul { display: flex; }
.site-nav a {
  display: block;
  padding: 14px 23px;
  font-family: var(--font-helvetica);
  font-size: 16px;
  line-height: 19px;
  letter-spacing: 0.8px;
  color: var(--color-text);
  transition: color .15s ease;
}
.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] { color: var(--color-accent); }

.nav-toggle {
  display: none;
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  padding: 10px;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  margin: 5px 0;
  background: #000;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Full-bleed image strips ---------- */
.strip {
  position: relative;
  overflow: hidden;
  background: #000;
}
.strip__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.strip__link {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  font-family: var(--font-montserrat);
  font-size: 35px;
  line-height: 1.25;
  font-weight: 400;
  text-align: center;
  transition: opacity .2s ease;
}
.strip__link:hover { opacity: .85; }

/* Home hero */
.hero { height: 591px; }
.hero .strip__link { color: #fff; }

/* Home lower banner */
.banner { height: 500px; margin: 36px 0 38px; }
.banner .strip__link { color: #000; }

/* ---------- Home: services ---------- */
.services { padding: 53px 44px 0; }
.services__title {
  font-family: var(--font-montserrat);
  font-size: 30px;
  line-height: 42px;
  font-weight: 400;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  word-spacing: 0.6em;
  margin-bottom: 42px;
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  max-width: 1338px;
  margin: 0 auto;
}
.service-card {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  min-height: 282px;
  background: var(--color-card);
}
.service-card__media {
  position: relative;
  min-height: 282px;
  overflow: hidden;
}
.service-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-card__body {
  padding: 38px 21px 28px 25px;
  font-family: var(--font-montserrat);
}
.service-card__title {
  font-size: 20px;
  line-height: 28px;
  font-weight: 700;
}
.service-card__text {
  margin-top: 29px;
  font-size: 16px;
  line-height: 24px;
}

/* ---------- Contact (shared) ---------- */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 610px;
}
.contact__media {
  position: relative;
  min-height: 610px;
  overflow: hidden;
  background: #fffffe;
}
.contact__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.contact__title {
  position: absolute;
  top: 104px;
  left: 0;
  right: 0;
  padding: 0 10px;
  text-align: center;
  color: #fff;
  font-family: var(--font-montserrat);
  font-size: 36px;
  line-height: 44px;
  font-weight: 400;
  letter-spacing: 5.4px;
}
.contact__seal {
  position: absolute;
  top: 339px;
  left: 50%;
  transform: translateX(-50%);
  width: 160px;
}
.contact__panel {
  background: var(--color-yellow);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 128px 20px 60px;
}
.contact-form {
  width: 100%;
  max-width: 487px;
  display: grid;
  gap: 14px;
}
.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}
.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  height: 34px;
  margin: 0;
  padding: 0 10px;
  border: 0;
  border-radius: 0;
  background: #fff;
  color: #000;
  font-family: var(--font-futura);
  font-weight: 300;
  font-size: 14px;
  line-height: 34px;
  -webkit-appearance: none;
  appearance: none;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: #000; opacity: .8; }
.contact-form input:focus,
.contact-form textarea:focus { outline: 2px solid #000; outline-offset: 0; }
.contact-form textarea {
  height: 148px;
  padding: 8px 10px;
  line-height: 1.5;
  resize: vertical;
}
.contact-form__submit {
  height: 45px;
  border: 0;
  border-radius: 0;
  background: var(--color-dark);
  color: #fff;
  font-family: var(--font-avenir);
  font-weight: 300;
  font-size: 18px;
  line-height: 25.2px;
  cursor: pointer;
  transition: background .15s ease;
}
.contact-form__submit:hover { background: #000; }
.contact-form__submit:disabled { opacity: .7; cursor: default; }
.contact-form__hp { display: none; }
.contact-form__status {
  margin-top: 6px;
  text-align: center;
  font-family: var(--font-futura);
  font-size: 16px;
  line-height: 1.3;
}
.contact__social {
  display: flex;
  gap: 9px;
  justify-content: center;
  margin-top: 35px;
}
.contact__social a { display: block; transition: opacity .15s ease; }
.contact__social a:hover { opacity: .7; }
.contact__social img { width: 29px; height: 29px; }

/* ---------- About ---------- */
.about-hero { height: 560px; margin-top: 10px; }
.about-intro { padding: 45px 0 59px; text-align: center; }
.about-intro__title {
  font-size: 25px;
  line-height: 33.75px;
  font-weight: 700;
  text-transform: uppercase;
}
.about-intro__tagline {
  margin-top: 6px;
  font-size: 16px;
  line-height: 28px;
}
.about-intro__text {
  max-width: 780px;
  margin: 8px auto 0;
  text-align: left;
  font-size: 14px;
  line-height: 26.25px;
}
.about-intro__text p + p { margin-top: 26px; }

.team { padding: 39px 0 62px; text-align: center; }
.team__title { font-size: 38px; line-height: 1.2; font-weight: 700; }
.team__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 443px));
  gap: 60px;
  justify-content: center;
  margin-top: 62px;
  text-align: left;
}
.team-member__photo {
  width: 100%;
  aspect-ratio: 443 / 431;
  object-fit: cover;
}
.team-member__meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 17px 9px 0 13px;
}
.team-member__name { font-size: 20px; line-height: 28px; font-weight: 700; }
.team-member__role { margin-top: 10px; font-size: 16px; line-height: 22.4px; }
.team-member__social { display: flex; gap: 7px; flex-shrink: 0; padding-top: 2px; }
.team-member__social img { width: 24px; height: 24px; }
.team-member__social a:hover { opacity: .7; }

/* ---------- Book Online ---------- */
.services-list { padding: 97px 20px 21px; text-align: center; }
.services-list__title { font-size: 32px; line-height: 40px; font-weight: 700; }
.service-tile {
  width: 100%;
  max-width: 616px;
  margin: 59px auto 0;
  border: 1px solid rgba(0, 0, 0, 0.2);
  background: #fff;
  text-align: left;
}
.service-tile__media {
  position: relative;
  display: block;
  aspect-ratio: 614 / 411;
  overflow: hidden;
  background: #000;
}
.service-tile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-tile__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
}
.service-tile__body { padding: 32px 31px 31px; }
.service-tile__title { font-size: 24px; line-height: 31.92px; font-weight: 700; }
.service-tile__title a:hover { text-decoration: underline; }
.service-tile__meta { margin-top: 54px; font-size: 16px; line-height: 32px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 17px;
  border: 1px solid var(--color-button);
  background: var(--color-button);
  color: #fff;
  font-family: var(--font-helvetica);
  font-size: 16px;
  line-height: 16px;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
.btn:hover { background: #0046b8; border-color: #0046b8; }
.service-tile .btn { margin-top: 14px; }

/* ---------- Service page ---------- */
.service-hero { height: 360px; }
.service-detail { padding: 75px 0 100px; }
.service-detail__inner { max-width: 720px; margin-left: 130px; }
.service-detail__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  line-height: 18px;
}
.service-detail__badge svg { width: 23px; height: 16px; }
.service-detail__title { margin-top: 18px; font-size: 40px; line-height: 56px; font-weight: 700; }
.service-detail__facts {
  display: inline-flex;
  flex-wrap: wrap;
  margin-top: 30px;
  padding: 16px 17px;
  border: 1px solid #000;
  font-size: 16px;
  line-height: 24px;
}
.service-detail__facts span { padding: 0 16px; }
.service-detail__facts span:first-child { padding-left: 0; }
.service-detail__facts span:last-child { padding-right: 0; }
.service-detail__facts span + span { border-left: 1px solid #000; }
.service-detail .btn { margin-top: 32px; padding: 0 29px; border-width: 0; }
.service-detail__heading { margin-top: 65px; font-size: 20px; line-height: 28px; font-weight: 700; }
.service-detail__text { margin-top: 16px; max-width: 704px; font-size: 16px; line-height: 24px; }
.service-detail__logo { width: 232px; height: 232px; margin-top: 47px; }
.service-detail__heading--contact { margin-top: 44px; }

/* ---------- Blog ---------- */
.blog-bar { height: 80px; padding: 26px 20px 0; }
.blog-bar a {
  font-size: 14px;
  line-height: 19.6px;
  color: var(--color-button);
}
.blog-bar a:hover { text-decoration: underline; }
.blog-head { height: 142px; padding: 43px 40px 0; }
.blog-head h1 { font-size: 36px; line-height: 50.4px; font-weight: 700; }
.blog-empty { height: 450px; padding: 191px 20px 0; text-align: center; }
.blog-empty__title { font-size: 32px; line-height: 48px; font-weight: 700; }
.blog-empty__text { margin-top: 7px; font-size: 16px; }

/* ---------- 404 ---------- */
.not-found { padding: 120px 20px 160px; text-align: center; }
.not-found h1 { font-size: 36px; font-weight: 700; }
.not-found p { margin-top: 16px; }
.not-found a { color: var(--color-button); text-decoration: underline; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .services { padding-left: 24px; padding-right: 24px; }
  .services__grid { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
}

@media (max-width: 1019px) {
  .service-detail__inner { margin-left: 0; }
  .blog-head { padding-left: 20px; }
}

@media (max-width: 900px) {
  .contact { grid-template-columns: 1fr; }
  .contact__media { min-height: 520px; }
  .contact__panel { padding: 60px 20px 50px; }
  .hero { height: 60vw; min-height: 320px; }
  .banner { height: 45vw; min-height: 260px; }
  .about-hero { height: 50vw; min-height: 240px; }
  .service-hero { height: 40vw; min-height: 200px; }
  .strip__link { font-size: 28px; }
  .team__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
}

@media (max-width: 760px) {
  :root { --header-height: 130px; }
  .site-header__logo {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 96px;
  }
  .site-header__logo img { width: 96px; height: 96px; }
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    background: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    z-index: 50;
  }
  .nav-open .site-nav { display: block; }
  .site-nav ul { flex-direction: column; }
  .site-nav a { padding: 16px 24px; font-size: 18px; }

  .services { padding: 40px 20px 0; }
  .services__title { font-size: 22px; line-height: 32px; letter-spacing: .25em; margin-bottom: 28px; }
  .service-card { grid-template-columns: 1fr; }
  .service-card__media { height: 220px; min-height: 0; }
  .service-card__body { padding: 24px 20px 28px; }
  .service-card__text { margin-top: 16px; }
  .banner { margin: 24px 0 0; }

  .contact__title { font-size: 28px; letter-spacing: 4px; top: 80px; }
  .contact__seal { top: 260px; width: 140px; }
  .contact__media { min-height: 440px; }
  .contact-form__row { grid-template-columns: 1fr; gap: 14px; }

  .about-intro { padding: 36px 0 44px; }
  .about-intro__text { padding: 0 20px; }
  .team { padding: 36px 0 48px; }
  .team__title { font-size: 30px; }
  .team__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; margin-top: 36px; padding: 0 20px; }
  .team-member__photo { max-width: 443px; margin: 0 auto; }

  .services-list { padding-top: 60px; }
  .services-list__title { font-size: 28px; }
  .service-tile { margin-top: 36px; }
  .service-tile__body { padding: 24px 20px; }
  .service-tile__meta { margin-top: 24px; }

  .service-detail { padding: 48px 0 64px; }
  .service-detail__title { font-size: 30px; line-height: 40px; }
  .service-detail__facts span { padding: 0 10px; }

  .blog-head { height: auto; padding: 32px 20px 24px; }
  .blog-head h1 { font-size: 30px; line-height: 1.3; }
  .blog-empty { height: auto; padding: 100px 20px 140px; }
  .blog-empty__title { font-size: 26px; line-height: 1.3; }
}

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