/* Reylan Contact widgets — self-contained, loads after theme.css.
   Scoped to .ryc-* classes and the contact widgets' wrappers only. */

.elementor-widget-reylan-contact-hero > .elementor-widget-container,
.elementor-widget-reylan-hero-with-form > .elementor-widget-container,
.elementor-widget-reylan-contact-form > .elementor-widget-container,
.elementor-widget-reylan-contact-areas > .elementor-widget-container {
  max-width: none;
  width: 100%;
  padding: 0 !important;
}
.elementor-element.elementor-widget-reylan-contact-hero,
.elementor-element.elementor-widget-reylan-hero-with-form,
.elementor-element.elementor-widget-reylan-contact-form,
.elementor-element.elementor-widget-reylan-contact-areas {
  width: 100%;
  max-width: 100%;
  margin-bottom: 0 !important;
}
.e-con:has(> .elementor-widget[class*="elementor-widget-reylan-contact-"]),
.e-con > .e-con-inner:has(> .elementor-widget[class*="elementor-widget-reylan-contact-"]) {
  --gap: 0px;
  --row-gap: 0px;
  --column-gap: 0px;
}
.e-con > .e-con-inner:has(> .elementor-widget[class*="elementor-widget-reylan-contact-"]) {
  max-width: none;
  padding-inline: 0;
  overflow: visible;
}

/* ---------- Contact base (self-contained; does not need the About CSS) ---------- */
.ryc {
  --ryc-blue: var(--blue, #1d2d3b);
  --ryc-cream: var(--cream, #ffebcb);
  --ryc-red: var(--red, #d83d00);
  --ryc-line: var(--line, #c6cace);
  --ryc-stage-left: var(--stage-left, max(24px, calc((100% - 1440px) / 2 + 160px)));
  --ryc-to-edge: calc(50% - 50vw);
  --ryc-to-page: calc(-1 * min(160px, max(0px, (100vw - 1120px) / 2)));
  position: relative;
  overflow: visible;
  color: var(--ryc-blue);
  background: var(--white, #fff);
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.ryc figure { margin: 0; }
.ryc .media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ryc .body,
.ryc .body p,
.ryc .lede { font-size: var(--type-body, 18px); line-height: 1.5; }
.ryc .display-sm { line-height: 1.17; }
.ryc-actions { display: flex; flex-wrap: wrap; gap: 20px; }
.ryc-actions .btn { flex: 1 1 auto; min-height: 58px; }
.ryc-pattern { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.ryc-pattern img { width: 120%; height: 120%; max-width: none; object-fit: cover; object-position: left top; animation: patternDrift 36s linear infinite reverse; }
@media (prefers-reduced-motion: reduce) { .ryc-pattern img { animation: none; } }
/* theme.js leaves clip-path: inset(0) on revealed elements; drop it so nothing hanging out gets cut */
.ryc [data-reveal]:not([data-reveal="clip"]).is-in { clip-path: none; }
@media (max-width: 767px) { .ryc-actions .btn { flex: 1 1 100%; white-space: normal; } .ryc .display-sm { font-size: 36px; } }

/* =====================================================================
   1 · HERO — navy from the 160px gutter, photos straddle its edge,
   red emergency card hangs off the bottom of the navy
   ===================================================================== */
.ryc-hero { color: var(--ryc-cream); }
.ryc-hero-panel {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--ryc-stage-left);
  right: 0;
  background: var(--ryc-blue);
  overflow: hidden;
  z-index: 0;
}
.ryc-hero.has-emergency .ryc-hero-panel { bottom: 90px; }
.ryc-hero-panel .ryc-pattern img { animation-duration: 28s; }
.ryc-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 640fr) minmax(0, 563fr);
  column-gap: 89px;
  align-items: start;
  width: min(calc(100% - 80px), 1360px);
  margin: 0 auto;
  padding: 110px 0 90px;
}
.ryc-hero-photos { position: relative; aspect-ratio: 640 / 600; width: 100%; max-width: 640px; }
.ryc-hero-p1 { position: absolute; left: 0; top: 0; width: 78%; height: 82%; }
.ryc-hero-p2 { position: absolute; right: 0; bottom: 0; width: 52%; height: 52%; border: 8px solid var(--ryc-blue); box-sizing: border-box; }
.ryc-hero.is-single .ryc-hero-p1 { width: 100%; height: 100%; }
body.page-id-726 .ryc-hero-media {
  padding-top: 40px;
}
.ryc-hero-media .ryc-hero-grid {
  grid-template-columns: 708fr 563fr;
  column-gap: 40px;
  align-items: start;
}
.ryc-hero-media .ryc-hero-copy {
  margin-top: 0;
  max-width: 450px;
  justify-self: start;
}
.ryc-hero-media .ryc-details { padding-top: 0; }
.ryc-hero.has-form .ryc-hero-photos {
  aspect-ratio: auto;
  max-width: 708px;
}
.ryc-hero.has-form .ryc-hero-copy { padding-top: 44px; }
.ryc-hero.has-form .ryc-hero-form {
  position: relative;
  z-index: 1;
  width: 100%;
}
.ryc-hero.has-form .ryc-hero-form iframe {
  display: block;
  width: 100%;
  min-height: 827px;
  border: 0;
  background: #fff;
}
.ryc-hero.has-form .ryc-hero-form .wpcf7,
.ryc-hero.has-form .ryc-hero-form .wpcf7-form { margin: 0; }
.ryc-hero.has-form .ryc-hero-form .wpcf7-form {
  padding: 44px 44px 40px;
  background: var(--white, #fff);
  border: 1px solid var(--ryc-line);
  box-shadow: 0 30px 60px rgba(29, 45, 59, 0.18);
  color: var(--ryc-blue);
}
.ryc-hero.has-form .ryc-hero-form .wpcf7-form-control-wrap { display: block; }
.ryc-hero.has-form .ryc-hero-form .ryc-choice > p { margin: 0; }
.ryc-hero.has-form .ryc-hero-form .ryc-choice .wpcf7-radio { display: flex; flex-wrap: wrap; gap: 12px; }
.ryc-hero.has-form .ryc-hero-form .ryc-choice .wpcf7-list-item { margin: 0; }
.ryc-hero.has-form .ryc-hero-form .ryc-submit > p { margin: 0; display: flex; align-items: center; }
.ryc-hero.has-form .ryc-hero-form .ryc-submit input[type="submit"] {
  min-height: 58px;
  padding: 0 32px;
  border: 0;
  border-radius: 0;
  background: var(--ryc-red);
  color: #fff;
  font-family: var(--font-body, Inter, sans-serif);
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  cursor: pointer;
}
.ryc-hero.has-form .ryc-hero-form-empty {
  margin: 0;
  padding: 44px;
  background: var(--white, #fff);
  border: 1px solid var(--ryc-line);
  color: var(--ryc-blue);
}
.ryc-hero-copy { margin-top: 40px; max-width: 563px; justify-self: end; color: var(--ryc-cream); }
.ryc-hero-copy .eyebrow { color: var(--ryc-cream); }
.ryc-hero-copy h1,
.ryc-hero-copy .display-sm {
  margin: 0 0 20px;
  font-size: var(--type-hero, 54px);
  line-height: 63px;
  color: var(--ryc-cream);
}
.ryc-hero-copy .accent { color: var(--ryc-red); }
.ryc-hero-copy .lede { margin: 0 0 100px; line-height: 1.5; color: var(--ryc-cream); }
.ryc-hero-phone {
  display: block;
  font-family: var(--font-display, "Roboto Condensed", sans-serif);
  font-weight: 700;
  font-size: 56px;
  line-height: 1;
  color: var(--ryc-cream);
  text-decoration: none;
}
.ryc-hero-phone:hover { color: #fff; }
.ryc-hero-email {
  display: inline-block;
  margin: 12px 0 32px;
  font-family: var(--font-display, "Roboto Condensed", sans-serif);
  font-weight: var(--type-label-weight, 500);
  font-size: var(--type-label, 20px);
  text-transform: uppercase;
  color: var(--ryc-cream);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.ryc-hero-email:hover { color: #fff; }
.ryc-hero-actions .btn { flex: 0 0 auto; }

.ryc-em-row {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  justify-content: flex-end;
}
.ryc-em {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  width: min(100%, 880px);
  padding: 32px 36px;
  background: var(--ryc-red);
  color: var(--ryc-cream);
}
.ryc-em-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ryc-cream);
  color: var(--ryc-red);
}
.ryc-em .h-service { margin: 0 0 6px; font-size: 28px; line-height: 1.1; color: var(--ryc-cream); }
.ryc-em .body { margin: 0; color: var(--ryc-cream); }
.ryc-em-btn { white-space: nowrap; }

/* =====================================================================
   2 · FORM + DETAILS — cream head, navy band anchored left,
   white form card across both, details on the navy
   ===================================================================== */
.ryc-form { padding: 0 0 140px; }
.ryc-form-head { position: relative; padding: 110px 0 60px; }
.ryc-form-head::before,
.ryc-form-body::after {
  content: "";
  position: absolute;
  left: var(--ryc-to-edge);
  right: var(--ryc-to-edge);
  background: var(--ryc-cream);
  z-index: 0;
}
.ryc-form-head::before { top: 0; bottom: 0; }
.ryc-form-head-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: end;
}
.ryc-form-head .eyebrow { color: var(--ryc-red); }
.ryc-form-head .display-sm { margin: 0; color: var(--ryc-blue); }
.ryc-form-head .body { margin: 0; color: var(--ryc-blue); max-width: 520px; }

.ryc-form-body {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 700fr) minmax(0, 380fr);
  gap: 40px;
  align-items: start;
  padding-bottom: 80px;
}
/* cream continues 140px behind the top of the card, then navy */
.ryc-form-body::after { top: 0; height: 140px; }
.ryc-form-body::before {
  content: "";
  position: absolute;
  top: 140px;
  bottom: 0;
  left: var(--ryc-to-edge);
  right: var(--ryc-to-page);
  background: var(--ryc-blue);
  z-index: 0;
}
.ryc-form-body .ryc-pattern { top: 140px; left: var(--ryc-to-edge); right: var(--ryc-to-page); opacity: 0.22; z-index: 0; }

.ryc-card {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 44px 44px 40px;
  background: var(--white, #fff);
  border: 1px solid var(--ryc-line);
  box-shadow: 0 30px 60px rgba(29, 45, 59, 0.18);
  color: var(--ryc-blue);
}
.ryc-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 24px;
}
.ryc-field { margin: 0; display: flex; flex-direction: column; gap: 8px; min-width: 0; border: 0; padding: 0; }
.ryc-field.is-wide { grid-column: 1 / -1; }
.ryc-field > label,
.ryc-field legend {
  font-family: var(--font-display, "Roboto Condensed", sans-serif);
  font-weight: var(--type-label-weight, 500);
  font-size: 16px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ryc-blue);
  padding: 0;
}
.ryc-field label span[aria-hidden] { color: var(--ryc-red); }
.ryc-optional { text-transform: none; letter-spacing: 0; font-family: var(--font-body, Inter, sans-serif); font-size: 14px; opacity: 0.75; }
.ryc-field input[type="text"],
.ryc-field input[type="tel"],
.ryc-field input[type="email"],
.ryc-field select,
.ryc-field textarea {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  border: 1px solid var(--ryc-line);
  border-radius: 0;
  background: #fff;
  font-family: var(--font-body, Inter, sans-serif);
  font-size: 17px;
  line-height: 1.4;
  color: var(--ryc-blue);
  box-sizing: border-box;
  appearance: none;
}
.ryc-field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--ryc-blue) 50%), linear-gradient(135deg, var(--ryc-blue) 50%, transparent 50%);
  background-position: calc(100% - 22px) 24px, calc(100% - 16px) 24px;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-right: 44px;
}
.ryc-field textarea { min-height: 140px; resize: vertical; }
.ryc-field input:focus,
.ryc-field select:focus,
.ryc-field textarea:focus { outline: 2px solid var(--ryc-red); outline-offset: 0; border-color: var(--ryc-red); }
.ryc-choice { flex-direction: row; flex-wrap: wrap; gap: 12px; }
.ryc-choice legend { width: 100%; margin-bottom: 8px; }
.ryc-choice label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid var(--ryc-line);
  font-size: 17px;
  cursor: pointer;
  color: var(--ryc-blue);
}
.ryc-choice label:has(input:checked) { border-color: var(--ryc-blue); box-shadow: inset 0 0 0 1px var(--ryc-blue); }
.ryc-choice input { accent-color: var(--ryc-red); width: 18px; height: 18px; margin: 0; }
.ryc-file input[type="file"] {
  width: 100%;
  padding: 16px;
  border: 1px dashed var(--ryc-line);
  background: #fafafa;
  font-size: 15px;
  color: var(--ryc-blue);
  box-sizing: border-box;
}
.ryc-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 30px; }
.ryc-submit .btn { min-height: 58px; padding: 0 32px; cursor: pointer; }
.ryc-small { margin: 0; font-size: 14px; line-height: 1.4; color: var(--ryc-blue); opacity: 0.75; max-width: 300px; }
.ryc-notice { margin: 0 0 24px; padding: 16px 18px; font-size: 16px; line-height: 1.45; border-left: 4px solid; }
.ryc-notice.is-ok { background: #eef6ef; border-color: #2e7d32; color: #1b4d1f; }
.ryc-notice.is-error { background: #fdeee8; border-color: var(--ryc-red); color: #7a2300; }
.ryc-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.ryc-details {
  position: relative;
  z-index: 1;
  padding-top: 200px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  color: var(--ryc-cream);
}
.ryc-hero .ryc-details { padding-top: 0; }
.ryc-d { display: flex; flex-direction: column; gap: 6px; padding-bottom: 24px; border-bottom: 1px solid rgba(255, 235, 203, 0.3); }
.ryc-d:last-child { border-bottom: 0; padding-bottom: 0; }
.ryc-d-label {
  font-family: "Roboto Condensed";
  font-weight: 500;
  font-size: 30px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ryc-red);
}
.ryc-d a,
.ryc-d p { margin: 0; line-height: 1.5; color: var(--ryc-cream); text-decoration: none; font-family: "Roboto Condensed";
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  text-transform: uppercase;}
.ryc-d a:hover { color: var(--ryc-cream); text-decoration: none; }
.ryc-d .ryc-d-phone {
  font-family:"Roboto Condensed";
  font-weight: 700;
  font-size: 20px;
  line-height: 1.05;
}
.ryc-social { flex-direction: row; gap: 24px; }
.ryc-social a {
  font-family: var(--font-display, "Roboto Condensed", sans-serif);
  font-weight: var(--type-label-weight, 500);
  font-size: var(--type-label, 20px);
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* =====================================================================
   3 · SERVICE AREAS — bordered cells on white
   ===================================================================== */
.ryc-areas { padding: 0 0 160px; }
.ryc-areas .display-sm { margin: 0 0 40px; color: var(--ryc-blue); }
.ryc-areas .accent { color: var(--ryc-red); }
.ryc-areas-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.ryc-area { display: flex; flex-direction: column; gap: 14px; padding: 36px 32px; border: 1px solid var(--ryc-line); }
.ryc-area + .ryc-area { margin-left: -1px; }
.ryc-area-icon { width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; background: var(--ryc-blue); color: var(--ryc-cream); }
.ryc-area .h-service { margin: 8px 0 0; font-size: 24px; line-height: 1.15; color: var(--ryc-blue); }
.ryc-area .body { margin: 0; color: var(--ryc-blue); }

/* =====================================================================
   Tablet / phone
   ===================================================================== */
@media (max-width: 1100px) {
  .ryc-hero-grid,
  .ryc-form-head-grid,
  .ryc-form-body { grid-template-columns: minmax(0, 1fr); }
  .ryc-hero-media .ryc-hero-grid { grid-template-columns: minmax(0, 1fr); column-gap: 0; }
  .ryc-hero-panel { left: 0; }
  .ryc-hero-grid { width: calc(100% - 48px); padding: 80px 0 60px; row-gap: 40px; }
  .ryc-hero-copy { margin-top: 0; justify-self: start; }
  .ryc-hero.has-emergency .ryc-hero-panel { bottom: 120px; }
  .ryc-em { grid-template-columns: 56px minmax(0, 1fr); }
  .ryc-em-btn { grid-column: 1 / -1; justify-self: start; }
  .ryc-form-body::before,
  .ryc-form-body .ryc-pattern { right: var(--ryc-to-edge); }
  .ryc-details { padding-top: 24px; }
  .ryc-hero-media .ryc-details { padding-top: 0; }
  .ryc-hero-media .ryc-hero-copy { padding-top: 0; max-width: none; }
  .ryc-hero-media .ryc-hero-photos,
  .ryc-hero.has-form .ryc-hero-photos { max-width: none; width: 100%; }
  .ryc-areas-grid { grid-template-columns: minmax(0, 1fr); }
  .ryc-area + .ryc-area { margin-left: 0; margin-top: -1px; }
}
@media (max-width: 767px) {
  .ryc-hero-copy h1,
  .ryc-hero-copy .display-sm { font-size: 38px; line-height: 1.15; overflow-wrap: anywhere; }
  .ryc-hero-phone { font-size: 42px; }
  body.page-id-726 .ryc-hero-media { padding-top: 24px; }
  .ryc-hero-media .ryc-hero-grid { width: calc(100% - 24px); padding: 48px 0 40px; row-gap: 28px; }
  .ryc-hero-copy .lede { margin-bottom: 32px; }
  .ryc-em { padding: 24px; gap: 16px; grid-template-columns: minmax(0, 1fr); }
  .ryc-em .h-service { font-size: 24px; }
  .ryc-form { padding-bottom: 80px; }
  .ryc-form-head { padding-top: 64px; }
  .ryc-card { padding: 28px 20px; }
  .ryc-hero.has-form .ryc-hero-form .wpcf7-form { padding: 24px 16px; }
  .ryc-hero.has-form .ryc-hero-form .ryc-submit input[type="submit"] { width: 100%; }
  .ryc-fields { grid-template-columns: minmax(0, 1fr); }
  .ryc-submit .btn { width: 100%; white-space: normal; }
  .ryc-d .ryc-d-phone { font-size: 34px; }
  .ryc-hero-media .ryc-d-label { font-size: 22px; }
  .ryc-hero-media .ryc-d a,
  .ryc-hero-media .ryc-d p,
  .ryc-hero-media .ryc-d .ryc-d-phone { font-size: 16px; }
  .ryc-areas { padding-bottom: 80px; }
}