
/* ==========================================
   GIGAWATT — IoT SOLUTIONS
========================================== */

body {
  background-color: #090012;

  background-image: radial-gradient(
    ellipse 65% 75% at -12% 5%,
    rgba(145, 0, 255, 0.90) 0%,
    rgba(115, 0, 210, 0.50) 20%,
    rgba(42, 1, 75, 0.18) 45%,
    rgba(3, 0, 9, 0) 74%
  );

  background-repeat: no-repeat;
  background-size: 100% 900px;
}

/* ==========================================
   HERO
========================================== */

.iot-hero {
  --iot-header-height: 122px;

  position: relative;
  isolation: isolate;

  display: flex;
  align-items: center;

  width: 100%;
  min-height: min(100svh, 62.25vw);
  height: auto;

  padding: calc(20px + var(--iot-header-height)) 40px 100px;

  /* Image behind header */
  margin-top: calc(-1 * var(--iot-header-height));

  overflow: hidden;
  box-sizing: border-box;

  color: #ffffff;
  background: #090012;
}

/* ==========================================
   HERO IMAGE
========================================== */

.iot-hero__media {
  position: absolute;

  top: 0;
  left: 0;
  right: 0;

  /* Image ends earlier */
  bottom: 100px;

  z-index: 0;
  pointer-events: none;
}

.iot-hero__media img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center right;

  /* Left fade */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0, 0, 0, 0.3) 50%,
    black 85%
  );

  mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0, 0, 0, 0.3) 50%,
    black 85%
  );
}

/* Bottom fade */

.iot-hero__media::after {
  content: "";

  position: absolute;
  inset: auto 0 0;

  height: 180px;

  background: linear-gradient(
    to bottom,
    transparent 0%,
    #090012 100%
  );

  pointer-events: none;
}

/* ==========================================
   CONTAINER
========================================== */

.iot-hero__container {
  position: relative;
  z-index: 1;

  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
}

.iot-hero__content {
  width: min(750px, calc(100% - 40px));
  margin-left: 40px;
}

/* ==========================================
   MOBILE
========================================== */

/* ==========================================
   EYEBROW
========================================== */

.iot-hero__eyebrow {
  display: inline-block;

  margin-bottom: clamp(18px, 2vw, 25px);

  color: #ca7fff;
  font-size: clamp(11px, 1vw, 13px);
  font-weight: 800;
  letter-spacing: clamp(1px, 0.15vw, 2px);
}

/* ==========================================
   TITLE
========================================== */

.iot-hero h1 {
  max-width: 760px;
  margin: 0;

  color: #ffffff;

  font-size: clamp(36px, 5vw, 65px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.iot-hero h1 span {
  display: block;
  color: #ca7fff;
}

/* ==========================================
   DESCRIPTION
========================================== */

.iot-hero__description {
  max-width: 620px;

  margin:
    clamp(22px, 2.3vw, 30px)
    0
    clamp(28px, 3vw, 38px);

  color: rgba(255,255,255,0.78);

  font-size: clamp(15px, 1.45vw, 19px);
  font-weight: 400;
  line-height: 1.7;
}

/* ==========================================
   BUTTONS
========================================== */

.iot-hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;

  gap: clamp(10px, 1.25vw, 16px);
}

.iot-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: clamp(8px, 1vw, 14px);

  min-height: clamp(46px, 4vw, 52px);

  padding:
    clamp(12px, 1.1vw, 14px)
    clamp(18px, 2.1vw, 27px);

  box-sizing: border-box;

  border-radius: 999px;
  border: 2px solid transparent;

  color: #ffffff;

  font-size: clamp(13px, 1.1vw, 14px);
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;

  transition: 0.25s ease;
}

.iot-hero__btn:hover {
  transform: translateY(-3px);
}

/* PRIMARY BUTTON */

.iot-hero__btn--primary {
  background: rgba(71, 8, 82, 0.5);
  border-color: #ca7fff;

  box-shadow:
    0 12px 30px rgba(225,32,255,0.16);
}

.iot-hero__btn--primary:hover {
  box-shadow:
    0 12px 40px rgba(225,32,255,0.28);
}

/* SECONDARY BUTTON */

.iot-hero__btn--secondary {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.35);
}

.iot-hero__btn--secondary:hover {
  background: rgba(255,255,255,0.12);
}



.gigawatt-about__inner {
    margin-top:-70px;

}

/* ==========================================
   TABLET
========================================== */

@media (max-width: 1024px) {

  .iot-hero {
    min-height: 600px;
    padding: 65px 0 90px;
    margin-top:-100px;
  }

  .iot-hero__content {
    max-width: 650px;
  }

}

/* ==========================================
   MOBILE
========================================== */

@media (max-width: 750px) {

  body {
    background-size: 100% 850px;

  }

  .iot-hero {
    min-height: auto;
    margin-top: 20px;
    padding: 55px 30px 85px;
  }

  .iot-hero__container {
    width: calc(100% - 40px);
  }

  .iot-hero__content {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
  }

  /* EYEBROW */

  .iot-hero__eyebrow {
    font-size: clamp(10px, 2.8vw, 12px);
    margin-bottom: clamp(16px, 4vw, 22px);
  }

  /* TITLE */

  .iot-hero h1 {
    font-size: clamp(35px, 8vw, 48px);
    line-height: 1.14;
  }

  /* DESCRIPTION */

  .iot-hero__description {
    margin:
      clamp(20px, 5vw, 26px)
      0
      clamp(24px, 6vw, 32px);

    font-size: clamp(14px, 3.7vw, 16px);
    line-height: 1.7;
  }

  /* BUTTONS */

  .iot-hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: clamp(10px, 3vw, 12px);
  }

  .iot-hero__btn {
    width: 100%;

    min-height: clamp(48px, 12vw, 52px);

    padding:
      clamp(12px, 3.5vw, 14px)
      clamp(16px, 4vw, 22px);

    font-size: clamp(13px, 3.4vw, 14px);
  }

  .gigawatt-about__inner {
    margin-top:0px;

}
}


@media (max-width: 760px) {

  /* Header πάνω από τη φωτογραφία */
  .site-header,
  .header-inner {
    background: transparent;
  }

  .site-header {
    position: relative;
    z-index: 30;
  }

  .iot-hero {
    --iot-header-height: 90px;

    margin-top: -90px;

    padding:
      160px
      40px
      80px;
  }

  .iot-hero__media {
    top: 0;
    bottom: 0px;
  }

  .iot-hero__media img {
    opacity: 0.45;

    /* Μετακίνηση φωτογραφίας αριστερά */
    object-position: 100% center;
  }

  .iot-hero__media::after {
    height: 120px;
  }

  .iot-hero__container {
    width: 100%;
  }

  .iot-hero__content {
    width: 100%;
    margin-left: 0;
  }
}
/* ==========================================
   IoT SOLUTIONS — TWO COLUMN SECTION
========================================== */

.iot-solutions {
  position: relative;
  width: 100%;

  margin-top:-100px;
  padding: clamp(70px, 8vw, 120px) 0;
  color: #ffffff;
}

.iot-solutions__inner {
  width: min(1240px, calc(100% - 80px));
  margin-inline: auto;
}

/* ==========================================
   SECTION HEADING
========================================== */

.iot-solutions__heading {
  max-width: 760px;
  margin: 0 auto clamp(45px, 5vw, 70px);
  text-align: center;
}

.iot-solutions__eyebrow {
  margin: 0 0 20px;

  color: #ca7fff;
  font-size: clamp(11px, 1vw, 13px);
  font-weight: 800;
  letter-spacing: 1.5px;
}

.iot-solutions__heading h2 {
  margin: 0;

  font-size: clamp(25px, 4vw, 45px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.iot-solutions__heading h2 span {
  color: #ca7fff;
}

.iot-solutions__heading > p:last-child {
  max-width: 620px;
  margin: 24px auto 0;

  color: rgba(255,255,255,0.68);
  font-size: clamp(14px, 1.2vw, 17px);
  line-height: 1.75;
}

/* ==========================================
   TWO COLUMN GRID
========================================== */

.iot-solutions__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));

  align-items: stretch;
  gap: clamp(20px, 2.5vw, 34px);
}

/* ==========================================
   SOLUTION CARD
========================================== */

.iot-solution-card {
  display: flex;
  flex-direction: column;

  min-width: 0;
  height: 100%;

  overflow: hidden;

  border: 1px solid rgba(202,127,255,0.12);
  border-radius: clamp(20px, 2vw, 28px);

  background: #faf8fd;
  color: #1b1428;

  box-shadow: 0 20px 55px rgba(0,0,0,0.16);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.iot-solution-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 65px rgba(0,0,0,0.24);
}

/* ==========================================
   CARD IMAGE
========================================== */

.iot-solution-card__image {
  position: relative;

  width: 100%;
  aspect-ratio: 16 / 9;

  overflow: hidden;
  background: #e9e1ef;
}

.iot-solution-card__image img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  transition: transform 0.5s ease;
}

.iot-solution-card:hover .iot-solution-card__image img {
  transform: scale(1.035);
}

/* ==========================================
   CARD CONTENT
========================================== */

.iot-solution-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;

  padding: clamp(25px, 3vw, 42px);
}

/* CATEGORY LABEL */

.iot-solution-card__label {
  display: inline-block;
  margin-bottom: 17px;

  color: #9250bb;
  font-size: clamp(10px, 0.9vw, 12px);
  font-weight: 800;
  letter-spacing: 1.2px;
}

/* TITLE */

.iot-solution-card h3 {
  margin: 0 0 20px;

  color: #1c1429;
  font-size: clamp(28px, 2.8vw, 39px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.04em;
}

/* DESCRIPTION */

.iot-solution-card__description {
  margin: 0 0 25px;

  color: #645d70;
  font-size: clamp(14px, 1.15vw, 16px);
  font-weight: 400;
  line-height: 1.75;
}

/* ==========================================
   FEATURES
========================================== */

.iot-solution-card__features {
  display: flex;
  flex-direction: column;
  gap: 13px;

  margin: 0 0 35px;
  padding: 0;

  list-style: none;
}

.iot-solution-card__features li {
  position: relative;

  padding-left: 25px;

  color: #51495e;
  font-size: clamp(13px, 1vw, 15px);
  line-height: 1.5;
}

.iot-solution-card__features li::before {
  content: "✓";

  position: absolute;
  left: 0;
  top: 0;

  color: #a34bdd;
  font-weight: 800;
}

/* ==========================================
   BUTTON
========================================== */

.iot-solution-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  align-self: flex-start;
  gap: 15px;

  margin-top: auto;

  min-height: clamp(45px, 4vw, 52px);

  padding: 12px clamp(20px, 2vw, 27px);

  border: 1.5px solid #a34bdd;
  border-radius: 999px;

  background: #a34bdd;
  color: #ffffff;

  font-size: clamp(13px, 1vw, 14px);
  font-weight: 800;
  text-decoration: none;

  transition:
    background 0.25s ease,
    transform 0.25s ease;
}

.iot-solution-card__button:hover {
  background: #8732c4;
  transform: translateY(-2px);
}

.iot-solution-card__button:focus-visible {
  outline: 3px solid #ca7fff;
  outline-offset: 4px;
}

/* ==========================================
   TABLET
========================================== */

@media (max-width: 1024px) {

  .iot-solutions__inner {
    width: calc(100% - 60px);
    padding:0px 40px 0px;
  }

  .iot-solution-card__body {
    padding: clamp(22px, 2.7vw, 32px);
  }

}

/* ==========================================
   MOBILE
========================================== */

@media (max-width: 750px) {

  .iot-solutions {
    margin-top:0px;
    padding: 75px 0;
  }

  .iot-solutions__inner {
    width: calc(100% - 40px);
  }

  .iot-solutions__heading {
    margin-bottom: 40px;
  }

  .iot-solutions__heading h2 {
    font-size: clamp(32px, 7.5vw, 43px);
  }

  .iot-solutions__grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .iot-solution-card__image {
    aspect-ratio: 16 / 10;
  }

  .iot-solution-card__body {
    padding: clamp(24px, 6vw, 35px);
  }

  .iot-solution-card h3 {
    font-size: clamp(28px, 7vw, 35px);
  }

  .iot-solution-card__description {
    font-size: clamp(14px, 3.7vw, 16px);
  }

  .iot-solution-card__button {
    width: 100%;
    align-self: stretch;
  }

}

@media (prefers-reduced-motion: reduce) {
  .iot-solution-card,
  .iot-solution-card__image img,
  .iot-solution-card__button {
    transition: none;
  }
}


/* ==========================================
   IoT SOLUTIONS — SMALLER IMAGES
========================================== */

.iot-solution-card__image {
  width: 100%;

  height: clamp(155px, 16vw, 215px);
  aspect-ratio: auto;

  flex-shrink: 0;

  overflow: hidden;
}

.iot-solution-card__image img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;
}

/* ==========================================
   FEATURE CARDS
========================================== */

.iot-solution-card__features {
  display: flex;
  flex-direction: column;

  gap: clamp(10px, 1.2vw, 15px);

  width: 100%;
  margin: 0 0 clamp(28px, 3vw, 40px);
  padding: 0;
}

/* Individual feature */

.iot-feature {
  display: flex;
  align-items: center;

  gap: clamp(13px, 1.5vw, 19px);

  width: 100%;
  min-width: 0;

  padding:
    clamp(14px, 1.5vw, 19px)
    clamp(14px, 1.8vw, 23px);

  box-sizing: border-box;

  border: none;
  border-radius: 16px;

  background: #f1edf7;

  transition:
    background 0.25s ease,
    transform 0.25s ease;
}

/* Subtle hover */

.iot-feature:hover {
  background: #ebe3f5;
  transform: translateY(-2px);
}

/* ==========================================
   ICON CONTAINER
========================================== */

.iot-feature__icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: clamp(40px, 3.5vw, 48px);
  height: clamp(40px, 3.5vw, 48px);

  flex: 0 0 auto;

  border: none;
  border-radius: 13px;

  background: rgba(166, 108, 255, 0.12);
  color: #9152cc;
}

/* SVG Icons */

.iot-feature__icon svg {
  display: block;

  width: 23px;
  height: 23px;

  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;

  stroke-linecap: round;
  stroke-linejoin: round;

  border: none;
}

/* ==========================================
   TEXT CONTENT
========================================== */

.iot-feature__content {
  display: flex;
  flex-direction: column;

  flex: 1;
  min-width: 0;

  gap: 5px;
}

/* Feature title */

.iot-feature__content h4 {
  margin: 0;

  color: #241a36;

  font-size: clamp(14px, 1.1vw, 16px);
  font-weight: 800;
  line-height: 1.3;
}

/* Feature description */

.iot-feature__content p {
  margin: 0;

  color: #756c81;

  font-size: clamp(12px, 0.95vw, 14px);
  font-weight: 400;
  line-height: 1.55;
}

/* ==========================================
   TABLET
========================================== */

@media (max-width: 1024px) {

  .iot-solution-card__image {
    height: clamp(150px, 20vw, 200px);
  }

  .iot-feature {
    padding: 14px;
    gap: 12px;
  }

  .iot-feature__icon {
    width: 42px;
    height: 42px;
  }

}

/* ==========================================
   MOBILE
========================================== */

@media (max-width: 750px) {

  .iot-solution-card__image {
    height: clamp(160px, 45vw, 210px);
  }

  .iot-feature {
    padding: 15px;
    gap: 14px;

    border-radius: 14px;
  }

  .iot-feature__icon {
    width: 44px;
    height: 44px;
  }

  .iot-feature__content h4 {
    font-size: clamp(14px, 3.8vw, 16px);
  }

  .iot-feature__content p {
    font-size: clamp(12px, 3.2vw, 14px);
  }

}

@media (prefers-reduced-motion: reduce) {
  .iot-feature {
    transition: none;
  }
}



/* ==========================================
   IoT SOLUTIONS — BENEFITS
========================================== */

.iot-benefits {
  width: 100%;
  margin-top: -100px;
  padding: clamp(70px, 7vw, 110px) 0;
  color: #ffffff;
}

/* CONTAINER */

.iot-benefits__inner {
  width: min(1240px, calc(100% - 80px));
  margin: 0 auto;
}

/* ==========================================
   HEADING
========================================== */

.iot-benefits__heading {
  max-width: 760px;
  margin: 0 auto clamp(55px, 5vw, 75px);
  text-align: center;
}

.iot-benefits__eyebrow {
  margin: 0 0 18px;

  color: #ca7fff;
  font-size: clamp(11px, 1vw, 13px);
  font-weight: 800;
  letter-spacing: 1.5px;
}

.iot-benefits__heading h2 {
  margin: 0;

  color: #ffffff;
  font-size: clamp(25px, 3.8vw, 45px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.iot-benefits__heading h2 span {
  color: #ca7fff;
}

.iot-benefits__intro {
  max-width: 630px;
  margin: 22px auto 0;

  color: rgba(255,255,255,0.68);
  font-size: clamp(14px, 1.2vw, 17px);
  line-height: 1.75;
}

/* ==========================================
   DESKTOP — 4 COLUMNS
========================================== */

.iot-benefits__grid {
  display: grid;

  grid-template-columns: repeat(4, minmax(0, 1fr));

  gap: clamp(20px, 2.5vw, 38px);

  width: 100%;
  align-items: start;
}

/* ==========================================
   BENEFIT ITEM
========================================== */

.iot-benefit {
  position: relative;

  display: flex;
  flex-direction: column;
  align-items: flex-start;

  min-width: 0;
  padding: 0 10px;

  background: transparent;
  border: none;
}

/* Desktop separators */

.iot-benefit:not(:last-child)::after {
  content: "";

  position: absolute;
  top: 10px;
  right: -10px;
  bottom: 0;

  width: 1px;
  background: rgba(202,127,255,0.12);
}

/* ==========================================
   ICON
========================================== */

.iot-benefit__icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: clamp(52px, 4.5vw, 64px);
  height: clamp(52px, 4.5vw, 64px);

  margin-bottom: clamp(20px, 2vw, 28px);

  border: none;
  border-radius: 50%;

  color: #ca7fff;
  background: rgba(166,108,255,0.12);
}

.iot-benefit__icon svg {
  display: block;

  width: clamp(25px, 2.3vw, 30px);
  height: clamp(25px, 2.3vw, 30px);

  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ==========================================
   TITLE
========================================== */

.iot-benefit h3 {
  margin: 0 0 14px;

  color: #ffffff;
  font-size: clamp(16px, 1.4vw, 21px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.025em;
}

/* ==========================================
   DESCRIPTION
========================================== */

.iot-benefit p {
  margin: 0;

  color: rgba(255,255,255,0.62);
  font-size: clamp(13px, 1vw, 15px);
  line-height: 1.7;
}

/* ==========================================
   TABLET — 2 x 2 GRID
========================================== */

@media (min-width: 751px) and (max-width: 1100px) {

  .iot-benefits__inner {
    width: calc(100% - 64px);
  }

  .iot-benefits__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));

    column-gap: clamp(30px, 5vw, 60px);
    row-gap: 55px;
  }

  .iot-benefit {
    padding: 0 10px;
  }

  .iot-benefit::after {
    display: none;
  }

  .iot-benefit h3 {
    font-size: clamp(18px, 2.2vw, 22px);
  }

  .iot-benefit p {
    font-size: clamp(14px, 1.6vw, 16px);
  }
}

/* ==========================================
   MOBILE — 1 COLUMN
========================================== */

@media (max-width: 750px) {

  .iot-benefits {
    margin-top:0px;
    padding: 75px 40px 90px;
  }

  .iot-benefits__inner {
    width: calc(100% - 40px);
  }

  .iot-benefits__heading {
    margin-bottom: 55px;
  }

  .iot-benefits__heading h2 {
    font-size: clamp(32px, 7.5vw, 42px);
  }

  .iot-benefits__intro {
    font-size: clamp(14px, 3.7vw, 16px);
  }

  .iot-benefits__grid {
    grid-template-columns: 1fr;
    gap: clamp(45px, 9vw, 65px);
  }

  .iot-benefit {
    width: 100%;
    max-width: 360px;

    margin-inline: auto;
    padding: 0;

    align-items: center;
    text-align: center;
  }

  .iot-benefit::after {
    display: none;
  }

  .iot-benefit__icon {
    width: 60px;
    height: 60px;

    margin-bottom: 20px;
  }

  .iot-benefit h3 {
    font-size: clamp(19px, 5vw, 23px);
    margin-bottom: 12px;
  }

  .iot-benefit p {
    max-width: 320px;
    font-size: clamp(14px, 3.6vw, 16px);
    line-height: 1.7;
  }
}


/* ==========================================
   IoT — SUBTLE NEON SPAN
========================================== */


.iot-solutions__heading h2 span,
.iot-benefits__heading h2 span {
  color: #d57aff;
  background: none;
  -webkit-text-fill-color: initial;

  text-shadow:
    0 0 6px rgba(214, 125, 255, 0.4),
    0 0 14px rgba(180, 70, 255, 0.2);
}




/* ==========================================
   IoT CONTACT — COMPACT WHITE FORM
========================================== */

.iot-contact {
  position: relative;
  z-index: 2;

  padding: clamp(65px, 7vw, 100px) 
           clamp(20px, 3vw, 40px);

  margin-top: -50px;
}

.iot-contact,
.iot-contact * {
  box-sizing: border-box;
}

/* ==========================================
   WHITE CONTAINER
========================================== */

.iot-contact__inner {
  display: grid;

  grid-template-columns:
    minmax(0, 0.85fr)
    minmax(0, 1.9fr);

  align-items: center;

  gap: clamp(25px, 3.5vw, 50px);

  width: 100%;
  max-width: 1240px;
  min-width: 0;

  margin: 0 auto;

  padding:
    clamp(24px, 2.5vw, 34px)
    clamp(28px, 3vw, 42px);

  background: #fbfafd;
  border-radius: 20px;
}

/* ==========================================
   LEFT CONTENT
========================================== */

.iot-contact__content {
  min-width: 0;
  text-align: left;
}

.iot-contact__eyebrow {
  margin: 0 0 10px;

  color: #8955bc;

  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.3px;
}

.iot-contact__content h2 {
  margin: 0 0 12px;

  color: #1c1429;

  font-size: clamp(22px, 2vw, 29px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.iot-contact__description {
  max-width: 310px;
  margin: 0;

  color: #77717f;

  font-size: clamp(12px, 1vw, 14px);
  line-height: 1.6;
}

/* ==========================================
   RIGHT FORM
========================================== */

.iot-contact__form {
  width: 100%;
  min-width: 0;
  margin: 0;
}

/* ==========================================
   FORM GRID — 3 COLUMNS / 2 ROWS

   ROW 1: Name | Email | Phone
   ROW 2: Company | Message | Button
========================================== */

.iot-contact__fields {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 10px;
  align-items: center;

  width: 100%;
  min-width: 0;
}

/* ==========================================
   INPUTS & TEXTAREA
========================================== */

.iot-contact__fields input,
.iot-contact__fields textarea {
  display: block;

  width: 100%;
  min-width: 0;
  height: 43px;

  padding: 11px 13px;

  border: 1px solid #e8e4ee;
  border-radius: 10px;

  background: #f1eff6;
  color: #251a33;

  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;

  outline: none;
  box-shadow: none;

  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}

/* Placeholders */

.iot-contact__fields input::placeholder,
.iot-contact__fields textarea::placeholder {
  color: #96909e;
  opacity: 1;
}

/* Message */

.iot-contact__fields textarea {
  grid-column: auto;

  height: 43px;
  min-height: 43px;

  resize: vertical;
}

/* Focus */

.iot-contact__fields input:focus,
.iot-contact__fields textarea:focus {
  background: #ffffff;
  border-color: #ab83d5;
}

/* ==========================================
   SUBMIT BUTTON
========================================== */

.iot-contact__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  grid-column: auto;
  justify-self: stretch;

  gap: 10px;

  width: 100%;
  max-width: none;
  min-width: 0;
  height: 43px;

  padding: 0 15px;

  border: none;
  border-radius: 999px;

  background: #8545c2;
  color: #ffffff;

  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;

  cursor: pointer;

  transition: background 0.2s ease;
}

.iot-contact__submit:hover {
  background: #7135aa;
}

.iot-contact__submit span {
  font-size: 16px;
  line-height: 1;
}

/* ==========================================
   CONSENT
========================================== */

.iot-contact__consent {
  display: flex;
  align-items: flex-start;

  gap: 8px;
  margin-top: 12px;

  color: #77717f;

  font-size: 10px;
  line-height: 1.5;

  cursor: pointer;
}

.iot-contact__consent input {
  width: 14px;
  height: 14px;

  flex-shrink: 0;

  margin: 1px 0 0;

  accent-color: #8545c2;
}

.iot-contact__consent a {
  color: #8545c2;
  font-weight: 700;
  text-decoration: underline;
}

/* ==========================================
   TABLET
========================================== */

@media (max-width: 1000px) {
   .iot-contact {
    padding: 60px 40px 75px;
  }
  .iot-contact__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 25px;
  }

  .iot-contact__content {
    max-width: 500px;
  }

  .iot-contact__description {
    max-width: 450px;
  }

  /* 2 columns */

  .iot-contact__fields {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .iot-contact__fields textarea {
    grid-column: 1 / -1;
  }

  .iot-contact__submit {
    grid-column: 1 / -1;

    width: 100%;
    justify-self: stretch;
  }
}

/* ==========================================
   MOBILE
========================================== */

@media (max-width: 600px) {

  .iot-contact {
    padding: 60px 40px 75px;
  }

  .iot-contact__inner {
    width: 100%;
    padding: 24px 20px;

    grid-template-columns: minmax(0, 1fr);

    gap: 24px;
    border-radius: 16px;
  }

  .iot-contact__content h2 {
    font-size: clamp(22px, 6vw, 27px);
  }

  .iot-contact__description {
    font-size: 13px;
  }

  /* Single column */

  .iot-contact__fields {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .iot-contact__fields input,
  .iot-contact__fields textarea {
    height: 44px;
    font-size: 13px;
  }

  .iot-contact__fields textarea {
    grid-column: auto;
    min-height: 72px;
  }

  .iot-contact__submit {
    grid-column: auto;

    width: 100%;
    max-width: 100%;
    height: 44px;

    justify-self: stretch;
  }

  .iot-contact__consent {
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .iot-contact__fields input,
  .iot-contact__fields textarea,
  .iot-contact__submit {
    transition: none;
  }
}


/* ===== CONTACT OVERLAPPING FOOTER ===== */

.iot-contact {
  position: relative;
  z-index: 2;
  padding-bottom: 0;
}

/* Η φόρμα κατεβαίνει μέσα στο Footer */
.iot-contact__inner {
  position: relative;
  transform: translateY(clamp(25px, 3.5vw, 50px));
}

/* Το Footer παραμένει πίσω από τη φόρμα */
.site-footer {
  position: relative;
  z-index: 1;
  padding-top: clamp(90px, 8vw, 120px);
}

/* Mobile */
@media (max-width: 600px) {
  .iot-contact__inner {
    transform: translateY(25px);
  }

  .site-footer {
    padding-top: 75px;
  }
}



/* ===== ANTI-OVERFLOW ===== */

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

.site-footer {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  box-sizing: border-box;
}

.site-footer__inner,
.site-footer__main,
.site-footer__main > * {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.site-footer__column a,
.site-footer__brand p {
  overflow-wrap: anywhere;
}

@supports not (overflow-x: clip) {
  html,
  body {
    overflow-x: hidden;
  }
}