/* ==========================================================================
   Contact page (original Elementor post 43)

   Measured targets — layout/ref-contact-1440.txt, viewport 1425px:
     hero band          [0, 0, 1425, 840]   (320 + 200 + 320)
     "CONTACT US"       [0, 320, 1425, 200] 200px/600 #229e58, centred
     body band starts at y=990 (150px margin), boxed to 1416px -> x=4.5
     "SEND A MESSAGE"   [61, 1046, 808, 40] = 4.5 + 1px border + 55px padding
     "+30 690 461 0184" [1120, 1030, 301, 16]  (column x 924.9 + 90 + 105)
     "info@rokappa.com" [1120, 1066, 301, 16]
     address            [1120, 1102, 301, 32]  (two 16px lines)
     social icons       [1120 / 1165 / 1210 / 1255, 1154, 25, 25]
   ========================================================================== */

/* --- Hero ---------------------------------------------------------------- */
.page-contact__hero {
  padding: 320px 0;
  background-color: var(--color-page);
  background-image: url('/assets/images/Contact-us-background-Rokappa.webp');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.page-contact__title {
  color: var(--color-secondary);
  font-size: 200px;
  font-weight: 600;
  line-height: 1;
  text-align: center;
}

/* --- Body band ----------------------------------------------------------- */
.page-contact__body {
  margin: 150px 0;
}

.page-contact__grid {
  --content-width: 1416px;
  flex-direction: row;
  flex-wrap: wrap;
}

/* --- Form card ----------------------------------------------------------- */
.page-contact__card {
  display: flex;
  flex-direction: column;
  width: 65%;
  padding: 55px;
  border: 1px solid var(--color-secondary);
  border-radius: 40px;
  box-shadow: -6px 6px 28px 1px rgba(0, 0, 0, .25);
}

.page-contact__card-title {
  line-height: 1;
}

.page-contact__form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 30px;
}

/* The kit already styles `.field` (20px/500, #a3a3a3, 35px radius,
   10px 0 15px 25px). The widget adds a 2px brand-green border. */
.page-contact .field {
  border: 2px solid var(--color-secondary);
}

.page-contact__submit {
  align-self: flex-start;
  font-size: 20px;
}

/* Keep the empty status paragraph out of the flex flow (and out of the gap). */
.page-contact .form__status:empty {
  display: none;
}

/* --- Contact details ----------------------------------------------------- */
.page-contact__details {
  display: flex;
  flex-direction: column;
  width: 35%;
  padding-left: 90px;
}

.page-contact__logo {
  display: block;
  width: 410px;
  max-width: 100%;
  height: auto;
}

.page-contact__line {
  margin: 20px 0 0 105px;
  color: var(--color-primary);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
}

.page-contact__line--first {
  margin-top: 40px;
}

.page-contact__social {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 20px 0 0 105px;
}

.page-contact__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
}

.page-contact__social-link img {
  display: block;
  width: 25px;
  height: 25px;
}

/* --- Map ----------------------------------------------------------------- */
.page-contact__map {
  width: 100%;
  margin-top: 70px;
  border-radius: 40px;
  overflow: hidden;
}

.page-contact__map iframe {
  display: block;
  width: 100%;
  height: 500px;
  border: 0;
}

/* --- Breakpoints --------------------------------------------------------- */
@media (max-width: 1366px) {
  .page-contact__hero { padding: 280px 0; }
  .page-contact__title { font-size: 150px; }

  .page-contact__grid { --content-width: 1100px; }

  .page-contact .field { font-size: 16px; }
  .page-contact__submit { font-size: 16px; }

  .page-contact__line,
  .page-contact__social { margin-left: 75px; }
}

@media (max-width: 1200px) {
  .page-contact__title { font-size: 130px; }

  .page-contact__body { margin: 100px 0; }
  .page-contact__grid { --content-width: 900px; }

  .page-contact__line,
  .page-contact__social { margin-left: 0; }
}

@media (max-width: 1024px) {
  .page-contact__hero { padding: 200px 0; }
  .page-contact__title { font-size: 110px; }

  .page-contact__grid { --content-width: 700px; }
  .page-contact__card { padding: 30px; }
  .page-contact__details { padding-left: 50px; }
}

@media (max-width: 880px) {
  .page-contact__title { font-size: 90px; }
}

@media (max-width: 767px) {
  .page-contact__hero { padding: 150px 0; }
  .page-contact__title { font-size: 50px; }

  .page-contact__grid { --content-width: 300px; }

  .page-contact__card { width: 100%; }

  .page-contact__details {
    width: 100%;
    padding: 50px 50px 0;
  }
}

/* Match the footer: give the contact phone/email links a ~44px tap area
   without changing the layout. */
.page-contact .page-contact__line a { position: relative; }

.page-contact .page-contact__line a::after {
  content: '';
  position: absolute;
  inset: -11px -10px;
}
